.btn-app-outline {
  background-color: transparent !important;
  color: #2c5530 !important;
  border: 2px solid #2c5530 !important;
}

.btn-app-outline::after {
  background-color: #2c5530 !important;
}

.btn-app-outline:hover {
  color: #ffffff !important;
}

/* Increase specificity so outline wins over base primary-cta */
.about-app-minimal .btn.btn-primary-cta.btn-app-outline {
  background-color: transparent !important;
  color: #2c5530 !important;
  border: 2px solid #2c5530 !important;
}

.about-app-minimal .btn.btn-primary-cta.btn-app-outline::after {
  background-color: #2c5530 !important;
}

.about-app-minimal .btn.btn-primary-cta.btn-app-outline:hover {
  color: #ffffff !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Minimal About Page Styles */

/* Hero Section */
.about-hero-minimal {
  background: linear-gradient(135deg, #2c5530 0%, #1e3a21 100%);
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 200px;
}

.about-hero-minimal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/img/bg/bg1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.about-hero-minimal .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.about-hero-minimal .row {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.about-hero-minimal .col-lg-8 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
  height: 100%;
  padding: 0;
}

/* Force hero headline to be visible */
.about-hero-minimal h1,
.about-hero-minimal .hero-headline,
.hero-headline {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 1.5rem !important;
  font-family: "Red Hat Display", sans-serif !important;
  text-transform: capitalize !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 999 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Force hero subhead to be visible */
.about-hero-minimal p.hero-subhead,
.about-hero-minimal .hero-subhead,
.hero-subhead {
  font-size: 1.25rem !important;
  color: #ffffff !important;
  margin-bottom: 0 !important;
  opacity: 0.9 !important;
  font-family: "Red Hat Display", sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 999 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.hero-subhead {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: auto;
}

/* Button sliding effect */
@keyframes slideIn {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Override Bootstrap button styles for About page */
button.btn.btn-primary-cta,
.btn.btn-primary-cta,
.about-hero-minimal .btn-primary-cta {
  background-color: #ffffff !important;
  color: #2c5530 !important;
  border: 1px solid #ffffff !important;
  padding: 12px 30px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  font-family: "Red Hat Display", sans-serif !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: none !important;
  outline: none !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Outline style for App section primary button */
.about-app-minimal .btn-primary-cta {
  background-color: transparent !important;
  color: #2c5530 !important;
  border: 2px solid #2c5530 !important;
}

.about-app-minimal .btn-primary-cta::after {
  background-color: #2c5530 !important;
}

.about-app-minimal .btn-primary-cta:hover {
  color: #ffffff !important;
}

button.btn.btn-primary-cta::after,
.btn.btn-primary-cta::after,
.about-hero-minimal .btn-primary-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #2c5530;
  transition: left 0.3s ease;
  z-index: -1;
}

button.btn.btn-primary-cta:hover::after,
.btn.btn-primary-cta:hover::after,
.about-hero-minimal .btn-primary-cta:hover::after {
  left: 0;
}

button.btn.btn-primary-cta:hover,
.btn.btn-primary-cta:hover,
.about-hero-minimal .btn-primary-cta:hover {
  color: #ffffff !important;
  transform: translateY(1px) !important;
}

button.btn.btn-secondary-cta,
.btn.btn-secondary-cta,
.about-hero-minimal .btn-secondary-cta {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  padding: 12px 30px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  font-family: "Red Hat Display", sans-serif !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: none !important;
  outline: none !important;
  position: relative !important;
  overflow: hidden !important;
}

button.btn.btn-secondary-cta::after,
.btn.btn-secondary-cta::after,
.about-hero-minimal .btn-secondary-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transition: left 0.3s ease;
  z-index: -1;
}

button.btn.btn-secondary-cta:hover::after,
.btn.btn-secondary-cta:hover::after,
.about-hero-minimal .btn-secondary-cta:hover::after {
  left: 0;
}

button.btn.btn-secondary-cta:hover,
.btn.btn-secondary-cta:hover,
.about-hero-minimal .btn-secondary-cta:hover {
  color: #2c5530 !important;
  transform: translateY(1px) !important;
}

/* Vision Section */
.about-vision-minimal {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c5530;
  margin-bottom: 0;
  font-family: "Red Hat Display", sans-serif;
  text-transform: capitalize;
  letter-spacing: -0.01em;
}

.vision-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #414141;
  margin-bottom: 1.5rem;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
}

.leader-illustration {
  padding: 2rem;
}

.leader-silhouette {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #2c5530;
}

.leader-figure {
  width: 40px;
  height: 80px;
  background-color: #2c5530;
  border-radius: 20px 20px 8px 8px;
  position: relative;
}

.leader-figure::before {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #2c5530;
  border-radius: 50%;
  top: -12px;
  left: 7px;
}

.crossroads-path {
  position: absolute;
  width: 100px;
  height: 4px;
  background-color: #2c5530;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.crossroads-path::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 100px;
  background-color: #2c5530;
  top: -48px;
  left: 48px;
}

/* Section Heading Underline Animation */
.section-heading-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.heading-underline {
  position: relative;
  width: 100%;
  height: 0;
  margin-top: 4px;
  margin-bottom: 0;
  box-sizing: border-box;
}

.heading-underline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2c5530, #1e3a21);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1) 300ms, opacity 320ms ease 300ms;
  will-change: transform, opacity;
}

.section-heading-wrapper.in-view .heading-underline::before {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
}

/* White underline variant on green background (Join section) */
.about-join-minimal .section-heading-wrapper .heading-underline::before {
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.9));
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .heading-underline::before {
    transition: none !important;
    transform: translateY(-50%) scaleX(1) !important;
    opacity: 1 !important;
  }
}

/* Vision Image Styles */
.vision-image-container {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-image {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.vision-image:hover {
  transform: scale(1.02);
}

/* Philosophy Section */
.about-philosophy-minimal {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f5dc 0%, #f0f0e6 100%);
}

.philosophy-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #414141;
  margin-bottom: 1rem;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
}

.philosophy-tile {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tile-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-icon {
  background-color: #2c5530;
}

.team-icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 12px;
}

.team-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  right: 12px;
}

.challenge-icon {
  background-color: #2c5530;
}

.challenge-icon::before {
  content: '';
  width: 30px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 20px;
  left: 15px;
}

.challenge-icon::after {
  content: '';
  width: 30px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  bottom: 20px;
  left: 15px;
}

.heart-icon {
  background-color: #2c5530;
}

.heart-icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50% 50% 0 0;
  position: absolute;
  top: 15px;
  left: 15px;
  transform: rotate(-45deg);
}

.heart-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50% 50% 0 0;
  position: absolute;
  top: 15px;
  right: 15px;
  transform: rotate(45deg);
}

.tile-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c5530;
  margin-bottom: 1rem;
  font-family: "Red Hat Display", sans-serif;
  text-transform: capitalize;
}

.tile-text {
  color: #6c757d;
  line-height: 1.6;
  font-family: "Red Hat Display", sans-serif;
}

/* New Philosophy Section Styles */
.philosophy-highlight {
  margin: 2rem 0 3rem 0;
  display: inline-block;
  position: relative;
}

.highlight-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c5530;
  font-family: "Red Hat Display", sans-serif;
  text-transform: capitalize;
  position: relative;
  padding: 0.5rem 0;
}

.highlight-text::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2c5530, #1e3a21);
  border-radius: 2px;
}

.highlight-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2c5530, transparent);
  opacity: 0.3;
}

.philosophy-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  min-height: 300px;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c5530, #1e3a21);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.philosophy-card:hover::before {
  transform: scaleX(1);
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #2c5530;
}

.about-philosophy-minimal .card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e8f5e8;
  font-family: "Red Hat Display", sans-serif;
}

