/* ==============================================================================
   KOLKATA POLICE TRAINING ACADEMY (KPTA) - MODERN ENTERPRISE DESIGN SYSTEM
   Developed by Cyber Patrol Cell & Scientific Wing | Kolkata Police
   Theme: Vibrant Police Saffron & Orange with Noble Dark Obsidian
   ============================================================================== */

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

:root {
  /* ==========================================================================
     1. VIBRANT POLICE SAFFRON & ORANGE PALETTE (NO BLUE)
     ========================================================================== */
  --kpta-saffron: #ff6f00;            /* Primary Vibrant Indian Saffron */
  --kpta-saffron-light: #ff9800;      /* Radiant Saffron */
  --kpta-saffron-dark: #e65100;       /* Deep Saffron Amber */
  --kpta-saffron-deep: #bf360c;       /* Rich Burnished Saffron */
  --kpta-saffron-glow: rgba(255, 111, 0, 0.45);
  --kpta-orange-accent: #ff7722;      /* Fiery Police Orange */
  --kpta-orange-subtle: rgba(255, 119, 34, 0.12);
  --kpta-amber: #f59e0b;
  --kpta-amber-light: #fbbf24;

  /* Dark Obsidian & Charcoal Noir Foundation (Replaces all blue/navy) */
  --kpta-dark-bg: #100e0d;           /* Deep Charcoal Obsidian */
  --kpta-dark-primary: #181513;      /* Noble Dark Charcoal */
  --kpta-dark-light: #241f1c;        /* Elevated Dark Surface */
  --kpta-dark-card: #2c2622;         /* Warm Elevated Card */
  --kpta-dark-border: rgba(255, 152, 0, 0.22);

  /* Legacy variable mapping to Saffron & Dark so NO BLUE remains anywhere */
  --kpta-navy-dark: #100e0d;
  --kpta-navy-primary: #181513;
  --kpta-navy-light: #241f1c;
  --kpta-navy-card: #2c2622;
  --kpta-blue-accent: #ff6f00;        /* Mapped to Saffron */
  --kpta-blue-glow: rgba(255, 111, 0, 0.45);
  --kpta-gold: #ff9800;
  --kpta-gold-light: #ffb74d;
  --kpta-gold-dark: #e65100;
  
  /* Status & Accents */
  --kpta-emerald: #10b981;
  --kpta-emerald-glow: rgba(16, 185, 129, 0.25);
  --kpta-crimson: #e11d48;
  
  /* Light Warm Neutral Palette */
  --kpta-bg-light: #faf8f5;          /* Warm Linen White */
  --kpta-bg-card: #ffffff;
  --kpta-bg-alt: #f5f0eb;            /* Warm Sand Tint */
  --kpta-border-light: #eae3da;
  --kpta-border-subtle: rgba(234, 227, 218, 0.85);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --text-dark: #181513;              /* Rich dark charcoal, no blue tint */
  --text-muted: #574e47;             /* Warm readable neutral */
  --text-subtle: #786d64;
  --text-light: #fffaf5;
  
  /* Elevating Shadows with Warm Saffron Accents */
  --shadow-sm: 0 2px 4px rgba(24, 21, 19, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(24, 21, 19, 0.09), 0 4px 8px -2px rgba(24, 21, 19, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(24, 21, 19, 0.14), 0 8px 16px -4px rgba(24, 21, 19, 0.07);
  --shadow-xl: 0 24px 48px -12px rgba(24, 21, 19, 0.22);
  --shadow-gold: 0 10px 25px -5px rgba(255, 152, 0, 0.45);
  --shadow-blue: 0 10px 25px -5px rgba(255, 111, 0, 0.45);
  --shadow-saffron: 0 10px 25px -5px rgba(255, 111, 0, 0.5);
  
  /* Radius & Motion */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================================================
   1. BASE & RESET
   ============================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--kpta-bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--kpta-dark-primary);
  line-height: 1.25;
}

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

a:hover {
  color: var(--kpta-saffron-dark);
}

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

/* Override Bootstrap Blue Elements with Saffron */
.btn-primary,
.bg-primary {
  background-color: var(--kpta-saffron) !important;
  border-color: var(--kpta-saffron) !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--kpta-saffron-dark) !important;
  border-color: var(--kpta-saffron-dark) !important;
  color: #ffffff !important;
}

