/* ==========================================================================
   Young Beacon Educational Charitable Society (YBECS)
   Master Stylesheet - Premium Modern Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --navy-darkest: #071224;
  --navy-dark: #0a1931;
  --navy-primary: #0f2b59;
  --navy-light: #1e3a8a;
  --navy-surface: #132743;

  /* Beacon Gold & Warm Accents */
  --gold-primary: #d97706;
  --gold-bright: #f59e0b;
  --gold-light: #fef3c7;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gold-glow: rgba(245, 158, 11, 0.25);

  /* Emerald / Teal Accents */
  --teal-primary: #0d9488;
  --teal-light: #ccfbf1;
  --emerald-success: #10b981;

  /* Neutrals */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-light: #e2e8f0;
  --border-focus: #cbd5e1;

  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.12), 0 8px 12px -4px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.35);

  /* Transitions & Radii */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: globalPageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-darkest);
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold-bright) 0%, #fbbf24 60%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-navy {
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* ==========================================================================
   Top Info Bar
   ========================================================================== */
/* ==========================================================================
   EduBlink Style Top Info Bar
   ========================================================================== */
.edublink-top-bar {
  background: #181b1e;
  color: #a0a6b5;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0;
  line-height: 1.4;
}

.edublink-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edublink-top-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.edublink-top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a0a6b5;
  font-size: 0.82rem;
  white-space: nowrap;
}

.edublink-top-item i {
  color: #1d70b8;
  font-size: 0.85rem;
}

.edublink-top-item a {
  color: #a0a6b5;
}

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

.edublink-top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.edublink-login-link {
  color: #a0a6b5;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.edublink-login-link:hover {
  color: #1d70b8;
}

.edublink-apply-btn {
  background: #1d70b8;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 1.25rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.edublink-apply-btn:hover {
  background: #155d99;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   EduBlink Style Header
   ========================================================================== */
.edublink-header {
  background: #ffffff;
  border-bottom: 1px solid #eef0f4;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.edublink-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.edublink-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #181b1e;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.edublink-nav-link i {
  font-size: 0.68rem;
  color: #8c909a;
  transition: transform 0.25s ease, color 0.25s ease;
}

.edublink-nav-link:hover {
  color: #1d70b8;
}

.edublink-nav-link:hover i {
  transform: rotate(180deg);
  color: #1d70b8;
}

.edublink-nav-link.active {
  color: #1d70b8;
}

.edublink-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.edublink-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  color: #181b1e;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.edublink-icon-btn:hover {
  color: #1d70b8;
  background: rgba(29, 112, 184, 0.08);
}

.edublink-cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #1d70b8;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(10, 25, 49, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  height: 60px;
  max-height: 68px;
  width: auto;
  max-width: 310px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-darkest);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Desktop Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy-dark);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.08);
}

.nav-link.active {
  color: var(--navy-primary);
  background: rgba(15, 43, 89, 0.08);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-navy {
  background: var(--navy-primary);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-darkest);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 43, 89, 0.3);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

.btn-outline-navy:hover {
  background: var(--navy-primary);
  color: #ffffff;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--navy-darkest);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Hamburger Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2.5px;
  background-color: var(--navy-darkest);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 36, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  background: var(--bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-dark);
}

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

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-darkest);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold-primary);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .header-cta-group .btn-license {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* ==========================================================================
   EduBlink Style Hero Section
   ========================================================================== */
.edublink-hero {
  position: relative;
  background-color: #f0f4f5;
  padding: 4rem 0 0;
  overflow: hidden;
}

.edublink-hero-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 0% 50%, rgba(29, 112, 184, 0.08) 0%, rgba(240, 244, 245, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.edublink-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 2.5rem;
  position: relative;
  z-index: 3;
}

.edublink-hero-content {
  padding-bottom: 4.5rem;
  position: relative;
  z-index: 4;
}

.edublink-hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: #181b1e;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.edublink-highlight-red {
  color: #ee4a62;
  position: relative;
}

.edublink-hero-desc {
  font-size: 1.1rem;
  color: #52565b;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.btn-edublink {
  background: #1d70b8;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 2.25rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px rgba(29, 112, 184, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-edublink:hover {
  background: #155d99;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(29, 112, 184, 0.4);
}

