/* ============================================
   TRUST BOARD EDUCATION WEBSITE
   Custom CSS — No Framework
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0b1d3a;
  --accent: #c8a435;
  --accent-dark: #a8882a;
  --light: #f7f4ee;
  --white: #ffffff;
  --dark: #0a0f1a;
  --text: #3a3a3a;
  --text-light: #b8b8b8;
  --text-muted: #6e6e6e;
  --border: #e2dfd8;
  --shadow: rgba(10, 15, 26, 0.08);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad {
  padding: 100px 0;
}

/* ---------- Heading Styles ---------- */

/* Style 1: Light Background (dark text) */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--accent);
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

.section-title p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Style 2: Dark Background (light text) */
.section-title-light .subtitle {
  color: var(--accent);
}

.section-title-light h2 {
  color: var(--white);
}

.section-title-light p {
  color: var(--text-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 164, 53, 0.3);
}

.btn-outline {
  border: 1.5px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(11, 29, 58, 0.3);
}

.btn i {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

/* ===========================================
   NAVIGATION
   =========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 40px var(--shadow);
  padding: 12px 0;
  animation: slideDown 0.5s ease forwards;
}

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

.navbar.hide-nav {
  transform: translateY(-100%);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-logo .logo-icon i {
  font-size: 1.3rem;
  color: var(--dark);
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo .logo-text .trust-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.nav-logo .logo-text .trust-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.navbar.scrolled .nav-logo .logo-text .trust-name {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
}

.navbar.scrolled .nav-menu a {
  color: var(--text);
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
  color: var(--primary);
}

.nav-cta {
  z-index: 1001;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.82rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav-hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  display: block;
}

.navbar.scrolled .nav-hamburger span {
  background: var(--primary);
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* ===========================================
   HERO SLIDER
   =========================================== */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
}

.hero-slide {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 15, 26, 0.88) 0%,
    rgba(11, 29, 58, 0.75) 50%,
    rgba(10, 15, 26, 0.65) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(200, 164, 53, 0.15);
  border: 1px solid rgba(200, 164, 53, 0.3);
  border-radius: 6px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.swiper-slide-active .hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-badge span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-badge i {
  color: var(--accent);
  font-size: 0.85rem;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.swiper-slide-active .hero-content h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.swiper-slide-active .hero-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.swiper-slide-active .hero-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

/* Hero Navigation */
.hero-nav-wrap {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero:hover .hero-nav-wrap {
  opacity: 1;
}

.hero-nav-wrap .container {
  display: flex;
  justify-content: space-between;
}

.hero-btn-prev,
.hero-btn-next {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  pointer-events: all;
  transition: all var(--transition);
}

.hero-btn-prev:hover,
.hero-btn-next:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

/* Hero Pagination */
.hero-pagination {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0;
  opacity: 1;
  transition: all var(--transition);
  cursor: pointer;
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 52px;
  background: var(--accent);
}

/* ===========================================
   ABOUT / INTRO SECTION
   =========================================== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  width: 75%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 260px;
  overflow: hidden;
  border: 6px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: 30px;
  right: 50px;
  background: var(--accent);
  color: var(--dark);
  padding: 20px 24px;
  text-align: center;
  z-index: 2;
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-experience-badge .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text .section-title .subtitle::before {
  display: none;
}

.about-text .desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-item .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 53, 0.1);
  flex-shrink: 0;
}

.about-feature-item .icon i {
  font-size: 1.2rem;
  color: var(--accent);
}

.about-feature-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.about-feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===========================================
   STATS COUNTER
   =========================================== */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 164, 53, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* ===========================================
   PROGRAMS / SERVICES
   =========================================== */
.programs-section {
  background: var(--light);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background: var(--white);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow);
}

.program-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.program-card:hover .program-card-img img {
  transform: scale(1.08);
}

.program-card-img .card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--dark);
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.program-card-body {
  padding: 28px 26px;
}

.program-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.program-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.program-card-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.program-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.program-card-meta span i {
  color: var(--accent);
  font-size: 0.95rem;
}

.program-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: 16px;
  transition: gap var(--transition-fast);
}

.program-card-link:hover {
  gap: 10px;
  color: var(--primary);
}

/* ===========================================
   WHY CHOOSE US / CTA
   =========================================== */
.why-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(200, 164, 53, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.why-section::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(200, 164, 53, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  padding: 40px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.why-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 53, 0.1);
  margin-bottom: 22px;
}

.why-card .icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===========================================
   EVENTS PREVIEW
   =========================================== */
.events-section {
  background: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.event-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  align-items: center;
}

.event-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 40px var(--shadow);
  transform: translateY(-4px);
}

.event-date-box {
  text-align: center;
  background: var(--primary);
  padding: 16px 20px;
  flex-shrink: 0;
  min-width: 80px;
}

.event-date-box .day {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.event-date-box .month {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.event-info h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.event-info p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.event-meta {
  display: flex;
  gap: 16px;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.event-meta span i {
  color: var(--accent);
  font-size: 0.88rem;
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonials-section {
  background: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 36px 30px;
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow);
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.5;
}

.testimonial-card p {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author .avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.testimonial-author .info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-author .info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.testimonial-stars i {
  font-size: 0.85rem;
  color: var(--accent);
}

/* ===========================================
   CTA BANNER
   =========================================== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  padding: 80px 60px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(200, 164, 53, 0.06) 100%);
  pointer-events: none;
}

.cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-text p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 480px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--dark);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-about .footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.footer-about .footer-logo .logo-icon i {
  font-size: 1.2rem;
  color: var(--dark);
}

.footer-about .footer-logo span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-about p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item p,
.footer-contact-item a {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-bottom p a {
  color: var(--accent);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ===========================================
   SCROLL ANIMATIONS
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

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

/* ===========================================
   BACK TO TOP
   =========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}

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

.back-to-top:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
}

/* ===========================================
   PAGE BANNER (Inner Pages)
   =========================================== */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 15, 26, 0.92) 0%,
    rgba(11, 29, 58, 0.82) 50%,
    rgba(10, 15, 26, 0.7) 100%
  );
  z-index: 2;
}

.page-banner-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}