.about-philosophy-minimal .card-icon {
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: transparent;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.about-philosophy-minimal .philosophy-card:hover .card-icon {
  background: transparent;
  transform: scale(1.1);
}

.about-philosophy-minimal .philosophy-card:hover .card-icon svg path {
  stroke: #ffffff;
}

.about-philosophy-minimal .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c5530;
  margin-bottom: 1rem;
  font-family: "Red Hat Display", sans-serif;
  text-transform: capitalize;
}

.about-philosophy-minimal .card-text {
  color: #6c757d;
  line-height: 1.6;
  font-family: "Red Hat Display", sans-serif;
  font-size: 1rem;
}

/* App Section */
.about-app-minimal {
  padding: 80px 0;
  background-color: #ffffff;
}

.app-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #414141;
  margin-bottom: 1.5rem;
  font-family: "Red Hat Display", sans-serif;
}

.app-benefits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.app-benefits li {
  padding: 0.5rem 0;
  color: #414141;
  font-family: "Red Hat Display", sans-serif;
  position: relative;
  padding-left: 1.5rem;
}

.app-benefits li::before {
  content: "✓";
  color: #2c5530;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.phone-mockup {
  padding: 2rem;
}

.phone-screen {
  width: 200px;
  height: 350px;
  background-color: #ffffff;
  border: 3px solid #2c5530;
  border-radius: 25px;
  padding: 20px;
  margin: 0 auto;
}

/* App Mockup Image */
.app-mockup-image {
  width: 110%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  box-shadow: none;
  display: inline-block;
  margin-right: -80px; /* slight overlap into text */
}

@media (max-width: 768px) {
  .app-mockup-image {
    width: 100%;
    max-width: 360px;
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .app-mockup-image {
    width: 100%;
    max-width: 260px;
    margin-right: 0;
  }
}

.phone-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c5530;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Red Hat Display", sans-serif;
}

.phone-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phone-features li {
  font-size: 0.9rem;
  color: #414141;
  margin-bottom: 15px;
  line-height: 1.4;
  font-family: "Red Hat Display", sans-serif;
}

/* Story Section */
.about-story-minimal {
  padding: 80px 0;
  background-color: #ffffff;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #414141;
  margin-bottom: 1.5rem;
  font-family: "Red Hat Display", sans-serif;
}

.pull-quote {
  border-left: 4px solid #2c5530;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
  color: #2c5530;
  font-family: "Red Hat Display", sans-serif;
}

.founder-portrait {
  margin-bottom: 20px;
}

