@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@399&display=swap");
:root {
  --primary-blue: #003580;
  --accent-green: #00ab51;
  --light-blue: #e6f0fa;
  --light-green: #e8f5eb;
  --dark-text: #333;
  --light-text: #777;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Cormorant Garamond", serif;
  color: var(--dark-text);
  background-color: var(--light-blue);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 20px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "EB Garamond", serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  font-family: "Playfair Display", serif !important;
  color: #ffffff !important;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 3rem;
  font-family: "EB Garamond", serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-family: "EB Garamond", serif;
  text-transform: uppercase;
  font-size: 0.99rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  background-color: var(--accent-green);
}
.btn-primary {
  background-color: var(--accent-green);
  box-shadow: 0 4px 15px rgba(0, 87, 160, 0.3);
}

.btn-primary:hover {
  background: #004a8a;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 87, 160, 0.4);
}

.btn-secondary {
  background: var(--accent-green);
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.btn-secondary:hover {
  background: #257a48;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(46, 139, 87, 0.4);
}

.btn-outline {
  background: var(--accent-green);
  color: var(--off-white);
}

.btn-outline:hover {
  background: var(--accent-green);
  color: var(--white);
}

/* Improved Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--primary-blue);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: auto;
}

.logo {
  height: 70px; /* or your preferred height */
  flex: 4;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  flex: 5;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
}

.desktop-nav ul li {
  margin-left: 1.8rem;
  align-items: start;
}

.desktop-nav ul li a {
  text-decoration: none;
  color: var(--white);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}
.desktop-nav ul li a.active {
  color: #aaa;
}
.desktop-nav ul li a:hover {
  color: var(--dark-text);
}

.desktop-nav ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: var(--transition);
}

.desktop-nav ul li a:hover:after {
  width: 100%;
}

.desktop-nav .btn {
  margin-left: 1.5rem;
}

/* Mobile Navigation - Fixed */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.mobile-toggle i {
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.off-canvas-menu {
  position: fixed;
  top: 10;
  right: -100%;
  width: 100%;
  margin-top: 6rem;
  height: auto;
  background: linear-gradient(
      rgba(255, 255, 255, 0.75),
      rgba(255, 255, 255, 0.85)
    ),
    url("/img/eyeglass.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;

  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition);
  padding: 4rem 2rem 2rem;
  overflow-y: auto;
  height: 100%;
}

.off-canvas-menu.active {
  right: 0;
}

.off-canvas-menu ul {
  list-style: none;
}

.off-canvas-menu ul li {
  margin-bottom: 1rem;
}

.off-canvas-menu ul li a {
  text-decoration: none;
  color: var(--dark-text);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  display: block;
  padding: 0.2rem 1rem;
  transition: var(--transition);
  color: #111;
}

.off-canvas-menu ul li a:hover {
  color: var(--primary-blue);
  padding-left: 1.5rem;
}
.off-canvas-menu ul li a.active {
  color: var(--accent-green);
  font-weight: 600;
}
.off-canvas-menu .btn {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Hero Section as Slider */
.hero {
  height: 100vh;
  min-height: 800px;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.slides-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

/* Background Images for Slides - Using your images */
.slide-1 {
  background: url("img/slides.jpeg") center center / cover no-repeat;
}

.slide-2 {
  background: url("img/slide1.jpeg") center center / cover no-repeat;
}

.slide-3 {
  background: url("img/slides1.jpeg") center center / cover no-repeat;
}

.slide-4 {
  background: url("img/WhatsApp Image 2025-10-23 at 8.02.40 AM.jpeg") center
    center / cover no-repeat;
}
.slide-5 {
  background: url("img/Scanned_20250919-1536-34.jpg") center center / cover
    no-repeat;
}
/* Hero Content - Preserved exactly from the previous code */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--primary-blue) !important;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--off-white) !important;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

.hero-content p {
  font-size: 1.7rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 1;
  color: var(--off-white) !important;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-text);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: var(--primary-blue);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--light-text);
  border: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-arrow:hover {
  background-color: var(--primary-blue);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: auto; /* Let it adjust to content */
    min-height: 400px; /* Smaller minimum height for mobile */
    margin-top: 60px; /* Adjust top margin for smaller screens */
    padding: 20px; /* Add padding for mobile spacing */
  }

  .slide {
    flex-direction: column; /* Stack content vertically on mobile */
    padding: 10px; /* Add inner spacing */
  }
}