.page-banner-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-banner-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.page-banner-content p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ===========================================
   ABOUT STORY
   =========================================== */
.about-story {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.story-images {
  position: relative;
  height: 520px;
}

.story-img-large {
  width: 80%;
  height: 420px;
  overflow: hidden;
  position: relative;
}

.story-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-images:hover .story-img-large img {
  transform: scale(1.03);
}

.story-img-small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 240px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 10px 40px var(--shadow);
}

.story-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-accent-box {
  position: absolute;
  bottom: 60px;
  left: -20px;
  background: var(--accent);
  color: var(--dark);
  padding: 22px 26px;
  max-width: 240px;
  z-index: 2;
}

.story-accent-box i {
  font-size: 1.5rem;
  margin-bottom: 6px;
  display: block;
  opacity: 0.4;
}

.story-accent-box p {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}

.story-text .section-title .subtitle::before {
  display: none;
}

.story-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.story-highlights {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.story-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.highlight-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}

.story-highlight-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.story-highlight-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================================
   MISSION & VISION
   =========================================== */
.mv-section {
  background: var(--light);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mv-card {
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.mv-mission {
  background: var(--primary);
}

.mv-vision {
  background: var(--dark);
}

.mv-card-inner {
  position: relative;
  z-index: 2;
}

.mv-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 53, 0.12);
  margin-bottom: 28px;
}

.mv-icon i {
  font-size: 1.6rem;
  color: var(--accent);
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  max-width: 460px;
}

.mv-decoration {
  position: absolute;
  bottom: -30px;
  right: -20px;
  z-index: 1;
}

.mv-decoration i {
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.02);
}

/* ===========================================
   CERTIFICATIONS
   =========================================== */
.cert-section {
  background: var(--white);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--light);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow);
}

.cert-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.cert-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(30%);
}

.cert-card:hover .cert-card-img img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.cert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 29, 58, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.cert-overlay i {
  font-size: 1.8rem;
  color: var(--accent);
}

.cert-card-body {
  padding: 22px 22px 26px;
}

.cert-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

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

/* ===========================================
   VALUES STRIP
   =========================================== */
.values-section {
  background: var(--primary);
  padding: 50px 0;
}

.values-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(200, 164, 53, 0.3);
  transform: translateY(-3px);
}

.value-item i {
  font-size: 1.3rem;
  color: var(--accent);
}

.value-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}

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

/* Tablet Large */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .section-pad {
    padding: 70px 0;
  }

  .about-grid {
    gap: 40px;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
  }

  .cta-text p {
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  /* About Page */
  .story-grid {
    gap: 50px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mv-card {
    padding: 60px 40px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section-pad {
    padding: 60px 0;
  }

  /* Nav Mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 30px;
    gap: 0;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: var(--text);
    padding: 12px 0;
    font-size: 0.95rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--primary);
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero-slide {
    padding: 130px 0 80px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-btn-prev,
  .hero-btn-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-images {
    height: 360px;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text .section-title .subtitle::before {
    display: inline-block;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  /* Programs */
  .programs-grid {
    grid-template-columns: 1fr;
  }

  /* Events */
  .events-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item::after {
    display: none !important;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  /* About Page */
  .page-banner {
    padding: 130px 0 60px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-images {
    height: 360px;
  }

  .story-accent-box {
    left: 0;
    bottom: 40px;
  }

  .story-text .section-title {
    text-align: center !important;
  }

  .story-text .section-title .subtitle {
    justify-content: center !important;
  }

  .story-text .section-title .subtitle::before {
    display: inline-block !important;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    padding: 50px 30px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .values-strip {
    gap: 10px;
  }

  .value-item {
    padding: 10px 20px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .section-pad {
    padding: 50px 0;
  }

  .hero-slide {
    padding: 120px 0 70px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .about-images {
    height: 300px;
  }

  .about-img-secondary {
    width: 60%;
    height: 200px;
  }

  .about-experience-badge {
    right: 20px;
    top: 10px;
    padding: 14px 16px;
  }

  .about-experience-badge .number {
    font-size: 2rem;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-date-box {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .event-date-box .day {
    font-size: 1.4rem;
  }

  .stat-item .stat-number {
    font-size: 2.2rem;
  }

  .cta-inner {
    padding: 40px 20px;
  }

  /* About Page */
  .page-banner {
    padding: 110px 0 50px;
  }

  .story-images {
    height: 300px;
  }

  .story-img-small {
    width: 55%;
    height: 180px;
  }

  .story-accent-box {
    display: none;
  }

  .story-highlight-item {
    gap: 14px;
  }

  .highlight-num {
    font-size: 1.3rem;
  }

  .mv-card {
    padding: 40px 24px;
  }

  .values-strip {
    gap: 8px;
  }

  .value-item {
    padding: 10px 16px;
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .value-item span {
    font-size: 0.8rem;
  }
}