.founder-photo {
  width: 280px;
  height: 280px;
  border-radius: 12px;
  object-fit: cover;
  border: 4px solid #2c5530;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.founder-photo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Join Section */
.about-join-minimal {
  background: linear-gradient(135deg, #2c5530 0%, #1e3a21 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-join-minimal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/img/bg/bg1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.about-join-minimal .container {
  position: relative;
  z-index: 2;
}

.join-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: "Red Hat Display", sans-serif;
  text-transform: capitalize;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.join-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero-minimal {
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 120px 0 60px 0 !important;
  }
  
  .hero-headline {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
  
  .hero-subhead {
    font-size: 1rem !important;
  }
  
  .section-heading {
    font-size: 2rem;
  }
  
  .hero-cta-buttons,
  .join-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .leader-silhouette {
    width: 250px;
    height: 250px;
  }
  
  .vision-image {
    width: 300px;
    height: 300px;
  }
  
  .phone-screen {
    width: 180px;
    height: 320px;
  }
  
  .founder-photo {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .about-hero-minimal {
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 100px 0 50px 0 !important;
  }
  
  .about-vision-minimal,
  .about-philosophy-minimal,
  .about-app-minimal,
  .about-story-minimal,
  .about-join-minimal {
    padding: 60px 0;
  }
  
  .hero-headline {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
  
  .hero-subhead {
    font-size: 0.9rem !important;
  }
  
  .section-heading {
    font-size: 1.75rem;
  }
  
  .leader-silhouette {
    width: 200px;
    height: 200px;
  }
  
  .vision-image {
    width: 250px;
    height: 250px;
  }
  
  .phone-screen {
    width: 160px;
    height: 280px;
  }
  
  .founder-photo {
    width: 160px;
    height: 160px;
  }
  
  .philosophy-tile {
    padding: 1.5rem;
  }
}

/* Founder Image Styles */
.founder-image-container {
  position: relative;
  margin-top: 2rem;
}

.founder-image-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #3e8347 0%, #2d5a3d 100%);
  padding: 4px;
}

.founder-image-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.founder-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
  transition: all 0.3s ease;
  display: block;
}

.founder-image-wrapper:hover .founder-image {
  filter: grayscale(0%) contrast(1.2) brightness(1.1);
  transform: scale(1.05);
}

.founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: all 0.3s ease;
  border-radius: 0 0 16px 16px;
}

.founder-image-wrapper:hover .founder-overlay {
  transform: translateY(0);
}

.founder-overlay h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.founder-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .founder-image-container {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
  
  .founder-image {
    max-width: 250px;
  }
  
  .founder-overlay {
    padding: 1.5rem 1rem 1rem;
  }
  
  .founder-overlay h4 {
    font-size: 1.1rem;
  }
  
  .founder-overlay p {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .founder-image {
    max-width: 200px;
  }
  
  .founder-overlay {
    padding: 1rem 0.8rem 0.8rem;
  }
}

body {
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  background-color: white;
  z-index: 999;
}

.sticky-nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #ffffff !important;
}

.container-fluid.sticky-nav {
  background-color: #ffffff !important;
}

.text-red-hat-display {
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
  font-size: 18px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 5px;
  background-color: #ffffff !important;
  color: #000;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  width: 160px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.menu-toggle {
  display: block;
  font-size: 36px;
  cursor: pointer;
  font-weight: 40;
  color: #438b59;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -2%;
  width: 50%;
  height: 100%;
  background-color: #001403e8;
  color: #000;
  display: flex;
  flex-direction: column;
  padding: 50px 20px 20px 28px;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.mobile-menu.active {
  right: 0;
}

.mymenu {
  margin: 0px;
  padding: 0px;
  text-align: center;
  margin-top: 80px;
}

.mymenu a {
  margin-bottom: 0px;
  color: #fff;
  padding: 10px 0px;
  margin: 20px 0px;
  text-align: center;
  text-decoration: none;
  font-size: 40px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
  text-shadow: 0px 3px 3px #000;
  line-height: 80px;
}

.navbar-effect a {
  letter-spacing: 0;
  transition: 0.35s;
}

.navbar-effect a:hover,
.navbar-effect a:active {
  letter-spacing: 5px;
  transition: 0.35s;
}

.navbar-effect a:after {
  bottom: 0px;
}

.navbar-effect a:before {
  top: 0px;
}

.navbar-effect a:after,
.navbar-effect a:before {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0);
  content: " ";
  display: block;
  margin: 0 auto;
  position: relative;
  transition: all 180ms ease-in-out;
  width: 0;
}

.navbar-effect a:hover:after,
.navbar-effect a:hover:before {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-color: #fff;
  transition: width 350ms ease-in-out;
  width: 100%;
}

.navbar-effect a:hover:before {
  width: 100%;
}

.close-btn {
  align-self: flex-end;
  font-size: 62%;
  cursor: pointer;
  line-height: 1.2;
  margin-top: 20px;
  padding: 0px;
  color: #fff;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  -webkit-box-shadow: 0px 0px 30px 0px rgba(248, 248, 248, 0.5);
  -moz-box-shadow: 0px 0px 30px 0px rgba(247, 149, 29, 0.5);
  box-shadow: 0px 0px 30px 0px rgba(247, 149, 29, 0.5);
  z-index: 10000;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
}

.close-btn > span {
  top: 20px;
  right: 20px;
  /* Default: top-right */
  z-index: 9999;
  /* Keep above other content */
  background-color: #fff;
  display: block;
  height: 12px;
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: absolute;
  top: 6%;
  margin-top: -6px;
  left: 18px;
  width: 64px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
}

.close-btn > span span {
  display: block;
  background-color: #1f4224;
  width: 0px;
  height: 0px;
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  position: absolute;
  left: 0;
  top: 0;
}

.close-btn > span.left {
  transform: rotate(45deg);
  transform-origin: center;
}

.close-btn > span.left .circle-left {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 0;
}

.close-btn > span.left .circle-right {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 52px;
}

.close-btn > span.right {
  transform: rotate(-45deg);
  transform-origin: center;
}

.close-btn > span.right .circle-left {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 0;
}

.close-btn > span.right .circle-right {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 52px;
}

.close-btn:hover > span {
  background-color: #fff;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.close-btn:hover > span span {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  background-color: #143218;
}

.close-btn:hover > span.left .circle-left {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 52px;
}

.close-btn:hover > span.left .circle-right {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 0;
}

.close-btn:hover > span.right .circle-left {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 52px;
}

.close-btn:hover > span.right .circle-right {
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 0;
}

/* Navbar Ends */

/* Circle */
.circle {
  display: none; /* Hide bubbles */
}

/* Circle2 */
.circle2 {
  display: none; /* Hide bubbles */
}

.studentvideo {
  position: relative;
}

/* Circle2 */
.circle3 {
  display: none; /* Hide bubbles */
}

/* Circle2 */
.circle4 {
  display: none; /* Hide bubbles */
}

/* Circle2 */
.circle5 {
  display: none; /* Hide bubbles */
}

/* Diagonal To Top Right  */
.diagonal-to-top-right2 {
  animation-name: diagonal-to-top-right;
}

@keyframes diagonal-to-top-right {
  0% {
    transform: translateX(0) translateY(20px);
  }

  25% {
    transform: translateX(10px) translateY(0px);
  }

  50% {
    transform: translateX(20px) translateY(20px);
  }

  100% {
    transform: translateX(0px) translateY(20px);
  }
}

/* circle one1  */
.one1-bouncecircle {
  display: none; /* Hide bubbles */
}

/* Circle one2 */
.one2-bouncecircle {
  display: none; /* Hide bubbles */
}

.one2-bouncecircle2 {
  display: none; /* Hide bubbles */
}

.banner-content {
  padding-top: 0px;
  overflow: hidden;
  padding-bottom: 0px;
}

.banner-content-one-circle {
  position: relative;
}

.banner-content-one-circle {
  display: none; /* Hide bubbles */
}

.banner-content-one-circle1 {
  display: none; /* Hide bubbles */
}

.banner-content-one-circle2 {
  display: none; /* Hide bubbles */
}

.banner-content-one-circle-three1 {
  display: none; /* Hide bubbles */
}

/* Bouncing Circle Ends */

/* Old Typewriter CSS - Commented out for smooth JS animation */
/*
.bannersection .typewriter h1 {
  font-size: 58px;
  font-weight: 900;
  font-family: "Red Hat Display", sans-serif;
  color: #414141;
  padding-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #414141;
  text-shadow: 0px 3px 3px #00000026;
  animation: typewriter 5s steps(13) alternate, blink 800ms alternate,
    cursorOff 0.1s 5.5s forwards;
  width: 98%;
}

@keyframes cursorOff {
  to {
    border-right: none;
  }
}

@keyframes typewriter {
  from {
    width: 0%;
  }

  to {
    width: 105%;
  }
}

@keyframes blink {
  0% {
    border-color: black;
  }

  100% {
    border-color: transparent;
  }
}

.border-l {
  border-left: 3px solid #414141;
  padding-left: 10px;
  position: relative;
  display: inline-block;
}

.bannersection .typewriter h2 {
  font-size: 58px;
  font-weight: 900;
  font-family: "Red Hat Display", sans-serif;
  color: #414141;
  padding-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;
  border-left: 3px solid #414141;
  text-shadow: 0px 3px 3px #00000026;
  animation: typewriter2 5s steps(13) alternate, fadeIn 1s ease-in 5.9s forwards,
    typewriter2 4s steps(13) 6s forwards, blink2 0.8s step-end 5 10s,
    cursorOff2 0.1s 11.1s forwards;
  animation-delay: 5s;
  opacity: 0;
  display: inline-block;
  z-index: 1;
}

.border-l::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0px;
  width: 0%;
  height: 100%;
  background-color: rgba(2, 89, 48, 0.39);
  z-index: -1;
  animation: recanimation 1s forwards;
  animation-delay: 9s;
}

@keyframes recanimation {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes cursorOff2 {
  to {
    border-right: none;
  }
}

@keyframes typewriter2 {
  from {
    width: 0%;
  }

  to {
    width: 65%;
  }
}

@keyframes blink2 {
  0%,
  100% {
    border-color: black;
  }

  50% {
    border-color: transparent;
  }
}
*/

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.rec-size {
  width: 0%;
  background-color: #3e8347;
  height: 7px;
  animation: cursorOff3 0.2s 7s forwards;
  transition: all 0.9s ease-in-out;
}

@keyframes cursorOff3 {
  to {
    width: 80%;
  }
}

/* Typewritter ENds */

.full-height {
  height: 100vh;
  /* 100% of the viewport height */
  width: 100%;
  overflow: hidden;
}

/* banner section */
.bannersection {
  background-image: url(..//img/banner.png);
  padding: 96px 0 0;
  margin-top: 0px;
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  z-index: 1;
  padding-top: 110px;
}

/* Diagonal To Top Right  */
.diagonal-to-top-right {
  animation-name: diagonal-to-top-right;
}

@keyframes diagonal-to-top-right {
  0% {
    transform: translateX(0) translateY(20px);
  }

  25% {
    transform: translateX(10px) translateY(0px);
  }

  50% {
    transform: translateX(20px) translateY(20px);
  }

  100% {
    transform: translateX(0px) translateY(20px);
  }
}

#main-slider img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.banner-btn {
  position: relative;
  display: flex;
  gap: 20px;
}

/* .banner-btn1 a {
    padding: 8px 20px;
    border: 2px solid #C91D27;
    border-radius: 0px;
    background-color: #C91D27;
    font-family: "Red Hat Display", sans-serif;
  } */

/* 3. Border Reveal */

.slide-btn {
  text-decoration: none;
  padding: 12px 25px;
  background-color: #c91d27;
  color: #fff;
  position: relative;
  display: inline-block;
  border-radius: 5px;
  z-index: 10;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 500;
  font-size: 20px;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .slide-btn {
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 8px;
    min-width: 200px;
    text-align: center;
    align-self: flex-start;
  }
}

.slide-btn::after {
  padding: 0;
  border-radius: 5px;
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #1f4224;
  color: #fff;
  transition: width 0.3s ease;
  z-index: -1;
}

.slide-btn:hover::after {
  width: 100%;
  color: #fff;
  position: absolute;
  z-index: -1;
}

.slide-btn:hover {
  color: #fff;
}

.banner-btn2 a {
  padding: 8px 20px;
  border: 2px solid #0073ff;
  border-radius: 0px;
  background-color: #0073ff;
}

.rightcontactpic {
  position: absolute;
  right: -97px;
  top: -115px;
  box-shadow: 45px -46px 0 #2355ca;
}

.testslider {
  margin-right: -46px;
}

.bannersection p {
  font-size: 18px;
  line-height: 24px;
  padding: 0 35px 16px 0;
  color: #000;
  font-family: "Red Hat Display", sans-serif;
}

.animatetext {
  transform: translateX(-100%);
  animation: myanimatetext 0.8s linear forwards;
  animation-delay: 8.3s;
  filter: blur(0px);
}

@keyframes myanimatetext {
  to {
    transform: translateX(0%);
    filter: blur(0px);
  }

  from {
    transform: translateX(-100%);
    filter: blur(5px);
  }
}

.header-btn {
  transform: translateX(-100%);
  animation: header-btn 0.3s linear forwards;
  animation-delay: 8.8s;
  filter: blur(0px);
}

@keyframes header-btn {
  to {
    transform: translateX(0%);
    filter: blur(0px);
  }

  from {
    transform: translateX(-100%);
    filter: blur(5px);
  }
}

.bannersection h1 span {
  font-size: 58px;
  font-weight: 800;
  font-family: "Red Hat Display", sans-serif;
  color: #025931;
  text-shadow: 0px 3px 3px #00000026;
}

.guwahatibox {
  padding: 6px 15px;
  margin: 0 0 12px;
  font-size: 20px;
}

.only-text h2 {
  font-size: 51px;
  font-weight: 800;
  font-family: "Red Hat Display", sans-serif;
  color: #414141;
  text-shadow: 0px 3px 3px #00000026;
  padding-top: 54px;
}

.only-text h3 {
  font-size: 51px;
  font-weight: 800;
  font-family: "Red Hat Display", sans-serif;
  color: #3e8347;
  text-shadow: 0px 3px 3px #00000026;
}

.only-text .banner-content .bottom-border {
  width: 450px;
  border-bottom: 2px solid #3e8347;
  margin-left: 340px;
  padding-bottom: 15px;
}

.banner-content-one {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15%;
}

.moment-one {
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: right;
  position: relative;
  z-index: 1;
}

.banner-content-one .one1 h2 {
  font-size: 158px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #3e8347;
  margin-bottom: 90px;
  padding-right: 24px;
  padding-left: 1px;
  /* -webkit-text-stroke: 1px #fff; */
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

.banner-content-one .one3 h2 {
  font-size: 153px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #3e8347;
  margin-bottom: 117px;
  padding-right: 24px;
  padding-left: 0px;
  -webkit-text-stroke: 0px #fff;
  text-shadow: 3px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.banner-content-one .one2 h2 {
  font-size: 60px;
  font-weight: 800;
  font-family: "Red Hat Display", sans-serif;
  color: #414141;
  text-shadow: 0px 3px 3px #00000026;
  text-align: left;
}

.banner-content-one .one2 .border {
  border: 1px solid #3e8347 !important;
  width: 430px;
  margin-top: 4px;
  margin-bottom: 7px;
}

.one2 p {
  font-size: 30px;
  font-family: "Red Hat Display", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
}

.banner-content-one .one2 .border-two {
  border: 1px solid #3e8347 !important;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 30px;
}

/* ---------- Slide title underline animation ---------- */
/* Use a class that's specific so you won't fight existing rules */
.slide-title {
  position: relative;
  display: inline-block;
  padding-bottom: 8px; /* space for underline */
  font-size: 60px; /* match or override existing size */
  font-weight: 800;
  line-height: 1;
  transition: transform 480ms cubic-bezier(.2,.9,.2,1), opacity 360ms ease;
  opacity: 0;
  transform: translateY(12px);
  z-index: 2; /* keep above pseudo-elements if needed */
}

/* Underline (hidden initially via scaleX(0)) */
.slide-title.underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px; /* adjust to sit where you like */
  height: 2px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3e8347, #6ad1ff 60%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 700ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* when in-view class is added by IntersectionObserver */
.slide-title.in-view {
  opacity: 1;
  transform: translateY(0);
}

.slide-title.in-view.underline::after {
  transform: scaleX(1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .slide-title,
  .slide-title::after {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .slide-title::after { transform: scaleX(1); }
}

/* small screens */
@media (max-width: 768px) {
  .slide-title { font-size: 36px; padding-bottom: 6px; }
  .slide-title.underline::after { height: 2px; bottom: -8px; }
}


/* .discover a{
     background-color:#3E8347;
     color:#fff;
     border:2px solid #3E8347;
     padding:15px 35px;
     text-decoration: none;
     border-radius: 5px;
     font-size:20px;
     line-height:1.2;
     font-family:"Red Hat Display", sans-serif;
     font-weight:500;
} */

/* Breadcrumb Background Section */
.breadcrumb-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0 0 0px;
  position: relative;
  background-repeat: no-repeat;
}

/* ================= Navbar Download Button ================ */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.download-app-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: transparent;
  color: #3e8347;
  text-decoration: none;
  border: 1px solid #3e8347;
  border-radius: 6px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  cursor: pointer;
  outline: none;
  z-index: 10;
  margin-top: 10px;
}

.download-app-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #3e8347;
  transition: left 0.3s ease;
  z-index: -1;
}

.download-app-btn:hover::after {
  left: 0;
}

.download-app-btn:hover {
  color: #ffffff;
  text-decoration: none;
}

/* Mobile responsive for download button */
@media (max-width: 768px) {
  .navbar-actions {
    gap: 12px;
  }
  
  .download-app-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .download-app-btn {
    display: none; /* Hide on very small screens to save space */
  }
}

/* ================= Hero fade-in animations ================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* initial state */
.hero-white-section .hero-content .hero-title,
.hero-green-section .hero-content .hero-title,
.hero-green-section .hero-content .hero-description,
.hero-green-section .hero-content .hero-button-container,
.hero-green-section .hero-content .hero-description-small {
  opacity: 0;
  transform: translateY(12px);
}

/* play on load with gentle stagger */
.hero-white-section .hero-content .hero-title { animation: fadeInUp 600ms ease 80ms forwards; }
.hero-green-section .hero-content .hero-title { animation: fadeInUp 600ms ease 120ms forwards; }
.hero-green-section .hero-content .hero-description { animation: fadeInUp 600ms ease 260ms forwards; }
.hero-green-section .hero-content .hero-button-container { animation: fadeInUp 600ms ease 400ms forwards; }
.hero-green-section .hero-content .hero-description-small { animation: fadeInUp 600ms ease 520ms forwards; }

@media (prefers-reduced-motion: reduce) {
  .hero-white-section .hero-content .hero-title,
  .hero-green-section .hero-content .hero-title,
  .hero-green-section .hero-content .hero-description,
  .hero-green-section .hero-content .hero-button-container,
  .hero-green-section .hero-content .hero-description-small {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.breadcrumb-section nav {
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 20px;
}

.breadcrumb-overlay {
  background: #c5c0c000;
  padding: 40px 0;
}

.breadcrumb-section h1 {
  font-size: 60px;
  font-family: "Red Hat Display", sans-serif;
  color: #000;
  font-weight: 600;
  text-align: center;
  padding-top: 30px;
  text-shadow: 0px 3px 3px #00000036;
}

.about-heading h2 {
  color: #204d40;
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0px 3px 3px #00000061;
  font-family: "Red Hat Display", sans-serif;
}

.about-content h3 {
  font-size: 24px;
  font-weight: 500;
  font-family: "Red Hat Display", sans-serif;
  text-shadow: 0px 2px 2px #00000045;
}

/* .breadcrumb-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  justify-content: center;
  text-align: center;
  color: #fff;
} */

.breadcrumb {
  justify-content: center;
  text-align: center;
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #000;
  padding: 0 8px;
}

.breadcrumb a {
  color: #000;
  text-decoration: none;
}

.breadcrumb .active {
  color: #000;
}
/* Breadcrumbs Ends */
.one2-bouncecircle {
  display: none; /* Hide bubbles */
}
.one2-bouncecircle1 {
  display: none; /* Hide bubbles */
}
.diagonal-to-top-right2 {
  animation-name: diagonal-to-top-right;
}
/* about us ends */
.card-details {
  background-color: #3e8347; /* Medium green */
  padding: 49px 30px 40px;
  height: 327px;
}

.two {
  background-color: #1c6827 !important; /* Darker green */
}

.one {
  background-color: #3d7a4f !important; /* Lighter green */
}

.three {
  background-color: #2d5a3d !important; /* Medium green */
}

.card-details h2 {
  font-family: "Gabarito", sans-serif;
  color: #fff;
  padding-top: 15px;
  font-size: 28px;
}

.card-details p {
  padding: 20px 18px;
  color: #fff;
  font-family: "Red Hat Display", sans-serif;
  font-size: 18px;
}

.main-footer {
  background-color: #000;
  padding: 100px 120px;
}

.footer-content {
  text-align: center;
  justify-content: center;
}

.main-footer h3 {
  font-size: 20px;
  font-family: "Red Hat Display", sans-serif;
  color: #fff;
  padding: 15px 0px;
}

.main-footer .social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.main-footer .social-links a {
  background-color: transparent;
  border-radius: 50%;
  border: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.main-footer .social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-footer .social-links a:hover {
  color: #3e8347;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(62, 131, 71, 0.3);
}

.main-footer .social-links a:hover::before {
  opacity: 1;
}

.main-footer .social-links a i {
  font-size: 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.main-footer_widgets h3 i {
  color: #fff;
  font-size: 12px;
  width: 31px;
  height: 31px;
  border: 2px solid #fff;
  line-height: 13px;
  border-radius: 50%;
  padding: 7px;
}

.main-footer p {
  font-size: 18px;
  font-family: "Red Hat Display", sans-serif;
  color: #f8f9fa;
}

.main-footer p a {
  font-size: 18px;
  font-family: "Red Hat Display", sans-serif;
  color: #f8f9fa;
  text-decoration: none;
  text-align: center;
}

.footer ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding-left: 0px !important;
}

.footer ul li a {
  font-size: 16px;
  font-family: "Red Hat Display", sans-serif;
  color: #f5f0f0;
  text-decoration: none;
  border-right: 1px solid #fff;
  padding: 0 15px 0 0;
  margin-right: 15px;
}

.bordernone a {
  border-right: 0px solid #fff !important;
}

.footer ul li a:hover {
  color: #cdcdd1;
  transition: 0.3s ease-in-out;
}

.discover {
  text-decoration: none;
  padding: 15px 41px;
  background-color: #c91d27;
  color: #fff;
  /* border: 2px solid #c91d27; */
  position: relative;
  display: inline-block;
  border-radius: 5px;
  z-index: 10;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 500;
  font-size: 20px;
}

.discover::after {
  padding: 0;
  border-radius: 5px;
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #1f4224;
  color: #fff;
  transition: width 0.3s ease;
  z-index: -1;
}

.discover:hover::after {
  width: 100%;
  color: #fff;
  position: absolute;
  z-index: -1;
}

.discover:hover {
  color: #fff;
}

/* How It's Work Started ***/

/* How it's Works Ends */

/* Testimonial Css */
.testimonialbox {
  position: absolute;
  max-width: 400px;
  height: 300px;
  background-color: #000;
}
.testimonial-container {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px 20px;
}

/* .header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.header h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  color: #ffffff;
}

.header .highlight {
  color: #fcd400;
} */

.testimonial-box {
  position: relative;
  background: #ffffff;
  border-radius: 15px;
  padding: 35px 26px 24px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  z-index: 99;
}

.quote-symbol {
  position: absolute;
  top: 24px;
  right: 90px;
  background-color: rgb(225 225 223);
  width: 319px;
  height: 372px;
  border-radius: 2%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.quote-symbol::after {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #ffc;
}

.profile-info img {
  max-width: 80px;
}

.testimonial-designation {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  margin-bottom: 15px;
}

.testimonial-img {
  width: 122px;
  height: 132px;
  margin-top: -101px;
  background-color: #143218;
  padding: 0px 0px 0px 12px;
  border-radius: 13%;
  box-shadow: 0px 3px 3px #000;
}

.testimonial-img img {
  width: 100px;
  height: 120px;
  object-fit: cover;
  border-radius: 5%;
}

.profile-info1 h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  text-shadow: 0px 2px 2px #00000059;
  color: #02321d;
  font-family: "Red Hat Display", sans-serif;
  text-align: right;
}

.profile-info p {
  margin: 3px 0;
  font-size: 16px;
  color: #444;
}

.stars {
  color: #fca400;
  font-size: 16px;
  text-align: right;
}

.testimonial-text {
  font-size: 21px;
  line-height: 1.6;
  padding: 40px;
  color: #333;
  font-family: "Red Hat Display", sans-serif;
}

.testimonial {
  position: relative;
}

.testimonial .owl-next {
  width: 50px !important;
  height: 60px !important;
  background: rgb(0 0 0 / 8%) !important;
  padding: 9px !important;
  line-height: 2.5;
  font-size: 25px;
  top: 40%;
  transform: translateY(-50%);
  border-radius: 0px !important;
}

.testimonial .owl-prev {
  width: 50px !important;
  height: 60px !important;
  background: rgb(0 0 0 / 8%) !important;
  padding: 9px !important;
  line-height: 2.5;
  font-size: 25px;
  top: 40%;
  transform: translateY(-50%);
  border-radius: 0px !important;
}

.testimonial .owl-prev i {
  font-size: 20px;
  line-height: 46px;
}
.testimonial .owl-next i {
  font-size: 20px;
  line-height: 46px;
}

.testimonial .owl-prev {
  position: absolute;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  left: 0px;
  padding: 0;
  color: #fff;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.testimonial .owl-next {
  position: absolute;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  right: 0px;
  padding: 0;
  color: #fff;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.testimonial .owl-dots {
  text-align: center;
  margin-top: 15px;
}

.owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.owl-dot.active {
  background: #333; /* Active dot color */
}

/* Optional Pattern or Texture */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.container,
.testimonial-box,
.header {
  position: relative;
  z-index: 1;
}

@media (max-width: 678px) {
  .profile-row {
    flex-direction: column;
    text-align: center;
  }

  .profile-row img {
    margin-bottom: 10px;
  }

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

  .email-box {
    width: 100%;
    text-align: center;
  }
  .one2-bouncecircle2 {
  display:none;
}
}
/* Testimonial Css Ends */

@media only screen and (max-width: 992px) {
  .only-text .banner-content .bottom-border {
    margin-left: 0px;
  }

  /* .bannersection .typewriter h1 {
    position: absolute;
    font-size: 48px;
  }

  .bannersection .typewriter h2 {
    position: absolute;
    font-size: 46px;
    margin-top: 100px;
  }

  .bannersection p{
    font-size: 28px;
    line-height: 41px;
    padding: 202px 122px 45px 0;
    color: #000;
    font-family: "Red Hat Display", sans-serif;
    position: absolute;
 }

 .slide-btn { 
  padding: 19px 70px;
  background-color: #C91D27;
  color: #fff;
  position: relative;
  border-radius: 5px;
  z-index: 10;
  font-weight: 500;
  font-size: 31px;
  margin-top:380px;
} */

  .one2 p {
    font-size: 27px;
  }

  .main-footer {
    background-color: #000;
    padding: 0;
  }

  .full-height {
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 72%;
  }

  .card-details {
    background-color: #2d5a3d; /* Medium green */
    padding: 31px 18px 40px;
    height: 380px;
  }

  .bannersection {
    background-image: url(..//img/banner.png);
    padding: 72px 0 0;
    margin-top: 0px;
    position: relative;
    background-repeat: no-repeat;
    background-position: 70%, 47%, 49%;
    height: 100vh;
    z-index: 1;
  }

  .offset-1 {
    margin-left: 0.333333%;
  }

  .circle3 {
    position: absolute;
    width: 99px;
    height: 99px;
    left: -149px;
    top: 440px;
  }

  .circle4 {
    position: absolute;
    width: 99px;
    height: 99px;
    right: -23px;
    top: 596px;
  }

  .circle5 {
    position: absolute;
    width: 99px;
    height: 99px;
    right: -10px;
    top: 283px;
  }
}

/* Responsive */
@media only screen and (max-width: 678px) {
  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .bannersection .bottom-border {
    border: 0px solid #3e8347;
    width: 100%;
    margin: 15px 0 20px 0;
    max-width: 200px;
  }

  .mymenu a {
    margin-bottom: 0px;
    color: #fff;
    padding: 10px 0px;
    font-size: 26px;
    line-height: 70px;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #001403e8;
    color: #000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: right 0.3s ease-in-out;
    z-index: 1;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu a {
    text-align: left;
    padding: 15px 0px;
    margin: 10px 0;
  }

  .logo {
    width: 120px !important;
  }

  .close-btn > span {
    top: 70px !important;
    z-index: 9999;
    display: block;
    height: 12px;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: relative;
    top: 6%;
    margin-top: -12px;
    right: 18px !important;
    width: 60px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: block;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
  }

  .only-text .banner-content .bottom-border {
    width: 100%;
    border-bottom: 2px solid #3e8347;
    margin-left: 0;
    padding-bottom: 15px;
  }

  .bannersection h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    font-family: "Red Hat Display", sans-serif;
    color: #414141;
    text-shadow: 0px 2px 2px #00000026;
    padding-top: 20px;
    margin-bottom: 15px;
  }

  .bannersection {
    padding: 60px 0 0;
    background-image: url(..//img/ban-side.png);
    background-size: cover;
    margin-top: 0px;
    position: relative;
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 100vh;
    z-index: 1;
    display: flex;
    align-items: center;
  }

  #main-slider img {
    width: 100%;
    height: 317px;
    padding: 0px;
    object-fit: cover;
  }

  .bannersection p {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 20px 20px 0;
    color: #000;
    font-family: "Red Hat Display", sans-serif;
    margin-bottom: 25px;
  }

  .bannersection .typewriter h2 {
    padding-bottom: 5px;
  }

  .only-text h2 {
    font-size: 30px;
    text-shadow: 0px 3px 3px #00000026;
    padding-top: 0px;
  }

  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .banner-content-one .one1 h2 {
    margin-bottom: 5px;
    padding-right: 0px;
  }

  .one1-bouncecircle {
    position: absolute;
    width: 130px;
    height: 130px;
    left: 78px;
    top: 49px;
  }

  .banner-content-one-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    left: 75px;
    top: 32px;
  }

  .banner-content-one .one3 h2 {
    font-size: 153px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    color: #3e8347;
    margin-bottom: 7px;
    padding-right: 0px;
  }

  .moment-one {
    background-size: cover;
    background-position: left center;
  }

  .main-footer_widgets .footer-content {
    text-align: left;
    justify-content: left;
  }

  .banner-content-one {
    display: block;
  }
  
  .banner-btn small {
    font-size: 12px;
    text-align: left;
    padding: 0;
    line-height: 1.4;
    color: #666;
  }

  .only-text h3 {
    font-size: 27px;
  }

  .offset-1 {
    margin-left: 0 !important;
    padding: 0 15px;
  }

  header {
    padding: 3px 0px;
  }

  .banner-content {
    padding-top: 20px;
    padding-bottom: 40px;
    text-align: left;
  }

  .bannersection .typewriter h1 {
    font-size: 28px;
    padding-top: 0px;
    margin-bottom: 10px;
  }

  .banner-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .banner-content-one .one2 .border {
    border: 1px solid #3e8347 !important;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 7px;
  }

  .main-footer {
    background-color: #000;
    padding: 91px 5px;
  }

  .footer ul {
    display: inline-flex;
    padding-left: 0rem !important;
    gap: 2px;
  }

  .footer ul li a {
    font-size: 16px;
    font-family: "Red Hat Display", sans-serif;
    color: #f5f0f0;
    text-decoration: none;
    border-right: 1px solid #fff;
    padding: 0 3px 0 0;
    margin-right: 0px;
  }

  .footer ul li a {
    font-size: 14px;
  }

  .main-footer h3 {
    font-size: 20px;
    font-family: "Red Hat Display", sans-serif;
    color: #fff;
    padding: 3px;
  }

  /* Mobile footer layout adjustments */
  .footer {
    justify-content: center !important;
  }

  .footer-social {
    justify-content: center !important;
    margin-top: 20px;
  }

  .main-footer .social-links {
    gap: 10px;
  }

  .main-footer .social-links a {
    width: 35px;
    height: 35px;
  }

  .main-footer .social-links a i {
    font-size: 18px;
  }

  .circle {
    position: absolute !important;
    width: 98px !important;
    left: 194px !important;
    top: 472px !important;
    height: 98px !important;
  }

  .circle2 {
    position: absolute;
    width: 96px;
    height: 96px;
    left: 237px;
    top: 118px;
  }

  .banner-content-one-circle-three1 {
    position: absolute;
    width: 130px;
    height: 130px;
    left: 84px;
    top: 85px;
  }

  .circle3 {
    display: none;
  }

  .one2-bouncecircle {
    position: absolute;
    width: 80px;
    height: 80px;
    left: 242px;
    top: 89px;
  }

  .circle4 {
    display: none;
  }

  .circle5 {
    display: none;
  }

  .header-btn {
    transform: translateX(-150%);
    animation: header-btn 0.3s linear forwards;
    animation-delay: 8.8s;
    filter: blur(0px);
    width: 100%;
    max-width: 250px;
  }

  .bannersection .typewriter h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .about-heading h2 {
    color: #204d40;
    font-size: 18px;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
  }

  .about-content h3 {
    font-size: 18px;
    line-height: 33px;
    font-weight: 500;
  }
}

.scroller-div {
  position: absolute;
  height: 300vh;
}


/* New Smooth Typewriter Styles */
.typewriter-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 576px) {
  .typewriter-container {
    align-items: flex-start;
    text-align: left;
  }
}

.typewriter-wrapper {
  font-size: 58px;
  font-weight: 900;
  font-family: "Red Hat Display", sans-serif;
  color: #414141;
  padding-bottom: 15px;
  text-shadow: 0px 3px 3px #00000026;
  line-height: 1.2;
}

.typewriter-wrapper .border-l {
  border-left: 3px solid #414141;
  padding-left: 10px;
  position: relative;
  display: inline-block;
}

.typewriter-wrapper .border-l::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0px;
  width: 0%;
  height: 100%;
  background-color: rgba(2, 89, 48, 0.39);
  z-index: -1;
  animation: recanimation 1.5s ease-in-out forwards;
  animation-delay: 4.5s;
}

.typewriter-cursor {
  color: #414141;
  font-weight: 900;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.typewriter-wrapper .leadership-text {
  /* border-left: 3px solid #414141; */
  padding: 5px 12px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #414141;
  transition: color 0.3s ease;
  animation: textColorChange 0.3s ease-in-out forwards;
  animation-delay: 2.8s;
}

@keyframes textColorChange {
  0% {
    color: #414141;
  }
  100% {
    color: white;
  }
}

.typewriter-wrapper .leadership-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #3e8347;
  z-index: -1;
  animation: slideBackground 1.2s ease-in-out forwards;
  animation-delay: 2.5s;
}

@keyframes slideBackground {
  0% {
    left: -100%;
  }
  100% {
    left: 0%;
  }
}

/* Responsive styles for typewriter */
@media (max-width: 768px) {
  .typewriter-wrapper {
    font-size: 42px !important;
    line-height: 1.3;
    padding-bottom: 10px;
  }
  
  .typewriter-wrapper .leadership-text {
    padding: 4px 10px;
  }
}

@media (max-width: 576px) {
  .typewriter-wrapper {
    font-size: 36px !important;
    line-height: 1.4;
    padding-bottom: 8px;
  }
  
  .typewriter-wrapper .leadership-text {
    padding: 3px 8px;
  }
}

@media (max-width: 480px) {
  .typewriter-wrapper {
    font-size: 32px !important;
    line-height: 1.5;
  }
  
  .typewriter-wrapper .leadership-text {
    padding: 2px 6px;
  }
}

.footer-links {
  font-size: 16px;
  font-family: "Red Hat Display", sans-serif;
  color: rgb(245, 240, 240);
  margin-right: 15px;
  text-decoration: none;
  /* border-right: 1px solid rgb(255, 255, 255); */
  padding: 0px 15px 0px 0px;
}

/* New Hero Section Styles - Updated */
.hero-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-white-section {
  background-color: #ffffff;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0px;
  margin-top: 0px; /* No navbar clearance */
}

.hero-green-section {
  background-color: #22432c;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0px;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
}

.hero-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  line-height: 1.1;
}

.hero-title-white {
  font-size: 4.5rem;
  color: #414141;
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
  padding-bottom: 10px;
}

.hero-title-green {
  font-size: 4.5rem;
  color: #ffffff;
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.15);
  margin-top: 0;
  padding-top: 10px;
}

.hero-description {
  font-size: 1.25rem;
  color: #ffffff;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
  margin: 0;
}

.hero-button-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.hero-description-small {
  color: #96da9f;
  margin-top: 50px;
  font-size: 20px;
  font-weight: 600;
}

.hero-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #c91d27;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shine 2s ease-in-out infinite;
  z-index: 1;
}

