html, body {
  min-height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
/* ===========================
   GLOBAL RESET & BASE STYLES
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Whiterock';
  src: url('fonts/Whiterock.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, .navbar-title {
  font-family: 'Whiterock', Arial, sans-serif;
}

/* ===========================
   BODY & TYPOGRAPHY
   =========================== */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #4A5D23;
  background-color: #e9f5db;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  z-index: 1002;
}

.transparent-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);  
  -webkit-backdrop-filter: blur(10px); 
  color: #245824;
  position: relative;
  box-shadow: 0 2px 12px rgba(44,95,45,0.09);
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo a {
  text-decoration: none;
  color: inherit; /* Makes link text match the surrounding h1 color */
}
.logo-img {
  max-width: 70px;
  height: auto;
  display: block;
  margin-left: 0;
  margin-right: 0;
  border-radius: 50%; 
  box-shadow: 0 2px 12px rgba(44,95,45,0.11);
}

.logo h1 {
  font-size: 2.2rem;
  color: #4A5D23;
  display: block;
  letter-spacing: 0.05em;
  font-family: 'Whiterock', Arial, sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #4A5D23;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 1001;
}

.nav-links {
  list-style: none;
  display: flex;
  transition: all 0.3s ease;
  align-items: center;
}

.nav-links li {
  margin: 0 10px;
}

.nav-links li a {
  color: #4A5D23;
  text-decoration: none;
  font-size: 1.6rem;
  font-family: 'Whiterock', Arial, sans-serif;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  outline: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nav-links li a:hover {
  color: #e9f5db;
  background: #4A5D23;
}

.nav-links li a:focus {
  outline: 2px solid #4A5D23;
  background: none;
  color: #4A5D23;
}

/* ===========================
   CAROUSEL
   =========================== */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  height: 100vh; /* fallback */
  height: calc(var(--vh, 1vh) * 100);
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: 'Whiterock', Arial, sans-serif;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.7),
    0 0 6px rgba(0,0,0,0.5),
    1px 1px 0 #222;
  padding: 0;
}

/* ===========================
   ABOUT SECTION (IMPROVED)
   =========================== */
.about-section {
  padding: 40px 0;
  background: #f8faf4;
}

.about-container {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 32px;
  flex-wrap: wrap;
}

.about-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(60, 90, 60, 0.08);
  flex-shrink: 0;
  object-fit: cover;
}

.about-text {
  flex: 1 1 300px;
  min-width: 220px;
}

.about-text h2 {
  margin-top: 0;
  margin-bottom: 0.7em;
  color: #4A5D23;
  font-size: 2rem;
}

.about-text p {
  margin: 0;
  line-height: 1.7;
  color: #28522a;
  font-size: 1.15rem;
  text-align: left;
}

/* ===========================
   SERVICES SECTION (IMAGE LEFT, TEXT RIGHT, CUSTOM BULLETS)
   =========================== */
.services-section {
  padding: 40px 0;
  background: #f8faf4;
}

.services-container {
  display: flex;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  gap: 32px;
  flex-wrap: wrap;
  flex-direction: row; 
}

.services-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(60, 90, 60, 0.08);
  flex-shrink: 0;
  object-fit: cover;
  order: 2;  
}

.services-text {
  flex: 1 1 300px;
  min-width: 220px;
  order: 1;
}

.services-text h2 {
  margin-top: 0;
  margin-bottom: 0.7em;
  color: #4A5D23;
  font-size: 2rem;
}

.custom-bullets {
  list-style: none;
  padding-left: 0;
}

.custom-bullets li {
  display: flex;        
  align-items: center;
  gap: 0.7em;
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: #28522a;
  line-height: 1.6;
  position: relative;
}

.custom-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url('img/logoImage.png') center center / cover no-repeat, #e9f5db;
  border: 1px solid #cfe1b9;
  box-shadow: 0 1px 4px rgba(44, 95, 45, 0.08);
  display: inline-block;
  margin-right: 0.2em;
  margin-left: 0;
  position: static; 
}
/* ===========================
   MAIN CONTENT
   =========================== */
main {
  padding: 20px;
  margin-top: 0;
}

section {
  margin: 40px 0;
  padding: 20px;
  background-color: #e9f5db;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #4A5D23;
}

section p {
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-align: justify;
}

/* ===========================
   CONTACT SECTION & SKY BOX OUTLINE
   =========================== */
#contact-bg-wrapper {
  position: relative;
  width: 100%;
  margin: 40px auto;    
  padding: 0;
  background: none;
  border: 3px solid #b7b0e3;
  box-shadow: 0 8px 32px rgba(80, 80, 150, 0.10);
  border-radius: 20px;
  overflow: hidden;
  min-height: 0;
  display: block;
}