.btn-outline-primary {
  color: var(--kpta-saffron) !important;
  border-color: var(--kpta-saffron) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--kpta-saffron) !important;
  color: #ffffff !important;
}

.text-primary {
  color: var(--kpta-saffron) !important;
}

.border-primary {
  border-color: var(--kpta-saffron) !important;
}

/* ==============================================================================
   2. TOP UTILITY BAR & HEADER
   ============================================================================== */
.kpta-topbar {
  background: var(--kpta-dark-bg);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  padding: 6px 0;
  border-bottom: 2px solid var(--kpta-saffron);
  letter-spacing: 0.3px;
  z-index: 1030;
  position: relative;
}

.kpta-topbar .gov-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ffffff;
}

.kpta-topbar .gov-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--kpta-saffron-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--kpta-saffron-light);
}

.kpta-topbar .top-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}

.kpta-topbar .top-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kpta-topbar .top-meta i {
  color: var(--kpta-saffron-light);
}

/* Sticky Main Navigation */
.kpta-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  background: rgba(24, 21, 19, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--kpta-saffron);
  box-shadow: 0 10px 30px rgba(16, 14, 13, 0.45);
  transition: var(--transition);
}

.kpta-header .navbar {
  padding: 10px 0;
}

.kpta-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

/* ==============================================================================
   BRIGHT CIRCLE AROUND LOGO FOR OPTIMAL CONTRAST & VISIBILITY
   ============================================================================== */
.kpta-logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 3px solid var(--kpta-saffron);
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.3), 0 0 18px rgba(255, 111, 0, 0.65), 0 4px 10px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition: var(--transition);
}

.kpta-brand:hover .kpta-logo-circle {
  transform: scale(1.08);
  border-color: var(--kpta-saffron-light);
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.45), 0 0 26px rgba(255, 111, 0, 0.9), 0 6px 14px rgba(0, 0, 0, 0.4);
}

.footer-logo-circle {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border: 3px solid var(--kpta-saffron-light);
  box-shadow: 0 0 16px rgba(255, 152, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.kpta-logo-circle img,
.kpta-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  transition: var(--transition);
}

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

.kpta-brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.kpta-brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--kpta-saffron-light);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* Nav Menu Links */
.kpta-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.kpta-nav-item {
  position: relative;
}

.kpta-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.kpta-nav-link:hover,
.kpta-nav-link.active {
  color: #ffffff;
  background: rgba(255, 111, 0, 0.16);
}

.kpta-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--kpta-saffron);
  border-radius: 2px;
}

/* Dropdown */
.kpta-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--kpta-dark-primary);
  border: 1px solid rgba(255, 152, 0, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  z-index: 1000;
}

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

.kpta-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.kpta-dropdown-item:hover {
  color: #ffffff;
  background: rgba(255, 111, 0, 0.2);
  padding-left: 18px;
}

.kpta-dropdown-item i {
  color: var(--kpta-saffron-light);
}

/* KP LMS CTA Button */
.btn-kpta-lms {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--kpta-saffron) 0%, var(--kpta-saffron-dark) 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px var(--kpta-saffron-glow);
  transition: var(--transition);
  border: none;
}

.btn-kpta-lms:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 111, 0, 0.65);
  color: #ffffff !important;
}

.btn-kpta-lms .badge-pulse {
  background: #ffffff;
  color: var(--kpta-saffron-dark);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 8px #ffffff; }
  100% { transform: scale(1); }
}

/* Mobile Nav Toggle */
.kpta-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==============================================================================
   3. HERO SECTION
   ============================================================================== */
.kpta-hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 75% 20%, rgba(255, 111, 0, 0.3) 0%, transparent 60%),
              linear-gradient(180deg, rgba(16, 14, 13, 0.9) 0%, rgba(24, 21, 19, 0.96) 100%),
              url('../img/infrastructure/campus/AdministrativeBlockf.JPG') center/cover no-repeat;
  color: #ffffff;
  padding: 90px 0 60px;
  overflow: hidden;
}

