/* ==========================================
   TechMantra CSS Stylesheet - Design System
   ========================================== */

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

:root,
[data-theme="dark"] {
  /* Color System - Dark Mode (Default) */
  --bg-primary: #080c14;
  --bg-secondary: #0f1626;
  --bg-tertiary: #17223b;
  --bg-card: #0f1626;
  --card-bg: #0f1626;
  --bg-glass: rgba(15, 22, 38, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.3);

  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.5);
  --secondary: #06b6d4;
  --secondary-glow: rgba(6, 182, 212, 0.4);
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f1626;

  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(255, 255, 255, 0.12);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(8, 12, 20, 0.85);
  --topbar-bg: #0b1120;
  --hero-bg: radial-gradient(circle at 10% 20%, rgba(12, 25, 50, 0.8) 0%, rgba(8, 12, 20, 1) 90%);
  --sidebar-bg: #0b1120;

  /* Font Families */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  /* Color System - Light Mode */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --card-bg: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-color: #e2e8f0;
  --border-glow: rgba(37, 99, 235, 0.2);

  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.25);
  --secondary: #0891b2;
  --secondary-glow: rgba(8, 145, 178, 0.25);
  --accent: #d97706;
  --accent-glow: rgba(217, 119, 6, 0.25);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --topbar-bg: #f1f5f9;
  --hero-bg: radial-gradient(circle at 10% 20%, rgba(224, 231, 255, 0.45) 0%, rgba(248, 250, 252, 1) 90%);
  --sidebar-bg: #ffffff;
}

/* Light Mode Overrides */
[data-theme="light"] .prem-topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .prem-topbar-left a,
[data-theme="light"] .prem-topbar-downloads a {
  color: #475569;
}

[data-theme="light"] .prem-topbar-downloads a:hover {
  color: var(--primary);
}

[data-theme="light"] .prem-pill-verify {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #1e293b !important;
}

[data-theme="light"] .navbar-wrapper {
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nav-link {
  color: #334155;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--primary);
}

[data-theme="light"] .logo-link {
  color: #0f172a;
}

[data-theme="light"] .hero-section {
  background: var(--hero-bg);
}

[data-theme="light"] .hero-badge {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--primary);
}

[data-theme="light"] .glass-card,
[data-theme="light"] .course-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .faculty-card,
[data-theme="light"] .metric-card,
[data-theme="light"] .info-card,
[data-theme="light"] .pricing-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .form-control,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="number"],
[data-theme="light"] select,
[data-theme="light"] textarea {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

[data-theme="light"] .table,
[data-theme="light"] table {
  background: #ffffff;
  color: #1e293b;
}

[data-theme="light"] th {
  background: #f8fafc;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] td {
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

[data-theme="light"] .btn-outline {
  border-color: #cbd5e1;
  color: #1e293b;
}

[data-theme="light"] .btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

[data-theme="light"] .menu-toggle span {
  background-color: #0f172a;
}

[data-theme="light"] .nav-links {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .admin-sidebar {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
}

[data-theme="light"] .admin-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .sidebar-link {
  color: #475569;
}

[data-theme="light"] .sidebar-link:hover,
[data-theme="light"] .sidebar-link.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  outline: none;
}

.theme-toggle-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--primary);
  transform: rotate(18deg) scale(1.08);
}

.theme-icon-sun {
  display: none;
  color: #f59e0b;
}

.theme-icon-moon {
  display: block;
  color: #93c5fd;
}

[data-theme="light"] .theme-toggle-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

[data-theme="light"] .theme-icon-sun {
  display: block;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Global Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

/* Headings & Subheadings */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Glassmorphism Card base */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px 0 rgba(59, 130, 246, 0.15);
}

/* Navigation Bar */
/* Navigation Bar */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  padding: 0 !important;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1.25rem;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-header);
  color: var(--text-main);
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 0.4rem;
}

.site-logo-img {
  height: 35px;
  max-width: 130px;
  object-fit: contain;
  vertical-align: middle;
}

