/* ------------------------------------------------
   RESET + BASE
--------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Inter", sans-serif;
  background: #f6f9ff;
  color: #1a1a1a;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  padding-top: 140px;
}

/* ------------------------------------------------
   FUTURE PAGE LOADER
--------------------------------------------------*/
#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  animation: fadeOut 0.8s ease 2.3s forwards;
  flex-direction: column;
}

.loader-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid #0b3d91;
  border-top-color: transparent;
  animation: spin 1.2s linear infinite, pop 1.4s ease-in-out infinite;
}

.loader-text {
  margin-top: 20px;
  color: #0b3d91;
  font-weight: 500;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.13); }
  100% { transform: scale(1); }
}
@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}
@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===== MODERN FULL WIDTH HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 61, 145, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header.shrink {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.shrink .header-container {
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 28px;
  background: linear-gradient(135deg, #0b3d91, #1a4fb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #0a2a66;
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 10px;
  color: #666;
  font-weight: 500;
  position: absolute;
  bottom: -12px;
  left: 40px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 8px;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #0a2a66;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #0b3d91;
  background: rgba(11, 61, 145, 0.08);
}

.nav-link.cta-button {
  background: linear-gradient(135deg, #0b3d91, #1a4fb5);
  color: white;
  padding: 12px 24px;
  box-shadow: 0 4px 15px rgba(11, 61, 145, 0.3);
}

.nav-link.cta-button:hover {
  background: linear-gradient(135deg, #0a2a66, #0b3d91);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(135deg, #0b3d91, #1a4fb5);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== FIXED IMAGE VISIBILITY ===== */

/* Remove conflicting hero overlay */
.hero-overlay {
  display: none;
}

/* Fix slider image visibility */
.hero-slider {
  width: 100%;
  height: 88vh;
  position: relative;
}

.swiper-slide {
  position: relative;
  height: 88vh;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 1.2s ease;
  z-index: 0; /* image sits underneath the overlay */
}

.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,61,145,0.20) 0%, rgba(42,87,171,0.10) 100%);
  z-index: 1; /* overlay above image */
  pointer-events: none;
}

.swiper-slide-active .slide-bg {
  transform: scale(1.05);
}

/* Ensure slide text only shows for active slide to prevent overlap */
.swiper-slide .slide-text {
  position: absolute;
  bottom: 20%;
  left: 6%;
  z-index: 3;
  color: white;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms cubic-bezier(.2,.9,.3,1), transform 420ms cubic-bezier(.2,.9,.3,1);
  pointer-events: none;
}

.swiper-slide-active .slide-text {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Slight stagger for slide text elements inside active slide */
.swiper-slide-active .slide-text .slide-badge { transition-delay: 80ms; }
.swiper-slide-active .slide-text .hero-animate { transition-delay: 160ms; }
.swiper-slide-active .slide-text .hero-sub { transition-delay: 240ms; }

/* Ensure text is above image */
.slide-text {
  position: absolute;
  bottom: 20%;
  left: 6%;
  color: white;
  z-index: 3;
}

.hero-animate {
  font-size: 52px;
  font-weight: 800;
  opacity: 0;
  animation: slideUp 1s ease forwards 0.4s;
}

.hero-sub {
  font-size: 20px;
  opacity: 0;
  animation: slideUp 1s ease forwards 0.8s;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Enhanced Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: rgba(255,255,255,0.25);
}

.swiper-button-next:after, .swiper-button-prev:after {
  display: none;
}

/* Hero CTA */
.slide-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-cta {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.5);
  margin: 0 auto 10px;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ------------------------------------------------
   SECTIONS
--------------------------------------------------*/
.landing-section {
  padding: 120px 7%;
}

.landing-section h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #0a2a66;
  font-weight: 800;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #0b3d91 0%, #1a4fb5 100%);
  color: white;
  padding: 80px 7%;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 0%, #e6f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 500;
}

/* Enhanced Sections */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #0a2a66 0%, #0b3d91 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Enhanced About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-intro {
  font-size: 20px;
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.highlight {
  background: linear-gradient(135deg, #0b3d91 0%, #1a4fb5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.about-features {
  margin-top: 40px;
}

.feature {
  display: flex;
  align-items: start;
  margin-bottom: 30px;
}

.feature-icon {
  font-size: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-content h4 {
  margin-bottom: 8px;
  color: #0a2a66;
}

.about-visual {
  display: grid;
  gap: 30px;
}

.visual-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(11,61,145,0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,61,145,0.1);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #0b3d91 0%, #1a4fb5 100%);
}

/* Enhanced Services - improved layout and readability */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.service-card {
  background: white;
  padding: 28px 22px;
  border-radius: 16px;
  text-align: left; /* Left align for better readability */
  box-shadow: 0 8px 30px rgba(11,61,145,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: 1px solid rgba(11,61,145,0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px; /* keep consistent card height */
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(11,61,145,0.12);
}

.service-icon {
  font-size: 40px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11,61,145,0.06), rgba(26,79,181,0.04));
  color: #0b3d91;
  margin-bottom: 6px;
}

.service-card h3 {
  margin: 0;
  color: #0a2a66;
  font-size: 20px;
}

.service-card p {
  margin: 0;
  color: #545a66;
  line-height: 1.55;
  flex: 1 1 auto; /* allow description to take remaining space */
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}

.service-features span {
  background: rgba(11,61,145,0.06);
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #0b3d91;
}

/* Booth-specific tweaks (ensure booth card content doesn't overlap) */
.service-card.booth {
  min-height: 240px;
}

/* Team tweaks: tighten avatar and spacing */
.team-card {
  padding: 30px 22px;
}

.team-avatar {
  width: 72px;
  height: 72px;
  font-size: 22px;
}

.team-role {
  margin-top: 12px;
}

/* Enhanced Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  position: relative;
}

.portfolio-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,61,145,0.1) 0%, rgba(42,87,171,0.05) 100%);
  z-index: 1;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.7) 100%);
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
}

.portfolio-card:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

.portfolio-overlay h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.portfolio-stats {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.portfolio-stats span {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0a2a66 0%, #0b3d91 100%);
  color: white;
  padding: 100px 7%;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.cta-primary, .cta-secondary {
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-primary {
  background: white;
  color: #0b3d91;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.cta-secondary {
  border: 2px solid white;
  color: white;
}

.cta-secondary:hover {
  background: white;
  color: #0b3d91;
}

/* Enhanced Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 20px;
}

.contact-icon {
  font-size: 24px;
  background: rgba(11,61,145,0.1);
  padding: 15px;
  border-radius: 15px;
}

.contact-details h4 {
  margin-bottom: 5px;
  color: #0a2a66;
}

.enquiry-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(11,61,145,0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #0b3d91;
  box-shadow: 0 0 0 3px rgba(11,61,145,0.1);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #0b3d91 0%, #1a4fb5 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(11,61,145,0.3);
}

/* Enhanced Footer */
.footer {
  background: #0a1f4d;
  color: white;
  padding: 60px 7% 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  margin-bottom: 20px;
  color: #e6f0ff;
}

.footer-column a {
  display: block;
  color: #b3c9ff;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #b3c9ff;
}

/* === Phase1: Smooth Reveal + Scroll Parallax === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: transform 700ms cubic-bezier(.2,.9,.3,1), opacity 700ms ease;
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger effect */
.card, .portfolio-card, .slide-text { transition-delay: 0s; }
.card.visible { transition-delay: 120ms; }
.portfolio-card.visible { transition-delay: 160ms; }
.slide-text.visible { transition-delay: 120ms; }

/* Parallax */
.parallax { will-change: transform; transition: transform 220ms linear; }

.hero-slider .swiper-slide img {
  transition: transform 800ms ease-out;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .parallax,
  .hero-slider .swiper-slide img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 30px;
  }
  
  .nav-link {
    padding: 10px 16px;
    font-size: 15px;
  }
  
  .hero-animate {
    font-size: 42px;
  }
  
  .landing-section {
    padding: 100px 5%;
  }
  
  .about-content,
  .contact-container,
  .cta-container,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Keep header fixed/sticky on mobile */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 70px !important;
    width: 100% !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
    background: rgba(255,255,255,0.98) !important;
    z-index: 100000 !important;
    transition: all 0.25s ease !important;
  }

  /* Reserve space for fixed header so content isn't hidden */
  body {
    padding-top: 70px !important;
  }

  .header-container {
    height: 70px !important;
    padding: 0 16px !important;
    align-items: center !important;
  }

  /* Compact mobile nav that drops down below the header and is scrollable */
  .header-nav {
    display: none !important;
    position: fixed !important;
    top: 70px !important; /* directly under header */
    left: 0 !important;
    right: 0 !important;
    background: rgba(255,255,255,0.98) !important;
    padding: 8px 12px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06) !important;
    flex-direction: column !important;
    gap: 6px !important;
    z-index: 99999 !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
  }

  .header-nav.active {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    z-index: 100001 !important;
    position: relative !important;
  }

  .header-nav .nav-link {
    padding: 12px 14px !important;
    text-align: left !important;
    border-radius: 8px !important;
  }

  /* Hide large decorative accent to avoid overlap */
  .header-accent { display: none !important; }
}