@media (max-width: 768px) {
  #home {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero {
    height: 80vh;
    min-height: 100%;
    margin-top: 80px;
  }
  .hero-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
  }
  .hero h1 {
    font-size: 2.2rem !important;
    margin-bottom: 1.5rem;
    line-height: 1 !important;
    color: var(--white);
  }
  .hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .btn {
    display: grid;
    place-content: center;
    padding: 5px !important;
    width: 250px;
    height: auto;
  }
}
/*  this is the css for the about hero image  */
.jumbotron {
  height: 100vh;
  min-height: 800px;
  background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 87, 160, 0.3) 70%,
      rgba(46, 139, 87, 0.3) 100%
    ),
    url("img/slides.jpeg") center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.jumbotron-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  background: rgba(68, 65, 65, 0.3); /* optional overlay for contrast */
  border-radius: 10px;
}

.jumbotron-content p {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3; /* slightly more breathing room */
  color: var(--light-blue) !important;
  letter-spacing: 0.5px; /* improves clarity for uppercase or bold fonts */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* improves contrast if on image/bg */
}

/* About Section */
.about {
  background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.89),
      rgba(255, 255, 255, 0.9)
    ),
    url("img/glasshp.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  margin: auto;
  padding-bottom: 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 3rem;
  padding-top: 30px;
  font-family: Garamond, serif;
}
.about-text h3 {
  font-size: 1.9rem;
}

.mission-vision {
  background: var(--light-blue);
  padding: 2.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-blue);
}

.mission-vision h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-family: "Cormorant Garamond", serif;
}
.mission-vision h2 {
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
}
.about-objectives h2 {
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.objective-card {
  background: var(--light-green);
  padding: 2rem;
  border-radius: 15px;
  transition: var(--transition);
  border-right: 4px solid var(--accent-green);
}

.objective-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.objective-card h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-family: "Cormorant Garamond", serif;
}

.objective-card h3 span {
  background: var(--primary-blue);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 1.1rem;
  font-family: "Cormorant Garamond", serif;
}
@media (max-width: 768px) {
  .about {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.7)
      ),
      url(img/glasshp.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 2rem 1.5rem;
  }
  .jumbotron {
    height: 80vh;
    min-height: 100%;
    margin-top: 80px;
  }
  .jumbotron-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
  }
  .jumbotron-content p {
    font-size: 2rem !important;
    margin-bottom: 1.5rem;
    line-height: 1 !important;
    color: var(--white);
  }
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* center items horizontally */
    gap: 2rem; /* spacing between items */
  }

  .about-text h2 {
    margin-bottom: 3rem;
    font-family: Garamond, serif;
    font-size: 2rem;
  }
  .mission-vision {
    display: flex;
    flex-direction: column;

    margin-bottom: 2rem;
  }
}
/* Programs Section */
.programs {
  background: var(--off-white);
  margin: 2rem auto;
}

.programs h2 {
  text-align: center;
  font-family: Garamond, serif;
  font-size: 2rem;
}

.programs h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-10px);
}

.program-img {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.program-content {
  padding: 2rem;
}

.program-content h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-family: "Cormorant Garamond", serif;
}
@media (max-width: 768px) {
  .program-cards {
    display: flex;
    flex-direction: column;
    align-items: center; /* center items horizontally */
  }
}
/* stats sections css */
.stats {
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--accent-green)
  );
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.stat-item {
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .stats-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/*  this is the css for the  Gallery  image  */
.jumbotrong {
  height: 100vh;
  min-height: 800px;
  background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 87, 160, 0.3) 70%,
      rgba(46, 139, 87, 0.3) 100%
    ),
    url("img/Training\ of\ VHTs/IMG-20250918-WA0272.jpg") center center / cover
      no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.jumbotron-contentg {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  background: rgba(68, 65, 65, 0.3); /* optional overlay for contrast */
  border-radius: 10px;
}

.jumbotron-contentg p {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3; /* slightly more breathing room */
  color: var(--light-blue) !important;
  letter-spacing: 0.5px; /* improves clarity for uppercase or bold fonts */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* improves contrast if on image/bg */
}
/*Gallery  */
.gallery {
  background: var(--white);
  margin: 3rem auto;
  width: 100%;
  height: 100%;
  padding-bottom: 2rem;
}