.logo-link span {
  background: linear-gradient(135deg, var(--text-main) 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.logo-link i {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.nav-links {
  display: flex;
  gap: clamp(0.05rem, 0.4vw, 0.55rem);
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.82rem;
  position: relative;
  padding: 0.28rem 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
}

.nav-link.active {
  color: var(--primary) !important;
  background: rgba(99, 102, 241, 0.12);
  font-weight: 700;
}

.nav-link-admin {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.navbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: 0.35rem;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px var(--primary-glow);
  cursor: pointer;
  white-space: nowrap !important;
  text-decoration: none;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.7);
}

.btn-login-dashboard {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-login-dashboard:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-login-admin {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.45);
  color: #ffffff !important;
}

.btn-login-admin:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.75);
}

.btn-login-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-only {
  display: none !important;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: var(--transition-normal);
}

@media (max-width: 1400px) {
  .navbar-container {
    padding: 0.4rem 0.85rem;
  }

  .logo-link {
    font-size: 1.15rem;
    margin-right: 0.25rem;
  }

  .site-logo-img {
    height: 32px;
    max-width: 115px;
  }

  .nav-links {
    gap: 0.1rem;
  }

  .nav-link {
    font-size: 0.78rem;
    padding: 0.25rem 0.32rem;
  }

  .navbar-actions {
    gap: 0.35rem;
    margin-left: 0.25rem;
  }

  .btn-login {
    padding: 0.36rem 0.72rem;
    font-size: 0.76rem;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 1260px) {
  .desktop-only-admin-btn {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
  }

  .mobile-only {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .logo-link {
    margin-right: 0;
    font-size: 1.2rem;
    gap: 0.45rem;
  }

  .site-logo-img {
    height: 32px;
    max-width: 120px;
  }

  .navbar-actions {
    margin-left: auto;
    gap: 0.4rem;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .btn-login {
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
    gap: 0.35rem;
    border-radius: 9999px;
  }

  .btn-login-avatar {
    width: 18px;
    height: 18px;
  }

  .menu-toggle {
    padding: 0.35rem;
    margin-left: 0.15rem;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0.45rem 0.65rem;
  }

  .logo-link {
    font-size: 1.05rem;
    gap: 0.35rem;
  }

  .site-logo-img {
    height: 28px;
    max-width: 85px;
  }

  .navbar-actions {
    gap: 0.3rem;
  }

  .btn-login {
    padding: 0.35rem 0.7rem;
    font-size: 0.74rem;
  }
}


/* Buttons System */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: var(--text-main);
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: var(--text-inverse);
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-main);
}

/* Breadcrumb / Section Header Banner */
.breadcrumb-banner {
  background: linear-gradient(rgba(8, 12, 20, 0.88), rgba(8, 12, 20, 0.88)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  padding: 9.5rem 0 3.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
}

.breadcrumb-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-family: var(--font-header);
}

.breadcrumb-path {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}

.breadcrumb-path span {
  color: var(--text-muted);
}

[data-theme="light"] .breadcrumb-banner {
  background: linear-gradient(rgba(241, 245, 249, 0.88), rgba(248, 250, 252, 0.95)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1200&q=80');
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .breadcrumb-banner h1 {
  color: #0f172a;
}

[data-theme="light"] .breadcrumb-path {
  color: var(--primary);
}

[data-theme="light"] .breadcrumb-path span {
  color: #64748b;
}

/* ==========================================
   Home Section (Hero)
   ========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(12, 25, 50, 0.8) 0%, rgba(8, 12, 20, 1) 90%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

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

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.hero-features li i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.18) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Hero Brand Logo Showcase */
.hero-brand-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: 2.5rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(8, 12, 20, 0.95) 100%);
  border: 1.5px solid rgba(132, 204, 22, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(132, 204, 22, 0.15);
  backdrop-filter: blur(16px);
  padding: 2.5rem;
  animation: heroFloat 6s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  z-index: 1;
}

.hero-brand-showcase:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7), 0 0 60px rgba(132, 204, 22, 0.25);
  border-color: rgba(132, 204, 22, 0.6);
}

.hero-logo-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Universal Logo Theme Switching */
.logo-dark-mode {
  display: inline-block;
}

.logo-light-mode {
  display: none !important;
}

[data-theme="light"] .logo-dark-mode {
  display: none !important;
}

[data-theme="light"] .logo-light-mode {
  display: inline-block !important;
}

.site-logo-img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  vertical-align: middle;
}