.kpta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 90%, rgba(255, 111, 0, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 111, 0, 0.16);
  border: 1px solid rgba(255, 152, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--kpta-saffron-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 25%, var(--kpta-saffron-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--kpta-saffron) 0%, var(--kpta-saffron-dark) 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px var(--kpta-saffron-glow);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 111, 0, 0.65);
  color: #ffffff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 152, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: var(--kpta-saffron);
  color: #ffffff;
  border-color: var(--kpta-saffron);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 111, 0, 0.4);
}

/* Hero Stats Ribbon */
.hero-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: rgba(24, 21, 19, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-top: 3px solid var(--kpta-saffron);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 111, 0, 0.15);
  color: var(--kpta-saffron-light);
  border: 1px solid rgba(255, 111, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-stat-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.2;
}

.hero-stat-text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ==============================================================================
   4. SECTION UTILITIES & TITLES
   ============================================================================== */
.kpta-section {
  padding: 90px 0;
  position: relative;
}

.kpta-section.bg-alt {
  background-color: var(--kpta-bg-alt);
}

.kpta-section.bg-navy {
  background: linear-gradient(180deg, var(--kpta-dark-bg) 0%, var(--kpta-dark-primary) 100%);
  color: #ffffff;
}

.section-header {
  margin-bottom: 54px;
}

.section-header.text-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--kpta-saffron-dark);
  background: rgba(255, 111, 0, 0.12);
  border: 1px solid rgba(255, 111, 0, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bg-navy .section-badge {
  color: var(--kpta-saffron-light);
  background: rgba(255, 111, 0, 0.18);
  border-color: rgba(255, 152, 0, 0.4);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--kpta-dark-primary);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.bg-navy .section-title {
  color: #ffffff;
}

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

.bg-navy .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* ==============================================================================
   5. COUNTS / ACADEMY MILESTONES
   ============================================================================== */
.kpta-counts-wrapper {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.kpta-count-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--kpta-border-light);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  height: 100%;
}

.kpta-count-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--kpta-saffron);
}

.count-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  background: rgba(255, 111, 0, 0.12);
  color: var(--kpta-saffron);
  border: 1px solid rgba(255, 111, 0, 0.25);
  transition: var(--transition);
}

.kpta-count-card:hover .count-icon-box {
  background: linear-gradient(135deg, var(--kpta-saffron) 0%, var(--kpta-saffron-dark) 100%);
  color: #ffffff;
  transform: scale(1.08);
}

.count-data .count-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--kpta-dark-primary);
  line-height: 1.1;
  display: block;
}

.count-data .count-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==============================================================================
   6. ABOUT SECTION
   ============================================================================== */
.about-card-glass {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.about-feature-box {
  background: var(--kpta-bg-alt);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--kpta-saffron);
  display: flex;
  flex-direction: column;
}

.about-feature-box strong {
  font-size: 0.95rem;
  color: var(--kpta-dark-primary);
  margin-bottom: 2px;
}

.about-feature-box span {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Mission & Vision Cards */
.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 20px;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--kpta-saffron);
}

.pillar-card.highlight {
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.04) 0%, rgba(255, 152, 0, 0.09) 100%);
  border: 1px solid rgba(255, 152, 0, 0.35);
}

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

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--kpta-dark-primary);
  color: var(--kpta-saffron-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--kpta-dark-primary);
}

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

.pillar-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.pillar-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.85rem;
  color: var(--kpta-saffron);
}

/* ==============================================================================
   7. COURSES & CURRICULUM
   ============================================================================== */
.kpta-course-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kpta-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(255, 111, 0, 0.18);
  border-color: var(--kpta-saffron);
}

.course-thumb-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--kpta-dark-bg);
}

.course-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kpta-course-card:hover .course-thumb-wrapper img {
  transform: scale(1.08);
}