.btn-edublink-outline {
  background: #ffffff;
  color: #181b1e;
  border: 2px solid #e1e5eb;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.85rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-edublink-outline:hover {
  border-color: #1d70b8;
  color: #1d70b8;
  background: rgba(29, 112, 184, 0.05);
}

.edublink-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
  width: 100%;
}

.edublink-hero-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.15));
}

/* Floating Shapes */
.shape-dots-left {
  position: absolute;
  top: 18%;
  left: 3%;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(#1d70b8 2.5px, transparent 2.5px);
  background-size: 18px 18px;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
}

.shape-dots-right {
  position: absolute;
  top: 25%;
  right: 2%;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#1d70b8 2.5px, transparent 2.5px);
  background-size: 18px 18px;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

.shape-zigzag {
  position: absolute;
  top: 12%;
  left: 28%;
  z-index: 2;
  animation: floatSlow 4s ease-in-out infinite;
  pointer-events: none;
}

.shape-yellow-dot {
  position: absolute;
  top: 55%;
  left: 4%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f8b81f;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(248, 184, 31, 0.45);
  animation: floatMedium 5s ease-in-out infinite;
  pointer-events: none;
}

.shape-red-arc {
  position: absolute;
  top: 32%;
  right: 14%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3.5px dashed #ee4a62;
  border-left-color: transparent;
  border-bottom-color: transparent;
  z-index: 2;
  animation: rotateSlow 18s linear infinite;
  pointer-events: none;
}

.shape-purple-ring {
  position: absolute;
  bottom: 22%;
  right: 5%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4.5px solid #525fe1;
  z-index: 4;
  animation: floatSlow 6s ease-in-out infinite;
  pointer-events: none;
}

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

@keyframes floatMedium {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.08); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating Instructor Badge */
.edublink-instructor-card {
  position: absolute;
  bottom: 40px;
  left: 0;
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 210px;
  animation: floatSlow 5s ease-in-out infinite 1s;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.instructor-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #181b1e;
}

.instructor-avatars-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.edublink-instructor-card img.avatar-circle,
img.avatar-circle {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  min-width: 34px !important;
  max-height: 34px !important;
  min-height: 34px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  margin-left: -8px !important;
  object-fit: cover !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.edublink-instructor-card img.avatar-circle:first-child,
img.avatar-circle:first-child {
  margin-left: 0 !important;
}

.avatar-plus-count {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  min-width: 34px !important;
  border-radius: 50% !important;
  background: #ee4a62 !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #ffffff !important;
  margin-left: -8px !important;
  flex-shrink: 0 !important;
}

.instructor-count-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ee4a62;
  margin-left: 0.65rem;
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .edublink-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .edublink-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .edublink-hero-title {
    font-size: 2.75rem;
  }
  .edublink-hero-visual {
    margin-top: 1rem;
  }
  .edublink-instructor-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }
}

@media (max-width: 768px) {
  .edublink-top-inner {
    flex-direction: column;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
  .edublink-top-left, .edublink-top-right {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .edublink-hero-title {
    font-size: 2.2rem;
  }
  .edublink-hero-img {
    max-height: 380px;
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .edublink-hero-title {
    font-size: 1.95rem;
  }
  .shape-dots-left, .shape-dots-right, .shape-red-arc, .shape-purple-ring {
    display: none;
  }
}

/* ==========================================================================
   EduBlink Feature Ribbon (Under Hero)
   ========================================================================== */
.edublink-feature-ribbon {
  background: linear-gradient(90deg, #0f2b59 0%, #1d70b8 45%, #2992d8 100%);
  color: #ffffff;
  padding: 2rem 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 8px 25px rgba(29, 112, 184, 0.2);
}

.feature-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.feature-ribbon-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  justify-content: center;
}

.feature-ribbon-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-ribbon-item:hover .feature-ribbon-icon {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.26);
}

.feature-ribbon-text {
  display: flex;
  flex-direction: column;
}

.feature-ribbon-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.15rem;
}

.feature-ribbon-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .feature-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .feature-ribbon-item {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .feature-ribbon-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, #0d1e3d 0%, var(--navy-darkest) 90%);
  color: #ffffff;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
  top: -100px;
  right: -50px;
  pointer-events: none;
  filter: blur(40px);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.hero-badge-gold {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--gold-bright);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Hero Media Card */
.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy-darkest);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: floatAnim 4s ease-in-out infinite;
  z-index: 5;
}

.float-top {
  top: 20px;
  left: -25px;
}

.float-bottom {
  bottom: 25px;
  right: -25px;
  animation-delay: 2s;
}

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

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.float-icon-emerald {
  background: var(--teal-light);
  color: var(--teal-primary);
}

.float-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.float-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .float-top { left: 10px; }
  .float-bottom { right: 10px; }
  .hero-image-card img { height: 380px; }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-float-card {
    display: none;
  }
}