/* Campaign slide rotation styles - show one campaign at a time but keep others visible and dimmed */
.campaign-slide {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.4s ease;
  opacity: 0.9;
  transform: scale(0.98);
  pointer-events: auto;
  filter: grayscale(20%) brightness(0.85) contrast(0.95);
}

.campaign-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  filter: none;
  box-shadow: 0 20px 50px rgba(10,40,90,0.12);
}

.campaign-slide.dimmed {
  opacity: 0.6;
  transform: scale(0.98);
  filter: grayscale(40%) brightness(0.7) contrast(0.9);
}

.campaign-slide .portfolio-image {
  transition: transform 0.7s ease, filter 0.4s ease;
}
.campaign-slide.active .portfolio-image {
  transform: scale(1.06);
  filter: none;
}

.campaign-slide .portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.75) 100%);
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(.2,.9,.3,1);
  z-index: 3;
}

.campaign-slide.active .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.campaign-slide .timeline-year {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
  opacity: 0.95;
}

.campaign-slide h3 {
  margin: 6px 0 10px;
  font-size: 24px;
}

.campaign-slide .campaign-scope {
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 12px;
}

.campaign-slide .portfolio-stats {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.campaign-slide .portfolio-stats span {
  background: rgba(255,255,255,0.12);
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 13px;
}

/* ensure multiple cards show in a row but adapt responsively */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Team grid + card improvements for Leadership section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px;
  border-radius: 14px;
  background: white;
  border: 1px solid rgba(11,61,145,0.06);
  box-shadow: 0 10px 30px rgba(11,61,145,0.04);
  min-height: 260px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(11,61,145,0.08);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e6f0ff, #ffffff);
  color: #0b3d91;
  font-weight: 700;
  font-size: 32px;
  flex-shrink: 0;
}

.team-name {
  margin-top: 12px;
  font-weight: 700;
  color: #0a2a66;
  font-size: 18px;
}

.team-role {
  margin-top: 6px;
  color: #545a66;
  font-size: 14px;
}

.team-bio {
  margin-top: 12px;
  color: #545a66;
  line-height: 1.5;
  font-size: 14px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
  .team-card {
    min-height: 220px;
    padding: 20px;
  }
  .team-avatar {
    width: 80px;
    height: 80px;
    font-size: 26px;
  }
}