﻿body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #111827;
  
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar > ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
}

.navbar a:hover {
  color: #cc0000;
}

.navbar ul li:last-child .dropdown-menu{
  right: 0;
  left: auto;
}

/* dropdown container */
.dropdown {
  position:relative;
}

/* dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* dropdown items */
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #111;
  text-decoration: none;
}

/* hover effect */
.dropdown-menu li a:hover {
  background: #f97316;
  color: white;
}

/* show dropdown */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown > a::after{
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}

/* Hero */
.hero {
  text-align: center;
  padding: 64px 20px 24px;
  min-height: 500px;
  height: auto;
  color: white;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;

  background-image:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url("../assets/home.PNG");
  background-size: cover;     
  background-position: center 24%; 
  background-repeat: no-repeat;
}

.hero h1 {
  font-size: 48px;
}

.hero p {
  font-size: 18px;
  color: #d1d5db;
}

/* Hero buttons */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  margin: 0;
  background: #f97316;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.hero-btn.outline {
  background: transparent;
  border: 2px solid #f97316;
  color: #f97316;
}

/* Stats cards */
.stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: -24px;
}

.card {
  background: white;
  padding: 30px 50px;
  border: 1px solid #e5e7eb;
  font-size: 20px;
}

/* Work */
.work {
  text-align: center;
  padding: 20px;
  margin-top: -50px;
}

.work-card {
  background: #e7781c;
  padding: 40px;
  width: 220px;
  border: 1px solid #eebc18;
}

/* Footer */
.footer {
  text-align: center;
  padding: 25px;
  background: #111827;
  color: #9ca3af;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social-mark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-social-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-social-mark i {
  font-size: 18px;
  line-height: 1;
}
.fa:hover {
  opacity: 0.7; /* Hover effect */
}


.work {
  text-align: center;
  padding: 80px 20px;
}

.work-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}


.work-card {
  position: relative;
  background: #f97316;
  color: white;
  width: 350px;
  height: 200px;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  padding: 0;  
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
  transition: transform 0.4s ease;
}


.work-card:hover {
  background: #111827
}
/* IMPACT MAP SECTION CENTER */

.map-section {
  text-align: center;
  padding: 80px 20px;
}

#indiaMapPlaceholder {
  background: #e5e7eb;
  height: 400px;
  width: 70%;
  margin: 30px auto;   
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #111827;
  font-size: 18px;
}
.logo img {
  height: 50px; 
  width: auto;
}
.top-space {
  height: 200px;   
}

.our-work-logo {
  text-align: center;
  margin-bottom: 30px; 
}

.our-work-logo img {
  width: 700px;   
  height: auto;
  cursor: pointer;
}
.team-header {
  text-align: center;
  padding: 40px 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1100px;
  margin: auto;
}

.team-card {
  background: white;
  border: 1px solid #e5e7eb;
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}



.team-card h3 {
  margin: 10px 0 5px;
  font-size: 20px;
  color: #111827;
}

.team-card p {
  font-size: 14px;
  color: #555;
}

/* Team page main grid */
.team-grid {
  max-width: 1100px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Single member row */
.team-card {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  gap: 30px;
}

/* Photo */
.team-card img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
}

.team-info {
  width: 480px;
  height: 340px;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #ddd;
  background: #fff;

  scrollbar-width: thin;          /* Firefox */
  scrollbar-color: #ff7a00 #f1f1f1;
}

/* Chrome / Edge */
.team-info::-webkit-scrollbar {
  width: 6px;
}

.team-info::-webkit-scrollbar-thumb {
  background-color: #ff7a00;
  border-radius: 10px;
}

.team-info::-webkit-scrollbar-track {
  background: #f1f1f1;
}


.team-info h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-info h4 {
  font-size: 14px;
  margin-bottom: 12px;
  color: #ff7a00;
  font-weight: 600;
}

.team-info p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}


.team-group-photo img {
  width: 100%;
  height: 600px;              /* fix height to enable cropping */
  object-fit: cover;
  object-position: center 35%;  /* pushes image down ? crops top */
}

.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}
@media (max-width: 768px) {

  .team-card {
    flex-direction: column;
    text-align: center;
  }

  .team-card img {
    width: 90%;
    height: auto;
  }

  .team-info {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
}
/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* Desktop navbar */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

/* Mobile view */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: #000;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 140px 0;
  }

  .nav-links li {
    text-align: center;
    padding: 12px 0;
  }

  .nav-links.show {
    display: flex;
  }
}
.india-map {
  max-width: 800vw;
  margin: 30px auto;
}

