/* Import Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Apply Outfit font globally */
body {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding: 0;
}




.nav-link {
  color: #2C3D2E !important;
  position: relative;
  transition: 0.3s;
}

.nav-link:hover {
  color: #D1A054 !important;
}

.nav-link.active {
  color: #D1A054 !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: #D1A054;
}

.h2 {
  color: #1F1A17;
}

body {
  margin: 0;
}



/* --- HERO CAROUSEL --- */
.hero-carousel .swiper {
  height: 90vh; /* Reduced slightly for better laptop visibility */
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 10s ease; /* Subtle zoom effect */
}

.swiper-slide-active .slide-bg {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  /* Dark Green gradient overlay to match logo */
  background: linear-gradient(90deg, rgba(44, 61, 46, 0.85) 0%, rgba(44, 61, 46, 0.2) 100%);
}

/* Content Layout */
.hero-carousel .content {
  position: relative;
  z-index: 2;
  color: #FAF8F5;
  top: 50%;
  transform: translateY(-50%);
  max-width: 750px;
  margin-left: 8%;
}

.content h1 {
  font-size: clamp(32px, 5vw, 68px); /* Fluid typography */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.content p {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0.9;
  line-height: 1.6;
}

/* --- BUTTONS --- */
.btn-gold {
  background: #D1A054;
  color: #2C3D2E;
  border: none;
  border-radius: 0; /* Minimalist Square Look */
  transition: 0.3s ease;
}

.btn-gold:hover {
  background: #2C3D2E;
  color: #D1A054;
  transform: translateY(-3px);
}

.btn-outline-custom {
  border: 2px solid #FAF8F5;
  color: #FAF8F5;
  border-radius: 0;
  transition: 0.3s ease;
}

.btn-outline-custom:hover {
  background: #FAF8F5;
  color: #2C3D2E;
  transform: translateY(-3px);
}

/* --- PAGINATION --- */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #FAF8F5;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #D1A054 !important;
  opacity: 1;
  width: 30px; /* Stretched active pill effect */
  border-radius: 5px;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
  .hero-carousel .swiper {
    height: 70vh;
  }
  
  .overlay {
    background: rgba(44, 61, 46, 0.7); /* Solid overlay for better text readability on mobile */
  }

  .hero-carousel .content {
    margin-left: 5%;
    max-width: 90%;
    text-align: center;
  }

  .content h1 {
    font-size: 36px;
  }

  .content p {
    font-size: 15px;
    margin: 15px auto;
  }

  .d-flex.gap-3 {
    justify-content: center;
    flex-direction: column;
  }
}

/* Back to top */
#backToTopBtn {
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: none;
  z-index: 999;
}



#backToTopBtn {
  background-color: #2C3D2E; /* Green */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  border: none;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#backToTopBtn:hover {
  background-color: #D1A054; /* Darker green on hover */
  transform: scale(1.1);
}


@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

#backToTopBtn, #whatsappBtn {
  z-index: 10000 !important;
}

#backToTopBtn i, #whatsappBtn i {
  color: #ffffff !important;
}

#whatsappBtn {
  animation: pulse-green 2s infinite;
}





/* --- AWARDS & CERTIFICATES --- */
.awards-grid img {
  transition: transform 0.3s ease;
}
.awards-grid img:hover {
  transform: scale(1.05);
}
.certSwiper {
  width: 100%;
  padding: 20px 0 50px;
}
.cert-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px solid rgba(44,61,46,0.1);
}
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.cert-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