.hero-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transition: left 0.3s ease;
  z-index: -1;
}

.hero-button:hover::after {
  left: 0;
}


.hero-button:hover {
  color: #02321d;
  transform: translateY(1px);
  /* box-shadow: 0 8px 25px rgba(201, 29, 39, 0.3); */
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: calc(100vh - 20px);
  }
  
  .hero-white-section {
    margin-top: 8px;
    padding: 20px 0 5px;
    min-height: 140px;
  }
  
  .hero-green-section {
    padding: 5px 0 35px;
    min-height: 290px;
  }
  
  .hero-title-white,
  .hero-title-green {
    font-size: 3rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    padding: 0 20px;
  }
  
  .hero-button {
    padding: 12px 30px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: auto;
    min-height: calc(100vh - 15px);
  }
  
  .hero-white-section {
    margin-top: 5px;
    padding: 15px 0 5px;
    min-height: 110px;
  }
  
  .hero-green-section {
    padding: 5px 0 20px;
    min-height: 240px;
  }
  
  .hero-title-white,
  .hero-title-green {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  .hero-button {
    padding: 10px 25px;
    font-size: 1rem;
  }
  
  .hero-text-container {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: auto;
    min-height: calc(100vh - 10px);
  }
  
  .hero-white-section {
    margin-top: 3px;
    padding: 12px 0 3px;
    min-height: 90px;
  }
  
  .hero-green-section {
    padding: 3px 0 15px;
    min-height: 200px;
  }
  
  .hero-title-white,
  .hero-title-green {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
}

/* VerticalScroller.css
   Animates your existing .border and .border-two lines via an overlay pseudo-element.
   The real border (border: 1px solid ...) remains unchanged so look is preserved.
*/

/* container basics (kept lean so it won't clash with your global CSS) */
.our-work {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: block;
}

.carousel__slider {
  position: relative;
  width: 100%;
  min-height: 400px;
}

.carousel__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 400px;
}

