/* === Reset & Base Styles === */
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: #f5fef5;
  color: #333;
}

/* === GLOBAL === */
body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background-color: #f0f9f4;
  color: #2f3e2f;
  line-height: 1.6;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  padding: 18px 60px;
  background: rgba(4, 146, 44, 0.7);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;           /* allow wrapping on small screens */
  justify-content: flex-end; /* align links to the right */
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;          /* bigger circle */
  height: 70px;
  border-radius: 50%;
  background: #1e5631;  /* dark green */
  box-shadow: 0 0 12px #85e085cc;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1); /* slight zoom on hover */
}

.logo img {
  width: 60px;        /* make image fill most of the circle */
  height: 60px;
  object-fit: cover;
  border-radius: 50%; /* ensure it's round */
  filter: drop-shadow(0 0 4px #aaffaa);
}

.nav-links a {
  text-decoration: none;
  color: #e5f9e3;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #a2ffb5;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #a2ffb5;
}

/* Subscribe Button */
.subscribe-btn {
  background: linear-gradient(to right, #60c378, #48b260);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #3fa250;
  transform: scale(1.05);
}

/* === HERO SECTION === */
.hero {
  height: 100vh;
  background: url('images/bg.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeIn 1.5s ease forwards;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
}

.hero-tagline {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e824c;
  margin-bottom: 10px;
  font-family: 'Quicksand', sans-serif;
}

.hero-subtext {
  font-size: 1.1rem;
  color: #f2ecec;
  max-width: 600px;
  margin: 0 auto 20px;
  font-family: 'Quicksand', sans-serif;
}


/* Join Button */
.join-btn {
  padding: 14px 34px;
  border: none;
  background: linear-gradient(to right, #5ed683, #4db870);
  color: white;
  font-size: 17px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.join-btn:hover {
  background: #47a864;
  transform: scale(1.07);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .join-btn {
    font-size: 15px;
    padding: 10px 22px;
  }
}

/* Keep your other styles for .join-btn etc. here */



/* === Services Section === */
.services-section {
  padding: 120px 20px;
  text-align: center;
  background-color: #fff;
}

.section-title {
  font-size: 2.5rem;
  color: #2a2f58;
  margin-bottom: 50px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #2a2f58;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 12px;
}

.rating {
  font-size: 0.9rem;
  color: #f57c00;
  margin-bottom: 12px;
}

.rating small {
  display: block;
  color: #666;
}

/* === Service Button === */
.btn {
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: #2a2f58;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: 0.3s;
  display: inline-block;
}

.btn:hover {
  background: #eef3ff;
}

.btn.orange {
  background: #ffa76e;
  color: white;
  border: none;
}

.btn.orange:hover {
  background: #ff934d;
}

/* === Responsive Styles === */
@media (max-width: 992px) {
  .navbar {
    padding: 15px 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  .hero {
    padding: 0 30px;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-btn,
  .subscribe-btn,
  .join-btn {
    padding: 8px 16px;
    font-size: 0.95rem;
  }

  .navbar {
    padding: 10px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .service-card img {
    height: 180px;
  }
}

.features-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px;
  background: #fff;
  text-align: center;
  flex-wrap: wrap;
}

.feature-box {
  background: #fdfdfd;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 30px;
  width: 250px;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box i {
  color: #8e44ad;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-family: 'Poppins', sans-serif;
  color: #2c2c7a;
  font-weight: 600;
  margin-top: 10px;
}
/* === Modern card hover animation enhancement === */
.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform, box-shadow;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #a2ffb5 0%, #60c378 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: 12px;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 0.15;
}

/* Raise card and shadow on hover */
.service-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(96, 195, 120, 0.3);
  z-index: 5;
}

/* Make sure card content stays above gradient */
.service-card > * {
  position: relative;
  z-index: 1;
}

/* === Button styling & animation improvements === */
.btn {
  position: relative;
  overflow: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.btn:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  color: #1e5631; /* Darker green on hover for normal btn */
}

.btn.orange:hover {
  background: #ff7a33 !important;
  box-shadow: 0 8px 20px rgba(255, 115, 20, 0.5);
  color: #fff;
}

/* Smooth font-weight transition */
.btn, .btn.orange {
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Optional subtle scale effect on button hover */
.btn:hover {
  transform: scale(1.05);
}

/* Make images animate on hover inside card */
.service-card img {
  transition: transform 0.35s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}


/* Footer Section */
.main-footer {
  background-color: #3b4a99;
  color: white;
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
}
.footer-logo {
  flex: 1 1 200px;
  text-align: center;
}
.footer-logo img {
  height: 60px;
}
.footer-logo p {
  color: #80e218;
  margin-top: 10px;
  font-weight: bold;
}
.footer-links {
  flex: 3 1 600px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.footer-column h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer-column a {
  display: block;
  margin: 6px 0;
  color: #e1e1f1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-column a:hover {
  color: #ffd966;
}
/* Circle style for footer logo */
.footer-logo {
  position: relative;
  flex: 1 1 200px;
  text-align: center;
}

.footer-logo img {
  height: 60px;
  width: 60px;          /* make square */
  border-radius: 50%;   /* make circle */
  object-fit: cover;
  border: 3px solid #80e218; /* nice green border */
  box-shadow: 0 0 10px #80e218aa;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.1);
}

/* Animated continuous line at top of footer */
.main-footer {
  position: relative;
  overflow: hidden; /* hide overflow of line animation */
}

/* The animated line container */
.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;  /* start from left outside */
  width: 300%;  /* wide to create continuous effect */
  height: 4px;
  background: linear-gradient(90deg, #80e218, #ffd966, #80e218);
  animation: slideLine 3s linear infinite;
  z-index: 10;
}

/* Keyframes for continuous sliding line */
@keyframes slideLine {
  0% {
    left: -150%;
  }
  100% {
    left: 100%;
  }
}

/* === ADDITIONAL FOREST-THEMED STYLING FOR SERVICES PAGE & FOOTER === */

/* Font and Animations */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;600&display=swap');

body {
  font-family: 'Jost', sans-serif;
}

/* Animated Section Titles */
.section-title {
  font-size: 2.8rem;
  color: #1e4d2b;
  position: relative;
  display: inline-block;
  animation: fadeInUp 1.2s ease-in-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service Cards Styling */
.service-card {
  border: 1px solid #e0f2e9;
  background: linear-gradient(145deg, #e8f7ec, #ffffff);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 18px;
}

.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(60, 100, 60, 0.2);
}

.service-card h3 {
  color: #1f5132;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.service-card p {
  color: #3b6044;
  line-height: 1.6;
}

.btn.orange {
  background: linear-gradient(to right, #69ba7c, #4aaf58);
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.btn.orange:hover {
  background: #3e9e4f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(60, 100, 60, 0.3);
}

/* Features Section Enhancements */
.feature-box {
  background: linear-gradient(to bottom right, #e9f9ee, #ffffff);
  border: 1px solid #d5efd8;
  box-shadow: 0 8px 20px rgba(50, 100, 50, 0.08);
  transition: all 0.3s ease-in-out;
}

.feature-box:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(50, 100, 50, 0.12);
}

.feature-box i {
  color: #2e7d32;
}

.feature-box h3 {
  color: #1c4532;
  font-weight: 600;
}

/* Footer Enhancements */
.main-footer {
  background: linear-gradient(135deg, #1e5128, #4caf50);
  color: #e0ffe5;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('leaf-pattern.png') repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.footer-logo p {
  font-size: 1.2rem;
  color: #d0ffb7;
  font-weight: 700;
}

.footer-links {
  z-index: 1;
  position: relative;
}

.footer-column a {
  color: #eaffea;
  transition: all 0.2s;
}

.footer-column a:hover {
  color: #cfff90;
  text-decoration: underline;
}

.footer-column h4 {
  color: #c8ffdd;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 3px;
  background-color: #9deaa2;
  border-radius: 10px;
}
/* === Modern Forest Footer Enhancements === */

/* Background gradient with leafy feel */
.main-footer {
  background: linear-gradient(135deg, #2f4f4f, #3b774c);
  position: relative;
  overflow: hidden;
}

/* Subtle background leaves overlay (optional) */
.main-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('leaf-pattern.png') repeat;
  opacity: 0.05;
  z-index: 0;
}

/* Animate footer sections on scroll */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-logo,
.footer-column {
  animation: slideUpFade 1s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

/* Animate with staggered delay */
.footer-column:nth-child(1) { animation-delay: 0.3s; }
.footer-column:nth-child(2) { animation-delay: 0.5s; }
.footer-column:nth-child(3) { animation-delay: 0.7s; }

/* Glowing footer logo text */
.footer-logo p {
  font-size: 1.3rem;
  color: #c2ffb3;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(150, 255, 150, 0.5);
}

/* Header underline grow on load */
.footer-column h4::after {
  width: 0;
  transition: width 0.4s ease-in-out;
}
.footer-column h4:hover::after {
  width: 60px;
}

/* Animated links on hover */
.footer-column a {
  color: #eaffea;
  position: relative;
  transition: all 0.3s ease;
}
.footer-column a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #bfff9b;
  transition: width 0.3s ease-in-out;
}
.footer-column a:hover::before {
  width: 100%;
}
.footer-column a:hover {
  color: #d5ffaf;
}


/* About Sections */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 80px;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  
  z-index: 999;
 
}


.about-section.reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2rem;
  color: #2c2c7a;
  margin-bottom: 20px;
}

.about-text h2 span {
  color: #2c2c7a;
}

.about-text p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
}

.about-points {
  list-style: none;
  padding: 0;
}

.about-points li {
  margin-bottom: 15px;
  display: flex;
  align-items: start;
  gap: 10px;
  color: #2c2c7a;
  font-size: 0.95rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 991px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-section.reverse {
    flex-direction: column;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .navbar {
    flex-direction: column;
    padding: 15px;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .about-text p,
  .about-points li {
    font-size: 0.95rem;
  }

  .about-text h2 {
    font-size: 1.4rem;
  }

  .contact-btn, .subscribe-btn {
    font-size: 0.9rem;
    padding: 6px 10px;
  }

  .about-section {
    padding: 30px 5%;
  }
}

.container {
  max-width: 1200px;
  padding: 20px;
  margin: auto;
}
/* === ENHANCEMENTS TO ABOUT PAGE === */

/* Animate About Section On Load */
.about-section {
  animation: fadeInSlideUp 1s ease-out both;
}

/* Fancy About Title */
.about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #1e5631;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid #a5d6a7;
  animation: slideInLeft 0.8s ease forwards;
}

/* Add Icon Bullet to Points */
.about-points li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #4caf50;
  margin-right: 10px;
  font-size: 1.1rem;
}

/* About Paragraph */
.about-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  animation: fadeIn 1s ease-in;
}

/* Points Animation */
.about-points li {
  transition: transform 0.3s ease, color 0.3s ease;
  animation: slideInUp 0.6s ease forwards;
}

.about-points li:hover {
  transform: translateX(5px);
  color: #388e3c;
}

/* Image Enhancements */
.about-image img {
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 100, 0, 0.2);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}
/* === Import a modern font: Montserrat === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Override fonts with Montserrat for a fresher look */
.about-text h2,
.about-text p,
.about-points li {
  font-family: 'Montserrat', sans-serif;
}

/* Smooth fade-in + slight scale-up for about section */
.about-section {
  animation: fadeScaleIn 1s ease forwards;
}

/* Animate title with gradient underline and slide-in from left */
.about-text h2 {
  font-size: 2.8rem;
  color: #2e7d32;
  border-bottom: 4px solid;
  border-image-slice: 1;
  border-width: 4px;
  border-image-source: linear-gradient(90deg, #a5d6a7, #2e7d32);
  padding-bottom: 10px;
  animation: slideInLeftFade 1s ease forwards;
  letter-spacing: 1.2px;
}

/* Animate paragraphs with fade-in and subtle letter spacing */
.about-text p {
  animation: fadeInUp 1s ease forwards;
  letter-spacing: 0.5px;
  color: #2f3e1f;
  font-weight: 400;
}

/* Points: smooth fade + pop-in + scaling on hover */
.about-points li {
  animation: popFadeIn 0.6s ease forwards;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-points li:hover {
  color: #4caf50;
  transform: scale(1.07) translateX(7px);
  filter: drop-shadow(1px 1px 2px #a5d6a7);
}

/* Modern bullet icon with bounce animation */
.about-points li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #66bb6a;
  font-size: 1.3rem;
  animation: bounceBullet 1.5s ease infinite;
}

/* Image with subtle 3D tilt and smooth hover zoom */
.about-image img {
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(46, 125, 50, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.about-image img:hover {
  transform: scale(1.05) rotateY(6deg) rotateX(3deg);
  box-shadow: 0 20px 60px rgba(46, 125, 50, 0.4);
}

/* === Keyframes === */
@keyframes fadeScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeftFade {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceBullet {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}


/* ========== ANIMATIONS ========== */
@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.contact-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #1f2c57;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.form-side {
  flex: 1 1 60%;
}

.form-side textarea,
.form-side input {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.input-row {
  display: flex;
  gap: 20px;
}

.input-row input {
  flex: 1;
}

.form-side button {
  background: transparent;
  border: 2px solid #bc5fff;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  color: #13c888;
  cursor: pointer;
  transition: all 0.3s;
}

.form-side button:hover {
  background: #0ec57f;
  color: #fff;
}

.info-side {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-block {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.icon {
  font-size: 24px;
  color: #1f2c57;
  min-width: 30px;
  margin-top: 5px;
}

.info-block h4 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #1f2c57;
}

.info-block p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .input-row {
    flex-direction: column;
  }
}

/* ==== CONTACT PAGE UPGRADE ==== */

/* Beautiful Section Title */
.contact-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2ecb68;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 50px;
  position: relative;
  margin-top: 80px;
}

.contact-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2ecb68, #0a8c43);
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  animation: slideLine 1s ease forwards;
}

/* Contact Form Container */
.contact-wrapper {
  background: linear-gradient(135deg, #faf7ff, #f2e6ff);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(188, 95, 255, 0.1);
  animation: fadeInSlideUp 1s ease-out both;
}

/* Form Fields */
.form-side textarea,
.form-side input {
  background: #fff;
  border: 1.5px solid #d7bfff;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 16px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Quicksand', sans-serif;
}

.form-side textarea:focus,
.form-side input:focus {
  outline: none;
  border-color: #16d03e;
  box-shadow: 0 0 5px  #2ecb68;
}

/* Form Button */
.form-side button {
  background: linear-gradient(to right, #39d979, #056b27);
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.form-side button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(52, 146, 84, 0.4);
}

/* Info Side */
.info-side {
  gap: 30px;
  padding-left: 20px;
}

.info-block {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.3s ease, background-color 0.3s ease;
  padding: 10px;
  border-radius: 8px;
}

.info-block:hover {
  background-color: rgba(188, 95, 255, 0.05);
  transform: translateX(5px);
}

.icon {
  font-size: 26px;
  color: #074305;
  min-width: 32px;
  margin-top: 5px;
}

/* Texts */
.info-block h4 {
  color: #05f35c;
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-block p {
  color: #5e5e5e;
  font-size: 15px;
}

/* Responsive Cleanup */
@media (max-width: 768px) {
  .contact-wrapper {
    padding: 30px 20px;
  }
  .info-side {
    padding-left: 0;
  }
}

/* Animations */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}



/* loader */
/* Preloader full screen */
/* Fullscreen preloader */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #eaf7ed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Logo ring wrapper */
.ring-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
}

/* Rotating ring */
.rotating-ring {
  width: 160px;
  height: 160px;
  border: 8px solid #bdeccc;
  border-top: 8px solid #3da35d;
  border-radius: 50%;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Static logo in center */
.logo-center {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px #5eb86d;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal container (hidden by default) */
.modal {
  display: none; 
  position: fixed; 
  z-index: 99999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background: rgba(31, 44, 87, 0.7); /* dark transparent overlay */
  backdrop-filter: blur(5px);
  animation: fadeInModal 0.4s ease forwards;
}

/* Modal content box */
.modal-content {
  background: #f7fbf8;
  margin: 10% auto; 
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(31, 44, 87, 0.25);
  max-width: 400px;
  text-align: center;
  position: relative;
  font-family: 'Poppins', sans-serif;
  color: #0a8c43;
  animation: slideDownModal 0.4s ease forwards;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  font-weight: 700;
  color: #0a8c43;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #0a8c43;
}

/* Input field */
#subscribeEmail {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 2px solid #0a8c43;
  border-radius: 10px;
  margin: 20px 0 25px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Quicksand', sans-serif;
}

#subscribeEmail:focus {
  outline: none;
  border-color: #2ecb68;
  box-shadow: 0 0 8px #0a8c43;
}

/* Subscribe button */
#subscribeBtn {
  background: linear-gradient(90deg, #2ecb68, #0a8c43);
  border: none;
  color: white;
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.4s ease, transform 0.2s ease;
  box-shadow: 0 6px 12px rgba(19, 216, 88, 0.5);
}

#subscribeBtn:hover {
  background: linear-gradient(90deg, #2ecb68, #0a8c43);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(20, 209, 99, 0.7);
}

/* Subscribe message */
.subscribe-message {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #388e3c;
  font-weight: 600;
  min-height: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Animations */
@keyframes fadeInModal {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideDownModal {
  from {transform: translateY(-30px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* Contact popup container - hidden by default */
.contact-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #2ecb68, #056b27);
  color: white;
  padding: 18px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(14, 197, 127, 0.5);
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 10000;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Show popup */
.contact-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Close button */
.contact-popup .close-popup {
  margin-left: 15px;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  color: white;
  transition: color 0.3s ease;
}

.contact-popup .close-popup:hover {
  color: #b2f7ca;
}