.course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(24, 21, 19, 0.9);
  backdrop-filter: blur(8px);
  color: var(--kpta-saffron-light);
  border: 1px solid rgba(255, 152, 0, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.course-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-category {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--kpta-saffron-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.course-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--kpta-dark-primary);
  margin-bottom: 12px;
}

.course-title a {
  color: inherit;
}

.course-title a:hover {
  color: var(--kpta-saffron);
}

.course-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-footer {
  padding-top: 18px;
  border-top: 1px solid var(--kpta-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--kpta-saffron-dark);
}

.course-link:hover {
  color: var(--kpta-saffron);
  gap: 10px;
}

/* LMS Callout Banner */
.lms-callout-banner {
  background: linear-gradient(135deg, var(--kpta-saffron-dark) 0%, var(--kpta-saffron-deep) 100%);
  border-radius: var(--radius-xl);
  padding: 38px 44px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(230, 81, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lms-callout-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

/* ==============================================================================
   8. INFRASTRUCTURE & GALLERY
   ============================================================================== */
.infra-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.infra-filter-btn {
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--kpta-border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.infra-filter-btn:hover,
.infra-filter-btn.active {
  background: var(--kpta-saffron);
  color: #ffffff;
  border-color: var(--kpta-saffron);
  box-shadow: 0 4px 15px var(--kpta-saffron-glow);
}

.infra-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 260px;
}

.infra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.infra-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.infra-card:hover img {
  transform: scale(1.1);
  opacity: 0.85;
}

.infra-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(16, 14, 13, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: var(--transition);
}

.infra-category {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--kpta-saffron-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.infra-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0 8px;
}

.infra-links {
  display: flex;
  gap: 10px;
}

.infra-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.infra-action-btn:hover {
  background: var(--kpta-saffron);
  color: #ffffff;
  transform: scale(1.1);
}

/* ==============================================================================
   9. FACULTY SECTION
   ============================================================================== */
.kpta-faculty-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: var(--transition);
  height: 100%;
}

.kpta-faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(255, 111, 0, 0.16);
  border-color: var(--kpta-saffron);
}

.faculty-avatar-box {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--kpta-saffron-light) 0%, var(--kpta-saffron-dark) 100%);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.faculty-avatar-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

.faculty-details {
  flex-grow: 1;
}

.faculty-rank-badge {
  display: inline-block;
  background: rgba(255, 111, 0, 0.12);
  color: var(--kpta-saffron-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.faculty-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kpta-dark-primary);
  margin-bottom: 2px;
}

.faculty-deg {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--kpta-saffron-dark);
  margin-bottom: 6px;
}

.faculty-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==============================================================================
   10. CONTACT SECTION
   ============================================================================== */
.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--kpta-saffron);
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 111, 0, 0.12);
  color: var(--kpta-saffron);
  border: 1px solid rgba(255, 111, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-map-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--kpta-border-light);
  height: 380px;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==============================================================================
   11. BREADCRUMBS & SUBPAGE WRAPPERS
   ============================================================================== */
.kpta-breadcrumb-banner {
  background: linear-gradient(135deg, var(--kpta-dark-bg) 0%, var(--kpta-dark-primary) 100%);
  color: #ffffff;
  padding: 45px 0;
  border-bottom: 2px solid var(--kpta-saffron);
}

.kpta-breadcrumb-banner h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
}

.kpta-breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 0.875rem;
}

.kpta-breadcrumb-trail a {
  color: var(--kpta-saffron-light);
}

.kpta-breadcrumb-trail span {
  color: rgba(255, 255, 255, 0.6);
}

.subpage-card-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-md);
  padding: 40px;
  margin-top: -30px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

/* History Timeline Enhancements */
.history-block {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px dashed var(--kpta-border-light);
}

.history-block:last-child {
  border-bottom: none;
}

.history-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 111, 0, 0.12);
  color: var(--kpta-saffron-dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* ==============================================================================
   12. FOOTER
   ============================================================================== */
.kpta-footer {
  background: var(--kpta-dark-bg);
  color: rgba(255, 255, 255, 0.82);
  padding: 70px 0 0;
  border-top: 3px solid var(--kpta-saffron);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--kpta-saffron);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--kpta-saffron-light);
  padding-left: 5px;
}