/* banner content layout similar to your original */
.banner-content-one {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 15%;
}

.one1 h2 {
  font-size: 158px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #3e8347;
  margin-bottom: 90px;
  padding-right: 24px;
  padding-left: 1px;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.one2 {
  max-width: 720px;
  text-align: center;
}

/* Keep your existing title style */
.banner-content-one .one2 h2 {
  font-size: 60px;
  font-weight: 800;
  font-family: "Red Hat Display", sans-serif;
  color: #414141;
  text-shadow: 0px 3px 3px #00000026;
  text-align: left;
  margin: 0 0 8px 0;
}

/* Keep the real borders EXACTLY as before (do not change) */
.banner-content-one .one2 .border {
  border: 1px solid #3e8347 !important;
  width: 430px;
  margin-top: 4px;
  margin-bottom: 7px;
  box-sizing: border-box;
  position: relative; /* needed for overlay ::before */
  background: transparent;
  height: 0; /* border-only element */
}

.banner-content-one .one2 .border-two {
  border: 1px solid #3e8347 !important;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 30px;
  box-sizing: border-box;
  position: relative;
  background: transparent;
  height: 0;
  max-width: 720px;
}

/* ----------------- Overlay animation (does NOT replace the real border) ----------------- */

/* overlay sits on top of the border and animates with scaleX */
.banner-content-one .one2 .border::before,
.banner-content-one .one2 .border-two::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0); /* hidden */
  transform-origin: left center;
  width: 100%;
  height: 2px; /* visual thickness of overlay - slightly thicker to fully cover 1px border */
  /* overlay color uses CSS variable set in inline style (--line-color) */
  background: var(--line-color, #3e8347);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2; /* above the real border */
  opacity: 0;
  transition: transform 700ms cubic-bezier(.2,.9,.2,1), opacity 320ms ease;
  will-change: transform, opacity;
}