/* ==========================================================================
   Section Header & Decorators
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.section-tag-navy {
  background: rgba(15, 43, 89, 0.08);
  color: var(--navy-primary);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--navy-darkest);
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Vision & Mission Section
   ========================================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vm-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gold-gradient);
}

.vm-card-mission::before {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--teal-primary) 100%);
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

.vm-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.75rem;
}

.vm-card-mission .vm-icon-box {
  background: rgba(15, 43, 89, 0.1);
  color: var(--navy-primary);
}

.vm-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.vm-card p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.vm-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.vm-card-footer span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 860px) {
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  .vm-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   History & Origin Section (Kerala Journey to Thiruvananthapuram)
   ========================================================================== */
.history-section {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
}

.history-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.history-visual {
  position: relative;
}

.history-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}

.history-logo-card {
  background: #ffffff;
  border: 1px solid #e5eaf0;
  border-radius: 24px;
  padding: 2.75rem 2rem 3.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.history-logo-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(29, 112, 184, 0.06) 0%, rgba(245, 177, 7, 0.03) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.history-logo-card img {
  max-width: 330px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
  position: relative;
  z-index: 2;
  mix-blend-mode: multiply;
}

.history-logo-card:hover img {
  transform: scale(1.03);
}

.history-quote-badge {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--navy-darkest);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.history-quote-badge p {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.history-quote-badge cite {
  font-size: 0.75rem;
  color: var(--gold-bright);
  font-weight: 700;
  display: block;
}

.history-content h2 {
  font-size: 2.35rem;
  margin-bottom: 1.25rem;
}

.history-content p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.three-pillars-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.pillar-box {
  background: #ffffff;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-box:hover {
  transform: translateY(-3px);
  border-color: var(--gold-bright);
}

.pillar-box span {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.pillar-box h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-darkest);
  margin-bottom: 0.2rem;
}

.pillar-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .history-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .history-quote-badge {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .three-pillars-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Aims & Objectives Showcase
   ========================================================================== */
.aims-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.aim-card {
  background: #ffffff;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.aim-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

.aim-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.aim-card:hover .aim-icon {
  background: var(--gold-primary);
  color: #ffffff;
}

.aim-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.aim-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

/* ==========================================================================
   "Be a Certified Trainer" - 4 Sectors Showcase
   ========================================================================== */
.trainer-feature-section {
  background: var(--navy-darkest);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.trainer-feature-section .section-title {
  color: #ffffff;
}

.trainer-feature-section .section-lead {
  color: #cbd5e1;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.sector-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-5px);
  border-color: var(--gold-bright);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sector-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.sector-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.sector-card h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.sector-card p {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.sector-bullets {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sector-bullet-item {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sector-bullet-item i {
  color: var(--teal-primary);
}

@media (max-width: 1024px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.trainer-banner-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(15, 43, 89, 0.4) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

.trainer-banner-card h3 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.trainer-banner-card p {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .trainer-banner-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .trainer-banner-card .btn-group {
    justify-content: center;
  }
}

/* ==========================================================================
   Martin Luther King Jr. Memorial Section
   ========================================================================== */
.mlk-section {
  background: radial-gradient(circle at 80% 50%, #172a45 0%, var(--navy-darkest) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
}

.mlk-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-2xl, 24px);
  padding: 3.5rem 3rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.mlk-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mlk-portrait-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
}

.mlk-portrait-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 15px 35px rgba(245, 158, 11, 0.25));
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mlk-portrait-img:hover {
  transform: scale(1.04);
}

.mlk-portrait-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mlk-content {
  display: flex;
  flex-direction: column;
}

.mlk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  align-self: flex-start;
  text-transform: uppercase;
}

.mlk-heading {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.mlk-quote-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--gold-bright);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.5rem;
}

.mlk-main-tribute {
  font-size: 1.08rem;
  color: #f1f5f9;
  line-height: 1.8;
  margin-bottom: 0;
  font-weight: 400;
}

.mlk-core-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.mlk-pillar-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

.mlk-pillar-item i {
  color: var(--gold-bright);
  font-size: 0.95rem;
  width: 18px;
}

.mlk-action-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .mlk-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.75rem;
    gap: 2.25rem;
    text-align: center;
  }
  .mlk-portrait-img {
    max-width: 320px;
  }
  .mlk-content {
    align-items: center;
  }
  .mlk-badge {
    align-self: center;
  }
  .mlk-heading {
    font-size: 2.15rem;
  }
  .mlk-quote-box {
    border-left: none;
    border-top: 3px solid var(--gold-bright);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem;
    text-align: left;
  }
  .mlk-core-pillars {
    width: 100%;
    align-items: center;
  }
  .mlk-action-row {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .mlk-section {
    padding: 3.5rem 0;
  }
  .mlk-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-xl);
  }
  .mlk-portrait-img {
    max-width: 260px;
  }
  .mlk-heading {
    font-size: 1.75rem;
  }
  .mlk-main-tribute {
    font-size: 0.96rem;
    line-height: 1.7;
  }
  .mlk-action-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  .mlk-action-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Governing Body Members
   ========================================================================== */
/* ==========================================================================
   Leadership Filter Tabs & Chairman Showcase
   ========================================================================== */
.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: #ffffff;
  color: #52565b;
  border: 1.5px solid #e1e5eb;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: #1d70b8;
  color: #1d70b8;
  background: rgba(29, 112, 184, 0.05);
}

.filter-btn.active {
  background: #1d70b8;
  color: #ffffff;
  border-color: #1d70b8;
  box-shadow: 0 4px 15px rgba(29, 112, 184, 0.3);
}

/* Chairman Keynote Showcase Card */
.chairman-keynote-card {
  background: #ffffff;
  border-radius: var(--radius-2xl, 24px);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.chairman-keynote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #1d70b8 0%, #0f2b59 100%);
}

.chairman-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f6;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 480px;
}

.chairman-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: top center;
  display: block;
}

