  /* GLOBAL STYLES */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color:#ACD8E6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
.navbar {
  background-color: #00008B;
  padding: 0.8rem 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  position: sticky;
  top: 0;
  width: 100%;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .navbar-brand img {
  height: 60px;
}

.navbar .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: white;
}

.brand-text .line1 {
  font-size: 1.25rem; /* Dr.விவசாயம் */
  font-weight: 700;
}

.brand-text .line2 {
  font-size: 1rem; /* பப்பாளி நாற்றுப்பண்ணை */
  font-weight: 500;
  color: #d3e6be;
}

/* NAV LINKS */
.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 0.6rem 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #d3e6be;
}

/* DROPDOWN STYLES */
.dropdown-menu {
  background-color: #00008B;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  animation: dropdownFade 0.3s ease-in-out;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  color: #fff;
  font-weight: 400;
  padding: 10px 20px;
  transition: background 0.3s, color 0.3s;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #ACD8E6;
  color: #000;
}

/* MOBILE NAVIGATION */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background:#00008B;
    padding: 1rem;
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    z-index: 999;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  }

  .dropdown-menu {
    position: static;
    float: none;
  }
   
  .dropdown-item {
	  font-size:0.9rem;
  }
  .navbar .brand-text {
    text-align: left;
  }

  .brand-text .line1 {
    font-size: 1rem;  /* Slightly smaller */
  }

  .brand-text .line2 {
    font-size: 0.75rem;  /* Reduced but still visible */
  }
}


/* PAGINATION CENTERING */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}



/* HERO SECTION */
.hero-section {
  background: url('../images/index.jpg') center/cover no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
}

.hero-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
}

.cta-btn {
  background-color: #d3e6be;
  color: #2f3b27;
  font-weight: 600;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  background-color: #c1d6ab;
  transform: scale(1.05);
}

.hero-button-container {
  position: absolute;
  bottom: 50px;
  right: 80px;
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 0 20px;
  }

  .hero-text {
    margin: auto;
  }

  .hero-button-container {
    position: static;
    margin-top: 20px;
    text-align: center;
  }
}