/* For border-two we draw from the right side to add a tiny contrast (optional) */
.banner-content-one .one2 .border-two::before {
  transform-origin: right center;
  transition: transform 900ms cubic-bezier(.2,.9,.2,1) 120ms, opacity 420ms ease 120ms;
  height: 2px; /* slightly thinner overlay for second line */
}

/* Reveal when parent gets .in-view (added by IntersectionObserver in JSX) */
.banner-content-one .one2.in-view .border::before,
.banner-content-one .one2.in-view .border-two::before {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .banner-content-one .one2 .border::before,
  .banner-content-one .one2 .border-two::before {
    transition: none !important;
    transform: translateY(-50%) scaleX(1) !important;
    opacity: 1 !important;
  }
}

/* small responsive tweaks (so overlay aligns on mobile) */
@media (max-width: 768px) {
  .banner-content-one .one2 h2 {
    font-size: 36px;
  }
  .banner-content-one .one2 .border {
    width: 100%;
    max-width: 320px;
    margin: 8px auto;
  }
  .banner-content-one .one2 .border-two {
    max-width: 100%;
  }
  .banner-content-one .one2 .border::before {
    height: 2px;
  }
  .banner-content-one .one2 .border-two::before {
    height: 2px;
  }
}

/* ================= Flip Cards Effect (About page scoped) ================ */
.about-philosophy-minimal .flip-card {
  background-color: transparent;
  perspective: 1000px;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.about-philosophy-minimal .flip-card.card-details {
  background-color: #3e8347;
  padding: 0;
}

.about-philosophy-minimal .flip-card.card-details.two {
  background-color: #1c6827 !important;
  padding: 0;
}

.about-philosophy-minimal .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.about-philosophy-minimal .philosophy-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.about-philosophy-minimal .flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}