@media (max-width: 960px) {
  .chairman-keynote-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.75rem;
}

@media (max-width: 1200px) {
  .leadership-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 900px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.25rem;
  }
}

@media (max-width: 540px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.member-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: transform 0.35s ease;
}

.member-card:hover {
  transform: translateY(-6px);
}

.member-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  border-radius: 16px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}

.member-card:hover .member-photo-wrap img {
  transform: scale(1.04);
}

/* Teal overlay on hover (matching EduBlink reference) */
.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 112, 184, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.member-card:hover .team-photo-overlay {
  opacity: 1;
}

/* Floating Share Wrapper */
.team-share-wrapper {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

/* Floating Top-Right Circular Share Button */
.team-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #1d70b8;
  color: #1d70b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.25s ease;
}

.member-card:hover .team-share-btn {
  background: #1d70b8;
  color: #ffffff;
}

/* Vertical Stack of Social Icons on Hover (matching EduBlink screenshot) */
.team-social-share {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .team-social-share {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team-social-share li {
  margin: 0;
}

.team-social-share li a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #1d70b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  text-decoration: none;
}

.team-social-share li a:hover {
  background: #1d70b8;
  color: #ffffff;
  transform: scale(1.1);
}

.member-body {
  padding: 1.15rem 0.5rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #181b1e;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.member-card:hover .member-name {
  color: #1d70b8;
}

.member-role {
  font-size: 0.92rem;
  font-weight: 500;
  color: #717580;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.member-qual {
  font-size: 0.82rem;
  color: #1d70b8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1.4;
  background: rgba(29, 112, 184, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Verification Fast-Search Widget
   ========================================================================== */
.verify-box-card {
  background: #ffffff;
  border-radius: var(--radius-2xl, 24px);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.verify-input-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.verify-input {
  flex-grow: 1;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  color: var(--navy-darkest);
  outline: none;
}

.verify-input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.verify-sample-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.chip-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-family: monospace;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chip-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-bright);
  color: var(--gold-primary);
}

/* Certificate Preview Card */
.certificate-preview {
  margin-top: 2rem;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fffdf8 100%);
  border: 4px double #d97706;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: none;
  animation: fadeIn 0.4s ease;
}

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

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.cert-stamp {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--emerald-success);
  color: var(--emerald-success);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cert-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  font-size: 0.9rem;
}

.cert-detail-item {
  display: flex;
  flex-direction: column;
}