@media(max-width: 400px){
  .india-map{
   
    margin-top: -90%;
    margin-bottom: -80%;
    max-height: 800vh;
    height: 10vh;
  }
}

@media(max-width: 250px){
  .india-map{
   
    margin-top: -90%;
    margin-bottom: -80%;
    max-height: 800vh;
    height: 5vh;
  }
}

@media(max-width: 500px){
  .india-map{
    margin-top: -90%;
    margin-bottom: -40%;
  }

}

@media(max-width: 650px){
  .india-map{
    margin-top: -90%;
    margin-bottom: -50%;
  }
}

@media(max-width: 640px){
  .india-map{
    margin-top: -90%;
    padding-bottom: -10%;
    height: 80vh;
  }
}



@media(max-width: 900px){
  .india-map{
    padding-bottom: 1%;
    margin-bottom: 1%;
  }
}

@media(max-width: 1000px){
  .india-map{
    padding-bottom: 10%;
    margin-bottom: -2%;
  }
}

@media(max-width: 1200px){
  .india-map{
    padding-bottom: 5%;
  }
}



.india-map svg {
  width: 100%;
  height: auto;
}

.india-map path {
  fill: #000;
  stroke: #fff;
  stroke-width: 1;
  cursor: pointer;
}

.india-map path:hover {
  fill: orange;
}
/* CLEAN ABOUT CONTENT (NO BOX) */

.about-simple {
  padding: 100px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.about-simple h2 {
  font-size: 36px;
  margin-bottom: 30px;
  position: relative;
}

.about-simple h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: orange;
  display: block;
  margin: 15px auto 0;
}

.about-simple p {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 25px;
}

/* smooth fade animation */
.about-simple {
  animation: fadeUp 0.8s ease forwards;
}
/* ===== IMAGE SLIDER ===== */

.slider-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 60px 0 36px;
}

.slider {
  position: relative;
  width: 80%;
  max-width: 900px;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.slide.active {
  display: block;
}

/* Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.nav-btn.prev {
  left: 10px;
}

.nav-btn.next {
  right: 10px;
}

.nav-btn:hover {
  background: orange;
}

/* ===== FOOTER ===== */

.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e5e5;
  margin-top: 80px;
  font-family: Arial, sans-serif;
}

.map-title{
  display: flex;
  justify-content: center;
  margin-top: 20px;

}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
}

.footer-logo img {
  width: 140px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ff8c00;
  padding-left: 4px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  padding: 15px 0;
  border-top: 1px solid #ddd;
  color: #555;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo img {
    margin: auto;
  }
}
/* ===== TWO MEMBER ROW ===== */

.team-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.team-half-card {
  flex: 1 ;
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.team-half-card img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.half-info {
  flex: 1;
}

.half-info h3 {
  margin: 0;
  font-size: 20px;
}

.role {
  color: orange;
  font-weight: bold;
  margin: 8px 0;
}

.desc-box {
  max-height: 120px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .team-row {
    flex-direction: column;
  }

  .team-half-card {
    flex-direction: column;
    text-align: center;
  }

  .team-half-card img {
    margin: auto;
  }
}
/* ===== PROFESSIONAL TEAM CARD UPGRADE ===== */

.team-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
  align-items: stretch; /* equal height */
}

.team-half-card {
  flex: 1;
  display: flex;
  gap: 20px;
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

/* Hover effect */
.team-half-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Image */
.team-half-card img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

/* Right content */
.half-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.half-info h3 {
  margin: 0;
  font-size: 22px;
}

.role {
  color: #ff8c00;
  font-weight: 600;
  margin: 6px 0 12px;
}

/* ===== SCROLL DESCRIPTION BOX ===== */

.desc-box {
  max-height: 180px;
  overflow-y: auto;
  padding-right: 10px;
  line-height: 1.6;
  font-size: 14px;
}

/* Custom Scrollbar */
.desc-box::-webkit-scrollbar {
  width: 6px;
}

.desc-box::-webkit-scrollbar-track {
  background: #f2f2f2;
}

.desc-box::-webkit-scrollbar-thumb {
  background: #ff8c00;
  border-radius: 4px;
}

/* Smooth appearance */
.team-half-card {
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.map-section {
  text-align: center;
  padding: 60px 20px 20px;
}

.india-map {
  margin-top: 40px;
}

.impact-map-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: auto;
}
/* ===== FOUNDER HIGHLIGHT ===== */

.founder-highlight {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 80px;
  background: #f8f9fb;
  padding: 40px;
  border-radius: 12px;
}

.founder-left img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
}