.about-philosophy-minimal .flip-card-front, .about-philosophy-minimal .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.about-philosophy-minimal .flip-card-front {
  background-color: transparent;
  color: #2c5530;
  padding: 2rem 1.25rem;
}

.about-philosophy-minimal .flip-card-back {
  background-color: #ffffff;
  color: #2d5a3d;
  transform: rotateY(180deg);
  margin: 0;
  border: none;
  padding: 0;
}

.about-philosophy-minimal .flip-card-back h2 {
  font-family: "Gabarito", sans-serif;
  color: #2d5a3d;
  padding-top: 15px;
  font-size: 28px;
  margin-bottom: 20px;
}

.about-philosophy-minimal .flip-card-back p {
  padding: 0;
  color: #2d5a3d;
  font-family: "Red Hat Display", sans-serif;
  font-size: 18px;
  margin-bottom: 20px;
}

/* ================= Generic Flip Cards (Homepage) ================ */
.flip-card {
  perspective: 1000px;
}

.flip-card .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card .flip-card-front,
.flip-card .flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card .flip-card-back {
  transform: rotateY(180deg);
}

/* ================= Homepage Flip behavior (front green, back white) ================ */
/* Keep front face transparent so it shows the tile's green background */
.flip-card .flip-card-front {
  background-color: transparent;
}