.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.45);
  padding: 22px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-bar strong {
  color: #ffffff;
}

/* Back to Top */
.kpta-back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kpta-saffron) 0%, var(--kpta-saffron-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 18px var(--kpta-saffron-glow);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.kpta-back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.kpta-back-to-top:hover {
  background: #ffffff;
  color: var(--kpta-saffron-dark);
  box-shadow: 0 6px 24px rgba(255, 111, 0, 0.6);
  transform: translateY(-4px);
}

/* ==============================================================================
   13. INNER PAGES & SUBPAGE DESIGN SYSTEM
   ============================================================================== */

/* Breadcrumb / Subpage Hero Banner */
.kpta-page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--kpta-dark-bg) 0%, var(--kpta-dark-primary) 60%, var(--kpta-dark-light) 100%);
  padding: 60px 0 50px;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 3px solid var(--kpta-saffron);
}

.kpta-page-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 111, 0, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 152, 0, 0.15) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
  pointer-events: none;
}

.kpta-page-banner .page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 111, 0, 0.16);
  border: 1px solid rgba(255, 152, 0, 0.45);
  border-radius: var(--radius-full);
  color: var(--kpta-saffron-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.kpta-page-banner .page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.kpta-page-banner .page-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.kpta-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.kpta-breadcrumbs a {
  color: var(--kpta-saffron-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kpta-breadcrumbs a:hover {
  color: #ffffff;
}

.kpta-breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.35);
}

.kpta-breadcrumbs .current {
  color: #ffffff;
  font-weight: 600;
}

/* Subpage Main Section Container */
.kpta-inner-content {
  padding: 70px 0 90px;
  background-color: var(--kpta-bg-light);
}

/* Feature & Content Cards */
.kpta-card-modern {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-sm);
  padding: 35px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.kpta-card-modern:hover {
  box-shadow: 0 16px 36px rgba(255, 111, 0, 0.14);
  border-color: rgba(255, 111, 0, 0.35);
  transform: translateY(-3px);
}

.kpta-card-modern.card-accent-gold {
  border-top: 4px solid var(--kpta-saffron);
}

.kpta-card-modern.card-accent-navy,
.kpta-card-modern.card-accent-blue {
  border-top: 4px solid var(--kpta-saffron-dark);
}

/* History / Timeline Styles */
.kpta-timeline {
  position: relative;
  padding: 20px 0;
}

.kpta-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  background: linear-gradient(180deg, var(--kpta-saffron-light) 0%, var(--kpta-saffron) 50%, var(--kpta-saffron-dark) 100%);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-left: 75px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--kpta-saffron);
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kpta-saffron-dark);
  font-size: 0.75rem;
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  background: var(--kpta-saffron);
  color: #ffffff;
  transform: scale(1.15);
}

.timeline-year-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 111, 0, 0.12);
  color: var(--kpta-saffron-dark);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.timeline-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--kpta-border-light);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-card:hover {
  box-shadow: 0 10px 25px rgba(255, 111, 0, 0.15);
  border-color: rgba(255, 111, 0, 0.4);
  transform: translateX(4px);
}

.timeline-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--kpta-dark-primary);
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Pillar & Info Stat Grid */
.kpta-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.kpta-pillar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--kpta-border-light);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kpta-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(255, 111, 0, 0.18);
  border-color: var(--kpta-saffron);
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 111, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--kpta-saffron-dark);
  border: 1px solid rgba(255, 111, 0, 0.25);
  margin-bottom: 18px;
  transition: var(--transition);
}