.founder-right h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.founder-short {
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 400px;
}

.read-more-btn {
  background: #ff8c00;
  border: none;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.read-more-btn:hover {
  background: #e67600;
}

/* ===== MODAL ===== */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  width: 60%;
  max-width: 700px;
  margin: 100px auto;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Mobile */
@media (max-width: 768px) {
  .founder-highlight {
    flex-direction: column;
    text-align: center;
  }

  .modal-content {
    width: 90%;
  }
}
/* ===== UNITED PAGE ===== */

.united-hero {
  text-align: center;
  padding: 120px 20px 60px;
  background: #f8f9fb;
}

.united-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.united-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: auto;
}

.united-content {
  max-width: 1100px;
  margin: 60px auto;
  display: flex;
  gap: 40px;
  padding: 0 20px;
}

.united-box {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.united-box:hover {
  transform: translateY(-8px);
}

.united-box h2 {
  margin-bottom: 15px;
  color: #ff8c00;
}
/* ===== GALLERY ===== */

.gallery-section {
  padding: 100px 20px;
  text-align: center;
}

.gallery-section h1 {
  font-size: 42px;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  align-items: stretch;
}

.gallery-item {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.gallery-img {
  width: 100%;
  height: auto;  
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-img:hover {
  transform: scale(1.03);
}

.gallery-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0px;
  min-height: 2.8em;
}

.gallery-designation {
  margin-top: 0;
  font-size: 14px;
  font-weight: 500;
  min-height: 3.2em;
}


.gallery-img:hover {
  transform: scale(1.05);
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 999;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 50px;
  color: white;
  cursor: pointer;
}

.prev { left: 40px; }
.next { right: 40px; }
.gallery-item {
  text-align: center;
}

.gallery-img {
  width: 100%;
  max-height: 250px;   /* height limit */
  object-fit: contain; /* crop ??? */
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
}

.gallery-title {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
}
.advisor-slider{
  width:100%;
  overflow:hidden;
  padding:60px 0;
  background:#f7f7f7;
  text-align:center;
}

.advisor-slider h2{
  margin-bottom:40px;
}

.advisor-track{
  display:flex;
  gap:40px;
  animation: scrollSlider 25s linear infinite;
}

.advisor-track img{
  height:300px;
  width:auto;
  border-radius:8px;
  transition:0.3s;
}

.advisor-track img:hover{
  transform:scale(1.1);
}

@keyframes scrollSlider{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}
.social-icons{
display:flex;
gap:15px;
margin-top:10px;
}

.social-icons a{
display:flex;
align-items:center;
justify-content:center;
width:40px;
height:40px;
background:#222;
color:white;
border-radius:50%;
font-size:18px;
transition:0.3s;
text-decoration:none;
}

.social-icons a:hover{
background:orange;
transform:scale(1.1);
}
.page-title{
text-align:center;
padding:80px 0 30px;
}

.work-options{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
padding:40px;
}

.work-btn{
background:#ff7a00;
color:white;
padding:20px 40px;
text-decoration:none;
border-radius:8px;
font-size:18px;
transition:0.3s;
}

.work-btn:hover{
background:black;
transform:scale(1.05);
}
.work-section{
padding:80px 10%;
text-align:center;
}

.work-title{
font-size:36px;
margin-bottom:50px;
}

.work-container{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.work-card{
background:white;
border-radius:10px;
overflow:hidden;
text-decoration:none;
color:black;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.work-card img{
width:100%;
height:200px;
object-fit:cover;
}

.work-card h3{
margin:15px 0 10px;
}

.work-card p{
padding:0 15px 20px;
font-size:14px;
}

.work-card:hover{
transform:translateY(-8px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
@media(max-width:900px){

.work-container{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:500px){

.work-container{
grid-template-columns:1fr;
}

}
.popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
justify-content:center;
align-items:center;
z-index:999;
}

.popup-box{
background:white;
width:600px;
max-height:80vh;
border-radius:10px;
overflow:hidden;
display:flex;
flex-direction:column;
}

.popup-box img{
width:100%;
height:250px;
object-fit:cover;
}

.popup-text{
padding:20px;
overflow-y:auto;
max-height:300px;
}

.close-popup{
position:absolute;
top:20px;
right:30px;
font-size:30px;
color:white;
cursor:pointer;
}
.page-hero{
width:100%;
height:620px;
}

.page-hero img{
width:100%;
height:100%;
object-fit: cover;
object-position: center 75%;
}

.page-content{
padding:56px 10% 28px;
text-align:center;
}

.about-sections {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.about-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.about-block h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 24px;
  color: #111827;
}

.about-block p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: #374151;
}

.work-card{
width:260px;
text-align:center;
}

.work-card img{
width:100%;
height:200px;
object-fit:cover;
display:block;
}

.work-card h3{
margin-top:10px;
font-size:18px;
}
.popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
justify-content:center;
align-items:center;
}

.popup-box{
background:white;
padding:20px;
width:600px;
max-height:80vh;
overflow-y:auto;
border-radius:10px;
text-align:center;
}

.popup-box img{
width:100%;
margin-bottom:15px;
}

.close-popup{
position:absolute;
top:20px;
right:30px;
font-size:30px;
cursor:pointer;
}
.team-heading{
text-align:center;
font-size:32px;
margin-top:60px;
margin-bottom:30px;
font-weight:700;
letter-spacing:1px;
}

/*Inter With Us*/
.intern-hero{
  width:100%;
  height:620px;
  }
  
.intern-hero img{
width:100%;
height:100%;
object-fit: cover;
object-position: center 95%;
}

/*Family*/
.family-hero{
  width:100%;
  height:620px;
  }
  
.family-hero img{
width:100%;
height:100%;
object-fit: cover;
object-position: center 95%;
}
  
/* Vision & Mission */
.vision-page {
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 28%, #fff7ef 100%);
}

.vision-hero {
  height: 600px;
}

.vision-hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.vision-intro {
  text-align: center;
  padding: 55px 20px 20px;
}

.vision-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.vision-intro h1 {
  font-size: 48px;
  margin-bottom: 16px;
  color: #111827;
}

.vision-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
}

.vision-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 20px;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.vision-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.12);
}

.vision-card-label {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.vision-card h2 {
  font-size: 34px;
  margin: 0 0 16px;
  color: #111827;
}

.vision-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #374151;
}

.vision-values {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.vision-value {
  background: #111827;
  color: #ffffff;
  padding: 28px;
  border-radius: 16px;
}

.vision-value h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.vision-value p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.7;
  font-size: 15px;
}

.vision-journey {
  margin-top: 36px;
  background: linear-gradient(135deg, #fff1e6 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid #fde7d3;
}

.vision-journey h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 32px;
  color: #111827;
}

.vision-journey p {
  margin: 0 0 24px;
  color: #374151;
  line-height: 1.8;
}

.vision-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vision-list-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  border-left: 4px solid #f97316;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.vision-list-item strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 17px;
}