.gallery h2 {
  text-align: center;
  font-family: Garamond, serif;
  font-size: 2rem;
}

.gallery h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--box-shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}
/*  this is the css for the  Get Involvedhero image  */
.jumbotron2 {
  height: 100vh;
  min-height: 800px;
  background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 87, 160, 0.3) 70%,
      rgba(46, 139, 87, 0.3) 100%
    ),
    url("img/slider1.jpg") center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.jumbotron-content2 {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  background: rgba(68, 65, 65, 0.3); /* optional overlay for contrast */
  border-radius: 10px;
}

.jumbotron-content2 p {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3; /* slightly more breathing room */
  color: var(--light-blue) !important;
  letter-spacing: 0.5px; /* improves clarity for uppercase or bold fonts */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* improves contrast if on image/bg */
}

/* Get Involved */

.get-involved {
  background: var(--off-white);
  text-align: center;
  margin-bottom: 20px;
}

.get-involved h2 {
  text-align: center;
  font-family: Garamond, serif;
  font-size: 2rem;
  padding-top: 30px;
}

.get-involved h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.involve-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  background-color: #fffbfb;
}

.involve-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.involve-card:hover {
  transform: translateY(-10px);
}

.involve-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.involve-icon i {
  font-size: 2rem;
  color: var(--primary-blue);
}

.involve-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-family: "Cormorant Garamond", serif;
}
@media (max-width: 768px) {
  .jumbotron2 {
    height: 80vh;
    min-height: 100%;
    margin-top: 80px;
  }
  .jumbotron-content2 {
    max-width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
  }
  .jumbotron-content2 p {
    font-size: 2rem !important;
    margin-bottom: 1.5rem;
    line-height: 1 !important;
    color: var(--white);
  }
  .gallery-grid {
    display: flex;
    flex-direction: column;
    align-items: center; /* center items horizontally */
  }
  .get-involved {
    padding: 10px;
  }
  .involve-cards {
    display: flex;
    flex-direction: column;
    align-items: center; /* center items horizontally */
    padding: 15px;
  }
  .jumbotrong {
    height: 80vh;
    min-height: 100%;
    margin-top: 80px;
  }
  .jumbotron-contentg {
    max-width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
  }
  .jumbotron-contentg p {
    font-size: 2rem !important;
    margin-bottom: 1.5rem;
    line-height: 1 !important;
    color: var(--white);
  }
}

/* Footer */
.footer {
  color: var(--white);
  padding: 4rem 0 2rem;
  width: 100%;
  background-color: var(--primary-blue);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
  font-family: "Cormorant Garamond", serif;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-green);
  font-family: "Cormorant Garamond", serif;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--dark-text);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  margin-bottom: 1rem;
}

.contact-info i {
  color: rgb(43, 255, 0);
  margin-right: 10px;
  font-size: 1.2rem;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-green);
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--accent-green);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #7a7777;
  color: var(--off-white);
  font-size: 1.2rem;
  color: rgb(43, 255, 0);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .footer {
    color: var(--white);
    padding: 3rem 2rem;
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* center items horizontally */
    gap: 2rem;
    margin-bottom: 3rem;
  }
  .footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 700px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-btns {
    flex-direction: column;
  }
  /* Improved Header & Navigation */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: var(--primary-blue);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .off-canvas-menu {
    width: 280px;
    padding: 5rem 1.5rem 2rem;
    transition: right 0.4s ease;
  }
}
/* WhatsApp Container Positioning */
#qlwapp {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 9999;
  transition: transform 0.3s ease;
  height: 40px;
}

/* WhatsApp Button Styling */
.qlwapp-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 15px 15px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-size: 17px;
}

/* WhatsApp Icon */
.qlwapp-toggle i.fab.fa-whatsapp {
  font-size: 24px;
  color: var(--accent-green);
}

/* Close (×) icon */
.qlwapp-close {
  display: none; /* You can enable it if needed */
  margin-left: auto;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
}

/* WhatsApp Text */
.qlwapp-text {
  display: inline;
  white-space: nowrap;
  font-family: Garamond, serif;
}