.kpta-pillar-card:hover .pillar-icon-box {
  background: var(--kpta-saffron);
  color: #ffffff;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--kpta-dark-primary);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Structure Preview Card */
.structure-preview-frame {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-md);
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.structure-preview-frame img {
  border-radius: var(--radius-sm);
  max-height: 800px;
  width: auto;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: zoom-in;
}

.structure-preview-frame img:hover {
  transform: scale(1.015);
}

/* PDF Embed Viewer & Card */
.kpta-pdf-frame {
  width: 100%;
  height: 900px;
  border-radius: var(--radius-md);
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.kpta-download-card {
  background: linear-gradient(135deg, var(--kpta-dark-primary) 0%, var(--kpta-dark-card) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--kpta-saffron);
}

/* Course Highlight Banner */
.course-hero-banner {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  margin-bottom: 40px;
}

.course-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 111, 0, 0.12);
  color: var(--kpta-saffron-dark);
  border: 1px solid rgba(255, 111, 0, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Campus Slider Custom Styling */
.campus-gallery-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--kpta-border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 40px;
}

.campus-gallery-card .swiper-slide {
  height: 480px;
  background-color: var(--kpta-dark-bg);
}

.campus-gallery-card .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.campus-spec-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--kpta-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.campus-spec-list li:last-child {
  border-bottom: none;
}

.campus-spec-list .spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.campus-spec-list .spec-val {
  color: var(--kpta-dark-primary);
  font-weight: 700;
}

/* Swiper navigation button tweaks */
.campus-gallery-card .swiper-button-prev,
.campus-gallery-card .swiper-button-next {
  color: #ffffff;
  background: rgba(24, 21, 19, 0.7);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.campus-gallery-card .swiper-button-prev::after,
.campus-gallery-card .swiper-button-next::after {
  font-size: 1.1rem;
  font-weight: 800;
}

.campus-gallery-card .swiper-button-prev:hover,
.campus-gallery-card .swiper-button-next:hover {
  background: var(--kpta-saffron);
  color: #ffffff;
}

.swiper-pagination-bullet-active {
  background: var(--kpta-saffron) !important;
}

/* Ensure content visibility regardless of animation state */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ==============================================================================
   14. RESPONSIVE DESIGN & MOBILE NAVIGATION
   ============================================================================== */
@media (max-width: 991.98px) {
  /* Show hamburger button */
  .kpta-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
  }

  .kpta-nav-toggle:hover {
    background: rgba(255, 111, 0, 0.25);
    color: var(--kpta-saffron-light);
  }

  /* Slide-down mobile drawer */
  .kpta-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(16, 14, 13, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--kpta-saffron);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .kpta-nav.mobile-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .kpta-nav-item {
    width: 100%;
  }

  .kpta-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .kpta-nav-link:hover,
  .kpta-nav-link.active {
    background: rgba(255, 111, 0, 0.16);
    color: var(--kpta-saffron-light);
  }

  /* Mobile Dropdown */
  .kpta-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: 100%;
    background: rgba(24, 21, 19, 0.9);
    border: 1px solid rgba(255, 152, 0, 0.25);
    margin: 6px 0 10px 0;
    padding: 8px;
    box-shadow: none;
    border-radius: var(--radius-sm);
  }

  .kpta-nav-item.dropdown.show .kpta-dropdown-menu {
    display: block;
  }

  .kpta-dropdown-item {
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  /* Mobile LMS CTA */
  .btn-kpta-lms {
    width: 100%;
    justify-content: center;
    padding: 12px;
    margin-top: 8px;
    font-size: 0.95rem;
  }

  /* Top Bar */
  .kpta-topbar .gov-badge {
    font-size: 0.75rem;
    letter-spacing: 0.2px;
  }

  /* Hero Section */
  .kpta-hero {
    min-height: auto;
    padding: 60px 0 45px;
    text-align: center;
  }

  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 16px;
  }

  /* Campus Swiper on Mobile */
  .campus-gallery-card .swiper-slide {
    height: 320px;
  }

  /* Timeline */
  .timeline::before {
    left: 20px !important;
  }

  .timeline-item {
    width: 100% !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0 !important;
  }

  .timeline-item::after {
    left: 11px !important;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }

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

  .hero-actions .btn-hero-primary,
  .hero-actions .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-ribbon {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .campus-gallery-card .swiper-slide {
    height: 240px;
  }

  .kpta-topbar .gov-badge {
    font-size: 0.7rem;
  }
}