.sky-bg,
#contact-bg-wrapper canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(#B7B0E3, #FFD3D6);
  display: block;
}

#contact-bg-wrapper .sky,
#contact-bg-wrapper .clouds,
#contact-bg-wrapper .c1,
#contact-bg-wrapper .c2 {
  position: absolute;
}

#contact-bg-wrapper .c1, 
#contact-bg-wrapper .c2 {
  width: 800px;
  height: 700px;
  background: transparent url("img/clouds.png") 0 0 no-repeat;
  background-size: 100%;
  z-index: 999;
}

#contact-bg-wrapper .c1.one, 
#contact-bg-wrapper .c2.one {
  top: -260px;
  left: 0px;
}
#contact-bg-wrapper .c1.two, 
#contact-bg-wrapper .c2.two {
  top: -200px;
  left: 100px;
}
#contact-bg-wrapper .c1.three, 
#contact-bg-wrapper .c2.three {
  top: -240px;
  right: 100px;
}
#contact-bg-wrapper .c1.four, 
#contact-bg-wrapper .c2.four {
  top: -180px;
  right: 0px;
}

#contact-bg-wrapper .c1 {
  animation: anime 60s linear infinite forwards;
}

#contact-bg-wrapper .c2 {
  transform: translateX(200%);
  animation: anim 60s linear infinite forwards;
}

@keyframes anim {
  from {
    transform: translateX(200%);
  }
  to {
    transform: translateX(-200%);
  }
}

@keyframes anime {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

@media (max-width: 1023px) {
  #contact-bg-wrapper {
    max-width: 97vw;
    margin: 16px auto;
  }
  #contact-bg-wrapper .c2.one {left: -80px;}
  #contact-bg-wrapper .c2.two {left: -120px;}
  #contact-bg-wrapper .c2.three {right: 220px;}
  #contact-bg-wrapper .c2.four {right: 220px;}
}

/* ===========================
   CONTACT CARD AND FORM
   =========================== */
#contact-bg-wrapper .contact-content {
  position: relative;
  z-index: 1001;
  max-width: 100%; 
  margin: 0;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#contact {
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,95,45,0.11);
  padding: 2rem;
  width: 100%;
  max-width: 100%;      
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#contact h2 {
  color: #2c5f2d;
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: left;
}

#contact p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: left;
}

#contact a {
  color: #2c5f2d;
  text-decoration: none;
  font-weight: bold;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#contact a:hover {
  text-decoration: underline;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px; 
  margin-top: 20px;
}

form label {
  font-size: 1.1rem;
  color: #4A5D23;
  font-weight: bold;
  text-align: left;
}

form input, form textarea, form button {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #cfe1b9;
  border-radius: 5px;
  width: 100%;
}

form input:focus, form textarea:focus {
  border-color: #4A5D23;
  outline: none;
}

form button {
  background-color: #cfe1b9;
  color: #4A5D23;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1rem;
  font-weight: bold;
}

form button:hover {
  background-color: #4A5D23;
  color: #cfe1b9;
}
/* ===========================
   FOOTER
   =========================== */
footer {
  background-color: #4A5D23;
  color: #e9f5db;
  padding: 0 10px 20px 10px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0;
}

footer nav ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

footer nav ul li {
  margin: 0 10px;
}

footer nav ul li a {
  color: #e9f5db;
  text-decoration: none;
}