.cert-detail-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.cert-detail-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-darkest);
}

@media (max-width: 640px) {
  .verify-box-card {
    padding: 1.75rem 1.25rem;
  }
  .verify-input-group {
    flex-direction: column;
  }
  .cert-details-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Offices / Branches Showcase
   ========================================================================== */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.office-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.office-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-bright);
}

.office-card.is-head {
  border-top: 4px solid var(--gold-primary);
}

.office-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.badge-head {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-branch {
  background: rgba(15, 43, 89, 0.08);
  color: var(--navy-primary);
  border: 1px solid rgba(15, 43, 89, 0.15);
}

.badge-regional {
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal-primary);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.office-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--navy-darkest);
}

.office-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.office-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.office-info-item i {
  color: var(--gold-primary);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

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

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-darkest);
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold-primary);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--gold-bright);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-darkest);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--navy-darkest);
  background-color: #ffffff;
  outline: none;
}

.form-control:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 1.75rem 1.25rem;
  }
}

/* ==========================================================================
   EduBlink Style Page Banner & Breadcrumbs
   ========================================================================== */
.edublink-page-banner {
  background-color: #f1f6fa;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.edublink-page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero_teachers.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  opacity: 0.12; /* Low opacity background image */
  pointer-events: none;
  z-index: 1;
}

.edublink-page-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(241, 246, 250, 0.65) 0%, rgba(241, 246, 250, 0.94) 100%);
  pointer-events: none;
  z-index: 2;
}

.edublink-page-banner .container {
  position: relative;
  z-index: 3;
}

.edublink-page-title {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 800;
  color: #0f2b59;
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

.edublink-page-desc {
  font-size: 1.08rem;
  color: #52565b;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.edublink-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #717580;
  background: #ffffff;
  padding: 0.45rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef0f4;
}

.edublink-breadcrumbs a {
  color: #181b1e;
  transition: color 0.2s ease;
}

.edublink-breadcrumbs a:hover {
  color: #1d70b8;
}

.edublink-breadcrumbs .sep {
  color: #1d70b8;
  font-size: 0.75rem;
}

.edublink-breadcrumbs .current {
  color: #1d70b8;
}

@media (max-width: 992px) {
  .edublink-page-banner {
    padding: 3.75rem 0 3.25rem;
  }
  .edublink-page-title {
    font-size: 2.35rem;
  }
}

@media (max-width: 768px) {
  .edublink-page-banner {
    padding: 3rem 0 2.5rem;
  }
  .edublink-page-title {
    font-size: 1.95rem;
    margin-bottom: 0.65rem;
  }
  .edublink-page-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .edublink-breadcrumbs {
    font-size: 0.82rem;
    padding: 0.4rem 1.15rem;
    gap: 0.5rem;
    max-width: 95%;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .edublink-page-banner {
    padding: 2.25rem 0 2rem;
  }
  .edublink-page-title {
    font-size: 1.65rem;
  }
  .edublink-page-desc {
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Timeline / Milestone Journey
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

.timeline-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.6rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(29, 112, 184, 0.15);
  border-color: #1d70b8;
}

.timeline-year-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(29, 112, 184, 0.12);
  color: #1d70b8;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.timeline-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #181b1e;
  margin-bottom: 0.65rem;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #1d70b8;
}

.value-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(29, 112, 184, 0.1);
  color: #1d70b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.value-card:hover .value-icon-box {
  background: #1d70b8;
  color: #ffffff;
}

.value-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #181b1e;
  margin-bottom: 0.85rem;
}

.value-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ==========================================================================
   Page Hero (Internal Pages - Legacy Dark Fallback)
   ========================================================================== */
.page-hero {
  background: radial-gradient(circle at 20% 50%, #0d1e3d 0%, var(--navy-darkest) 100%);
  color: #ffffff;
  padding: 4rem 0 4.5rem;
  position: relative;
  text-align: center;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

.breadcrumb-list a:hover {
  color: var(--gold-bright);
}

.breadcrumb-separator {
  color: #64748b;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-darkest);
  color: #94a3b8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-height: 54px;
  width: auto;
  margin-bottom: 1.25rem;
  object-fit: contain;
  background: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -0.45rem;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--gold-bright);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--gold-bright);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  padding-left: 0.25rem;
}