.vision-list-item span {
  color: #4b5563;
  line-height: 1.7;
  font-size: 14px;
}

.vision-cta {
  margin-top: 36px;
  text-align: center;
  background: #111827;
  border-radius: 20px;
  padding: 44px 24px;
  color: #ffffff;
}

.vision-cta h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.vision-cta p {
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.8;
  color: #d1d5db;
}

.vision-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vision-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.vision-btn.primary {
  background: #f97316;
  color: #ffffff;
}

.vision-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
}

.vision-btn:hover {
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .vision-pillars,
  .vision-values,
  .vision-list {
    grid-template-columns: 1fr;
  }

  .vision-card,
  .vision-journey,
  .vision-cta {
    padding: 28px 22px;
  }

  .vision-intro h1 {
    font-size: 38px;
  }
}

@media (max-width: 600px) {
  .vision-hero {
    height: 420px;
  }

  .vision-intro {
    padding: 38px 18px 12px;
  }

  .vision-intro h1 {
    font-size: 32px;
  }

  .vision-intro p,
  .vision-card p,
  .vision-journey p {
    font-size: 15px;
  }
}

/* Shared page utilities */
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-stack {
  padding-top: 70px;
  padding-bottom: 80px;
}

.page-banner {
  width: 100%;
  height: 620px;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  margin: 0 0 10px;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 13px;
  font-weight: 700;
}

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0 0 14px;
  color: #111827;
}

.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.dark-outline {
  color: #111827;
  border-color: rgba(17, 24, 39, 0.16);
}