/* Hover Effect */
.qlwapp-toggle:hover {
  background-color: var(--accent-green);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* Responsive Hide on Very Small Screens (Optional) */
@media (max-width: 768px) {
  .qlwapp-text {
    display: none;
  }

  .qlwapp-toggle {
    padding: 12px;
    border-radius: 50%;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-weight: 700;
    background-color: var(--accent-green);
  }
}
/*  this is the css for the contact us hero image  */
.jumbotron1 {
  height: 100vh;
  min-height: 800px;
  background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 87, 160, 0.3) 70%,
      rgba(46, 139, 87, 0.3) 100%
    ),
    url("img/Training\ of\ VHTs/IMG-20250918-WA0344.jpg") center center / cover
      no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.jumbotron-content1 {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  background: rgba(68, 65, 65, 0.3); /* optional overlay for contrast */
  border-radius: 10px;
}

.jumbotron-content1 p {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3; /* slightly more breathing room */
  color: var(--light-blue) !important;
  letter-spacing: 0.5px; /* improves clarity for uppercase or bold fonts */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* improves contrast if on image/bg */
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin: 3rem auto;
  width: 100%;
}

.contact-column {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(39, 39, 39, 0.17);
}

.contact-column h2 {
  margin-bottom: 2rem;
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-family: Garamond;
}
.contact-column .icon {
  font-size: 1.3rem;
  font-weight: 700;
}
.contact-column p,
.contact-column label {
  color: #070707;
  font-size: 1.3rem;
}
form label {
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
  color: #333;
}

form input,
form textarea {
  width: 100%;
  height: auto;
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1px solid var(--light-text);
  border-radius: 6px;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-color: #2e8b57;
  box-shadow: 0 0 5px rgba(46, 139, 87, 0.3);
  background-color: #fff;
  outline: none;
}

form button {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: var(--accent-green);
}

.icon {
  color: #2e8b57;
  margin-right: 6px;
  font-size: 16px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .jumbotron1 {
    height: 80vh;
    min-height: 100%;
    margin-top: 80px;
  }
  .jumbotron-content1 {
    max-width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
  }
  .jumbotron-content1 p {
    font-size: 2rem !important;
    margin-bottom: 1.5rem;
    line-height: 1 !important;
    color: var(--white);
  }
  .contact-container {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  .contact-column {
    display: flex;
    flex-direction: column;
    align-items: center; /* center items horizontally */
  }
  .contact-map iframe {
    height: auto;
  }
  .contact-info {
    padding: 15px;
    border-radius: 6px;
  }

  .contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .contact-info .icon {
    flex-shrink: 0;
    margin-right: 8px;
  }
} /*  this is the css for the  distribution-model image  */
.jumbotrona {
  height: 100vh;
  min-height: 800px;
  background: linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 87, 160, 0.3) 70%,
      rgba(46, 139, 87, 0.3) 100%
    ),
    url("img/WhatsApp Image 2025-10-23 at 8.02.40 AM.jpeg") center center /
      cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.jumbotron-contenta {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  background: rgba(68, 65, 65, 0.3); /* optional overlay for contrast */
  border-radius: 10px;
}

.jumbotron-contenta p {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3; /* slightly more breathing room */
  color: var(--light-blue) !important;
  letter-spacing: 0.5px; /* improves clarity for uppercase or bold fonts */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* improves contrast if on image/bg */
}

/* Distribution Model */
.distribution-model {
  background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.8)
    ),
    url("img/eyeglass.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  height: auto;
  padding: 2rem 1.5rem;
  height: 100%;
}
.distribution-model h2 {
  text-align: center;
  font-family: Garamond, serif;
  font-size: 2rem;
  padding-top: 30px;
}

.distribution-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 3px solid var(--primary-blue);
}
.step h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}
.step-number {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  margin-bottom: 1rem;
}

/* Glasses Info */
.glasses-info {
  background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.8)
    ),
    url("img/glas3.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  height: auto;
  padding: 2rem 1.5rem;
}
.glasses-info h2 {
  text-align: center;
  font-family: Garamond, serif;
  font-size: 2rem;
}
.glasses-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: var(--light-blue);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}
.feature h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}

.feature i {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  text-align: center;
}
@media (max-width: 768px) {
  .distribution-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .glasses-features {
    flex-direction: column;
  }
}