.hero-main-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(132, 204, 22, 0.3));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-brand-showcase:hover .hero-main-logo {
  transform: scale(1.06) rotate(1deg);
}

/* Floating Badges */
.hero-floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: var(--text-main);
  padding: 0.65rem 1.15rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 5;
  white-space: nowrap;
}

.hero-floating-badge i {
  color: #84cc16;
  font-size: 1rem;
}

.badge-top-left {
  top: -15px;
  left: -20px;
  animation: floatBadge1 4s ease-in-out infinite;
}

.badge-bottom-right {
  bottom: -15px;
  right: -20px;
  animation: floatBadge2 4.5s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatBadge1 {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes floatBadge2 {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(6px);
  }
}

/* Light Mode Support for Hero Showcase */
[data-theme="light"] .hero-brand-showcase {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid rgba(132, 204, 22, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 40px rgba(132, 204, 22, 0.15);
}

[data-theme="light"] .hero-brand-showcase:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 50px rgba(132, 204, 22, 0.25);
  border-color: rgba(132, 204, 22, 0.7);
}

[data-theme="light"] .hero-main-logo {
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12)) drop-shadow(0 0 15px rgba(132, 204, 22, 0.25));
}

[data-theme="light"] .hero-floating-badge {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-floating-badge i {
  color: #65a30d;
}

@media (max-width: 768px) {
  .hero-brand-showcase {
    max-width: 320px;
    padding: 1.75rem;
    margin: 2rem auto 0 auto;
  }

  .badge-top-left {
    top: -10px;
    left: -10px;
    font-size: 0.75rem;
    padding: 0.5rem 0.85rem;
  }

  .badge-bottom-right {
    bottom: -10px;
    right: -10px;
    font-size: 0.75rem;
    padding: 0.5rem 0.85rem;
  }
}

/* About Home snippet */
.about-home-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-home-image {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  transition: var(--transition-normal);
  display: block;
}

.about-home-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .about-home-image {
  border-color: #e2e8f0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.about-home-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-home-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ==========================================
   About Us Page Section
   ========================================== */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.pillar-card {
  padding: 3rem 2rem;
  text-align: center;
}

.pillar-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: var(--transition-normal);
}

.pillar-card:hover .pillar-icon {
  background: var(--primary);
  color: var(--text-main);
  transform: scale(1.1);
}

.pillar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Stats Section Banner */
.stats-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 4rem 0;
  margin-top: 5rem;
}

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

.stat-item h2 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ==========================================
   Courses Section
   ========================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.course-header {
  height: 12rem;
  position: relative;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-glass);
}

.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--text-main);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.course-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.course-card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.2rem;
}

.course-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.course-btn-enroll {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.course-btn-enroll:hover {
  background: var(--primary);
  color: var(--text-main);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================
   Faculty Section
   ========================================== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.faculty-card {
  overflow: hidden;
  text-align: center;
}

.faculty-photo-wrapper {
  position: relative;
  height: 18rem;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.faculty-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.faculty-card:hover .faculty-photo {
  transform: scale(1.08);
}

.faculty-social {
  position: absolute;
  bottom: -3rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.9), transparent);
  transition: var(--transition-normal);
}

.faculty-card:hover .faculty-social {
  bottom: 0;
}

.faculty-social-btn {
  width: 2.2rem;
  height: 2.2rem;
  background: var(--primary);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.faculty-social-btn:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

.faculty-info {
  padding: 1.5rem;
}

.faculty-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.faculty-subject {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.faculty-experience {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Faculty bottom sub-banner */
.features-badge-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 5rem;
}

.feature-badge-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.feature-badge-card i {
  font-size: 2rem;
  color: var(--secondary);
}

.feature-badge-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ==========================================
   Admissions Section
   ========================================== */
.admissions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: center;
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-header);
  background: rgba(6, 182, 212, 0.1);
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.step-details h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.step-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Form Styles */
.form-card {
  padding: 3rem 2.5rem;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-header);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 0.5rem;
  color: var(--text-main);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

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

/* Fee Structure Table */
.fee-table-container {
  margin-top: 5rem;
}

.fee-table-container h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.fee-table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid var(--border-glass);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.fee-table th {
  background: var(--bg-tertiary);
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-glass);
}

.fee-table td {
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-glass);
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

.fee-table td.highlight-price {
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  list-style: none;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  color: var(--text-main);
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 24rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  border-color: var(--primary);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.1) 0%, rgba(8, 12, 20, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.75rem;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: auto;
  align-self: flex-end;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transform: scale(0.8) translateY(-10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: scale(1) translateY(0);
}

.gallery-overlay h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  transform: translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

.gallery-view-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transform: translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.gallery-item:hover .gallery-view-text {
  transform: translateY(0);
}

/* ==========================================
   Image Lightbox Modal
   ========================================== */
.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  padding: 1.5rem;
  cursor: zoom-out;
}

.image-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.image-lightbox.active .lightbox-container {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: #0b0f19;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  background: rgba(15, 23, 42, 0.75);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: none;
}

.lightbox-close-btn {
  position: absolute;
  top: -2.8rem;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}

/* ==========================================
   Results & Testimonials Section
   ========================================== */
.toppers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.topper-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.topper-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--text-inverse);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
}