/* ABOUT-NURSERY SECTION */
.about-section {
  padding: 60px 0;
  background-color: #ACD8E6;
  color: #fff;
  margin-top: 0px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: left;
  background-color:#00008B ;
  display: inline-block;
  padding: 10px 30px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.about-title span {
  font-weight: 600;
}

.about-card {
  background-color: #fff;
  color: #2f3b27;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  height: 100%;
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: justify;
}


/* OVERLAP AGRI QUOTE SECTION */
.agri-overlap-section {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
}

.agri-bg-image {
  position: absolute;
  width: 40%;
  height: 90%;
  overflow: hidden;
  border: 4px solid #ccc;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1;
}

.agri-left {
  left: 0;
}

.agri-right {
  right: 0;
}

.agri-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.center-quote-wrapper {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  padding: 40px 30px;
  width: auto;
  max-width: 500px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.center-quote-wrapper h5 {
  font-size: 1.25rem;
  font-weight: 600;
  background-color: #2f3b27;
  color: #fff;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.center-quote-wrapper .quote-detail {
  font-size: 1rem;
  line-height: 1.8;
  color: #2f3b27;
  margin-bottom: 20px;
  text-align: left;
  align-self: flex-end;
}

@media (max-width: 992px) {
  .agri-overlap-section {
    flex-direction: column;
    height: auto;
  }

  .agri-bg-image {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .center-quote-wrapper {
    width: 90%;
    max-width: 90%;
    padding: 30px 20px;
  }
}

/* IMAGE STYLING */
.img-fluid {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* PAPAYA VARIETIES SECTION WITH BACKGROUND */
/* PAPAYA SECTION WRAPPER */
.papaya-section {
  background-color: #ACD8E6;
  padding: 100px 20px 60px; /* Top padding avoids overlap with fixed header */
  width: 100%;
}

/* CENTERING CONTAINER */
.papaya-type {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}

.papaya-type h2 {
  color: Black;
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  font-weight:bold;
}

/* ROW FLEX CONTAINER */
.papaya-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 30px;
  margin-bottom: 80px;
}

/* INDIVIDUAL BOX */
.papaya-box {
  background-color: #fff;
  border-radius: 12px;
  position: relative;
  width: 35%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 20px;
  max-height: 230px;
}

/* ARROW ICON */
.papaya-box .fa-arrow-right {
  font-size: 16px;
  margin-bottom: 100px;
  transform: translateX(50px);
}

/* IMAGE */
.papaya-box .image-container {
  flex: 1;
  overflow: hidden;
}

.papaya-box .image-container img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
}

/* VERTICAL LABEL */
.papaya-box .label-box {
  background-color: #123b22;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 40px 20px;
  border-radius: 20px;
  writing-mode: vertical-rl;
  transform: rotate(180deg); 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 40px;
  min-height: 150px;
  width: 50px;
  margin-top: 120px;
}

/* NUMBER BOX */
.papaya-box .number-box {
  position: absolute;
  margin-top: -220px;
  left: 50px;
  background-color: #fff;
  color: #123b22;
  font-weight: bold;
  border-radius: 8px;
  padding: 7px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  z-index: 10;
}

/* =================== */
/* ===== MOBILE ====== */
/* =================== */
@media (max-width: 768px) {
  .papaya-row {
    flex-wrap: nowrap;
  }

  .papaya-box {
    width: 48%;
  }

  .papaya-box .image-container img {
    height: 100px;
  }

  .papaya-box .label-box {
    width: 20px;
    padding: 10px;
    font-size: 12px;
    margin-right: 1px;
    margin-top: 0;

    /* ✅ Shift label content in mobile view */
    justify-content: flex-start;
	margin-top:20px;
    align-items: center;
  }

  .papaya-box .number-box {
    margin-top: -180px;
    left: 20px;
  }

  .papaya-box .fa-arrow-right {
    transform: translateX(10px);
    font-size: 8px;
    margin: 2 4px;
    align-self: center;
  }
}

/*Payapa Varietes content section*/
/* berry.css */
.papaya-section1 {
  background-color:  #ACD8E6;
  padding: 60px 0;
}
.papaya-section1 .container {
  max-width: 1200px;
  margin: auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.papaya-type1 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.box1 {
  display: flex;
  align-items: center;
  border: 2px solid #93c47d;
  border-radius: 20px;
  padding: 20px;
  background-color: #eaf7e9;
  position: relative;
  flex-wrap: wrap;
}
.label-box1 {
  position: absolute;
  left: -40px;
  top: 30%;
  background-color: #6aa84f;
  color: white;
  font-weight: bold;
  padding: 8px 16px;
  transform: rotate(-90deg);
  border-radius: 10px;
  font-size: 14px;
}
.number-box1 {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #3c763d;
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 14px;
}
.berry-img {
  max-width: 150px;
  height: auto;
  border-radius: 12px;
  margin-right: 20px;
}
.content h5 {
  font-size: 20px;
  color: #3c763d;
}
.content p {
  font-size: 16px;
  color: #444;
  text-align:justify;
}

/* BACK BUTTON STYLING */
.back-btn-wrapper {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 10px;
}

.back-btn {
  display: inline-block;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 25px;
  border-radius: 8px;
  background-color: #6aa84f;
  color: #fff;
  text-decoration: none;
  text-align: center;
  border: 2px solid #3c763d;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #3c763d;
  color: #ffffff;
  text-decoration: none;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  .box1 {
    flex-direction: column;
    align-items: flex-start;
  }
  .berry-img {
    max-width: 100%;
    margin-bottom: 10px;
  }
  .label-box1 {
    left: 10px;
    top: 10px;
    transform: none;
    border-radius: 6px;
  }
  .number-box1 {
    top: 10px;
    right: 10px;
    font-size: 12px;
  }
  .content h5 {
    font-size: 18px;
  }
  .content p {
    font-size: 12px;
  }

  .back-btn {
    font-size: 14px;
    padding: 8px 20px;
    width: 80%;
  }
}


/* WHY US SECTION */
/* GENERAL PARAGRAPH STYLE */
p {
  text-align: justify;
  margin-right:5px;
}

/* ABOUT-NURSERY SECTION */
.about-section {
  padding: 60px 0;
  background-color: #ACD8E6;
  color: #fff;
  margin-top: 0px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: left;
  background-color: #2f3b27;
  display: inline-block;
  padding: 10px 30px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.about-title span {
  font-weight: 600;
}

.about-card {
  background-color: #fff;
  color: #2f3b27;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  height: 100%;
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: justify;
}

/* OVERLAP AGRI QUOTE SECTION */
.agri-overlap-section {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
}

.agri-bg-image {
  position: absolute;
  width: 40%;
  height: 90%;
  overflow: hidden;
  border: 4px solid #ccc;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1;
}

.agri-left {
  left: 0;
}

.agri-right {
  right: 0;
}

.agri-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.center-quote-wrapper {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  padding: 40px 30px;
  width: auto;
  max-width: 500px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.center-quote-wrapper h5 {
  font-size: 1.25rem;
  font-weight: 600;
  background-color: #2f3b27;
  color: #fff;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.center-quote-wrapper .quote-detail {
  font-size: 1rem;
  line-height: 1.8;
  color: #2f3b27;
  margin-bottom: 20px;
  text-align: left;
  align-self: flex-end;
}

/* WHY US SECTION */
.why-us-section {
  background: url('../images/why-us.jpg') center/cover no-repeat;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.why-us-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.why-us-card {
  background: #fff;
  color: #2f3b27;
  border-radius: 20px;
  margin: 20px auto;
  padding: 25px 30px;
  max-width: 950px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.why-us-number {
  background-color: transparent;
  padding: 0;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-number img.number-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.why-us-content h5 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #10391f;
  font-family: 'Poppins', sans-serif;
}

.why-us-content p {
  font-size: 0.95rem;
  text-align: justify;
  margin: 0;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

/* ABOUT PAGE DESIGN */
.about-wrapper {
  background-color: #ACD8E6;
  padding: 60px 20px;
  color: #2f3b27;
}

/* IMAGE STYLING */
.img-fluid {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
  .agri-overlap-section {
    flex-direction: column;
    height: auto;
  }

  .agri-bg-image {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .center-quote-wrapper {
    width: 90%;
    max-width: 90%;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .why-us-card {
    flex-direction: column;
    text-align: center;
  }

  .why-us-number {
    margin: 0 auto 10px auto;
  }

  .why-us-content {
    text-align: center;
  }

  .why-us-content p {
    text-align: justify;
  }
}


/* CARD BOX THAT WRAPS ENTIRE CONTENT */
.about-box {
  background-color: #fffef7;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 1140px;
  margin: 0 auto;
}

/* IMAGE BOX WITH BORDER RADIUS & SHADOW */
.about-img-box img {
  border-radius: 15px;
  border: 6px solid #0f4621;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* HEADING STYLES */
.about-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #0f4621;
  align-items:center;
  margin-bottom: 20px;
}

/* PARAGRAPH STYLING */
.about-box p {
	text-align: justify;
  font-size: 1rem;
  line-height: 1.7;
  color: #222;
  margin-bottom: 15px;
}

/* HIGHLIGHTED QUOTE STYLING */
.about-highlight {
  font-weight: 500;
  margin-top: 20px;
}

.about-highlight span {
  display: block;
  color: #0f4621;
  font-weight: 600;
}

/* RESPONSIVE STACKING FOR SMALL SCREENS */
@media (max-width: 768px) {
  .about-box {
    padding: 30px 20px;
  }

  .about-heading {
    text-align: center;
  }

  .about-highlight {
    text-align: center;
  }

  .about-img-box {
    text-align: center;
  }

  .about-img-box img {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/* LOCATION SECTION */

.location-wrapper {
  background-color: #ACD8E6;
  padding: 60px 20px;
  color: #2f3b27;
}

.location-box {
  background-color: #fffef7;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 1140px;
  margin: 0 auto;
}

/* HEADING STYLES FOR LOCATION */
.location-box h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f4621;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

/* CONTACT DETAILS LIST */
.location-box ul {
  padding-left: 0;
  margin-bottom: 20px;
}

.location-box li {
  list-style: none;
  font-size: 1rem;
  margin-bottom: 10px;
}

.location-box a {
  color: #0f4621;
  font-weight: 500;
  transition: color 0.3s ease;
}

.location-box a:hover {
  text-decoration: underline;
  color: #064d1c;
}

/* PARAGRAPH STYLING */
.location-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}

/* MAP CONTAINER STYLING */
.location-box iframe {
  border: 6px solid #0f4621;
  border-radius: 15px;
  width: 100%;
  height: 300px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .location-box {
    padding: 30px 20px;
  }

  .location-box h2 {
    text-align: center;
  }

  .location-box p,
  .location-box li {
    text-align: center;
  }

  .location-box iframe {
    height: 250px;
    margin-top: 20px;
  }
}

/* Disclaimer Section  */
.disclaimer-wrapper {
  background-color: #ACD8E6;
  padding: 60px 20px;
  color: #2f3b27;
  font-family: 'Poppins', sans-serif;
}

.disclaimer-box {
  background-color: #fff4e9;
  border-radius: 20px;
  padding: 40px 90px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 1140px;
  margin: 0 auto;
}

.disclaimer-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #d10c0c;
  margin-bottom: 30px;
}

.disclaimer-image {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Text Box */
.disclaimer-content {
  text-align: justify;
  background-color: #00008b;
  color: #fff;
  padding: 30px;
  border-radius: 15px;
  font-size: 1rem;
  line-height: 1.8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  max-width: 800px;
  margin: 0 auto;
}

/* Paragraph inside box */
.disclaimer-content p {
  margin-bottom: 20px;
}

/* === Responsive Design === */
@media (max-width: 992px) {
  .disclaimer-box {
    padding: 30px 30px;
  }

  .disclaimer-image {
    max-width: 160px;
  }
}

@media (max-width: 576px) {
  .disclaimer-box {
    padding: 20px 15px;
  }

  .disclaimer-heading {
    font-size: 1.6rem;
  }

  .disclaimer-image {
    max-width: 130px;
    margin-bottom: 15px;
  }

  .disclaimer-content {
    padding: 20px;
    font-size: 0.95rem;
  }
}


/* VIDEO GALLERY SECTION */
/* Container */
.video-gallery-container {
  padding: 40px 20px;
  background-color: #acd8e6;
  font-family: 'Poppins', sans-serif;
}

.gallery-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #103f2c;
  font-weight: 600;
}

.video-wrapper {
  overflow-x: auto;
  padding-bottom: 20px;
}

.video-row {
  display: flex;
  gap: 30px;
  min-width: 1600px;
  padding: 0 10px;
}

.youtube-video {
  width: 450px;
  height: 280px;
  border-radius: 12px;
  border: none;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.youtube-video:hover {
  transform: scale(1.05);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
}

.pagination a {
  padding: 8px 16px;
  text-decoration: none;
  background-color: #acd8e6;
  color: #000;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.pagination a.active,
.pagination a:hover {
  background-color: #7fc3db;
  color: #fff;
}




/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-content {
  margin: 5% auto;
  width: 90%;
  max-width: 1000px;
  height: 560px;
  position: relative;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: none;
}

.close-btn {
  color: white;
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 35px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .video-row {
    flex-wrap: nowrap;
    overflow-x: scroll;
    min-width: auto;
  }

  .youtube-video {
    width: 310px;
    height: 295px;
  }

  .modal-content {
    height: 300px;
  }
}







/* image Gallery */
/* ===== IMAGE GALLERY SECTION ===== */
.image-gallery-section {
  background-color: #ACD8E6;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
}

.image-gallery-section .container {
  background-color: #f4f0e0;
  padding: 60px;
  border-radius: 20px;
}

/* ===== GALLERY TITLE ===== */
.gallery-title {
  color: #10391f;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}


/* ===== GALLERY GRID SCROLLABLE CONTAINER ===== */
.gallery-grid {
  display: flex;
  gap: 40px;
  overflow-x: auto; /* Enables horizontal scroll */
  padding: 20px;
  scroll-behavior: smooth;
}

.image-card {
  flex: 0 0 auto;
  width: 600px;         /* Increased width */
  height: 400px;        /* Increased height */
  border: 8px solid #ffffff;
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.gallery-scroll-wrapper::-webkit-scrollbar {
  height: 10px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}



/* ===== HOVER EFFECTS ===== */
.image-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.image-card:hover img {
  transform: scale(1.05);
}

/* ===== ZOOM ICON OVERLAY (Font Awesome) ===== */
.image-card::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 2.5rem;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-card:hover::after {
  opacity: 1;
}

/* ===== FULLSCREEN MODAL ===== */
.fullscreen-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-image-wrapper {
  max-height: 90%;
  max-width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 100%;
  max-height: 80%;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  border: 8px solid #fff;
  background-color: #fff;
}

/* ===== CLOSE BUTTON ===== */
.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

/* ===== PAGINATION STYLES ===== */
.pagination-wrapper {
  margin-top: 40px;
  text-align: center;
}

.pagination {
  gap: 5px;
}

.pagination .page-item .page-link {
  color: #10391f;
  border: 1px solid #10391f;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
  background-color: #10391f;
  color: #fff;
  border-color: #10391f;
}

.pagination .page-item.disabled .page-link {
  color: #aaa;
  background-color: #eee;
  pointer-events: none;
  border-color: #ccc;
}

.pagination .page-item .page-link:hover {
  background-color: #10391f;
  color: #fff;
}

/* ===== RESPONSIVE GRID ===== */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 per row on large screens */
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    flex-direction: column; /* Stack vertically on mobile */
    gap: 16px;
    overflow-x: hidden;
  }

  .image-card {
    width: 100%;       /* Take full width */
    height: auto;      /* Adjust height automatically */
    max-width: none;   /* Remove tiny width limit */
  }

  .image-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}











/* BLOG SECTION */
/* GLOBAL STYLES */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ACD8E6;
  margin: 0;
  padding: 0;
}

/* BLOG SECTION */
.blog-title {
  font-weight: 600;
  font-size: 2rem;
  color: #103c2b;
}

/* BLOG CARD STYLING */
.blog-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-text {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-text h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #2f3b27;
  flex: 1;
}

.blog-text a {
  font-size: 1.5rem;
  color: #2f3b27;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.blog-text a:hover {
  color: #103c2b;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
  .blog-img {
    height: 200px;
  }

  .blog-text h3 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .blog-img {
    height: 180px;
  }

  .blog-text {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-text a {
    margin-left: 0;
    margin-top: 10px;
  }
}





/* === CONTACT SECTION === */
.contact-wrapper {
  background-color: #ACD8E6;
  padding: 60px 20px;
  color: #2f3b27;
}

.contact-box {
  background-color: #fffef7;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 1140px;
  margin: 0 auto;
}

.contact-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #0f4621;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

/* Contact Image Frame */
.contact-image-frame {
  border: 4px solid #0f4621;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
}

.contact-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact Info */
.contact-box ul {
  padding-left: 0;
  margin-bottom: 20px;
}

.contact-box li {
  list-style: none;
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-box a {
  color: #0f4621;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-box a:hover {
  text-decoration: underline;
  color: #064d1c;
}

.contact-box p {
  text-align: justify;
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}

/* Google Map */
.contact-map-box iframe {
  border: 6px solid #0f4621;
  border-radius: 15px;
  width: 100%;
  height: 300px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* === Responsive === */
@media (max-width: 768px) {
  .contact-box {
    padding: 30px 20px;
  }

  .contact-heading,
  .contact-box p,
  .contact-box li {
    text-align: center;
  }

  .contact-map-box iframe {
    height: 250px;
    margin-top: 20px;
  }

  .contact-image-frame {
    margin: 0 auto 20px auto;
    max-width: 320px;
  }
}

/* MAGNESIUM DEFICIENCY PAGE DESIGN */
.magnesium-section { 
  background-color: #ACD8E6;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
}

.magnesium-section .container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.magnesium-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f4621;
  text-align: center;
  margin-bottom: 30px;
}

/* Paragraph alignment for main content */
.magnesium-section p,
.qa-section p,
.qa-block p,
.qa-block .answer,
.qa-block .explanation {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
}

/* QA SECTION */
.qa-section {
  margin-top: 40px;
}

.qa-block {
  background-color: #eef6f0;
  border-left: 6px solid #0f4621;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 10px;
}

.qa-block h5 {
  font-size: 1.1rem;
  color: #10391f;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: justify;
}

.qa-block .answer {
  font-weight: 500;
  color: #1a5e2a;
  margin-bottom: 5px;
}

.qa-block .explanation {
  font-size: 0.95rem;
  color: #555;
}


/* Image styling */
.magnesium-section img.deficiency-image {
  max-width: 100%;
  height: auto; /* maintain aspect ratio */
  max-height: 10px;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

/* RESPONSIVE STYLES */
/* Disable hover width expand on small screens */
@media (max-width: 576px) {
  .button {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  .button:hover {
    width: 45px;
    border-radius: 50%;
  }
  .button:hover::before {
    font-size: 0;
    opacity: 0;
    bottom: -180px;
  }
}

/* Container padding adjustments for smaller devices */
@media (max-width: 992px) {
  .magnesium-section .container {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .magnesium-section h2 {
    font-size: 1.8rem;
  }

  .qa-block h5 {
    font-size: 1rem;
  }

  .qa-block .answer,
  .qa-block .explanation {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .magnesium-section .container {
    padding: 20px 15px;
  }

  .magnesium-section h2 {
    font-size: 1.5rem;
  }

  .qa-block {
    padding: 15px;
  }

  /* Slightly smaller paragraph text for better fit */
  .magnesium-section p,
  .qa-section p,
  .qa-block p,
  .qa-block .answer,
  .qa-block .explanation {
    font-size: 0.95rem;
  }
}



footer {
  background-color: #00008B;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}



