@import url('https://fonts.googleapis.com/css2?family=Montaga&family=Amaranth:wght@700&display=swap');

section {
  margin-top: 0;
  padding-top: 0;
}

/* Reset */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montaga', serif;
  background-color: #f6f9f2;
  overflow-x: hidden;
}

/* ---------------- NAVBAR ---------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* === FIX: Updated to the solid background color === */
  background-color: #1f7c7a; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Navbar container - full width with nice white border look */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: auto;
  background: #ffffff;
  padding: 10px 30px;
  border-radius: 50px;
  border: 2px solid #b7d3c5;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  margin-top: 12px;
}

/* Logo and Site Name */
.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.site-name {
  font-family: 'Montaga', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2f5e54;
  letter-spacing: 1px;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  font-family: 'Montaga', serif;
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  color: #3a3a3a;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #90c64c;
  transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #2f5e54;
  border-radius: 3px;
  transition: 0.3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: #ffffff;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 25px 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}


/* ---------------- SLIDER ---------------- */
.slider {
  position: relative;
  width: 100%;
  height: 130vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
    clip-path: inset(0 0 10vh 0); /* crop 15vh from the bottom only */
    margin-bottom: -18vh;
    padding-bottom: 0px;
}

.slides {
  display: flex;
  width: 200%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 80px;
  box-sizing: border-box;
}

/* 📱 Responsive for Tablets & Mobiles */
@media (max-width: 768px) {
  .bg {
    height: 60vh;
    background-image: url('img/mobile-bg.png'); /* <-- your mobile image link here */
    background-size: contain; /* ensures the full image is visible */
   
  }



  .bgs2 {
    height: 50vh;
    clip-path: inset(0 0 0 0);  /* remove crop for smaller screens */
    transform: none;            /* no upward shift */
    background-size: contain;   /* show full image */
    background-position: center;
  }
}

/* 🧭 Small Mobile Screens */
@media (max-width: 480px) {
  .bg {
    height: 50vh;
    background-size: contain;
    background-position: center;
  }

  .bgs2 {
    height: 45vh;
    clip-path: none;
    transform: none;
    background-size: contain;
    background-position: center;
  }
}

/* Circle design */
/* Background image or pattern so blur is visible */
.bg {
  background-image: url('img/bg1.png'); /* your background image */
  background-size: cover;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.learn-btn {
  margin-top: 18px;
  background: #fff;
  color: #222;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s ease;
}

.learn-btn:hover {
  background: #acc16c;
  color: #fff;
}

.side-img {
  width: 350px;
  border-radius: 20px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}


/* Circle design */
/* Slide container */
.slide {
  position: relative;
  width: 100%;
  min-height: 100vh;      /* full viewport height */
  margin: 0;
  padding: 0;
  background-image: url("img/bg1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;    /* centers the circle vertically */
}


/* Circle */
/* Frosted green circle with moving animation */
.circle {
  background-color: rgba(123, 197, 87, 0.25); /* 25% opacity */
  border-radius: 50%;
  width: 360px;
  height: 360px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(9, 58, 11, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* Positioning */
  position: absolute;
  top: 40%;
  left: 50px;
  transform: translateY(-50%);

  /* Animation */
  animation: floatCircle 4s ease-in-out infinite alternate;
}

/* Keyframes for horizontal floating motion */
@keyframes floatCircle {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(20px); /* move right */
  }
  100% {
    transform: translateY(-50%) translateX(0); /* back to start */
  }
}






.circle h2 {
  font-family: 'Montaga', serif;
  font-size: 30px;          /* ⬆ increased from 20px */
  line-height: 1.2;
  color: #121f02;
  margin-bottom: 14px;
  max-width: 85%;
  word-break: break-word;
}

.circle p {
  font-family: 'Amaranth', sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #121f02;
  max-width: 85%;
  margin: 0 auto;
  word-wrap: break-word;
  text-align: center;
}

.learn-btn {
  margin-top: 20px;
  background: #ffffff;
  color: #222;
  border: none;
  padding: 8px 22px;
  border-radius: 22px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s ease;
}

.learn-btn:hover {
  background: #acc16c;
  color: #fff;
}

.social-row {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column; /* stack vertically */
  align-items: center;
  gap: 10px; /* space between icons */
  z-index: 1000;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #2e5932; /* Herbal green */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background-color: #85b24a; /* lighter green on hover */
}

/* Optional platform-specific colors */
.social-icon.facebook:hover {
  background-color: #1877f2;
}
.social-icon.instagram:hover {
  background-color: #e4405f;
}
.social-icon.linkedin:hover {
  background-color: #0077b5;
}

.footer-section {
  position: relative;
  background-image: url("img/Light green abstract background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px 0;
  color: #fff;
  text-align: center;
}

.footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* overlay */
  z-index: 1;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  font-size: 14px;
  margin: 0;
}


@media (max-width: 768px) {
  .slider {
    height: auto;
  }

  .slide {
    height: 100vh;
    background-size: cover;
  }

  .circle {
    width: 300px;
    height: 300px;
    padding: 20px;
    border-radius: 50%;
  }

  .circle h2 {
    font-size: 1.3rem;
  }

  .circle p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .learn-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .circle {
    width: 250px;
    height: 250px;
    padding: 15px;
  }

  .circle h2 {
    font-size: 1.1rem;
  }

  .circle p {
    font-size: 0.85rem;
  }

  .learn-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* ===== MOBILE RESPONSIVE (≤768px) ===== */
@media (max-width: 768px) {
  .about-section {
    padding: 40px 15px;
  }

  .about-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .about-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .about-box h3 {
    font-size: 1.4rem;
  }

  .about-box h4 {
    font-size: 1rem;
  }

  .about-box p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .about-image img {
    width: 260px;
    height: 260px;
  }

  .about-bottom p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
  }

  .about-consult {
    padding: 30px 10px;
    text-align: center;
  }

  .consult-heading {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .consult-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .consult-text {
    position: static !important;
    left: auto !important;
    top: auto !important;
    padding: 0 10px;
    font-size: 0.95rem;
    text-align: justify;
  }

  .consult-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
  }
}
/* ===== MOBILE RESPONSIVE GALLERY (≤768px) ===== */
@media (max-width: 768px) {
  .gallery-section {
    padding: 40px 15px 20px;
  }

  .gallery-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 25px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* ✅ Two images per row */
    gap: 10px;
    justify-items: center;
  }
  .gallery-grid img {
    width: 100%;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
  }

  .gallery-overlay {
    display: none; /* hide logo overlay on mobile */
  }
}

/* ===== SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-grid img {
    height: 180px;
  }

  .gallery-title {
    font-size: 1.6rem;
  }
}

/* ===== MOBILE RESPONSIVE SERVICES (≤768px) ===== */
@media (max-width: 768px) {
  .service-cards {
    padding: 40px 15px;
  }

  .section-heading {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
  }

  .scroll-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two cards per row on tablet/mobile */
    gap: 15px;
    justify-items: center;
  }

  .card {
    width: 100%;
    max-width: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
  }

  .card-overlay h3 {
    font-size: 1rem;
  }

  .card-overlay p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .card-icon img {
    width: 22px;
    height: 22px;
  }

  /* Disease List Section */
  .disease-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    justify-items: center;
  }

  .disease-box {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
  }

  .view-more-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
  }
}

/* ===== SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .scroll-content {
    grid-template-columns: 1fr; /* One card per row on very small devices */
  }

  .card img {
    height: 200px;
  }

  .card-overlay h3 {
    font-size: 1rem;
  }

  .disease-grid {
    grid-template-columns: 1fr 1fr; /* Still two per row for compact boxes */
  }

  .section-heading {
    font-size: 1.6rem;
  }
}

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001; /* ensures it's above everything */
  position: relative;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #2e5932;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* X animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%; /* hidden off screen */
    width: 65%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    padding-left: 30px;
    transition: all 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    left: 0; /* slides in from left */
  }

  .nav-links li a {
    font-size: 18px;
    color: #2e5932;
    font-weight: 600;
    text-decoration: none;
  }

  .nav-links li a:hover {
    color: #1a3f23;
  }
}

