/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #fff;
  overflow-x: hidden;
}

/* Header */
:root {
  --font-sans: "Poppins", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.12);
  
  /* NEW REQUIRED COLORS */
  --blue: #2467C3;
  --blue-900: #1a4f91;
  --blue-700: #3c82de;
  --green: #72B87D;
  --green-900: #55915d;
  --green-700: #88c892;
  --orange: #E67B54;
  --orange-900: #b86243;
  --orange-700: #ed8c6c;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-600: #475569;
  --neutral-800: #1f2937;
  --white: #ffffff;
  --black: #0b0f17;
}

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--neutral-800);
  background: var(--neutral-50);
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  position: relative;
  padding: 96px 0;
}
.section .section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section h2 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.section p {
  margin: 0;
  color: var(--neutral-600);
}

/* --- HEADER / NAVBAR OVERHAUL (Floating Glass Header) --- */
.site-header {
  position: fixed; 
  width: 100%;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  animation: headerSlideDown 0.6s ease-out;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 1. Unscrolled Header Colors (Text and Toggle Bars are WHITE) */
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-links a {
    color: var(--white);
}
.site-header:not(.scrolled) .nav-links a:hover,
.site-header:not(.scrolled) .nav-links a:focus {
    background: rgba(255, 255, 255, 0.15);
}
.site-header:not(.scrolled) .nav-toggle .bar {
    background: #000;
}

.site-header.scrolled .nav-toggle .bar {
    background: #000;
}


/* 2. Scrolled Header Styles (Glassmorphism & Dark Text) */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px); 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
  border-bottom: 1px solid var(--neutral-200);
  animation: headerSlideIn 0.4s ease-out;
}

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

.site-header.scrolled .brand,
.site-header.scrolled .nav-links a {
  color: var(--neutral-800);
}
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a:focus {
  background: var(--neutral-100);
  color: var(--blue);
  transform: translateY(-1px);
}


.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-text {
  font-weight: 700;
  font-size: 16px;
}