/* Back face: white panel with dark green text */
.flip-card .flip-card-back {
  background-color: #ffffff;
  color: #2c5530;
}

/* When flipped, make the entire tile white (remove green frame) */
.card-details.flip-card.flipped {
  background-color: #ffffff !important;
}
.card-details.flip-card.flipped h2,
.card-details.flip-card.flipped p {
  color: #2c5530 !important;
}

/* Subtle top border accent when flipped */
.card-details {
  position: relative;
}
.card-details.flip-card.flipped::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #2c5530, #1e3a21);
  border-radius: 2px;
}

.waitlist-btn {
  background-color: #2d5a3d;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #2d5a3d;
}

.waitlist-btn:hover {
  background-color: transparent;
  color: #2d5a3d;
  border: 2px solid #2d5a3d;
  text-decoration: none;
}

/* ================= Homepage Testimonials Section ================ */
.home-testimonials {
  background-color: #f4f5f7; /* soft gray full-width background */
  padding: 70px 0;
  position: relative;
}
.home-testimonials::before,
.home-testimonials::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0));
}
.home-testimonials::before { top: 0; }
.home-testimonials::after { bottom: 0; }

/* Modern elegant card + typography (scoped to homepage only) */
.home-testimonials .container { max-width: 1100px; }
.home-testimonials .testimonial-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
  padding: 38px 40px 30px;
  position: relative;
  overflow: hidden;
}
.home-testimonials .testimonial-box::after {
  /* subtle decorative quote mark */
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 18px;
  font-size: 120px;
  line-height: 1;
  color: rgba(44, 85, 48, 0.06);
  font-family: Georgia, serif;
  pointer-events: none;
}
.home-testimonials .testimonial-box::before {
  /* thin top accent line */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2c5530, #1e3a21);
}
.home-testimonials .testimonial-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.home-testimonials .testimonial-text {
  font-family: "Red Hat Display", sans-serif;
  font-size: 1.2rem;
  line-height: 1.85;
  color: #2b2f2d;
  margin: 0;
  text-align: left;
}
.home-testimonials .profile-info1 h3 {
  font-family: "Red Hat Display", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #224931;
  margin: 16px 0 6px;
  text-align: right;
}
.home-testimonials .stars { color: #f4a300; font-size: 14px; text-align: right; }

/* Arrows: subtle shadow, same placement */
.home-testimonials .carousel-nav {
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: saturate(140%);
}

@media (max-width: 768px) {
  .home-testimonials { padding: 56px 0; }
  .home-testimonials .testimonial-box { padding: 26px 22px; }
  .home-testimonials .testimonial-text { font-size: 1.05rem; line-height: 1.7; }
}

/* ================= Work Page (How it Works) ================ */
.work-hero-minimal {
  background: linear-gradient(135deg, #2c5530 0%, #1e3a21 100%);
  height: 70vh;
  min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 200px 0 80px; /* clear sticky nav */
}
.work-hero-minimal .container { position: relative; z-index: 2; }
.work-hero-minimal .hero-headline { color:#fff !important; font-family:"Red Hat Display",sans-serif !important; font-weight:700 !important; font-size:3rem !important; margin:0 0 1rem !important; text-transform:capitalize !important; display:block !important; visibility:visible !important; opacity:1 !important; position:relative !important; z-index:2 !important; }
.work-hero-minimal .hero-subhead { color:#fff !important; opacity:.95 !important; max-width:780px !important; margin:0 auto !important; display:block !important; visibility:visible !important; opacity:1 !important; position:relative !important; z-index:2 !important; }
.work-step { background:#ffffff; }
.work-step-alt { background: linear-gradient(135deg, #f4e5ce 0%, #fef6e9 100%); }
.section-split .leader-illustration { padding: 1.5rem; display:flex; align-items:center; justify-content:center; }
.section-split .leader-silhouette { width:300px; height:300px; background: linear-gradient(135deg,#f8f9fa,#e9ecef); border-radius:50%; border:3px solid #2c5530; position:relative; }
.section-split .crossroads-path { position:absolute; width:120px; height:4px; background:#2c5530; top:50%; left:50%; transform:translate(-50%,-50%) rotate(45deg); }
.section-split .crossroads-path::after { content:""; position:absolute; width:4px; height:120px; background:#2c5530; top:-58px; left:58px; }
.work-image-container { padding: 1.5rem; display:flex; align-items:center; justify-content:center; }
.work-image { width: 100%; max-width: 360px; height: auto; border-radius: 12px; object-fit: cover; box-shadow: none; }
.device-mockups { display:flex; gap:18px; align-items:center; justify-content:center; }
.mockup-phone { width:150px; height:280px; background:#fff; border:3px solid #2c5530; border-radius:22px; }
.mockup-laptop { width:260px; height:170px; background:#fff; border:3px solid #2c5530; border-radius:12px; }
.insights-mockup { width:320px; height:220px; background:#fff; border:3px solid #2c5530; border-radius:16px; margin:0 auto; }
.work-why { background:#ffffff; }
.work-why { position: relative; }
.work-why::before, .work-why::after { content:""; position:absolute; left:0; right:0; height:1px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,0.15), rgba(0,0,0,0)); }
.work-why::before { top:0; }
.work-why::after { bottom:0; }
.why-row { justify-content:center; gap: 0; }
.why-item { display:flex; flex-direction:column; align-items:center; }
.why-icon { width:84px; height:84px; border-radius:20px; margin:0 auto 14px; background:#ffffff; border:2px solid #2c5530; display:flex; align-items:center; justify-content:center; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.why-svg { width:36px; height:36px; }
.work-why .tile-title { font-family:"Red Hat Display",sans-serif; font-weight:700; font-size:1.2rem; color:#2c5530; margin:0; }

@media (max-width: 768px) {
  .why-icon { width:68px; height:68px; border-radius:16px; }
  .why-svg { width:30px; height:30px; }
}
.work-cta { background: linear-gradient(135deg, #2c5530 0%, #1e3a21 100%); color:#fff; }
.work-cta .btn-primary-cta { border:1px solid #fff !important; color:#2c5530 !important; background:#fff !important; }
.work-cta .btn-secondary-cta { border:1px solid #fff !important; color:#fff !important; background:transparent !important; }

@media (max-width: 768px) {
  .work-hero-minimal { height: 100vh; min-height: 100vh; padding: 140px 0 60px; }
  .work-hero-minimal .hero-headline { font-size: 2.2rem; }
  .section-split .leader-silhouette { width:240px; height:240px; }
  .mockup-phone { width:130px; height:240px; }
  .mockup-laptop { width:220px; height:150px; }
  .insights-mockup { width:260px; height:180px; }
}