.topper-avatar-wrapper {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  border: 3px solid var(--primary);
  overflow: hidden;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.topper-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topper-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.topper-exam {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.topper-rank {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Testimonials Carousel/Grid */
.testimonials-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

.testimonial-card {
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card i.quote-icon {
  font-size: 2.5rem;
  color: rgba(59, 130, 246, 0.15);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.testimonial-text {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.testimonial-user-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-user-info p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==========================================
   Contact Us Section
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.contact-item:hover .contact-icon-box {
  background: var(--primary);
  color: var(--text-main);
}

.contact-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-social-row {
  margin-top: 1rem;
}

.contact-social-row h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.contact-social-btn {
  width: 2.8rem;
  height: 2.8rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

.contact-social-btn:hover {
  background: var(--primary);
  color: var(--text-main);
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
  transform: translateY(-3px);
}

/* Map Mock component */
.map-container {
  grid-column: span 2;
  height: 25rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  gap: 1rem;
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary);
}

/* Footer Styles moved to main Footer Component System at bottom */

/* ==========================================
   Login Modal Popup
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 11, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 100%;
  max-width: 400px;
  padding: 3rem 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.btn-close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-close-modal:hover {
  color: var(--text-main);
  transform: scale(1.1);
}

/* ==========================================
   Toast Notifications
   ========================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  min-width: 300px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(120%);
  transition: var(--transition-normal);
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left-color: #10b981;
}

.toast.error {
  border-left-color: #ef4444;
}

.toast i {
  font-size: 1.25rem;
}

.toast.success i {
  color: #10b981;
}

.toast.error i {
  color: #ef4444;
}

.toast-message {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ==========================================
   Responsive Styles & Media Queries
   ========================================== */

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

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

  .hero-grid {
    gap: 2.5rem;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about-pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .toppers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .admissions-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .map-container {
    grid-column: span 1;
  }
}

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

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .breadcrumb-banner {
    padding: 7rem 0 3.5rem 0;
  }

  .breadcrumb-banner h1 {
    font-size: 2.4rem;
  }

  .menu-toggle {
    display: flex;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition-normal);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 1.5rem auto;
  }

  .hero-features {
    justify-content: center;
    max-width: 450px;
    margin: 0 auto 2.5rem auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-image {
    transform: none !important;
    max-width: 320px;
  }

  .hero-image-wrapper:hover .hero-image {
    transform: scale(1.03) !important;
  }

  .about-home-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-home-content .hero-badge {
    margin: 0 auto 1rem auto;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .feature-badge-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
  }

  .map-container {
    height: 18rem;
  }
}

@media (max-width: 600px) {
  .faculty-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .toppers-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

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

  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

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

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-badge-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .fee-table th,
  .fee-table td {
    padding: 1rem;
    font-size: 0.85rem;
  }
}

/* ==========================================
   Premium Loader Overlay Styling
   ========================================== */
.premium-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.premium-loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.premium-loader-spinner {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.premium-loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: rotate-loader 2s linear infinite;
}

.premium-loader-ring.ring-blue {
  border-top-color: var(--primary);
  animation-duration: 1.2s;
}

.premium-loader-ring.ring-orange {
  border-right-color: var(--accent);
  animation-duration: 1.6s;
  width: 80px;
  height: 80px;
}

.premium-loader-ring.ring-green {
  border-bottom-color: var(--secondary);
  animation-duration: 0.9s;
  width: 60px;
  height: 60px;
}

.premium-loader-spinner i {
  font-size: 1.8rem;
  color: var(--text-main);
  animation: pulse-loader 1.2s ease-in-out infinite alternate;
}

@keyframes rotate-loader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-loader {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ==========================================
   Header Top Bar Styling
   ========================================== */
.prem-topbar {
  background-color: rgba(6, 10, 18, 0.95);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.5rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  width: 100%;
  transition: all 0.3s ease;
}

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

.prem-topbar-left,
.prem-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.prem-topbar-left a,
.prem-topbar-right a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
  font-weight: 500;
}

.prem-topbar-left a:hover,
.prem-topbar-right a:hover {
  color: var(--text-main);
}

.prem-sep {
  color: rgba(255, 255, 255, 0.15);
}

.prem-sep-bold {
  color: rgba(255, 255, 255, 0.25);
  font-weight: bold;
}

.prem-topbar-downloads {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.prem-pill-verify,
.prem-pill-register {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--primary) !important;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.78rem;
}

.prem-pill-verify:hover {
  background: var(--primary);
  color: var(--text-main) !important;
  border-color: var(--primary);
}

.prem-pill-register {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent) !important;
}

.prem-pill-register:hover {
  background: var(--accent);
  color: var(--text-inverse) !important;
  border-color: var(--accent);
}

/* Responsive navigation adjustments */
@media (max-width: 768px) {
  .prem-topbar {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

/* ==========================================
   Verified Digital Certificate Styling
   ========================================== */
.cert-page-card {
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}

.certificate-container {
  background: #ffffff;
  color: #0f172a;
  max-width: 700px;
  margin: 2rem auto;
  padding: 2.2rem;
  border-radius: 4px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.certificate-border-outer {
  border: 10px double #1e3a8a;
  padding: 1.2rem;
  border-radius: 2px;
}

.certificate-border-inner {
  border: 2px solid #b45309;
  padding: 2rem 1.5rem;
  position: relative;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.certificate-header {
  margin-bottom: 1.5rem;
}

.certificate-header .header-icon {
  font-size: 2.8rem;
  color: #1e3a8a;
  margin-bottom: 0.4rem;
}

.certificate-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #1e3a8a;
  margin-bottom: 0;
}

.certificate-header .subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #475569;
  margin-top: 0;
}

.certificate-container .main-title {
  font-family: var(--font-header);
  font-size: 2rem;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}

.presented-to {
  font-size: 0.95rem;
  font-style: italic;
  color: #64748b;
  margin-bottom: 0.8rem;
}

.student-name {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
  display: inline-block;
  padding: 0 1.5rem 0.4rem 1.5rem;
  margin-bottom: 1.2rem;
}

.cert-body-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

.cert-rank-badge {
  display: inline-flex;
  flex-direction: column;
  background: #f1f5f9;
  border: 1.5px solid #1e3a8a;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.cert-rank-badge .exam-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
}

.cert-rank-badge .rank-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: #b45309;
}

.certificate-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.2rem;
  margin-bottom: 1.5rem;
}

.cert-meta-item {
  text-align: left;
}

.cert-meta-item .meta-label {
  display: block;
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.cert-meta-item .meta-val {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 600;
}

.cert-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.cert-qr-box i {
  font-size: 2.2rem;
  color: #334155;
}

.cert-qr-box .qr-text {
  font-size: 0.5rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 1px;
}

.cert-signatures {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
}

.sig-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
}

.signature-line {
  font-size: 1.25rem;
  color: #1e3a8a;
  border-bottom: 1px solid #cbd5e1;
  width: 100%;
  padding-bottom: 0.2rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

@import url('https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap');

.signature-font {
  font-family: 'Mrs Saint Delafield', cursive;
  font-weight: 400;
}

.sig-title {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

/* Student Credentials Profile details layout */
.profile-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
  gap: 1.5rem;
  align-items: center;
}

.profile-detail-row.last {
  border-bottom: none;
  padding-bottom: 0.25rem;
}

.profile-detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.profile-detail-value {
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

.profile-detail-value.highlight-course {
  color: var(--accent);
}

.profile-detail-value.highlight-rank {
  color: var(--secondary);
}

.profile-detail-value.highlight-grade {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  padding: 0.1rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

@media (max-width: 500px) {
  .profile-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-bottom: 0.75rem;
  }

  .profile-detail-value {
    text-align: left;
    width: 100%;
  }
}

/* Responsive styles for digital certificate */
@media (max-width: 600px) {
  .certificate-container {
    padding: 1rem;
    margin: 1rem auto;
  }

  .certificate-border-outer {
    padding: 0.5rem;
    border-width: 4px;
  }

  .certificate-border-inner {
    padding: 1.5rem 1rem;
  }

  .certificate-header h2 {
    font-size: 1.6rem;
  }

  .certificate-container .main-title {
    font-size: 1.6rem;
  }

  .student-name {
    font-size: 1.8rem;
    padding: 0 0.5rem 0.2rem 0.5rem;
  }

  .cert-body-text {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .certificate-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cert-signatures {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .sig-box {
    width: 100%;
    max-width: 180px;
  }
}

/* PDF Download Mode Styles (to match landscape printable constraints) */
.certificate-container.pdf-rendering {
  position: relative !important;
  margin: 0 auto !important;
  width: 296mm !important;
  height: 209mm !important;
  max-width: none !important;
  box-shadow: none !important;
  padding: 1.5rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.certificate-container.pdf-rendering .certificate-border-outer {
  padding: 0.8rem !important;
  border-width: 10px !important;
}

.certificate-container.pdf-rendering .certificate-border-inner {
  padding: 1.2rem 1.5rem !important;
}

.certificate-container.pdf-rendering .main-title {
  margin-bottom: 0.8rem !important;
}

.certificate-container.pdf-rendering .student-name {
  margin-bottom: 0.8rem !important;
}

.certificate-container.pdf-rendering .cert-body-text {
  margin-bottom: 1rem !important;
}

.certificate-container.pdf-rendering .cert-rank-badge {
  margin-bottom: 1rem !important;
}

.certificate-container.pdf-rendering .certificate-footer {
  margin-bottom: 0.8rem !important;
  padding-top: 1rem !important;
}

/* Print Mode Styles */
@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  /* Hide unrelated containers completely to avoid page breaks */
  header,
  footer,
  nav,
  .navbar-wrapper,
  .prem-topbar,
  .footer,
  .breadcrumb-banner,
  .form-card,
  button,
  .btn-accent,
  .btn-primary,
  .btn-outline,
  .toast-container,
  #premium-loader-overlay,
  .glass-card:not(.cert-page-card) {
    display: none !important;
  }

  html,
  body {
    height: 100% !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Isolate section margins */
  .section-padding {
    padding: 0 !important;
    margin: 0 !important;
  }

  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .cert-page-card {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #printable-certificate {
    position: relative !important;
    margin: 0 auto !important;
    width: 297mm !important;
    /* A4 landscape width */
    height: 210mm !important;
    /* A4 landscape height */
    max-width: none !important;
    box-shadow: none !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
    page-break-inside: avoid !important;
    page-break-before: avoid !important;
    page-break-after: avoid !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #printable-certificate .certificate-border-outer {
    padding: 0.8rem !important;
    border-width: 10px !important;
  }

  #printable-certificate .certificate-border-inner {
    padding: 1.2rem 1.5rem !important;
  }

  #printable-certificate .main-title {
    margin-bottom: 0.8rem !important;
  }

  #printable-certificate .student-name {
    margin-bottom: 0.8rem !important;
  }

  #printable-certificate .cert-body-text {
    margin-bottom: 1rem !important;
  }

  #printable-certificate .cert-rank-badge {
    margin-bottom: 1rem !important;
  }

  #printable-certificate .certificate-footer {
    margin-bottom: 0.8rem !important;
    padding-top: 1rem !important;
  }
}

/* ==========================================
   Auto-Popup Announcement Modal (Inspired by DigiCoders)
   ========================================== */
.entrance-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 15, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 1.25rem;
}

.entrance-popup-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.entrance-popup-card {
  max-width: 540px;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(234, 88, 12, 0.15);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.entrance-popup-overlay.active .entrance-popup-card {
  transform: scale(1) translateY(0);
}

.entrance-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #334155;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

.entrance-popup-close:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}

.entrance-popup-body {
  padding: 1.5rem;
  color: #1e293b;
  text-align: center;
}

/* Poster Banner Graphic */
.entrance-popup-poster {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #0f172a;
}

.entrance-popup-poster-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

/* Built-in Dynamic Poster (Matching DigiCoders Style) */
.dynamic-poster-box {
  background: linear-gradient(145deg, #090a16 0%, #151a30 50%, #0d1222 100%);
  padding: 1.75rem 1.25rem 1.25rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #f97316;
}

.dynamic-poster-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.dynamic-poster-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dynamic-poster-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dynamic-poster-badge {
  background: #f97316;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dynamic-poster-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #84cc16;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(132, 204, 22, 0.3);
}

.dynamic-poster-duration {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.4rem 1.25rem;
  margin-bottom: 1rem;
}

.dynamic-poster-duration span {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dynamic-poster-duration strong {
  font-size: 1.3rem;
  font-weight: 900;
  color: #f1f5f9;
}

.dynamic-poster-courses {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 0.5rem;
  margin-bottom: 0.85rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.dynamic-poster-courses-label {
  font-size: 0.7rem;
  color: #fbbf24;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.dynamic-poster-courses-list {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

.dynamic-poster-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: #94a3b8;
}

.dynamic-poster-chips span {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Contact helpline */
.entrance-popup-phone {
  margin: 0.75rem 0 0.5rem;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.entrance-popup-phone strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

.entrance-popup-phone strong i {
  color: #f97316;
  margin-right: 0.25rem;
}

.entrance-popup-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0.75rem 0 1.25rem;
}

.entrance-popup-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.75rem;
}

.popup-btn-dark {
  background: #1e293b;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.popup-btn-dark:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.3);
}

.popup-btn-cta {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
  transition: all 0.25s ease;
}

.popup-btn-cta:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5);
}

/* ==========================================
   /* ==========================================
   Footer Component System (Dark & Light Mode) - Compact & High-Density
/* ==========================================
   Modern Premium Footer Section Styles
   ========================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  text-align: left;
  width: 100%;
}

.footer * {
  box-sizing: border-box;
}

/* Strict bullet & list resets across all devices */
.footer ul,
.footer ol,
.footer-links-list,
.footer-links-list li,
.footer-col ul,
.footer-col li {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
  margin: 0 !important;
  margin-left: 0 !important;
  text-align: left;
}

.footer-links-list li::marker,
.footer-links-list::marker,
.footer ul::marker,
.footer li::marker {
  display: none !important;
  content: "" !important;
}

/* Footer CTA Banner */
.footer-cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 1.75rem 1.25rem;
  position: relative;
}

.footer-cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-cta-content {
  flex: 1 1 420px;
  text-align: left;
}

.footer-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 0.35rem;
}

.footer-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.footer-cta-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.footer-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-cta-btn.btn-primary-cta {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-cta-btn.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.footer-cta-btn.btn-secondary-cta {
  background: var(--bg-tertiary);
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
}

.footer-cta-btn.btn-secondary-cta:hover {
  transform: translateY(-2px);
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* Main Footer Content */
.footer-main-content {
  padding: 2.75rem 1.25rem 2rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1.05fr 1.35fr;
  gap: 2.25rem;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Brand Column */
.footer-col-brand .footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-col-brand .footer-brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-col-brand .brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.footer-about-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.footer-social-links {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: #fff;
}

.social-icon.wa:hover { background: #25d366; border-color: #25d366; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35); }
.social-icon.tg:hover { background: #229ed9; border-color: #229ed9; box-shadow: 0 4px 12px rgba(34, 158, 217, 0.35); }
.social-icon.yt:hover { background: #ff0000; border-color: #ff0000; box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35); }
.social-icon.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: #d6249f; box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35); }
.social-icon.fb:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35); }

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  width: fit-content;
}

/* Headings */
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 1rem 0;
  position: relative;
  padding-bottom: 0.45rem;
  text-align: left;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary);
}

/* Navigation & List Links */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.footer-links-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.35;
  text-align: left;
}

.footer-links-list a i {
  font-size: 0.74rem;
  color: var(--primary);
  opacity: 0.85;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.footer-links-list a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-links-list a:hover i {
  transform: scale(1.15);
  opacity: 1;
}

.footer-badge-pill {
  font-size: 0.64rem;
  font-weight: 700;
  background: #ef4444;
  color: #fff;
  padding: 0.12rem 0.4rem;
  border-radius: 9999px;
  margin-left: 0.35rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Contact Column */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}

.footer-contact-item .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-contact-item .contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.footer-contact-item .contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
}

.footer-contact-item .contact-value {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.45;
}

.footer-contact-item a.contact-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a.contact-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--border-color);
  padding: 1.1rem 0;
  background: rgba(0, 0, 0, 0.15);
  position: relative;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.25rem;
}