@media (max-width: 768px) {
  .brand-text {
    display: none;
  }
  
  .brand {
    gap: 8px;
  }
  
  .brand-logo {
    width: 45px;
    height: 45px;
  }
}
.nav {
  position: relative;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 40px;
  height: 40px;
  z-index: 1000;
  position: relative;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 3px;
  margin: 3px 0;
  background: #000;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: #000;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
  background: #000;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: #000;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  /* Ensure nav-toggle is visible and black */
  .nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .nav-toggle .bar {
    background: #000 !important;
  }
  
  .site-header:not(.scrolled) .nav-toggle .bar {
    background: #000 !important;
  }
  
  .site-header.scrolled .nav-toggle .bar {
    background: #000 !important;
  }
  
  .nav-toggle[aria-expanded="true"] .bar {
    background: #000 !important;
  }
  
  /* Mobile nav-links styling */
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 0 30px;
    gap: 0;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
    display: none;
  }
  
  .nav-links.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    animation: slideInFromLeft 0.4s ease-out backwards;
  }
  
  .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { animation-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { animation-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { animation-delay: 0.25s; }
  .nav-links.active li:nth-child(5) { animation-delay: 0.3s; }
  .nav-links.active li:nth-child(6) { animation-delay: 0.35s; }
  .nav-links.active li:nth-child(7) { animation-delay: 0.4s; }
  
  @keyframes slideInFromLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .nav-links a {
    display: block;
    padding: 20px 25px;
    width: 100%;
    color: var(--neutral-800);
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #287DB3, #6AAD75);
    border-radius: 0 4px 4px 0;
    transition: height 0.3s ease;
  }
  
  .nav-links a:hover,
  .nav-links a:active {
    background: linear-gradient(90deg, rgba(40, 125, 179, 0.08), transparent);
    color: var(--blue);
    padding-left: 30px;
  }
  
  .nav-links a:hover::before,
  .nav-links a:active::before {
    height: 60%;
  }
  
  .site-header.scrolled .nav-links {
    background: rgba(255, 255, 255, 0.98);
  }
  
  .site-header:not(.scrolled) .nav-links {
    background: rgba(255, 255, 255, 0.98);
  }
  
  /* Overlay when menu is open */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
.nav-links a {
  font-weight: 600;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 200ms ease, transform 200ms ease;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover::before {
  width: 80%;
}

.site-header.scrolled .nav-links a::before {
  background: var(--blue);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: all 250ms ease;
  box-shadow: var(--shadow-sm);
}

.btn-light {
  background-color: var(--white);
  color: var(--blue-900);
  border-color: var(--white);
}
.btn-light:hover {
  background-color: var(--neutral-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  box-shadow: none;
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}
.btn-outline:focus {
  outline: 2px solid var(--orange);
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}


/* Hero (Blue) - TRICOLOR FUSION */
.theme-blue {
  background-color: var(--blue);
  background-image: 
    radial-gradient(circle at 15% 85%, var(--orange-700) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, var(--green-700) 0%, transparent 35%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%);
  
  color: var(--white);
  background-size: cover;
  animation: color-shift 40s linear infinite alternate;
}

@keyframes color-shift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 108px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Hero Slideshow Styles */
.hero-slideshow {
  background: none !important;
}

.hero-slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(40, 125, 179, 0.7) 0%, rgba(106, 173, 117, 0.6) 50%, rgba(225, 113, 73, 0.507) 100%);
  z-index: 1;
}

.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Ensure header and mobile nav are above hero slideshow */
.site-header {
  z-index: 1000 !important;
}

.nav-toggle {
  z-index: 1001 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.nav-links {
  z-index: 1002 !important;
}

/* Mobile navigation fixes */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent;
  }
  
  .nav-toggle .bar {
    pointer-events: none;
  }
  
  .nav-links {
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
  
  .nav-links.active {
    pointer-events: auto !important;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
              radial-gradient(65% 70% at 10% 90%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Floating particles animation */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 60px 70px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  opacity: 0.4;
  animation: floatParticles 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatParticles {
  0% {
    transform: translateY(0) translateX(0);
  }
  100% {
    transform: translateY(-100px) translateX(50px);
  }
}

.hero-wrapper {
  /* MODIFIED: Ensure content is centered when no side media exists */
  display: grid;
  grid-template-columns: 1fr; /* Single column */
  gap: 48px;
  align-items: center;
  justify-items: center; /* Center content horizontally */
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px; /* Increased max-width for centered content */
  text-align: center; /* Center all text elements */
  animation: heroFadeIn 1s ease-out;
}

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

.hero-eyebrow {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .subtitle {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-actions {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-video-container {
  animation: fadeInUp 0.8s ease-out 1s both;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-highlight {
  color: #000; /* Adjusted to green-700 for better contrast */
}

.hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.15;
  font-weight: 800;
  margin: 18px 0 18px;
  letter-spacing: -0.02em;
  color: #000;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  margin: 0 auto 36px; /* Center subtitle */
  font-weight: 500;
  max-width: 640px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  justify-content: center; /* Center buttons */
}

/* Hero Video Play Button */
.hero-video-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.495);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 50px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.play-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.play-btn:hover::before {
  width: 300px;
  height: 300px;
}

.play-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 18px;
  padding-left: 4px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-btn:hover i {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.play-btn-text {
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.play-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  justify-content: center; /* Center metrics */
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 150px; /* Reduced minimum width slightly */
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.metric-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

/* All hero-media related styles (image, meta, card) are removed for simplicity */

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}

.scroll-indicator .mouse {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scroll-anim 1.8s infinite;
}

@keyframes scroll-anim {
  0% { opacity: 0; transform: translateY(-4px); }
  30% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}


@media (min-width: 900px) {
  /* Since the media section is removed, the hero wrapper is always 1 column */
  .hero-wrapper {
    grid-template-columns: 1fr;
  }

  .hero .subtitle {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 136px 0 96px;
    min-height: 80vh;
  }

  /* Ensure all content centering is maintained on mobile */
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-metrics {
    justify-content: center;
    text-align: center;
    gap: 16px;
  }
  
  .play-btn {
    padding: 14px 28px;
    font-size: 14px;
  }
  
  .play-btn i {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .play-btn-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 80px;
    min-height: 75vh;
  }
  
  .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
  }
  
  .hero .subtitle {
    font-size: 16px;
  }
  
  .play-btn {
    padding: 12px 24px;
    flex-direction: column;
    gap: 8px;
  }
  
  .play-btn-text {
    font-size: 12px;
  }
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.video-content {
  position: relative;
  width: 80%;
  max-width: 900px;
}

.video-content iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  animation: modalFadeIn 0.4s ease-out;
}

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

.video-modal {
  animation: backdropFadeIn 0.3s ease-out;
}

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

.close-btn {
  position: absolute;
  top: -35px;
  right: 0;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #E17149;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 18px 40px;
  }

  .navbar.scrolled {
    padding: 15px 40px;
  }

  .nav-links {
    gap: 24px;
  }

  .hero {
    padding: 100px 6% 60px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

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

  .hero-stats {
    gap: 40px;
  }

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

  .play-btn-container {
    right: 5%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
  }

  .navbar.scrolled {
    justify-content: space-between;
    padding: 14px 20px;
  }

  .logo h2 {
    display: none;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(320px, 75%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(200deg, rgba(12, 38, 64, 0.98), rgba(40, 125, 179, 0.92));
    box-shadow: -12px 0 35px rgba(8, 21, 40, 0.4);
    padding: 110px 32px 48px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 950;
  }

  .nav-links {
    flex-direction: column;
    gap: 22px;
  }

  .nav-links li a {
    font-size: 1.05rem;
    font-weight: 500;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 7% 60px;
    min-height: auto;
  }

  .hero-content {
    margin-bottom: 40px;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 8px 20px;
  }

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

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

  .hero-buttons {
    margin-bottom: 50px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 30px;
    padding-top: 30px;
  }

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

  .stat-label {
    font-size: 0.7rem;
  }

  .play-btn-container {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 30px;
    transform: none;
  }

  .play-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .video-content iframe {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .video-content {
    width: 90%;
    max-width: 100%;
  }
  
  .video-content iframe {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .video-content {
    width: 95%;
  }
  
  .video-content iframe {
    height: 300px;
  }
  
  .close-btn {
    top: -30px;
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 15px 20px;
  }

  .logo h2 {
    font-size: 16px;
  }

  .hero {
    padding: 90px 5% 50px;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 6px 16px;
    margin-bottom: 20px;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 25px;
    padding-top: 25px;
  }

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

  .stat-label {
    font-size: 0.65rem;
  }

  .play-btn-container {
    margin-top: 30px;
  }

  .play-btn {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Events Scrolling Section */
.events-section {
  position: relative;
  margin-top: -80px;
  padding: 0 0 50px;
  z-index: 4;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(40, 126, 179, 0.12);
  color: #287DB3;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.events-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 0 8%;
}

.events-track {
  display: flex;
  gap: 28px;
  min-width: 100%;
  width: max-content;
}

.events-track:nth-child(2) {
  margin-left: 28px;
  animation-delay: -16s;
}

.event-box {
  position: relative;
  flex: 0 0 420px;
  height: 200px;
  background: linear-gradient(160deg, #000, rgba(9, 16, 30, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 5px;
  padding: 32px;
  box-shadow: 0 2px 15px rgba(7, 14, 28, 0.55);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.event-box .glow {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.event-box i,
.event-box h3,
.event-box p,
.event-box .tag {
  position: relative;
  z-index: 1;
}

.event-box i {
  font-size: 42px;
  color: #ff8c5a;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 140, 90, 0.12);
  border: 1px solid rgba(255, 140, 90, 0.25);
}

.event-box h3 {
  font-size: 1.3rem;
  color: #64d7a5;
  margin-bottom: 12px;
}

.event-box p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(221, 226, 237, 0.92);
  margin-bottom: 18px;
}

.event-box .tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(100, 215, 165, 0.16);
  color: #89f1c7;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.event-box:hover {
  transform: translateY(-14px) scale(1.01);
  box-shadow: 0 32px 55px rgba(9, 18, 36, 0.6);
}

.event-box:hover .glow {
  opacity: 1;
}

/* Auto-scroll animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .events-section {
    margin-top: 60px;
    padding-bottom: 80px;
  }

  .events-section::before {
    inset: -30px 24px auto;
    height: 100%;
  }

  .events-section__headline h2 {
    font-size: 1.8rem;
  }

  .events-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    padding: 0 24px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .events-track,
  .events-track:nth-child(2) {
    animation: none;
    gap: 20px;
  }

  .events-track:nth-child(2) {
    display: none;
  }

  .event-box {
    flex: 0 0 260px;
    scroll-snap-align: center;
  }
}
/* Leaders Section */
.leaders-section {
  background-color: #f9f9f9;
  padding: 50px 0;
  text-align: center;
  position: relative;
  
}

.leaders-title {
  font-size: 4rem;
  color: #287DB3;
  font-weight: 800;
  margin-bottom: 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.leaders-carousel-container {
  position: relative;
  width: 98%;
  margin: 0 auto;
  overflow: hidden;
}

.leaders-carousel {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
}

.leaders-carousel::-webkit-scrollbar {
  display: none;
}

.leaders-carousel img {
  width: 530px;
  height: 530px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.leaders-carousel img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(40, 125, 179, 0.4);
}

/* Scroll Buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(40, 125, 179, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.scroll-btn:hover {
  background-color: #E17149;
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .leaders-carousel img {
    width: 250px;
    height: 250px;
  }

  .leaders-title {
    font-size: 2.5rem;
  }
}
/* About JIC Section */
.about-jic {
  background-color: #f9f9f9;
  padding: 80px 8% 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 500px;
  color: #000;
}

.about-text h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #287DB3;
  margin-bottom: 25px;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 4px;
  background-color: #E17149;
  border-radius: 5px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 28px;
  text-align: justify;
}

.about-btn {
  display: inline-block;
  background-color: #6AAD75;
  color: white;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.about-btn:hover {
  background-color: #E17149;
  transform: translateY(-3px);
}

.about-image {
  flex: 1 1 450px;
  position: relative;
}

.about-image img {
  display: block;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(40, 125, 179, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-jic {
    padding: 70px 7% 60px;
  }

  .about-text {
    flex: 1 1 420px;
  }
}

@media (max-width: 900px) {
  .about-jic {
    padding: 60px 6%;
  }

  .about-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 32px;
  }

  .about-text {
    flex: 1 1 100%;
  }

  .about-text h2 {
    font-size: 2.1rem;
  }

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

  .about-text p {
    margin-bottom: 24px;
  }

  .about-btn {
    margin-top: 8px;
  }

  .about-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .about-image img {
    width: clamp(260px, 90%, 420px);
    max-width: none;
  }
}

@media (max-width: 600px) {
  .about-jic {
    padding: 50px 6% 45px;
  }

  .about-content {
    gap: 26px;
  }

  .about-text h2 {
    font-size: 1.85rem;
  }

  .about-text p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .about-btn {
    width: 100%;
    text-align: center;
  }

  .about-image img {
    width: clamp(220px, 80%, 360px);
    aspect-ratio: 3 / 2;
  }
}
/* JIC in Numbers Section */
.jic-numbers {
  position: relative;
  padding: 50px 8%;
  background: #f6f9ff;
  color: #0f2d4a;
  text-align: center;
  overflow: hidden;
  height: 300px;
}

.jic-numbers::before,
.jic-numbers::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 125, 179, 0.18) 0%, transparent 70%);
  z-index: 0;
  filter: blur(2px);
}

.jic-numbers::before {
  top: -220px;
  left: -160px;
}

.jic-numbers::after {
  bottom: -260px;
  right: -140px;
  background: radial-gradient(circle, rgba(234, 121, 76, 0.18) 0%, transparent 70%);
}

.numbers-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #102b46;
  z-index: 1;
}

.numbers-title::after {
  content: "";
  width: 70px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #287DB3, #6AAD75);
}

.numbers-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
  z-index: 1;
}

.number-box {
  position: relative;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 40, 70, 0.12);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.number-box::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 1px dashed rgba(40, 125, 179, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.number-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(13, 36, 60, 0.16);
}

.number-box:hover::after {
  opacity: 1;
}

.number-box h3 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #287DB3;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.number-box h3 span {
  color: #E17149;
}

.number-box p {
  font-size: 1rem;
  font-weight: 500;
  color: #50607a;
  letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 900px) {
  .jic-numbers {
    padding: 60px 7%;
  }

  .numbers-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 600px) {
  .jic-numbers {
    padding: 50px 6%;
  }

  .numbers-title {
    font-size: 1.9rem;
    margin-bottom: 32px;
  }

  .numbers-container {
    gap: 24px;
  }

  .number-box {
    padding: 22px 18px;
  }

  .number-box h3 {
    font-size: 2.6rem;
  }
}
/* Our Programs Section */
.programs-section {
  position: relative;
  padding: 40px 8% 120px;
  background: linear-gradient(180deg, rgba(40, 125, 179, 0.12) 0%, #0076b52d 65%, #0076b506 100%);
  text-align: center;
  overflow: hidden;
}

.programs-section::before,
.programs-section::after {
  content: "";
  position: absolute;
  width: clamp(240px, 26vw, 360px);
  height: clamp(240px, 26vw, 360px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 125, 179, 0.16) 0%, transparent 70%);
  z-index: 0;
}

.programs-section::before {
  top: -120px;
  left: -80px;
}

.programs-section::after {
  bottom: -140px;
  right: -90px;
  background: radial-gradient(circle, rgba(74, 170, 196, 0.12) 0%, transparent 70%);
}

.programs-title {
  position: relative;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  color: #287DB3;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  z-index: 1;
}

.programs-title::after {
  content: "";
  display: block;
  margin: 16px auto 0;
  width: 70px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7de9c5, #e89473);
}

.programs-subtext {
  position: relative;
  font-size: 1.05rem;
  color: #3a4e67;
  max-width: 820px;
  margin: 0 auto 70px;
  line-height: 1.85;
  z-index: 1;
}

.programs-header {
  position: relative;
  z-index: 1;
}

.programs-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(138, 223, 255, 0.12);
  color: #022e3e;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 26px;
}

.programs-badge i {
  font-size: 0.8rem;
}

.programs-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  z-index: 1;
}

@media (max-width: 1100px) {
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

.program-card {
  position: relative;
  padding: 48px 34px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(40, 125, 179, 0.16);
  box-shadow: 0 16px 35px rgba(30, 78, 110, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

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

.program-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(40, 125, 179, 0.4);
  box-shadow: 0 28px 60px #0076b550;
}

.program-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-size: 34px;
  color: #ffffff;
  padding: 15px;
  background: linear-gradient(135deg, #287DB3 0%, #3a9dd4 100%);
  box-shadow: 0 8px 24px rgba(40, 125, 179, 0.3);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, background 0.4s ease;
  flex-shrink: 0;
}

.program-card:hover .program-icon {
  transform: translateY(-4px) rotate(5deg) scale(1.1);
  box-shadow: 0 12px 32px rgba(40, 125, 179, 0.4);
  background: linear-gradient(135deg, #E17149 0%, #ff8c5a 100%);
}

.program-card h3 {
  position: relative;
  font-size: 1.25rem;
  color: #205379;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
}

.program-card p {
  position: relative;
  color: #4a607a;
  font-size: 0.98rem;
  line-height: 1.75;
  text-align: justify;
  margin: 0;
  flex: 1;
}

.apply-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #287DB3;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.88rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.apply-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #287DB3, rgba(40, 125, 179, 0.1));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.apply-btn:hover {
  color: #1b537d;
  transform: translateX(4px);
}

.apply-btn:hover::after {
  transform: scaleX(1);
}

.apply-btn::before {
  content: "→";
  font-size: 1rem;
  color: currentColor;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.apply-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
  .programs-section {
    padding: 90px 7%;
  }

  .programs-badge {
    margin-bottom: 20px;
  }

  .programs-subtext {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .programs-section {
    padding: 80px 7% 90px;
  }

  .programs-subtext {
    font-size: 0.98rem;
    margin-bottom: 48px;
  }

  .program-card {
    padding: 36px 28px;
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .programs-section {
    padding: 70px 6% 80px;
  }

  .programs-grid {
    gap: 26px;
  }

  .program-card {
    padding: 32px 24px;
    gap: 16px;
  }

  .program-card h3 {
    font-size: 1.2rem;
  }

  .program-card p {
    font-size: 0.94rem;
  }
}

/* The Magnate Section */
.magnate-section {
  position: relative;
  padding: 40px 8% 60px;
  background: 
    radial-gradient(circle at 20% 80%, rgba(40, 125, 179, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(106, 173, 117, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(234, 121, 76, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, 
      rgba(15, 23, 42, 0.05) 0%, 
      rgba(30, 41, 59, 0.08) 25%,
      rgba(51, 65, 85, 0.06) 50%,
      rgba(30, 41, 59, 0.08) 75%,
      rgba(15, 23, 42, 0.05) 100%),
    linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
  overflow: hidden;
  isolation: isolate;
  margin-top: 20px;
  animation: magnateSectionFadeIn 1s ease-out;
}

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

.magnate-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.magnate-bg-shapes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(40, 125, 179, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(106, 173, 117, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(234, 121, 76, 0.3), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(40, 125, 179, 0.3), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(106, 173, 117, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  opacity: 0.4;
  animation: sparkleMove 25s linear infinite;
}

.bg-shape {
  position: absolute;
  filter: blur(80px);
  opacity: 0.3;
  animation: floatShape 25s ease-in-out infinite;
}

.shape-1 {
  width: 500px;
  height: 300px;
  background: conic-gradient(from 0deg, #287DB3, #6AAD75, #E17149, #287DB3);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  top: -150px;
  left: -200px;
  animation-delay: 0s;
  transform-origin: center;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, #6AAD75, #287DB3, #E17149);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: -150px;
  right: -150px;
  animation-delay: 8s;
}

.shape-3 {
  width: 350px;
  height: 200px;
  background: radial-gradient(ellipse, #E17149, #6AAD75, transparent);
  border-radius: 50% 20% 80% 40% / 10% 40% 60% 90%;
  top: 30%;
  right: -100px;
  animation-delay: 16s;
  transform: rotate(45deg);
}

.shape-4 {
  width: 300px;
  height: 450px;
  background: linear-gradient(135deg, #287DB3, transparent, #6AAD75);
  border-radius: 80% 20% 40% 60% / 20% 80% 20% 80%;
  bottom: 10%;
  left: -100px;
  animation-delay: 4s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(40px, -30px) scale(1.1) rotate(90deg);
  }
  50% {
    transform: translate(20px, 40px) scale(0.9) rotate(180deg);
  }
  75% {
    transform: translate(-30px, 10px) scale(1.05) rotate(270deg);
  }
}

@keyframes sparkleMove {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-200px) translateY(-100px);
  }
}

.magnate-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.magnate-header {
  text-align: center;
  margin-bottom: 80px;
  animation: magnateHeaderSlide 1s ease-out;
}

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

.magnate-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.title-word {
  display: inline-block;
  background: linear-gradient(135deg, #287DB3 0%, #6AAD75 50%, #E17149 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleGlow 3s ease-in-out infinite;
}

.title-1 {
  animation-delay: 0s;
}

.title-2 {
  animation-delay: 0.5s;
  font-size: 1.2em;
}

@keyframes titleGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(40, 125, 179, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(234, 121, 76, 0.5));
  }
}

.magnate-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #3a556f;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  animation: subtitleFadeIn 1s ease-out 0.3s both;
}

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

.magnate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  justify-content: center;

}

.magnate-grid .magnate-card:nth-child(4),
.magnate-grid .magnate-card:nth-child(5) {
  grid-column: span 1;
}

.magnate-grid .magnate-card:nth-child(4) {
  grid-row: 2;
  grid-column: 1 /2;  /* spans between col 1 & 2 */
  justify-self: center;
  width: 350px;
}

/* Card 5 — center below cards 2 & 3 */
.magnate-grid .magnate-card:nth-child(5) {
  grid-row: 2;
  grid-column: 2 / 3;  /* spans between col 2 & 3 */
  justify-self: center;
  width: 350px;

}


.magnate-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(15, 40, 70, 0.18);
  transform: translateY(50px) rotate(-2deg);
  opacity: 0;
  animation: cardEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.5s ease,
              z-index 0.3s ease,
              border 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.magnate-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(135deg, #287DB3, #6AAD75, #E17149, #287DB3);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.magnate-card:hover::after {
  opacity: 1;
}

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

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px) rotate(-2deg) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

.magnate-card:hover {
  transform: translateY(-25px) rotate(2deg) scale(1.08);
  z-index: 10;
  box-shadow: 0 40px 90px rgba(15, 40, 70, 0.25);
}

.magnate-card[data-edition="1"]:hover {
  box-shadow: 0 35px 80px rgba(40, 125, 179, 0.35);
}

.magnate-card[data-edition="2"]:hover {
  box-shadow: 0 35px 80px rgba(106, 173, 117, 0.35);
}

.magnate-card[data-edition="3"]:hover {
  box-shadow: 0 35px 80px rgba(234, 121, 76, 0.35);
}

.magnate-card[data-edition="4"]:hover {
  box-shadow: 0 35px 80px rgba(40, 125, 179, 0.35);
  
}

  .magnate-card[data-edition="5"]:hover {
    box-shadow: 0 35px 80px rgba(106, 173, 117, 0.35);
  }

  .magnate-card[data-edition="6"]:hover {
    box-shadow: 0 35px 80px rgba(106, 173, 117, 0.35);
  }

.card-glow {
  position: absolute;
  inset: -4px;
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  filter: blur(20px);
}

.magnate-card[data-edition="1"] .card-glow {
  background: linear-gradient(135deg, #287DB3, #3a9dd4);
}

.magnate-card[data-edition="2"] .card-glow {
  background: linear-gradient(135deg, #6AAD75, #7dc88f);
}

.magnate-card[data-edition="3"] .card-glow {
  background: linear-gradient(135deg, #E17149, #ff8c5a);
}

.magnate-card[data-edition="4"] .card-glow {
  background: linear-gradient(135deg, #287DB3, #3a9dd4);
}

.magnate-card[data-edition="5"] .card-glow {
  background: linear-gradient(135deg, #6AAD75, #7dc88f);
}

.magnate-card[data-edition="6"] .card-glow {
  background: linear-gradient(135deg, #6AAD75, #7dc88f);
}

.magnate-card:hover .card-glow {
  opacity: 0.6;
}

.card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 12px;
  z-index: 2;
  transition: transform 0.3s ease, background 0.3s ease;
}

.magnate-card:hover .card-number {
  transform: scale(1.1) rotate(5deg);
  background: rgba(0, 0, 0, 0.5);
}

.card-image {
  position: relative;
  width: 100%;
  height: 380px;
  margin-top: -15px;
  overflow: hidden;
  background: linear-gradient(135deg, #287DB3, #6AAD75);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnate-card:hover .card-image {
  transform: scale(1.05);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnate-card:hover .card-image img {
  transform: scale(1.15) rotate(2deg);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.magnate-card:hover .card-overlay {
  opacity: 1;
}

.card-content {
  padding: 32px 28px;
  background: #ffffff;
  position: relative;
  transition: transform 0.5s ease;
}

.magnate-card:hover .card-content {
  transform: translateY(-5px);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a3d5a;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.magnate-card[data-edition="1"]:hover .card-title {
  color: #287DB3;
}

.magnate-card[data-edition="2"]:hover .card-title {
  color: #6AAD75;
}

.magnate-card[data-edition="3"]:hover .card-title {
  color: #E17149;
}

.magnate-card[data-edition="4"]:hover .card-title {
  color: #287DB3;
}

.magnate-card[data-edition="5"]:hover .card-title {
  color: #6AAD75;
}

.magnate-card[data-edition="6"]:hover .card-title {
  color: #E17149;
}

.card-tagline {
  font-size: 0.95rem;
  color: #5a6f87;
  line-height: 1.6;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.magnate-card:hover .card-tagline {
  color: #3a556f;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.magnate-card[data-edition="1"] .card-btn {
  background: linear-gradient(135deg, #287DB3, #3a9dd4);
  color: #ffffff;
}

.magnate-card[data-edition="2"] .card-btn {
  background: linear-gradient(135deg, #6AAD75, #7dc88f);
  color: #ffffff;
}

.magnate-card[data-edition="3"] .card-btn {
  background: linear-gradient(135deg, #E17149, #ff8c5a);
  color: #ffffff;
}

.magnate-card[data-edition="4"] .card-btn {
  background: linear-gradient(135deg, #287DB3, #3a9dd4);
  color: #ffffff;
}

.magnate-card[data-edition="5"] .card-btn {
  background: linear-gradient(135deg, #6AAD75, #7dc88f);
  color: #ffffff;
}

.magnate-card[data-edition="6"] .card-btn {
  background: linear-gradient(135deg, #E17149, #ff8c5a);
  color: #ffffff;
}

.card-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.card-btn:hover::before {
  transform: translateX(0);
}

.card-btn:hover {
  transform: translateX(6px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card-btn::after {
  content: "→";
  transition: transform 0.3s ease;
}

.card-btn:hover::after {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .magnate-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
  }
  
  .magnate-grid .magnate-card:nth-child(4) {
    margin-left: auto;
    margin-right: 16px;
  }

  .magnate-grid .magnate-card:nth-child(5) {
    margin-left: 16px;
    margin-right: auto;
  }
}

@media (max-width: 900px) {
  .magnate-section {
    padding: 100px 6% 120px;
  }

  .magnate-header {
    margin-bottom: 60px;
  }

  .magnate-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 800px;
  }

  .magnate-grid .magnate-card:nth-child(4) {
    margin-left: auto;
    margin-right: 14px;
  }

  .magnate-grid .magnate-card:nth-child(5) {
    margin-left: 14px;
    margin-right: auto;
  }

  .card-image {
    height: 320px;
  }
}

@media (max-width: 680px) {
  .magnate-section {
    padding: 80px 5% 100px;
  }

  .magnate-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .magnate-subtitle {
    font-size: 0.95rem;
  }

  .magnate-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
  }

  .magnate-grid .magnate-card:nth-child(4),
  .magnate-grid .magnate-card:nth-child(5) {
    grid-column: span 1;
    margin: 0;
  }

  .magnate-grid .magnate-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .magnate-card {
    transform: translateY(30px) rotate(0deg);
  }

  .magnate-card:hover {
    transform: translateY(-15px) rotate(0deg) scale(1.03);
  }

  .card-image {
    height: 320px;
  }

  .card-content {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .magnate-section {
    padding: 70px 4% 90px;
  }

  .magnate-header {
    margin-bottom: 50px;
  }

  .magnate-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 350px;
  }

  .magnate-grid .magnate-card:nth-child(4),
  .magnate-grid .magnate-card:nth-child(5) {
    grid-column: 1;
    margin: 0;
    max-width: none;
  }

  .card-image {
    height: 360px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-tagline {
    font-size: 0.9rem;
  }
}

/* JEC Entrepreneurship Section */
.jec-entrepreneurship-section {
  position: relative;
  padding: 50px 0;
  background: #ffffff;
  overflow: hidden;
  color: #333333;
}

.jec-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Animated Background */
.jec-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(36, 103, 195, 0.05);
  animation: float 6s ease-in-out infinite;
}

.floating-shape.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-shape.shape-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.floating-shape.shape-4 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 30%;
  animation-delay: 1s;
}

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

/* Header Section */
.jec-header {
  text-align: center;
  margin-bottom: 80px;
}

.jec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  padding: 12px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #2467C3;
  animation: slideInDown 0.8s ease-out;
}

.jec-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.jec-title .title-line-1 {
  display: block;
  color: #2467C3;
}

.jec-title .title-line-2 {
  display: block;
  font-size: 2.5rem;
  font-weight: 600;
  margin-top: 10px;
  color: #1f2937;
}

.jec-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

/* Main Grid */
.jec-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

/* Info Card */
.jec-info-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: slideInLeft 0.8s ease-out 0.6s both;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: #6AAD75;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
}

.card-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.card-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.jec-features {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: #f1f5f9;
  border-color: #2467C3;
  transform: translateX(8px);
}

.feature-item i {
  color: #E17149;
  font-size: 16px;
}

.feature-item span {
  font-weight: 500;
}

/* Visual Section */
.jec-visual-section {
  animation: slideInRight 0.8s ease-out 0.6s both;
}

.jec-image-container {
  position: relative;
  margin-bottom: 40px;
  z-index: 1;
}

.image-wrapper {
  position: relative;
  border-radius: 15px;
  width: 500px;
  height: 500px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.jec-main-image {
  width: 500px;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.image-wrapper:hover .jec-main-image {
  transform: scale(1.05);
}

.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content i {
  font-size: 48px;
  margin-bottom: 8px;
  display: block;
}

.overlay-content span {
  font-size: 16px;
  font-weight: 500;
}

/* Floating Stats */
.floating-stats {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 16px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: floatStats 3s ease-in-out infinite;
}

.stat-card.stat-1 {
  top: 20px;
  right: 20px;
  animation-delay: 0s;
}

.stat-card.stat-2 {
  bottom: 80px;
  left: 20px;
  animation-delay: 1s;
}

.stat-card.stat-3 {
  top: 50%;
  right: -20px;
  animation-delay: 2s;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2467C3;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

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

/* Action Buttons */
.jec-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
  position: relative;
  z-index: 5;
}

.jec-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  z-index: 10;
}

.jec-btn.primary {
  background: #2467C3 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(36, 103, 195, 0.3);
  border: none;
  pointer-events: auto;
  user-select: none;
}

.jec-btn.primary:hover {
  background: #1a4f91 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(36, 103, 195, 0.4);
  text-decoration: none;
}

.jec-btn.secondary {
  background: #ffffff;
  color: #6AAD75;
  border: 2px solid #6AAD75;
}

.jec-btn.secondary:hover {
  background: #6AAD75;
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.jec-btn.primary:hover .btn-glow {
  left: 100%;
}

/* Impact Section */
.jec-impact-section {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.impact-header {
  text-align: center;
  margin-bottom: 50px;
}

.impact-header h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.impact-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.impact-item {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.impact-item:hover {
  transform: translateY(-10px);
  border-color: #E17149;
  box-shadow: 0 15px 35px rgba(225, 113, 73, 0.15);
}

.impact-icon {
  width: 80px;
  height: 80px;
  background: #E17149;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #ffffff;
}

.impact-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.impact-item p {
  opacity: 0.9;
  line-height: 1.5;
}

/* Animations */
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .jec-main-grid {
    gap: 40px;
  }
  
  .image-wrapper {
    width: 400px;
    height: 400px;
  }
  
  .jec-main-image {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .jec-entrepreneurship-section {
    padding: 30px 0;
  }
  
  .jec-container {
    padding: 0 15px;
  }
  
  .jec-header {
    margin-bottom: 50px;
  }
  
  .jec-title {
    font-size: 2.5rem;
  }
  
  .jec-title .title-line-2 {
    font-size: 1.8rem;
  }
  
  .jec-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .jec-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .jec-info-card {
    padding: 30px 20px;
  }
  
  .card-header h3 {
    font-size: 1.5rem;
  }
  
  .card-content p {
    font-size: 1rem;
  }
  
  .image-wrapper {
    width: 100%;
    height: 250px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .jec-main-image {
    width: 100%;
    height: 250px;
  }
  
  .jec-actions {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }
  
  .jec-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .jec-entrepreneurship-section {
    padding: 20px 0;
  }
  
  .jec-title {
    font-size: 2rem;
  }
  
  .jec-title .title-line-2 {
    font-size: 1.4rem;
  }
  
  .jec-subtitle {
    font-size: 0.9rem;
  }
  
  .jec-info-card {
    padding: 20px 15px;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .card-header h3 {
    font-size: 1.3rem;
  }
  
  .feature-item {
    padding: 10px 12px;
  }
  
  .feature-item span {
    font-size: 0.9rem;
  }
  
  .image-wrapper {
    height: 200px;
  }
  
  .jec-main-image {
    height: 200px;
  }
  
  .jec-btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
}

/* Footer Section */
.site-footer {
  background: linear-gradient(135deg, #2467C3 0%, #0f2d4a 100%);
  color: #ffffff;
  padding: 80px 8% 30px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(40, 125, 179, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(106, 173, 117, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
  animation: footerFadeIn 0.8s ease-out;
}

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

/* Footer Brand */
.footer-brand {
  max-width: 350px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Footer Headings */
.footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #287DB3, #6AAD75);
  border-radius: 2px;
}

/* Footer Links */
.footer-links {
  position: relative;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-nav a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: #6AAD75;
}

.footer-nav a:hover {
  color: #ffffff;
  padding-left: 20px;
  transform: translateX(5px);
}

.footer-nav a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Info */
.footer-contact {
  position: relative;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-item i {
  color: #6AAD75;
  font-size: 1.1rem;
  margin-top: 3px;
  min-width: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-item:hover i {
  transform: scale(1.2);
  color: #287DB3;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ffffff;
}

/* Social Links */
.footer-social {
  position: relative;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--social-color-1), var(--social-color-2));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link i {
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

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

.social-link:hover i {
  transform: rotate(360deg);
}

.social-link.instagram {
  --social-color-1: #E4405F;
  --social-color-2: #F77737;
}

.social-link.facebook {
  --social-color-1: #1877F2;
  --social-color-2: #42A5F5;
}

.social-link.linkedin {
  --social-color-1: #0077B5;
  --social-color-2: #00A0DC;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding: 60px 6% 25px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-social {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding: 50px 5% 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: 1;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 20px;
  }

  .footer-heading {
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-nav {
    text-align: center;
  }

  .footer-nav a {
    padding-left: 0;
  }

  .footer-nav a::before {
    display: none;
  }

  .footer-nav a:hover {
    padding-left: 0;
    transform: none;
  }

  .contact-info {
    align-items: center;
    text-align: center;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-social {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 40px 4% 20px;
  }

  .footer-brand-name {
    font-size: 1.3rem;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-heading {
    font-size: 1.1rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* Extra mobile polish for JIC at a Glance numbers section */
@media (max-width: 500px) {
  .jic-numbers {
    padding: 36px 2vw !important;
    height: auto !important;
    min-height: 0;
  }
  .numbers-title {
    font-size: 1.17rem !important;
    margin-bottom: 18px !important;
    line-height: 1.2;
  }
  .numbers-container {
    display: flex !important;
    flex-direction: column;
    gap: 14px !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0 auto;
  }
  .number-box {
    padding: 15px 7px !important;
    margin: 0 auto !important;
    width: 98% !important;
    min-width: unset !important;
    max-width: none !important;
    border-radius: 14px !important;
    font-size: 0.97rem;
  }
  .number-box h3 {
    font-size: 1.9rem !important;
    margin-bottom: 6px;
  }
  .number-box p {
    font-size: 0.93rem !important;
    margin-bottom: 0;
  }
}

/* Modern mobile sidebar nav - slides from right, beautiful shadow, overlay */
@media (max-width: 800px) {
  /* Change direction to right, improve look */
  .nav-links {
    left: auto !important;
    right: 0 !important;
    transform: translateX(100%) !important;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.16);
    background: rgba(255,255,255,0.98);
    padding: 54px 0 36px 0 !important;
    border-left: 1.5px solid #ececec;
    border-right: none;
    outline: none;
    height: 100vh;
    top: 0 !important;
    bottom: 0 !important;
    max-width: 310px;
    min-width: 220px;
    width: 80vw;
    transition: transform 0.43s cubic-bezier(.4,0,.2,1), opacity 0.4s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1.5px solid #eff1f6;
    transition: background 0.18s;
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    font-size: 1.11rem;
    font-weight: 600;
    color: #144169;
    padding: 20px 32px 18px 28px;
    letter-spacing: 0.15px;
    border-radius: 12px;
    background: none;
    transition: background 0.18s, color 0.18s;
    margin: 0;
    width: 100%;
  }
  .nav-links a:hover,
  .nav-links a:focus {
    background: linear-gradient(90deg, #eef6ff 0%, #f9fcff 100%);
    color: #2467C3;
  }

  /* Overlay when menu is open */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(23,38,56,0.44);
    z-index: 998;
    animation: fadeIn 0.27s cubic-bezier(.4,0,.2,1);
    pointer-events: all;
    touch-action: manipulation;
  }
  /* Make sure sidebar is above everything */
  .nav-links,
  .nav-links.active {
    z-index: 1002 !important;
  }
  /* Smooth overlay fade-in */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Hide scroll on html/body when sidebar open */
  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    touch-action: none;
  }
}

/* FORCE modern mobile sidebar nav on ALL pages, even with other CSS present */
@media (max-width: 800px) {
  .site-header .nav-links, .nav .nav-links {
    position: fixed !important;
    top: 0 !important;
    left: auto !important;
    right: 0 !important;
    width: 82vw !important;
    min-width: 200px !important;
    max-width: 330px !important;
    height: 100vh !important;
    background: rgba(248, 250, 252, 0.98) !important;
    box-shadow: -8px 0 30px rgba(0,0,0,0.14);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    padding: 54px 0 36px 0 !important;
    z-index: 1002 !important;
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateX(101%) !important;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.4s cubic-bezier(.4,0,.2,1);
  }
  .site-header .nav-links.active, .nav .nav-links.active {
    opacity: 1 !important;
    pointer-events: all;
    transform: translateX(0) !important;
    visibility: visible !important;
    display: flex !important;
  }
  .site-header .nav-links li, .nav .nav-links li {
    border-bottom: 1.5px solid #eff1f6;
    width: 100%;
    margin: 0;
  }
  .site-header .nav-links a, .nav .nav-links a {
    padding: 20px 32px 18px 28px !important;
    font-size: 1.08rem !important;
    color: #174391 !important;
    font-weight: 600;
    width: 100%;
    background: transparent;
    transition: background 0.15s, color 0.15s;
  }
  .site-header .nav-links a:hover, .nav .nav-links a:hover {
    background: #ecf5ff;
    color: #2467C3;
  }
}
