
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
:root{
  --green-1:#6BBF59;
  --green-2:#14532d;
  --bg:#fbfefb;
  --dark:#0f172a;
  --card:#ffffff;
  --maxwidth:1200px;
}
*{box-sizing:border-box}
body{font-family:'Poppins',sans-serif;background:var(--bg);color:var(--dark);margin:0;line-height:1.6}
.container{max-width:100%(--maxwidth);margin:0 auto;padding:0 24px}
header{background:linear-gradient(90deg,var(--green-2),#0f5130);color:white;position:sticky;top:0;z-index:50;box-shadow:0 4px 18px rgba(0,0,0,0.12)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{font-weight:700;font-size:20px;color:#eafff0;text-decoration:none}
.nav-links{display:flex;gap:14px;align-items:center}
.nav-links a{color:rgba(235,255,240,0.95);text-decoration:none;padding:8px 10px;border-radius:8px}
.nav-links a:hover,.nav-links a.active{background:rgba(255,255,255,0.06);color:white}

/* Hero Section Styles */
.hero {color: white; padding: 120px 0;text-align: center;position: relative; min-height: 500px;overflow: hidden;}
.hero::after {content: '';position: absolute;inset: 0;background: linear-gradient(180deg,rgba(0,0,0,0.3),rgba(0,0,0,0.45)); z-index: 1;pointer-events: none;}
.hero-slider { position: absolute;inset: 0; width: 100%; height: 100%; z-index: 0;}
.hero-slide {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;transition: opacity 1s;z-index: 0;}
.hero-slide.active {opacity: 1;}
.hero .inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; color: white; display: flex; flex-direction: column; justify-content: center; /* vertical centering */ height: 100%; /* make it fill slider height */}
.hero-arrow {position: absolute;top: 50%;transform: translateY(-50%);background: rgba(30, 60, 40, 0.6);color: #fff;border: none;font-size: 2rem;padding: 8px 16px; cursor: pointer;z-index: 3;border-radius: 50%;transition: background 0.2s;}
.hero-arrow.left { left: 24px; }
.hero-arrow.right { right: 24px; }
.hero-arrow:hover { background: rgba(30, 60, 40, 0.9); }

/* Sections */
.section{padding:72px 0}
.section.alt{background:#eef9ef}

/* Grid utilities */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.card{background:var(--card);padding:20px;border-radius:14px;box-shadow:0 6px 20px rgba(14,20,27,0.06)}

/* Images */
.responsive-img{width:100%;height:auto;border-radius:10px;display:block}

/* Buttons */
.btn{display:inline-block;padding:10px 18px;border-radius:999px;font-weight:600;text-decoration:none}
.btn.primary{background:var(--green-2);color:white}
.btn.secondary{background:white;color:var(--green-2);border:1px solid rgba(20,83,45,0.06)}

/* Footer */
.footer{background:#052e14;color:#d7f6dd;padding:40px 0}
.footer a{color:#c7f1c9;text-decoration:none}

/* Responsive */
@media(max-width:900px){
  .grid-3,.grid-2{grid-template-columns:1fr}
  .hero{padding:60px 0}
  .hero h1{font-size:30px}
  .nav-links{display:none}
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
  text-align: center; /* centers writing */
}

.about-image {
  flex: 0 0 300px; /* makes picture smaller */
}

.about-image img {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .about-text {
    text-align: center;
  }

  .about-image {
    flex: 0 0 auto;
  }

  .about-image img {
    max-width: 80%;
  }
}

.why-choose-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.why-choose-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.why-choose-image {
  flex: 0 0 300px;
}

.why-choose-image img {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .why-choose-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .why-choose-text {
    text-align: center;
  }

  .why-choose-image {
    flex: 0 0 auto;
  }

  .why-choose-image img {
    max-width: 80%;
  }
}

.about-container,
.why-choose-container {
  margin-left: 60px;
  margin-right: 60px;
}

.header-inner {
  margin-left: 60px;
  margin-right: 60px;
}

header {
  padding: 0; /* remove any extra padding */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0; /* much smaller top/bottom padding */
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: #eafff0;
  text-decoration: none;
  line-height: 1; /* remove extra height */
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0;
}

.nav-links a {
  color: rgba(235,255,240,0.95);
  text-decoration: none;
  padding: 4px 10px; /* smaller vertical padding */
  border-radius: 8px;
  line-height: 1; /* keeps height tight */
}

.what-we-do {
  position: relative;
  color: white;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.what-we-do .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.what-we-do .background-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* dark overlay effect */
}

.what-we-do .container {
  position: relative;
  z-index: 1;
}

.what-we-do h2 {
  margin-bottom: 40px;
}

.what-we-do .card {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.what-we-do h2 {
  font-size: 2.5rem; /* increase size — adjust number to taste */
}

.section h2 {
  font-size: 2.5rem; /* make headings bigger */
}

.hero h1 {
  font-size: 4rem; /* bigger heading, adjust as needed */
}

.hero .inner.container {
    max-width: 900px;      /* limit how wide the text + buttons can be */
    margin: 0 auto;        /* center horizontally */
    text-align: center;    /* center text */
    padding: 20px;         /* spacing around content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero .inner.container .btn {
    padding: 10px 20px;
    max-width: 180px;
    width: auto;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    margin: 5px;
}

.what-we-do {
    position: relative; /* so background-image sits behind content */
    padding: 60px 20px;
    color: white;
}

.what-we-do .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/12345.jpg'); /* Correct path to your image */
    background-size: cover;
    background-position: center;
    z-index: -1; /* puts background behind content */
    opacity: 0.8; /* slight transparency if desired */
}

.what-we-do .container {
    position: relative;
    z-index: 1; /* makes sure text sits above background */
    max-width: 1200px;
    margin: 0 auto;
}

.what-we-do h2 {
    text-align: center;
    margin-bottom: 40px;
}

.what-we-do .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.what-we-do .card {
    background: rgba(0, 0, 0, 0.4); /* semi-transparent background so text stands out */
    padding: 20px;
    border-radius: 8px;
}

.section.alt h2 {
    text-align: center; /* center the header */
    display: block;
    width: 100%;
    margin: 0 auto 40px auto; /* center and add spacing below */
}

.footer {
  background-color: #14532d; /* same green as your header */
  color: #e6f9e8;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer a {
  color: #e6f9e8;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-socials a {
  margin-right: 10px;
  font-size: 18px;
}

.footer-newsletter h3,
.footer-links h3 {
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
}

.newsletter-form button {
  background: #6BBF59;
  border: none;
  padding: 10px 15px;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #4b8d3c;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
  font-size: 14px;
  color: #cfead1;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin-right: 10px;
  border-radius: 50%;
  background: #6BBF59; /* lighter green */
  color: white;
  font-size: 16px;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  background: #4b8d3c; /* darker green on hover */
}

.card img {
    width: 100%;
    height: 400px; /* adjust so image fits nicely */
    object-fit: cover; /* whole image visible without cropping */
    display: block;
    border-radius: 5px;
    background: #f4f4f4; /* optional background so white space looks clean */
}

.contact-section {
    padding: 50px 20px;
    background: url('images/8039.jpg') center/cover no-repeat; /* your background image */
    position: relative;
    color: white;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* dark overlay */
    z-index: 1;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2; /* bring content above overlay */
}

.contact-form, .contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-form h2 {
    margin-bottom: 20px;
    color: white;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ddd;
}

.contact-form button {
    padding: 12px;
    border: none;
    background: #14532d;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.contact-form button:hover {
    background: #0f3e1f;
}

.contact-map {
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
}
.footer {
  background: #14532d;
  color: #fff;
  padding: 50px 20px 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

.footer-block {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-width: 160px;
  margin: 0 auto 12px; /* center logo */
  display: block;
}

/* Logo + Socials centered */
.footer-block.logo-social {
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center; /* center icons under logo */
  gap: 12px;
  margin-top: 5px; /* bring icons closer to logo */
}

.footer-socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: #6BBF59;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #fff;
  color: #14532d;
}

/* Headings */
.footer-block h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

/* Text & Links */
.footer-block p {
  margin: 6px 0;
  line-height: 1.5;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block ul li {
  margin: 8px 0;
}

.footer-block ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-block ul li a:hover {
  color: #6BBF59;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
}

.newsletter-form button {
  background: #6BBF59;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #4a9b42;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr; /* stack on mobile */
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

.best-ebooks {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.best-ebooks h2 {
  font-size: 2.4em;
  margin-bottom: 10px;
}

.best-ebooks .section-subtitle {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
}

.ebooks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.ebook-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.ebook-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.price {
  font-weight: bold;
  color: #6BBF59;
  margin-bottom: 10px;
}

.description {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

.btn-buy {
  display: inline-block;
  background: #6BBF59;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-buy:hover {
  background: #14532d;
}

.browse-button {
  margin-top: 40px;
}

.browse-button .btn {
  background: #333;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.browse-button .btn:hover {
  background: #555;
}

.ebook-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.services {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.services h2 {
  font-size: 2.4em;
  margin-bottom: 10px;
}

.services .section-subtitle {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.service-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.price {
  font-weight: bold;
  color: #6BBF59;
  margin-bottom: 10px;
}

.description {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

.btn-service {
  display: inline-block;
  background: #6BBF59;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-service:hover {
  background: #14532d;
}

.best-ebooks {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.best-ebooks h2 {
  font-size: 2.4em;
  margin-bottom: 10px;
}

.best-ebooks .section-subtitle {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
}

.ebooks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.ebook-card {
  width: 300px; /* slightly bigger */
  text-align: center;
  overflow: hidden;
}

.ebook-img-wrapper {
  position: relative;
}

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

.cart-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: white;
  font-size: 1.5em;
  text-decoration: none;
  background: none; /* no background */
}

.ebook-info {
  margin-top: 10px;
  font-size: 1em;
  color: #333;
  line-height: 1.4em;
}

.ebook-info strong {
  display: block;
  margin-top: 5px;
}

.browse-button {
  margin-top: 40px;
}

.browse-button .btn {
  background: #333;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
}

.browse-button .btn:hover {
  background: #555;
}

.services {
  padding: 60px 20px;
  background: #eef9ef;
  text-align: center;
}

.services h2 {
  font-size: 2.4em;
  margin-bottom: 10px;
}

.services .section-subtitle {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.service-card {
  width: 300px;
  text-align: center;
  overflow: hidden;
}

.service-img-wrapper {
  position: relative;
}

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

.service-info {
  margin-top: 10px;
  font-size: 1em;
  color: #333;
  line-height: 1.4em;
}

.service-info strong {
  display: block;
  margin-top: 5px;
}

.btn-service {
  display: inline-block;
  background: #6BBF59;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.btn-service:hover {
  background: #14532d;
}

.potential-paths {
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  text-align: center;
}

.potential-paths .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.potential-paths .container {
  position: relative;
  z-index: 2;
}

.potential-paths h2 {
  font-size: 2.4em;
  margin-bottom: 30px;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.path-card {
  text-align: center;
}

.path-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid white;
}

.path-card h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.path-card p {
  font-size: 0.95em;
  color: #ddd;
}

.cart-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  color: white; /* white cart icon */
  font-size: 1.6em;
  text-decoration: none;
  background: rgba(50, 50, 50, 0.6); /* subtle grey background */
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: background 0.3s ease, transform 0.2s ease;
}

.cart-btn:hover {
  background: rgba(50, 50, 50, 0.8); /* slightly darker grey hover */
  transform: scale(1.1);
}

.blog-section {
  padding: 60px 20px;
  background: #eef9ef;
  text-align: center;
}

.blog-section h2 {
  font-size: 2.4em;
  margin-bottom: 10px;
}

.blog-section .section-subtitle {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.blog-card {
  display: block;
  width: 300px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.blog-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-info {
  padding: 15px;
  text-align: left;
}

.blog-info h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
}

.blog-info p {
  font-size: 0.95em;
  color: #555;
}

.team-section {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.team-section h2 {
  font-size: 2.4em;
  margin-bottom: 10px;
}

.team-section .section-subtitle {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-member {
  width: 220px;
  text-align: center;
}

.team-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ddd;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 1em;
  color: #555;
}

.team-img {
  width: 180px;   /* larger size */
  height: 180px;  /* larger size */
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ddd;
  margin-bottom: 15px;
}

.about-us {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.about-us h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #000000; /* black header */
}

.about-us p {
  max-width: 800px;
  margin: 0 auto 15px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark);
}

.about-us .highlight {
  margin-top: 25px;
  font-size: 1.2rem;
  color: var(--green-1);
}

header {
  position: relative !important;
}

.privacy-policy {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: left; /* keeps paragraphs aligned left */
}

.privacy-policy h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center; /* centers the header */
}

.privacy-policy p {
  max-width: 800px;
  margin: 0 auto 15px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.services .card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center; /* makes all writing center */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.services .card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.services .card p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.services .card .btn {
  display: inline-block;
  padding: 10px 15px;
  background: var(--green-1);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.services .card .btn:hover {
  background: var(--green-2);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.services .card img {
  display: block;
  margin: 0 auto 10px; /* center image and add spacing */
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25d366;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  text-decoration: none;
}

.whatsapp-float i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
  align-items: flex-start;
}

.product-image {
  flex: 1 1 350px;
}

.product-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.product-details {
  flex: 1 1 500px;
}

.product-details h1 {
  font-size: 2.2em;
  margin-bottom: 8px;
}

.product-details h2 {
  font-weight: normal;
  color: #555;
  margin-top: 0;
  margin-bottom: 20px;
}

.product-details p {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.price {
  font-size: 1.6em;
  color: #4CAF50;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #45a049;
}

.course-info {
  max-width: 1000px;
  margin: 40px auto 60px;
  padding: 0 20px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

.course-info h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.course-info ul {
  padding-left: 20px;
}

.course-info ul li {
  margin-bottom: 18px;
}

.course-info ul li strong {
  display: block;
  font-size: 1.2em;
  margin-bottom: 6px;
}

/* Responsive for smaller screens */
@media (max-width: 700px) {
  .product-container {
    flex-direction: column;
    align-items: center;
  }
  .product-image, .product-details {
    flex: 1 1 100%;
  }
  .product-details h1,
  .product-details h2 {
    text-align: center;
  }
  .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}

.btn.primary {
  background-color: #76c043; /* light green (you can tweak it) */
  color: #fff;
  border: none;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn.primary:hover {
  background-color: #6ab436;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card img.responsive-img {
  display: block;
  max-width: 150px;   /* controls max image width */
  height: auto;
  margin: 0 auto 15px auto; /* center horizontally and add bottom margin */
  border-radius: 8px; /* optional, for a nicer look */
  object-fit: contain; /* keep image proportions */
}

.card {
  text-align: center;
}
/* ===== NAVIGATION FIX — DESKTOP + MOBILE ===== */

/* Default: Desktop View */
.hamburger {
  display: none !important; /* fully hide hamburger on desktop */
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
  .header-inner {
    position: relative;
    justify-content: center;
    align-items: center;
  }

  /* Show hamburger only on mobile */
  .hamburger {
    display: block !important;
    position: absolute;
    left: 20px;
    top: 35px;
    font-size: 28px;
    color: #2b7a2b;
    cursor: pointer;
    z-index: 2001;
  }

  .hamburger:hover {
    color: #3aa53a;
  }

  /* Hide nav by default on mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    z-index: 2000;
    border-top: 2px solid #2b7a2b;
  }

  /* Show nav when active */
  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    color: #2b7a2b;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
  }

  .nav-links a:hover {
    background: #2b7a2b;
    color: #fff;
  }
}

.hero-arrow {
  display: none;
}

@media (max-width: 768px) {
  /* Force full width and center containers with more side padding */
  .about-container,
  .why-choose-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px !important;   /* Increased padding */
    padding-right: 40px !important;  /* Increased padding */
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    float: none !important;
  }

  /* Text blocks full width with centered text */
  .about-text,
  .why-choose-text {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }

  /* Image wrapper centers images */
  .about-image,
  .why-choose-image {
    margin-top: 20px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* Responsive images */
  .about-image img,
  .why-choose-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 50vh !important; /* force half the viewport height */
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero .inner.container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
  margin: 0 auto;
  padding: 1.5rem;
}

.hero h1 {
  margin-bottom: 0.75rem;
}

.hero p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero a.btn {
  margin: 0.5rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center; /* Vertically center content */
  justify-content: center; /* Horizontally center content */
  text-align: center;
}

/* SLIDER BACKGROUND IMAGES */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills container */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* INNER CONTENT */
.hero .inner.container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1.5rem; /* Horizontal breathing room */
  color: #fff;
  margin: 0; /* Remove default container margin */
}

/* RESET ANY DEFAULT SPACING */
.hero h1,
.hero p,
.hero a {
  margin: 0;
  padding: 0;
}

/* TEXT STYLING */
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* BUTTON STYLING */
.btn.primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn.primary:hover {
  background-color: #256428;
}

/* MOBILE STYLING */
@media (max-width: 768px) {
  .hero {
    height: 85vh; /* Slightly smaller hero height */
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn.primary {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }
}

/* FIX FOR UNEVEN TOP/BOTTOM SPACING */
.hero .inner.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Perfectly centers inner content vertically */
  height: 100%;
}
/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* BACKGROUND SLIDER */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill area without distortion */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

/* INNER CONTENT */
.hero .inner.container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  color: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* RESET DEFAULT SPACING */
.hero h1,
.hero p,
.hero a {
  margin: 0;
  padding: 0;
}

/* TEXT STYLING */
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 90%;
}

/* BUTTON */
.btn.primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn.primary:hover {
  background-color: #256428;
}

/* ✅ MOBILE FIX */
@media (max-width: 768px) {
  .hero {
    height: 100svh; /* Fixes Safari mobile height bug */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero .inner.container {
    padding: 0 1rem;
    height: auto;
    z-index: 2;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn.primary {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }
}

/* SAFETY RESET */
.hero .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ✅ REMOVE OLD FIX THAT CAUSED DOUBLE HEIGHT */
.hero img.hero-slide {
  min-height: auto;
  min-width: auto;
}
/* Keep your existing desktop styles exactly as they are */

/* --- MOBILE FIX ONLY --- */
@media (max-width: 768px) {
  .hero {
    height: 100dvh; /* ✅ dynamic viewport height works on iOS Safari */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .hero .inner.container {
    position: relative;
    top: 0;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
  }

  .hero-slider,
  .hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn.primary {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }
}

/* Default for desktop */
.hero .inner h1 {
  font-size: 3rem; /* adjust as needed */
  line-height: 1.2;
}

/* Slightly bigger on larger screens */
@media (min-width: 768px) {
  .hero .inner h1 {
    font-size: 3.5rem; /* adjust as needed */
  }
}

/* Slightly bigger on mobile screens */
@media (max-width: 767px) {
  .hero .inner h1 {
    font-size: 2.5rem; /* adjust as needed */
  }
}