.footer-bottom-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.footer-copy-line {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-credit-line {
  font-size: 0.83rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-bottom-right {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 6px;
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Specific Light Mode Footer Tuning */
[data-theme="light"] .footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .footer-cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .footer-col-brand .footer-brand-logo {
  color: #0f172a;
}

[data-theme="light"] .footer-bottom-bar {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .footer-back-to-top {
  background: #ffffff;
  border-color: #cbd5e1;
}

/* Responsive Footer Breakdown */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .footer {
    text-align: left !important;
  }

  .footer-main-content {
    padding: 2rem 1.25rem 1.5rem 1.25rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: left !important;
  }

  .footer-cta-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 1.25rem !important;
  }

  .footer-cta-actions {
    width: 100% !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
  }

  .footer-cta-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .footer-col-brand,
  .footer-col,
  .footer-contact-items,
  .footer-contact-item {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .footer-links-list {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-links-list li {
    text-align: left !important;
    width: 100% !important;
  }

  .footer-links-list a {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .footer-bottom-container {
    flex-direction: column !important;
    gap: 0.85rem !important;
    padding: 0 1rem !important;
    text-align: center !important;
  }

  .footer-bottom-right {
    position: static !important;
    transform: none !important;
    margin-top: 0.35rem !important;
  }
}

@media (max-width: 480px) {
  .entrance-popup-card {
    border-radius: 14px;
  }

  .entrance-popup-body {
    padding: 1.1rem;
  }

  .dynamic-poster-title {
    font-size: 1.35rem;
  }

  .entrance-popup-phone strong {
    font-size: 1.05rem;
  }

  .entrance-popup-actions {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Visionaries & Team Showcase Styles
   ========================================== */
.team-section-header {
  margin-bottom: 2.75rem;
}

.team-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  display: inline-block;
  position: relative;
}

.heading-accent {
  position: relative;
  display: inline-block;
}

.heading-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background: #0284c7;
  border-radius: 4px;
}

.team-subheading {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-weight: 400;
}

/* Visionaries (Founders) Grid */
.visionary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 3.5rem;
  margin-bottom: 1.5rem;
}

.visionary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.visionary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  border-color: rgba(14, 165, 233, 0.5);
}

.visionary-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111827;
  overflow: hidden;
}

.visionary-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
  display: block;
}

.visionary-card:hover .visionary-photo {
  transform: scale(1.04);
}

.visionary-info {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: var(--bg-card);
}

.visionary-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.visionary-tag {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
}

.visionary-tag.tag-orange {
  color: #ea580c;
}

.visionary-tag.tag-blue {
  color: #0284c7;
}

[data-theme="dark"] .visionary-tag.tag-blue {
  color: #38bdf8;
}

/* Team Grid */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1100px) {
  .team-members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .visionary-grid {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .team-members-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

.team-member-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border-color: rgba(14, 165, 233, 0.4);
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111827;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
  display: block;
}

.team-member-card:hover .team-photo {
  transform: scale(1.05);
}

.team-info {
  padding: 1.25rem 1rem;
  text-align: center;
  background: var(--bg-card);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team-role-pill {
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  line-height: 1.2;
}

[data-theme="dark"] .team-role-pill {
  background: rgba(14, 165, 233, 0.16);
  color: #38bdf8;
}

.team-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}