/* Contact */
.contact-page,
.partnership-page,
.join-page,
.impact-page,
.volunteer-page,
.yuvan-page {
  background: linear-gradient(180deg, #fffefc 0%, #ffffff 30%, #fff8f1 100%);
}

.soft-page {
  background: linear-gradient(180deg, #fffefc 0%, #ffffff 30%, #fff8f1 100%);
}

.contact-hero,
.impact-hero {
  padding: 120px 0 70px;
  background: linear-gradient(135deg, #fff1e5 0%, #ffffff 55%, #fff8f1 100%);
}

.contact-hero h1,
.impact-hero h1,
.split-hero h1,
.program-hero h1,
.join-hero h1 {
  margin: 0 0 16px;
  font-size: 48px;
  color: #111827;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.contact-panel,
.faq-item,
.lane-card,
.story-card,
.track-card,
.family-card,
.join-card,
.program-card,
.feature-card,
.impact-number-card,
.floating-stat-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.contact-panel {
  padding: 34px;
}

.focus-area{
  margin-bottom: 35px;
}

.accent-panel {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
}

.accent-panel p,
.accent-panel h2 {
  color: #ffffff;
}

.contact-method-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-method {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff8f1;
}

.contact-method span {
  display: block;
  font-size: 13px;
  color: #f97316;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.contact-tag-grid span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 20px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #111827;
}

.faq-item p {
  margin: 14px 0 0;
  line-height: 1.8;
  color: #4b5563;
}

/* Volunteer */
.split-hero {
  padding: 110px 0 70px;
}

.split-hero-volunteer {
  background: linear-gradient(135deg, #fffaf5 0%, #fff1e6 45%, #ffffff 100%);
}

.split-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.floating-stat-card {
  padding: 30px;
}

.floating-stat-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 26px;
}

.journey-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.journey-step span {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  font-weight: 700;
}

.journey-step p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.feature-card-grid,
.partnership-lanes,
.program-grid,
.tracks-grid,
.family-grid,
.join-grid {
  display: grid;
  gap: 24px;
}

.feature-card-grid,
.partnership-lanes,
.program-grid,
.tracks-grid,
.family-grid,
.join-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.lane-card,
.program-card,
.track-card,
.family-card,
.join-card {
  padding: 30px;
}

.feature-card h3,
.lane-card h3,
.program-card h3,
.track-card h3,
.family-card h3,
.join-card h3,
.story-card h3 {
  margin-top: 0;
  color: #111827;
}

.feature-card p,
.lane-card p,
.program-card p,
.track-card p,
.family-card p,
.join-card p,
.story-card p {
  margin-bottom: 0;
  color: #4b5563;
  line-height: 1.8;
}

.strip-section,
.collab-board,
.impact-wave,
.application-banner,
.family-message,
.quote-band {
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
}

.strip-section,
.application-banner,
.family-message {
  background: linear-gradient(135deg, #fff5ec 0%, #ffffff 100%);
  border: 1px solid #fde7d3;
  margin-top: 40px;
  margin-bottom: -0px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.check-card {
  padding: 18px;
  border-radius: 16px;
  background: #111827;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
}

/* Partnership */
.partnership-hero {
  background: linear-gradient(135deg, #fff0e2 0%, #ffffff 50%, #fff6ed 100%);
}

.collab-board {
  background: #111827;
  color: #ffffff;
  margin-top: 50px;
}

.collab-board .section-heading h2,
.collab-board .section-heading p {
  color: #ffffff;
}

.collab-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.collab-step {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.collab-step strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.collab-step span {
  color: #d1d5db;
  line-height: 1.8;
}

/* Impact */
.impact-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.impact-number-card {
  padding: 26px;
  text-align: center;
}

.impact-number-card strong {
  display: block;
  font-size: 36px;
  color: #f97316;
  margin-bottom: 8px;
}

.impact-number-card span {
  color: #4b5563;
}

.impact-story-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 20px;
}

.story-card {
  padding: 28px;
}


.highlight-story {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.highlight-story h2,
.highlight-story p {
  color: #ffffff;
}

.impact-wave {
  background: linear-gradient(135deg, #fff6ee 0%, #ffffff 100%);
  border: 1px solid #fde7d3;
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 18px;
}

.initiative-card {
  overflow: hidden;
  padding: 0;
}

.initiative-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.initiative-card h3,
.initiative-card p {
  padding-left: 28px;
  padding-right: 28px;
}

.initiative-card h3 {
  margin-top: 24px;
}

.initiative-card p {
  padding-bottom: 28px;
}

.section-divider {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-top: 70px;
  margin-bottom: 40px;
  color: #f97316;
}

.ripple-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ripple-card {
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  font-weight: 700;
  color: #111827;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

/* Yuvan */
.program-hero {
  padding: 110px 0 70px;
  background: linear-gradient(135deg, #fff8f1 0%, #ffffff 55%, #fff3e8 100%);
}

.program-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.program-image-frame {
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(135deg, #111827 0%, #f97316 100%);
}

.program-image-frame img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.quote-band {
  background: #111827;
  color: #ffffff;
  text-align: center;
}

.quote-band p {
  margin: 0;
  font-size: 22px;
  line-height: 1.8;
}

/* Join */
.join-hero {
  background: linear-gradient(135deg, #fff6ee 0%, #ffffff 50%, #fff0e1 100%);
}

.join-card {
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

/* Intern and Family additions */
.tracks-grid {
  margin-top: 10px;
}

.application-banner,
.family-message {
  text-align: center;
}

.family-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  margin-top: 26px;
  margin-bottom: 26px;
}

.family-showcase-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

.family-showcase-copy {
  background: linear-gradient(135deg, #fff4e8 0%, #ffffff 100%);
  border: 1px solid #fde7d3;
  border-radius: 22px;
  padding: 34px;
}

.family-showcase-copy h2 {
  margin: 0 0 14px;
  color: #111827;
}

.family-showcase-copy p:last-child {
  margin: 0;
  line-height: 1.8;
  color: #4b5563;
}

.family-journal {
  margin-top: 68px;
  margin-bottom: 26px;
}

.family-journal-intro {
  max-width: 760px;
  margin-bottom: 22px;
}

.family-journal-intro h2 {
  margin: 0 0 12px;
  color: #111827;
}

.family-journal-intro p:last-child {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.family-journal-hero {
  margin-bottom: 22px;
}

.family-journal-hero img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
}

.family-journal-gallery {
  columns: 3;
  column-gap: 18px;
}

.family-journal-gallery figure {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.family-journal-gallery img {
  width: 100%;
  display: block;
}

.application-banner h2,
.family-message h2 {
  margin-top: 0;
  color: #111827;
}

.application-banner p,
.family-message p {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
  color: #4b5563;
}

.warm-card {
  background: linear-gradient(135deg, #fff1e3 0%, #ffffff 100%);
}

@media (max-width: 1000px) {
  .contact-grid,
  .split-hero-grid,
  .program-hero-grid,
  .impact-story-grid,
  .family-showcase {
    grid-template-columns: 1fr;
  }

  .impact-story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-grid,
  .partnership-lanes,
  .program-grid,
  .tracks-grid,
  .family-grid,
  .initiative-grid,
  .join-grid,
  .impact-dashboard,
  .collab-steps,
  .ripple-row,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-banner {
    height: 360px;
  }

  .contact-hero,
  .impact-hero,
  .split-hero,
  .program-hero {
    padding: 95px 0 55px;
  }

  .contact-hero h1,
  .impact-hero h1,
  .split-hero h1,
  .program-hero h1,
  .join-hero h1 {
    font-size: 34px;
  }

  .hero-copy,
  .quote-band p {
    font-size: 16px;
  }

  .contact-panel,
  .feature-card,
  .lane-card,
  .program-card,
  .track-card,
  .family-card,
  .join-card,
  .story-card,
  .impact-number-card,
  .floating-stat-card,
  .strip-section,
  .collab-board,
  .impact-wave,
  .application-banner,
  .family-message,
  .quote-band {
    padding: 24px;
  }

  .feature-card-grid,
  .partnership-lanes,
  .program-grid,
  .tracks-grid,
  .family-grid,
  .initiative-grid,
  .join-grid,
  .impact-dashboard,
  .collab-steps,
  .ripple-row,
  .check-grid,
  .impact-story-grid {
    grid-template-columns: 1fr;
  }

  .family-showcase-media img {
    height: 300px;
  }

  .family-journal-gallery {
    columns: 2;
  }

  .family-journal-hero img {
    height: 320px;
  }
}

@media (max-width: 520px) {
  .family-journal-gallery {
    columns: 1;
  }
}

/* impact map */

.map-section .india-map {
  max-width: 1300px;
  margin: 0 auto;
}

.impact-map-frame {
  width: 100%;
  height: 900px;
  border: 0;
  display: block;
  margin: 0 auto;
  overflow: hidden;
}

.map-hero-card {
  max-width: 1200px;
  margin: 40px auto 92px;
 
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 28%),
    linear-gradient(135deg, #fff8ef 0%, #ffffff 100%);
  border: 1px solid #fde7d3;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.eyebrow-map {
  margin: 0 0 0;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.map-title-main {
  margin: 0 auto 18px;
  max-width: 820px;
  text-align: center;
  font-size: 32px;
  line-height: 1.08;
  color: #0f172a;
}

.map-lead-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  line-height: 1.7;
  color: #334155;
}

.map-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.map-stat-box {
  padding: 22px 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #fde7d3;
  text-align: center;
}

.map-stat-box strong {
  display: block;
  font-size: 40px;
  line-height: 1;
  color: #0f172a;
}

.map-stat-box span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #64748b;
}

.map-stat-accent {
  background: #f97316;
  border-color: #f97316;
}

.map-stat-accent strong,
.map-stat-accent span {
  color: #ffffff;
}

.map-highlight-line {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.08);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #9a3412;
}

.map-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
}

.map-copy-grid p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: #475569;
}

.map-interest-note {
  max-width: 980px;
  margin: 18px auto 56px;
  padding: 0 20px;
  text-align: center;
  font-size: 20px;
  line-height: 1.7;
  color: #1f2937;
}

@media (max-width: 900px) {
  .map-hero-card {
    padding: 28px;
  }

  .map-title-main {
    font-size: 36px;
  }

  .map-lead-copy {
    font-size: 18px;
  }

  .map-stat-row,
  .map-copy-grid {
    grid-template-columns: 1fr;
  }

}

/* homepage quote */

.home-quote-band {
  margin-top: 48px;
  padding: 0;
}

.home-quote-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 90px 40px;
  border-radius: 0;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 102, 0.14), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #111827 45%, #7c2d12 100%);
  box-shadow: none;
}

.home-quote-text {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffd166;
}

.home-quote-author {
  margin: 28px 0 0;
  font-size: 24px;
  font-weight: 600;
  color: #ffe7a6;
}

@media (max-width: 900px) {
  .home-quote-inner {
    padding: 56px 20px;
  }

  .home-quote-text {
    font-size: 34px;
  }

  .home-quote-author {
    font-size: 20px;
  }
}


/*Impact map states*/
.state-city-gallery {
  margin-bottom: 60px;
}

.state-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.state-city-card {
  background: #ffffff;
  border: 1px solid #fde7d3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.state-city-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  background: linear-gradient(180deg, #fffaf5 0%, #f8f8f8 100%);
  padding: 10px;
  box-sizing: border-box;
}

.state-city-card h3 {
  margin: 0;
  padding: 16px 18px;
  font-size: 20px;
  color: #111827;
}

@media (max-width: 900px) {
  .state-city-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .state-city-grid {
    grid-template-columns: 1fr;
  }
}

/* responsive pass */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

iframe,
video,
svg {
  max-width: 100%;
}

.slider-section,
.advisor-slider,
.work,
.stats,
.gallery-section,
.page-shell,
.map-page-embed {
  overflow-x: clip;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  align-items: center;
  gap: 24px;
}

.navbar > ul {
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar li {
  list-style: none;
}

.dropdown-menu {
  z-index: 1001;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.94);
}

.nav-toggle-label span {
  position: relative;
  width: 20px;
  height: 2px;
  background: #111827;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #111827;
  transition: transform 0.2s ease;
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

@media (max-width: 980px) {
  .navbar {
    padding: 14px 18px;
    flex-wrap: wrap;
  }

  .logo img {
    height: 44px;
  }

  .nav-toggle-label {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .navbar > ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 14px;
    margin-top: 12px;
    border-top: 1px solid #e5e7eb;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .navbar > ul > li {
    width: 100%;
  }

  .navbar > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 17px;
  }

  .dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    margin-left: 10px;
    padding: 2px 0 10px 14px;
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown-menu li a {
    padding: 10px 0;
    color: #4b5563;
  }

  .hero {
    min-height: 420px;
    height: auto;
    padding: 32px 20px 42px;
    background-position: center 22%;
    gap: 14px;
  }

  .hero-btn {
    margin: 0;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 20px 0;
  }

  .card {
    padding: 22px 18px;
    text-align: center;
  }

  .slider-section {
    margin: 44px 0 28px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .slider {
    width: 100%;
    height: 320px;
  }

  .work {
    padding: 56px 20px;
  }

  .work-section,
  .page-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-hero,
  .page-banner {
    height: 380px;
  }

  .founder-highlight {
    margin: 56px 20px 0;
    padding: 28px;
  }

  .modal-content,
  .popup-box {
    width: min(92vw, 700px);
  }

  .advisor-slider {
    padding: 48px 0;
  }

  .advisor-track {
    gap: 20px;
  }

  .advisor-track img {
    height: 220px;
  }

  .team-card,
  .team-half-card {
    align-items: center;
  }

  .team-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-info,
  .half-info,
  .desc-box {
    width: 100%;
  }

  .map-hero-card {
    margin: 24px 20px 56px;
    padding: 28px 22px;
  }

  .impact-map-frame {
    height: 720px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 232px 16px 20px;
    background-size: 100% 220px;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #ffffff;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-btn {
    flex: 1 1 140px;
    width: calc(50% - 8px);
    max-width: 170px;
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .slider {
    height: 240px;
  }

  .nav-btn {
    font-size: 24px;
    padding: 8px 12px;
  }

  .section-heading h1,
  .section-heading h2,
  .work-title,
  .team-heading {
    font-size: 28px;
  }

  .hero-copy,
  .map-lead-copy,
  .map-interest-note {
    font-size: 17px;
  }

  .founder-highlight {
    margin-left: 16px;
    margin-right: 16px;
  }

  .founder-left img,
  .team-card img,
  .team-half-card img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .team-card,
  .team-half-card {
    flex-direction: column;
  }

  .team-info,
  .desc-box {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .page-hero,
  .page-banner {
    height: 260px;
  }

  .application-banner,
  .contact-hero,
  .impact-hero,
  .split-hero,
  .program-hero,
  .join-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-quote-text {
    font-size: 28px;
  }

  .map-title-main {
    font-size: 28px;
  }

  .map-stat-row,
  .map-copy-grid,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .impact-map-frame {
    height: 620px;
  }

  .state-city-card img {
    height: 220px;
  }

  .footer-container {
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
  .slider {
    height: 210px;
  }

  .home-quote-inner {
    padding: 44px 18px;
  }

  .home-quote-text {
    font-size: 24px;
  }
}

/* mobile cleanup */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-toggle-label,
.navbar > ul {
  background: #ffffff;
}

@media (max-width: 640px) {
  .nav-toggle-label {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .navbar > ul {
    padding: 12px 0 6px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  }

  .hero {
    background-position: top center;
  }

  .navbar > ul > li > a {
    padding-left: 6px;
    padding-right: 6px;
  }

  .dropdown-menu li a {
    padding-left: 22px;
  }

  .hero-btn,
  .hero-btn.outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
  }

  .vision-hero {
    height: 280px;
  }

  .vision-hero img {
    object-position: center center;
  }

  .vision-intro {
    padding-top: 36px;
  }

  .team-group-photo img {
    height: 300px;
    object-position: center center;
  }

  .page-hero img {
    object-position: center center;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: auto;
    gap: 10px;
    padding-top: 216px;
    background-size: 100% 204px;
    background-position: top center;
  }

  .hero-btn,
  .hero-btn.outline {
    width: calc(50% - 6px);
    min-width: 0;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }

  .dropdown-menu li a {
    padding-left: 26px;
  }

  .vision-hero,
  .team-group-photo img {
    height: 240px;
  }
}

@media (max-width: 980px) {
  .navbar .dropdown.open .dropdown-menu {
    display: block;
    width: auto;
    margin-left: 10px;
    padding-left: 0;
  }

  .navbar .dropdown.open .dropdown-menu li {
    text-align: left;
  }

  .navbar .dropdown.open .dropdown-menu li a {
    display: block;
    text-align: left;
    padding-left: 20px;
  }
}

@media (max-width: 420px) {
  .navbar .dropdown.open .dropdown-menu li a {
    padding-left: 18px;
  }

  .impact-map-frame {
    height: 420px;
    margin-bottom: -35px;
  }

  .map-interest-note {
    margin-top: -25px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gallery-item {
    padding: 10px 10px 14px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  }

  .gallery-img {
    height: 190px;
    object-fit: cover;
  }

  .gallery-title {
    min-height: 3.2em;
    font-size: 14px;
  }

  .gallery-designation {
    min-height: 4.2em;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .gallery-grid {
    gap: 14px;
  }

  .gallery-img {
    height: 170px;
  }
}

@media (max-width: 640px) {
  .impact-map-frame {
    height: 460px;
    margin-bottom: -40px;
  }

  .map-interest-note {
    margin-top: -30px;
  }
}


