@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

/* ===========================================
   RESET & BASE STYLES
   =========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Lato, sans-serif !important;
  overflow-x: hidden;
  font-weight: 900;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body.menu-open {
  overflow: hidden;
}

section {
  scroll-margin-top: 100px;
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 168, 232, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 168, 232, 0.4);
  }
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   NAVIGATION BAR
   =========================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: fadeInDown 0.8s ease;
}

.nav-logo {
  height: 70px;
  width: 70px;
  animation: pulse 2s ease-in-out infinite;
}

nav > div {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #2d3748;
  text-decoration: none;
  font-weight: 900;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #00a8e8;
}

/* Donate Button */
.nav-donate {
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  font-family: nulshock, sans-serif;
  color: white;
  text-decoration: none;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.nav-donate:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.nav-donate a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-donate:hover a {
  color: white;
}

.nav-donate a::after {
  display: none;
}

/* Desktop Dropdown */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 1%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  padding: 0.5rem 0;
}

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #4a5568;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 900;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
  transition: left 0.5s ease;
}

.dropdown-item:hover::before {
  left: 100%;
}

.dropdown-item:hover {
  background: rgba(0, 168, 232, 0.08);
  color: #007ea7;
  border-left-color: #00a8e8;
  padding-left: 25px;
}

.dropdown-trigger::after {
  content: "▾";
  margin-left: 5px;
  font-size: 0.9em;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.dropdown-container:hover .dropdown-trigger::after {
  transform: rotate(180deg);
  color: #00a8e8;
}

/* ===========================================
   MOBILE MENU
   =========================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(112, 102, 102, 0.3);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu-container {
  position: absolute;
  top: 70px;
  right: 20px;
  width: 90%;
  background: rgba(208, 224, 234, 0.9);
  backdrop-filter: blur(90px);
  border: 1px solid rgba(70, 15, 208, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.mobile-menu-overlay.active .mobile-menu-container {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mobile-nav-link {
  color: #2d3748;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
  color: #00a8e8;
  background: rgba(102, 126, 234, 0.2);
  transform: translateX(5px);
}

.mobile-dropdown-section {
  margin-bottom: 0.5rem;
  width: 100%;
}

.mobile-dropdown-section button {
  font-family: Lato, sans-serif;
}

.mobile-dropdown-toggle {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #2d3748;
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.mobile-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #00a8e8;
}

.mobile-dropdown-toggle .arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.mobile-dropdown-section.active .mobile-dropdown-toggle .arrow {
  transform: rotate(180deg);
  color: #00a8e8;
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 1rem;
}

.mobile-dropdown-section.active .mobile-dropdown-content {
  max-height: 300px;
}

.mobile-dropdown-content .mobile-nav-link {
  display: block;
  padding: 0.8rem 1rem;
  color: #4a5568;
  text-decoration: none;
  font-size: 0.95rem;
  border-left: 2px solid rgba(0, 168, 232, 0.3);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.mobile-dropdown-content .mobile-nav-link:hover {
  background: rgba(0, 168, 232, 0.1);
  color: #007ea7;
  border-left-color: #00a8e8;
  transform: translateX(5px);
}

.donate-mobile {
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  color: white !important;
  text-align: center;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 1rem;
  border: none !important;
}

.donate-mobile:hover {
  background: linear-gradient(135deg, #006b8f 0%, #0093cc 100%);
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4);
}

/* ===========================================
   HEADER / HERO SECTION
   =========================================== */
header {
  margin-top: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5%;
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

/* ===========================================
   LOGO CONTAINER
   =========================================== */
.logo-container {
  font-size: 4rem;
  animation: scaleIn 1s ease 0.5s both;
}

.logo-container img {
  height: 500px;
  width: 500px;
  max-height: 500px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* ===========================================
   MESSAGE FROM EXECUTIVE DIRECTOR
   =========================================== */
.our-text {
  text-align: center;
  font-size: 2.3rem;
  color: #00a8e8;
  animation: fadeInDown 0.8s ease;
  font-weight: 900;
}

.our-line {
  width: 100px;
  height: 4px;
  background: white;
  margin: auto;
  margin-top: -30px;
  border-radius: 2px;
  animation: shimmer 2s infinite;
  background: linear-gradient(90deg, transparent, #00a8e8, transparent);
}

.our-line2 {
  width: 100px;
  height: 4px;
  background: white;
  margin: auto;
  margin-top: -10px;
  border-radius: 2px;
  animation: shimmer 2s infinite;
  background: linear-gradient(90deg, transparent, #fff, transparent);
}

.statements {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 4rem 5%;
  background: white;
}

.state-1,
.state-2 {
  padding: 3rem;
  border-radius: 25px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  box-shadow: 0 40px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  animation: fadeInUp 0.8s ease;
  position: relative;
  overflow: hidden;
  width: 90%;
  margin: auto;
}

.state-1::before,
.state-2::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 50%;
  transition: all 0.5s ease;
}

.state-1:hover::before,
.state-2:hover::before {
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
}

.state-1:hover,
.state-2:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

/* Director Profile */
.director-profile {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.profile-image {
  text-align: center;
  margin-bottom: 2rem;
  flex: 0 0 200px;
}

.image-placeholder {
  width: 200px;
  height: 250px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.director-image img {
  width: 400px;
  height: 300px;
  border-radius: 20px;
}

.director-name {
  text-align: left;
  color: #00a8e8;
  margin-bottom: 0.5rem;
  font-weight: 900;
  font-size: 1rem;
}

.director-title {
  text-align: left;
  color: #4a5568;
  font-style: normal;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 900;
}

.message-content p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #4a5568;
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
}

.director-quote {
  color: #007ea7 !important;
  margin-top: 2rem !important;
  padding: 1.5rem !important;
  background: rgba(0, 168, 232, 0.05);
  border-left: 4px solid #00a8e8;
  border-radius: 0 10px 10px 0;
}
/* IMAGE SLIDESHOW */

.gallery-container {
  max-width: 1000px;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
  height: 550px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 500px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  font-size: 3rem;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 2rem;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  color: #00a8e8;
  pointer-events: all;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
  background: white;
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(2, 67, 93, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #faf9fb;
  transform: scale(1.2);
}
/* ===========================================
   BOARD OF DIRECTORS
   =========================================== */
.values {
  padding: 6rem 5%;
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  position: relative;
  overflow: hidden;
}

.values::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.head-text {
  text-align: center;
  font-size: 2.3rem;
  color: white;
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s ease;
  font-weight: 900;
}

.line {
  width: 100px;
  height: 4px;
  background: white;
  margin: 0 auto 4rem;
  border-radius: 2px;
  animation: shimmer 2s infinite;
  background: linear-gradient(90deg, transparent, white, transparent);
  background-size: 200% 100%;
}

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

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

/* Board Cards */
.value-1, .value-2, .value-3, .value-4, .value-5, .value-6 {
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: scaleIn 0.6s ease;
  position: relative;
}

.value-1 { animation-delay: 0.1s; }
.value-2 { animation-delay: 0.2s; }
.value-3 { animation-delay: 0.3s; }
.value-4 { animation-delay: 0.4s; }
.value-5 { animation-delay: 0.5s; }
.value-6 { animation-delay: 0.6s; }

.value-1:hover, .value-2:hover, .value-3:hover, 
.value-4:hover, .value-5:hover, .value-6:hover {
  transform: translateY(-15px) rotate(-2deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.value-1 h3, .value-2 h3, .value-3 h3, 
.value-4 h3, .value-5 h3, .value-6 h3 {
  font-size: 1.5rem;
  color: black;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

/* Board Card Elements */
.board-member-name {
  text-align: center;
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 900;
}

.board-member-role {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-weight: 900;
  font-size: 0.9rem;
}

.board-member-bio {
  text-align: center;
  color: black;
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.board-row {
  margin-bottom: 3rem !important;
}

.board-row-secondary {
  max-width: 1200px;
  margin: 0 auto !important;
}

/* Board Images */
.board-image .image-placeholder {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.board-image img {
  border-radius: 90%;
  height: 300px;
  width: 250px;
}

.board-image-small .image-placeholder {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.board-image-small img {
  border-radius: 90%;
  height: 280px;
  width: 250px;
}
  .last-3.board-row-secondary .board-card:last-child:nth-child(4) {
    grid-column: 2 / 3;
  }

/* ===========================================
   TEAM SECTION
   =========================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  padding: 0 5%;
  width: 100%;
}

.team-card {
  margin: 0 !important;
  padding: 2rem;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }

.team-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
}

.team-card h3 {
  font-weight: 900;
  font-size: 1.5rem;
}

.team-member-name {
  text-align: center;
  color: #00a8e8;
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.team-member-role {
  text-align: center;
  color: #4a5568;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 900;
  font-size: 0.9rem;
}

.team-member-bio {
  text-align: center;
  line-height: 1.6;
  color: #00a8e8;
  margin-bottom: 0;
  font-size: 0.8rem;
  font-weight: 900;
}

.team-member-image {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  border-radius: 50%;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.team-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
}

.volunteers-section {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto !important;
  background: linear-gradient(135deg, rgba(0, 126, 167, 0.1) 0%, rgba(0, 168, 232, 0.1) 100%) !important;
}

.volunteers-section .team-member-bio {
  max-width: 500px;
  margin: 0 auto;
}

/* ===========================================
   OUR STORY SECTION
   =========================================== */
.our-story-section {
  padding: 6rem 5%;
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  position: relative;
  overflow: hidden;
}

.our-story-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.our-story-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.story-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.story-header h2 {
  font-size: 2.8rem;
  color: white;
  font-weight: 900;
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s ease;
}

.story-header .subtitle {
  color: rgba(32, 31, 31, 0.95);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 900;
  font-style: italic;
}

.story-content p {
    font-size: 1rem;
}

.founders-intro {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease;
}

.founders-intro h3 {
  color: rgba(32, 31, 31, 0.95);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.founders-intro p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 900;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
  animation: fadeInUp 0.8s ease;
}

.timeline-item:nth-child(odd) {
  padding-right: 50%;
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid #00a8e8;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.timeline-year {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.timeline-title {
  color: rgba(32, 31, 31, 0.95);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.timeline-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
  font-weight: 900;
}

.timeline-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: white;
  color: #00a8e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeline-image {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.timeline-content:hover .timeline-image img {
  transform: scale(1.1);
}

.timeline-item:nth-child(odd) .timeline-image {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-image {
  margin-right: auto;
}

/* Mission Section */
.mission-section {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease;
}

.mission-section h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-align: center;
}

.mission-section p {
  color: rgba(32, 31, 31, 0.95);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.8;
}

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

.mission-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mission-card i {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.mission-card h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.mission-card p {
  color: rgba(32, 31, 31, 0.95);
  font-size: 0.95rem;
  line-height: 1.6;
}

.closing-statement {
  background: rgba(0, 0, 0, 0.2);
  border-left: 4px solid white;
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 0 12px 12px 0;
}

.closing-statement p {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
  font-style: italic;
}

/* ===========================================
   ABOUT STATS
   =========================================== */
.about-stats {
  margin: 2rem 0;
}

.about-stat {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  font-size: 0.8rem;
}

.about-stat i {
  color: #00a8e8;
  font-size: 1.1rem;
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-description {
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.cta-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "nulshock", sans-serif;
  font-size: 0.9rem;
}

.donate-btn {
  background: white;
  color: #00a8e8;
  border: 2px solid white;
}

.donate-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.partner-btn {
  color: white;
  border: 2px solid white;
  background: transparent;
}

.partner-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ===========================================
   READ MORE BUTTON
   =========================================== */
.read-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 24px;
  background: transparent;
  color: black;
  border: 2px solid black;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: "Lato", sans-serif;
}

.read-more-btn:hover {
  background: #00a8e8;
  color: white;
  border: 2px solid whitesmoke;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.5);
}

/* ===========================================
   BIO MODAL
   =========================================== */
.bio-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.bio-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 2px solid #00a8e8;
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  max-height: 85vh;
  width: 90%;
  position: relative;
  overflow-y: auto;
  animation: modalSlideIn 0.4s ease;
  box-shadow: 0 25px 80px rgba(0, 168, 232, 0.4);
}

.bio-modal-content::-webkit-scrollbar {
  width: 10px;
}

.bio-modal-content::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}

.bio-modal-content::-webkit-scrollbar-thumb {
  background: #00a8e8;
  border-radius: 10px;
}

.bio-modal-content::-webkit-scrollbar-thumb:hover {
  background: #007ea7;
}

.bio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #00a8e8;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
}

.bio-modal-close:hover {
  background: #007ea7;
  transform: rotate(90deg) scale(1.1);
}

.bio-modal-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid rgba(0, 168, 232, 0.3);
}

.bio-modal-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #00a8e8;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(0, 168, 232, 0.3);
}

.bio-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-modal-title h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 900;
}

.bio-modal-title p {
  color: #00a8e8;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.bio-modal-body {
  color: #e0e0e0;
  line-height: 1.9;
  font-size: 16px;
}

.bio-modal-body p {
  margin-bottom: 18px;
}

/* ===========================================
   FOOTER
   =========================================== */
#footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 4rem 5% 2rem;
}

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

/* Brand Section */
.brand-section .footer-logo {
  font-size: 1.8rem;
  color: #00a8e8;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.foot-yaga {
  display: flex;
  gap: 1rem;
}

.foot-logo {
  height: 40px;
  width: 40px;
  animation: pulse 2s ease-in-out infinite;
  margin-top: -5px;
}

.mission-text {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 0.8rem;
}

/* Social Section */
.social-section {
  margin-top: 2rem;
}

.social-title {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: white;
}

.social-icon.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d5cb6 100%);
}

.social-icon.instagram {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 100%);
}

.social-icon.twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-icon.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-icon.youtube {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-icon.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.section-title {
  font-size: 1.5rem;
  color: #00a8e8;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #00a8e8;
  border-radius: 2px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  width: 100%;
}

.contact-item:hover {
  background: rgba(0, 168, 232, 0.1);
  border-color: rgba(0, 168, 232, 0.3);
  transform: translateX(5px);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h3 {
  color: #e2e8f0;
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-details p {
  font-size: 0.9rem;
}

.contact-note {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 5px;
}

.contact-address {
  color: #cbd5e1;
  font-style: normal;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Footer Bottom */
.line-2 {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: 2rem 0;
}

.copyright {
  text-align: center;
}

.copyright h6 {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.tagline {
  color: #00a8e8;
  font-size: 0.8rem;
  margin-top: 5px;
}

/* ===========================================
   LOADING SCREEN
   =========================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #007ea7 0%, #00a8e8 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.active {
  opacity: 1;
  visibility: visible;
}

.loading-content {
  text-align: center;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.loading-logo {
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.loading-logo img {
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  margin: 0 auto 1.5rem;
  animation: loading 1s ease-in-out infinite;
}

.loading-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

.loading-text::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: "."; }
  40% { content: ".."; }
  60%, 100% { content: "..."; }
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Large Desktop Adjustments */
@media (min-width: 914px) and (max-width: 1032px) {
  .contact-details p {
    font-size: 0.8rem;
  }
  .value-3 {
    width: 900px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .volunteers-section {
    grid-column: 1 / -1;
  }
}

/* Desktop & Tablet (1025px and above) */
@media (min-width: 1025px) {
  .mobile-menu-overlay {
    display: none !important;
  }
  .hamburger {
    display: none;
  }
  .desktop-menu {
    display: flex;
  }
  .mobile-dropdown-section {
    display: none !important;
  }
  .dropdown-container {
    display: inline-block;
  }
}

/* Tablet (1025px and below) */
@media (max-width: 1025px) {
  .desktop-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  nav {
    padding: 3rem;
  }
  .yaga {
    font-size: 1.5rem;
    margin: 0;
  }
  header {
    flex-direction: column;
    text-align: center;
    padding: 3rem 5%;
  }
  header h3 {
    font-size: 2.5rem;
  }
  .btns {
    justify-content: center;
  }
  nav > div {
    gap: 1rem;
  }
  nav a {
    font-size: 0.9rem;
  }
  .card {
    flex-direction: column;
  }
  .footer {
    display: grid;
  }
  .yaga-1 {
    margin-bottom: 4rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .social-icons {
    justify-content: center;
  }
  .contact-details h3 {
    font-size: 1rem;
  }
  .contact-details p {
    font-size: 0.6rem;
  }
  .contact-item {
    padding: 12px;
  }
  .mobile-menu-container {
    top: 80px;
    right: 10px;
    width: calc(100% - 20px);
    max-width: 400px;
  }
  .mobile-dropdown-section {
    display: block;
  }
}

/* Tablet (744px) */
@media (width: 744px) {
  header {
    flex-direction: column;
    text-align: center;
    padding-top: 9rem;
  }
    .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
 width: auto;
 height: 200%;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .timeline-year {
    font-size: 1.1rem;
  }
  
  .timeline-title {
    font-size: 1.2rem;
  }
  
  .timeline-text {
    font-size: 0.9rem;
  }
  
  .timeline-image {
    width: 100%;
    height: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .timeline-image img{
      width: 100%;
    height: 100%;
  }
  

}

/* Small Tablet (745px - 913px) */
@media (min-width: 745px) and (max-width: 913px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  .btns {
    display: flex;
    flex-direction: row;
  }
  .btn-2, .btn-3 {
    width: 100%;
  }
  .contact-details p {
    font-size: 0.6rem;
  }
}

/* Tablet (700px - 912px) */
@media screen and (min-width: 700px) and (max-width: 912px) {
  nav {
    font-size: 0.8rem;
  }
  .logo-container {
    margin-top: 50px;
  }
  .value-3 {
    width: 670px;
  }
}

@media screen and (min-width: 700px) and (max-width: 1032px) {
  .value-3, .value-6 {
    width: 200%;
    margin: auto;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .logo-container img {
    height: 300px;
    width: 300px;
    max-height: 300px;
    margin-top: 2rem;
  }
  
  .director-profile {
    flex-direction: column;
  }
  
  .profile-image {
    flex: auto;
  }
  
  .image-placeholder {
    width: 150px;
    height: 187px;
    font-size: 3rem;
  }
  
  .director-image img {
    height: 250px;
    width: 250px;
  }
  
  .board-image .image-placeholder,
  .board-image-small .image-placeholder {
    width: 250px;
    height: 250px;
  }
  
  .board-image img,
  .board-image-small img {
    height: 280px;
    width: 250px;
  }
  
  .team-member-image .image-placeholder {
    width: 250px;
    height: 200px;
  }
  
  .team-image img {
    width: 300px;
    height: 200px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-card {
    padding: 1.5rem;
    width: 100%;
  }
  
  .value-3, .value-6 {
    width: 100%;
  }
  
  .volunteers-section {
    grid-column: 1;
  }
  
  .cta-btn {
    padding: 12px 24px;
    font-size: 0.8rem;
  }
  
  .our-story-section {
    padding: 4rem 5%;
  }
  
  .story-header h2 {
    font-size: 2rem;
  }
  
  .story-header .subtitle {
    font-size: 1rem;
  }
  
  .founders-intro, .mission-section {
    padding: 2rem;
  }
  
  .founders-intro h3 {
    font-size: 1.5rem;
  }
  
  .founders-intro p {
    font-size: 0.95rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .timeline-year {
    font-size: 1.1rem;
  }
  
  .timeline-title {
    font-size: 1.2rem;
  }
  
  .timeline-text {
    font-size: 0.9rem;
  }
  
  .timeline-image {
    max-width: 100%;
    height: 180px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .mission-section h3 {
    font-size: 1.5rem;
  }
  
  .closing-statement p {
    font-size: 1rem;
  }
  
  .bio-modal-content {
    padding: 30px 20px;
    max-width: 95%;
    max-height: 90vh;
  }
  
  .bio-modal-header {
    flex-direction: column;
    text-align: center;
  }
  
  .bio-modal-image {
    width: 100px;
    height: 100px;
  }
  
  .bio-modal-title h3 {
    font-size: 20px;
  }
  
  .bio-modal-title p {
    font-size: 14px;
  }
  
  .bio-modal-body {
    font-size: 14px;
  }
  
  .bio-modal-close {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* Small Mobile (300px - 440px) */
@media (min-width: 300px) and (max-width: 440px) {
  nav {
    padding: 1rem 2%;
  }
  .our-text {
    font-size: 1.3rem;
  }
  .state-1 h3 {
    font-size: 1.2rem;
  }
  .state-1 p {
    font-size: 0.7rem;
    text-align: left;
  }
  .profile-image p {
    text-align: center;
    font-size: 0.9rem;
  }
  .state-1 h3, .state-2 h3 {
    font-size: 1.2rem;
  }
  .head-text {
    font-size: 1.4rem;
  }
 
  .board-card h3 {
    font-size: 1rem;
  }
  .board-card .board-member-role {
    font-size: 0.9rem;
  }
  .board-card .board-member-bio {
    text-align: left;
    font-size: 0.7rem;
  }
  .first-3 {
  display: flex;
flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.last-3 {
  display: flex;
flex-direction: column;
  gap: 2rem;
}
  .team-card .team-member-name {
    font-size: 1rem;
  }
  .team-card .team-member-role {
    font-size: 0.7rem;
  }
  .team-card .team-member-bio {
    font-size: 0.6rem;
    text-align: left;
  }
  .brand-section .footer-logo {
    font-size: 1.5rem;
  }
  .contact-section .section-title {
    font-size: 1.2rem;
  }
  .copyright h6 {
    font-size: 0.6rem;
  }
  .tagline {
    font-size: 0.6rem;
  }
}

/* Tablet Responsive for Board Section (769px - 1024px) */
@media (min-width: 744px) and (max-width: 1024px) {
  
  /* Board Section Spacing */
  .values {
    padding: 5rem 3%;
  }
  
  .head-text {
    font-size: 2rem;
  }
  
  /* First Row - 3 cards */
  .first-3.board-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Second Row - 4 cards (2x2 grid) */
  .last-3.board-row-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  /* Board Cards */
  .board-card {
    padding: 2rem;
    width: 100% !important;
    margin: 0 !important;
  }
  
  /* Board Images */
  .board-image .image-placeholder,
  .board-image-small .image-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.2rem;
  }
  
  .board-image img,
  .board-image-small img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }
  
  /* Board Member Details */
  .board-member-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .board-member-role {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .board-member-bio {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Read More Button */
  .read-more-btn {
    padding: 8px 18px;
    font-size: 13px;
    margin-top: 12px;
  }
  
  /* Ensure all cards have equal height */
  .first-3.board-row .board-card,
  .last-3.board-row-secondary .board-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .board-member-bio {
    flex-grow: 1;
  }
}

/* Specific adjustments for iPad Pro and similar tablets */
@media (min-width: 1024px) and (max-width: 1377px) {
  
  /* First Row stays 3 columns */
  .first-3.board-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Second Row - Can fit 3 columns comfortably */
  .last-3.board-row-secondary {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Adjust the 4th card to span across if needed */
  .last-3.board-row-secondary .board-card:nth-child(4) {
    grid-column: span 1;
  }
  
  .board-card {
    padding: 2.2rem;
  }
  
  .board-member-name {
    font-size: 1.2rem;
  }
  
  .board-member-role {
    font-size: 0.9rem;
  }
  
  .board-member-bio {
    font-size: 0.9rem;
  }
}

/* Portrait Tablets (768px - 834px) */
@media (min-width: 740px) and (max-width: 800px) and (orientation: portrait) {
  
  /* Stack to 2 columns for better readability */
  .first-3.board-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .last-3.board-row-secondary {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .board-card {
    padding: 1.8rem;
  }
  
  .board-image .image-placeholder,
  .board-image-small .image-placeholder {
    width: 180px;
    height: 180px;
  }
  
  .board-image img,
  .board-image-small img {
    width: 180px;
    height: 180px;
  }
}
/* For screens around 853px */
@media (min-width: 801px) and (max-width: 900px) {
  .first-3.board-row,
  .last-3.board-row-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
  
  /* Make cards span full width on smaller screens if needed */
  .board-card {
    width: 100%;
  }
}
/* Landscape Tablets */
@media (min-width: 900px) and (max-width: 1024px) and (orientation: landscape) {
  
  /* First row: 3 cards */
  .first-3.board-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }
  
  /* Second row: 3 cards, 4th wraps to new row */
  .last-3.board-row-secondary {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }
  
  /* Center the last card if it's alone */
  .last-3.board-row-secondary .board-card:last-child:nth-child(4) {
    grid-column: 2 / 3;
  }
}
@media (width: 1032px){
    .first-3.board-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  /* Second row: 3 cards, 4th wraps to new row */
  .last-3.board-row-secondary {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
  
  /* Center the last card if it's alone */
  .last-3.board-row-secondary .board-card:last-child:nth-child(4) {
    grid-column: 2 / 3;
  }
   .board-card {
    width: 100%;
  }
    .board-card {
    padding: 1.8rem;
  }
}