.designer-name {
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.designer-name:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: var(--gold-bright);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.15rem;
  }
  .footer-copy {
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   Side Floating WhatsApp Widget
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.whatsapp-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #ffffff;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Pulsating Radar Effect */
.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  top: 0;
  left: 0;
  animation: pulseRadar 2s infinite ease-out;
  z-index: -1;
}

@keyframes pulseRadar {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  left: 70px;
  background: var(--navy-darkest);
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .floating-whatsapp {
    bottom: 20px;
    left: 18px;
  }
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   Quick "Back to Top" Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy-darkest);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
  transform: translateY(-4px);
}

@media (max-width: 600px) {
  .back-to-top {
    bottom: 20px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* Alert Notification Toast */
.site-toast {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 2100;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.35s ease;
  pointer-events: none;
}

.site-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-toast.success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.site-toast.error {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

/* ==========================================================================
   Dedicated Courses Program Cards (Light Theme for courses.php)
   ========================================================================== */
.courses-programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.course-program-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: 2.25rem 1.65rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-program-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
}

/* Themed Sector Styling matching screenshot */
.course-program-card.sector-amber {
  border: 2px solid #f59e0b;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
}
.course-program-card.sector-amber:hover {
  border-color: #d97706;
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.22);
}

.course-program-card.sector-blue {
  border: 2px solid #e2e8f0;
}
.course-program-card.sector-blue:hover {
  border-color: #0284c7;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.18);
}

.course-program-card.sector-green {
  border: 2px solid #e2e8f0;
}
.course-program-card.sector-green:hover {
  border-color: #10b981;
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.18);
}

.course-program-card.sector-pink {
  border: 2px solid #e2e8f0;
}
.course-program-card.sector-pink:hover {
  border-color: #ec4899;
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.18);
}

.course-card-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.course-card-icon {
  font-size: 2.2rem;
  margin-bottom: 1.15rem;
  display: block;
}

.course-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.course-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.3;
}