footer nav ul li a:hover {
  color: #cfe1b9;
  text-decoration: underline;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */

.nav-toggle {
  display: none;
}
/* ----------- TABLET & SMALL DESKTOPS ----------- */
@media (max-width: 970px) {
  .transparent-navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255,255,255,0.75);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    position: relative;
  }
  .logo {
    margin-bottom: 0;
    justify-content: flex-start;
    width: auto;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
  }
  .logo-img {
    max-width: 48px;
  }
  .logo h1 {
    font-size: 1.2rem;
    display: block;
    white-space: nowrap;
    text-shadow: 0 2px 5px rgba(0,0,0,0.25);
  }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #4A5D23;
    cursor: pointer;
    position: static;
    margin-left: auto;
    z-index: 1001;
    align-self: center;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(255,255,255,0.75);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    position: absolute;
    left: 0;
    top: 100%;
    padding: 1rem 0;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(44,95,45,0.09);
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links li {
    margin: 0;
    width: 100%;
    text-align: left;
    padding: 0;
    position: relative;
  }
  .nav-links li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px 24px;
    box-sizing: border-box;
    color: #245824;
    background: none;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .nav-links li a:hover,
  .nav-links li a:focus {
    color: #fff;
    background: #4A5D23;
  }
  .carousel-text {
    font-size: 2.2rem;
    padding: 0 10px;
    word-break: break-word;
    color: #fff;
    font-family: 'Whiterock', Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    z-index: 2;
    text-shadow:
      0 2px 8px rgba(0,0,0,0.7),
      0 0 6px rgba(0,0,0,0.5),
      1px 1px 0 #222;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
  .about-container,
  .services-container,
  .contact-container {
    gap: 20px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .about-img,
  .services-img {
    width: 180px;
  }
  .custom-bullets {
    margin-left: 8px;
    margin-right: 8px;
  }
}

/* ----------- SERVICES FLEX AND BULLETS FIX ----------- */
.services-container {
  display: flex;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  gap: 32px;
  flex-wrap: wrap;
  flex-direction: row;        
  padding-left: 32px;
  padding-right: 32px;
}
.services-text {
  flex: 1 1 300px;
  min-width: 220px;
  order: 1;
}
.services-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(60, 90, 60, 0.08);
  flex-shrink: 0;
  object-fit: cover;
  order: 2;              
}
.custom-bullets {
  list-style: none;
  padding-left: 0;
  margin-left: 12px;
  margin-right: 12px;
}
.custom-bullets li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: #28522a;
  line-height: 1.6;
  position: relative;
  word-break: break-word;
}
.custom-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url('img/logoImage.png') center center / cover no-repeat, #e9f5db;
  border: 1px solid #cfe1b9;
  box-shadow: 0 1px 4px rgba(44, 95, 45, 0.08);
  display: inline-block;
  margin-right: 0.2em;
  margin-left: 0;
  position: static;
}

/* ----------- TABLET & LARGE MOBILES ----------- */
@media (max-width: 700px) {
  .about-container,
  .services-container,
  .contact-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: stretch;
    padding-left: 10px;
    padding-right: 10px;
  }
  .about-img,
  .services-img {
    margin: 0 auto;
    width: 90vw;
    max-width: 320px;
  }
  .about-text,
  .services-text,
  .contact-container {
    padding: 0 10px;
  }
  .about-text p,
  .services-text p {
    text-align: center;
  }
  .services-text {
    order: 1;
  }
  .services-img {
    order: 2;
  }
  .custom-bullets {
    margin-left: 4px;
    margin-right: 4px;
  }
  .custom-bullets li {
    gap: 0.7em;
    padding-left: 0;
    padding-top: 0;
    justify-content: flex-start;
    text-align: left;
  }
  .custom-bullets li::before {
    margin-right: 0.2em;
    margin-left: 0;
    width: 16px;
    height: 16px;
    position: static;
    left: unset;
    top: unset;
    transform: none;
  }

  .carousel {
    height: 100svh;
    min-height: 80vh;
    max-height: 100vh;
  }

  .transparent-navbar,
  .nav-links {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255,255,255,0.95);
  }
}

/* ----------- SMALL MOBILE ----------- */
@media (max-width: 500px) {
  .transparent-navbar {
    padding: 8px 4px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .logo {
    gap: 6px;
    margin-bottom: 0;
    align-items: center;
  }
  .logo-img {
    max-width: 30px;
  }
  .logo h1 {
    font-size: 0.95rem;
    display: block;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.12);
  }
  .carousel-text {
    font-size: 1.2rem;
    padding: 0 8px;
    word-break: break-word;
    color: #fff;
    font-family: 'Whiterock', Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    z-index: 2;
    text-shadow:
      0 2px 6px rgba(0,0,0,0.45),
      0 0 3px rgba(0,0,0,0.25),
      1px 1px 0 #222;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
  main {
    padding: 10px;
  }
  section {
    margin: 20px 0;
  }
  .nav-links {
    background: rgba(255,255,255,0.95);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .about-img,
  .services-img {
    width: 80vw;
    max-width: 220px;
  }
  .about-text h2,
  .services-text h2 {
    font-size: 1.1rem;
  }
  .about-text p,
  .services-text p {
    font-size: 0.94rem;
  }
  .about-container,
  .services-container,
  .contact-container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .custom-bullets {
    margin-left: 2px;
    margin-right: 2px;
  }
  .custom-bullets li {
    font-size: 1rem;
    gap: 0.5em;
    padding-top: 0;
  }
  .custom-bullets li::before {
    width: 13px;
    height: 13px;
    margin-right: 0.2em;
  }
}
@media (max-width: 420px) {
  #contact p, #contact label {
    font-size: 0.7rem;
  }
}