.course-pill-amber { background: #fef3c7; color: #b45309; }
.course-pill-blue { background: #e0f2fe; color: #0284c7; }
.course-pill-green { background: #d1fae5; color: #047857; }
.course-pill-pink { background: #fce7f3; color: #be185d; }
.course-pill-teal { background: rgba(29, 112, 184, 0.1); color: #0f766e; }

.course-program-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #181b1e;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.course-program-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-card-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.course-card-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.45;
}

.course-card-bullet-item i {
  color: #1d70b8;
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.course-card-bottom {
  border-top: 1.5px dashed #e2e8f0;
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.course-card-credential {
  font-size: 0.86rem;
  font-weight: 800;
  color: #181b1e;
  line-height: 1.35;
}

.course-card-btn {
  background: linear-gradient(135deg, #1d70b8 0%, #155d99 100%);
  color: #ffffff !important;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(29, 112, 184, 0.35);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.course-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(29, 112, 184, 0.5);
  background: #155d99;
}

/* ==========================================================================
   Courses Verification & Trust Block
   ========================================================================== */
.courses-verify-block {
  background: #f8fafc;
  border-radius: var(--radius-2xl, 24px);
  padding: 3.5rem 3rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.courses-verify-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.courses-verify-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  color: #181b1e;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.courses-verify-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.courses-verify-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.courses-verify-card {
  background: #ffffff;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #edf2f7;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.courses-verify-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.courses-verify-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.courses-verify-icon-wrap.icon-blue {
  background: rgba(29, 112, 184, 0.1);
  color: #1d70b8;
}

.courses-verify-icon-wrap.icon-cyan {
  background: rgba(56, 189, 248, 0.12);
  color: #0284c7;
}

.courses-verify-icon-wrap.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.courses-verify-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #181b1e;
}

.courses-verify-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.courses-verify-action {
  text-align: center;
  margin-top: 2.75rem;
}

/* ==========================================================================
   Courses Call To Action Banner
   ========================================================================== */
.courses-cta-section {
  background: linear-gradient(135deg, #181b1e 0%, #0f2b59 100%);
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.courses-cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.courses-cta-badge {
  margin-bottom: 1.25rem;
  background: rgba(29, 112, 184, 0.2);
  color: #38bdf8;
  border-color: rgba(29, 112, 184, 0.4);
}

.courses-cta-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.courses-cta-desc {
  font-size: 1.08rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

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

.cta-outline-btn {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.cta-outline-btn:hover {
  background: #ffffff !important;
  color: #0f2b59 !important;
  border-color: #ffffff !important;
}

/* ==========================================================================
   Courses Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .courses-programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 992px) {
  .courses-verify-block {
    padding: 2.75rem 2rem;
  }
  .courses-verify-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .courses-verify-grid .courses-verify-card:last-child {
    grid-column: span 2;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .courses-cta-title {
    font-size: 2.15rem;
  }
}

@media (max-width: 768px) {
  .courses-programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .course-program-card {
    padding: 1.85rem 1.45rem;
  }
  .courses-verify-block {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-xl);
  }
  .courses-verify-header {
    margin-bottom: 1.75rem;
  }
  .courses-verify-title {
    font-size: 1.65rem;
  }
  .courses-verify-desc {
    font-size: 0.92rem;
  }
  .courses-verify-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .courses-verify-grid .courses-verify-card:last-child {
    grid-column: auto;
    max-width: none;
  }
  .courses-verify-card {
    padding: 1.75rem 1.25rem;
  }
  .courses-verify-action {
    margin-top: 2rem;
  }
  .courses-verify-action .btn-edublink {
    width: 100%;
    justify-content: center;
  }
  .courses-cta-section {
    padding: 3.5rem 0;
  }
  .courses-cta-title {
    font-size: 1.75rem;
  }
  .courses-cta-desc {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  .courses-cta-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .courses-cta-btns .btn-edublink,
  .courses-cta-btns .cta-outline-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .course-program-card {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
  }
  .course-program-card h3 {
    font-size: 1.15rem;
  }
  .course-card-bullets {
    margin-bottom: 1.25rem;
  }
  .course-card-bullet-item {
    font-size: 0.82rem;
  }
  .course-card-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    text-align: center;
  }
  .course-card-credential {
    text-align: center;
    font-size: 0.84rem;
  }
  .course-card-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1.25rem;
  }
  .courses-verify-title {
    font-size: 1.45rem;
  }
  .courses-cta-title {
    font-size: 1.5rem;
  }
}

/* Contact Page Responsive Grids */
@media (max-width: 992px) {
  .contact-touchpoints-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .map-faq-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* ==========================================================================
   Accreditation Logo Marquee (Simple Logo Only Scroll)
   ========================================================================== */
.accreditation-marquee-section {
  position: relative;
  background: #ffffff;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  overflow: hidden;
}

.accreditation-marquee-header {
  text-align: center;
  margin-bottom: 0.75rem;
}

.logo-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: logoMarqueeScroll 45s linear infinite;
  will-change: transform;
}

.logo-marquee-track:hover {
  animation-play-state: paused;
}

.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-right: 2.75rem;
  flex-shrink: 0;
}

.logo-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  min-width: 100px;
  padding: 0 0.35rem;
}

.logo-marquee-item img {
  height: 56px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  filter: contrast(105%);
}

.logo-marquee-item:hover img {
  transform: scale(1.1);
}

@keyframes logoMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .accreditation-marquee-section {
    padding: 1rem 0 1.25rem;
  }
  .logo-marquee-group {
    gap: 1.75rem;
    padding-right: 1.75rem;
  }
  .logo-marquee-item {
    height: 52px;
    min-width: 80px;
  }
  .logo-marquee-item img {
    height: 44px;
    max-width: 110px;
  }
}

/* ==========================================================================
   Advanced Scrolling Animation Effects System
   ========================================================================== */

/* Reading Progress Bar at the top of the screen */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #1d70b8 0%, #38bdf8 30%, #f59e0b 70%, #10b981 100%);
  width: 0%;
  z-index: 99999;
  transition: width 0.08s ease-out;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  pointer-events: none;
}

/* Base Reveal Element */
.reveal-on-scroll {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Directional Variations */
.reveal-up {
  transform: translateY(38px);
}

.reveal-down {
  transform: translateY(-28px);
}

.reveal-right {
  transform: translateX(-40px);
}

.reveal-left {
  transform: translateX(40px);
}

.reveal-zoom {
  transform: scale(0.93) translateY(20px);
}

/* Triggered State */
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Staggered Delay for Child Grids */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.50s; }

/* Sticky Header on Scroll */
.edublink-header.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 10px 25px rgba(15, 43, 89, 0.09) !important;
  border-bottom-color: rgba(238, 240, 244, 0.8) !important;
}

/* Respect user's motion settings */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress-line {
    display: none !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



