﻿

body {
  padding-top: 0px !important;
  background: #000 !important;
  color: #fff;
}

section:first-of-type,
.section-padding:first-of-type,
.carousel-section:first-of-type {
  margin-top: 70px !important;
  padding-top: 1.5rem !important;
}

/* ============================================
   MODERN DESIGN SYSTEM - CSS VARIABLES
   ============================================ */
:root {
  /* Brand Colors */
  --primary-color: #002060;
  --primary-dark: #001440;
  --primary-light: #003080;
  --secondary-color: #FF00FF;
  --secondary-light: #FF66FF;
  --accent-color: #0710E9;
  --accent-light: #3040FF;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --black: #000000;
  
  /* Semantic Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* Typography Scale */
  --font-family-base: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
  --font-family-heading: 'Poppins', 'Inter', sans-serif;
  
  --text-xs: 0.55rem;      /* 9px */
  --text-sm: 0.65rem;      /* 10.5px */
  --text-base: 0.79rem;    /* 12.7px */
  --text-lg: 0.89rem;      /* 14.3px */
  --text-xl: 0.99rem;      /* 16px */
  --text-2xl: 1.15rem;     /* 18.5px */
  --text-3xl: 1.37rem;     /* 22px */
  --text-4xl: 1.72rem;     /* 27.6px */
  --text-5xl: 2.07rem;     /* 33.2px */
  --text-6xl: 2.57rem;     /* 41.2px */
  
  /* Spacing Scale */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  
  /* Border Radius */
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 32, 96, 0.95) 0%, rgba(7, 16, 233, 0.9) 100%);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;


  font-family: var(--font-family-base);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  background-color: #000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;


  font-family: var(--font-family-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

body p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}

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

a:hover {
  color: var(--secondary-color);
}

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

/* Container Utilities */
.container, .container-fluid, .container-custom {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.container-custom {
  padding: 0 var(--space-6);
}

section {
  width: 100%;
  margin: 0 auto;
}

.section-blend-top,
.section-blend-bottom {
  position: relative;
  overflow: hidden;
}

.section-blend-top::before,
.section-blend-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 160px;
  pointer-events: none;
  z-index: 1;
}

.section-blend-top::before {
  top: 0;
  background: linear-gradient(180deg, var(--section-blend-from, transparent) 0%, rgba(255,255,255,0) 100%);
}

.section-blend-bottom::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--section-blend-to, transparent) 0%, rgba(255,255,255,0) 100%);
}

.section-blend-top > *,
.section-blend-bottom > * {
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: var(--space-20) 0;
}


/* ============================================
   MODERN NAVIGATION
   ============================================ */
/* --- NAVBAR: Unified and Cleaned --- */
.navbar {
  position: fixed !important;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 55vw;
  max-width: 900px;
  z-index: 2000;
  border-radius: 0 0 1.25rem 1.25rem;
  box-shadow: 0 8px 32px 0 rgba(0,32,96,0.18), 0 1.5px 6px 0 rgba(0,0,0,0.10);
  background: transparent !important;
  backdrop-filter: none !important;
  margin-bottom: 0 !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-scrolled {
  background: #000 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.navbar-brand img {
  height: 40px;
  transition: transform var(--transition-base);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-item {
  margin-left: var(--space-4);
}

.navbar-nav .nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #fff !important;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar-nav .nav-link i {
  font-size: var(--text-base);
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
  background-color: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}

.navbar-nav .nav-link:active {
  color: #fff !important;
}

.navbar-nav .nav-link.active {
  color: #fff !important;
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,0,255,0.55);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.3);
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  margin-top: var(--space-2);
}

.dropdown-menu .dropdown-item {
  font-size: var(--text-sm);
  color: var(--primary-color);
  font-weight: 500;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.dropdown-menu .dropdown-item:hover {
  color: var(--secondary-color);
  background-color: var(--gray-50);
  transform: translateX(4px);
}

.dropdown-menu .dropdown-item:active {
  color: var(--accent-color);
  background-color: var(--gray-100);
}

.contact-btn {
  color: var(--white) !important;
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.contact-btn:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-base);
}

.btn.contact-btn, .contact-btn.btn-lg, .btn-lg.contact-btn {
  color: var(--white) !important;
  background: var(--gradient-secondary) !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  box-shadow: var(--shadow-md) !important;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.btn.contact-btn:hover, .contact-btn.btn-lg:hover, .btn-lg.contact-btn:hover {
  background: var(--gradient-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg) !important;
}

.btn.contact-btn:active, .contact-btn.btn-lg:active, .btn-lg.contact-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-base) !important;
}

/* Mobile Navigation */

/* ============================================
   HERO CAROUSEL - MODERN DESIGN
   ============================================ */
.carousel-section {
  top: 0px;
  position: relative;
}

.carousel-item {
  position: relative;
  height: 50vh;
  min-height: 500px;
}

.carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Removed blue overlay to show images clearly */

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: auto;
  right: auto;
  width: 90%;
  max-width: 800px;
  z-index: 2;
  text-align: center;
}

.carousel-caption h5 {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-4);
  animation: fadeInUp 0.8s ease-out;
}

.carousel-caption p {
  font-size: var(--text-xl);
  color: var(--gray-100);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-6);
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.carousel-caption .btn {
  margin: var(--space-2);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  opacity: 1;
  transition: all var(--transition-base);
}

.carousel-control-prev {
  left: var(--space-6);
}

.carousel-control-next {
  right: var(--space-6);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-preview {
  display: none;
  position: absolute;
  left: 50%;
  top: -110px;
  transform: translateX(-50%);
  width: 240px;
  min-height: 100px;
  max-width: calc(100vw - 3rem);
  padding: 14px;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  z-index: 10;
  border: 1px solid rgba(0, 112, 255, 0.22);
}
.carousel-control-prev:hover .carousel-preview,
.carousel-control-next:hover .carousel-preview {
  display: block;
}
.carousel-preview-content {
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.carousel-preview-content strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--primary-color);
}
.carousel-preview-content p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #333;
  max-height: 3.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
}

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

/* Responsive Carousel */

/* Extra small devices */

/* Lead Section */
.lead-section {
  background: #003080;
  color: var(--white);
  padding: var(--space-20) var(--space-6);
}

.lead-section h2 {
  color: var(--white);
  font-size: var(--text-4xl);
  font-weight: 800;
}

.lead-section p {
  color: var(--gray-100);
  font-size: var(--text-xl);
}

.lead-section .stat-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lead-section .stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.lead-section .counter {
  font-size: 2.2rem;
  font-weight: 800;
}

.lead-section img {
  border-radius: 12px;
}

/* Product Features Section */

/* For Schools / Students Section */
.for-users {
  background: #f8f9fc;
}

.for-users h2,
.for-users h2.text-primary {
  color: #fff !important;
}

.for-users .card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.for-users .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 32, 96, 0.1) !important;
}

.for-users .card ul li i {
  margin-right: 8px;
}

/* ============================================
   MODERN FEATURE CARDS & SECTIONS
   ============================================ */
.values-section {
  background: var(--gray-50);
  padding: var(--space-20) var(--space-6);
}

.feature-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-box i {
  font-size: var(--text-4xl);
  color: var(--primary-color);
  margin-bottom: var(--space-4);
  transition: all var(--transition-base);
}

.feature-box:hover i {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.feature-box h6 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-3);
}

.feature-box p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  flex-grow: 1;
}

.integrity-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.integrity-box h4 {
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--primary-color);
  margin-bottom: var(--space-6);
}

.integrity-box p {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

/* Modern Buttons */
.btn-primary {
  background: var(--gradient-secondary);
  border: none;
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  color: var(--white) !important;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white) !important;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-base);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--secondary-color);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  color: var(--secondary-color);
  transition: all var(--transition-base);
}

.btn-outline-primary:hover {
  background: var(--gradient-secondary);
  border-color: var(--secondary-color);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-light {
  background: var(--gradient-secondary);
  border: none;
  color: var(--white) !important;
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 600;
  transition: all var(--transition-base);
}

.btn-outline-light:hover {
  background: var(--gradient-secondary);
  border-color: var(--secondary-color);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-success {
  background: var(--gradient-secondary);
  border: none;
  color: var(--white) !important;
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-info {
  background: var(--gradient-secondary);
  border: none;
  color: var(--white) !important;
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-info:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-warning {
  background: var(--gradient-secondary);
  border: none;
  color: var(--white) !important;
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-warning:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   MODERN MEETING GALLERY SECTION
   ============================================ */
.meeting-gallery-section {
  background: var(--white);
  padding: var(--space-20) var(--space-6);
  position: relative;
  overflow: hidden;
}

.meeting-gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
}

.section-title p {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: var(--space-6) auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: var(--space-6);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

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

.gallery-overlay h5 {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.gallery-overlay p {
  color: var(--gray-200);
  font-size: var(--text-sm);
  margin: 0;
}

/* Featured Gallery Item */
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}


/* Stats Section */
.stat-box {
  background: linear-gradient(to bottom right, rgb(255, 207, 145), rgb(255, 111, 92));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.stat-box h5 {
  font-size: 16px;
  font-weight: bold;
  color: #002060;
  margin-bottom: 10px;
}

.stat-box .counter {
  font-size: 28px;
  font-weight: bold;
  color: #ff00ff;
}

.col-lg-6 img {
  width: 100%;
  max-width: 450px;
}

/* Team Cards */
.team-card {
  background: linear-gradient(to bottom right, #2af598, #009efd);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.team-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.social-icons a {
  margin: 0 8px;
  color: #555;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #007bff;
}

/* Card Body */
.card-body {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 32, 96, 0.1);
  position: relative;
  z-index: 10;
}

.card-body img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 3px solid #007bff;
}

.card-body h5 {
  font-size: 18px;
  font-weight: bold;
  color: #002060;
  margin-top: 12px;
  margin-bottom: 8px;
}

.card-body .text-muted {
  color: #666 !important;
  font-size: 14px;
  margin-bottom: 12px;
}

.card-body .card-text {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Testimonials Section Styles */
.testimonials-section {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  position: relative;
}

/* Side-by-side folders row */
.folders-row {
  align-items: flex-start;
}

/* ===== SHARED 3D DESKTOP FOLDER STYLES ===== */
.desk-folder {
  perspective: 1200px;
  cursor: pointer;
  position: relative;
  max-width: 100%;
  transform-style: preserve-3d;
}

/* 3D shadow underneath the folder */
.desk-folder::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.desk-folder.folder-open::after {
  opacity: 0.06;
}

/* Folder Tab */
.desk-folder-tab {
  position: relative;
  width: 120px;
  height: 22px;
  margin: 0 0 -2px 16px;
  border-radius: 6px 6px 0 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: background 0.4s ease, transform 0.3s ease;
  transform: translateZ(4px);
}

.desk-folder-tab span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Folder Body */
.desk-folder-body {
  position: relative;
  border-radius: 0 10px 10px 10px;
  padding: 20px 16px 16px;
  min-height: 120px;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06),
              0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.4s ease;
}

.desk-folder.folder-open .desk-folder-body {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1),
              0 2px 8px rgba(0,0,0,0.06);
}

/* Folder Front Face (3D lid) */
.desk-folder-front {
  position: absolute;
  top: -1px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 0 10px 10px 10px;
  z-index: 5;
  transform-origin: center top;
  transform: rotateX(0deg) translateZ(6px);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease 0.3s,
              box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backface-visibility: hidden;
}

/* Papers peeking out */
.desk-folder-front::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20%;
  right: 20%;
  height: 8px;
  background: linear-gradient(90deg, #f0f0f0, #ffffff, #f0f0f0);
  border-radius: 3px 3px 0 0;
  border: 1px solid #ddd;
  border-bottom: none;
}

.desk-folder-front::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 28%;
  right: 28%;
  height: 5px;
  background: #fafafa;
  border-radius: 2px 2px 0 0;
  border: 1px solid #e0e0e0;
  border-bottom: none;
}

.desk-folder-front .folder-icon-display {
  font-size: 2.8rem;
}

.desk-folder-front .folder-hint {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.desk-folder-front .folder-count {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* === OPEN STATE === */
.desk-folder.folder-open .desk-folder-front {
  transform: rotateX(-95deg) translateZ(6px);
  opacity: 0;
  pointer-events: none;
}

.desk-folder.folder-open .desk-folder-tab {
  transform: translateZ(0);
}

/* Single-card carousel */
.desk-folder-body .row.g-4 {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.desk-folder.folder-open .desk-folder-body .row.g-4 {
  opacity: 1;
  transform: translateY(0);
}

.desk-folder-body .row.g-4 > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
  display: none;
}

.desk-folder-body .row.g-4 > [class*="col-"].folder-card-active {
  display: block;
  animation: folderCardFadeIn 0.35s ease;
}

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

/* Navigation controls */
.folder-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.desk-folder.folder-open .folder-nav {
  display: flex;
}

.folder-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: transparent;
}

.folder-nav-dots {
  display: flex;
  gap: 5px;
}

.folder-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.folder-nav-dot.active {
  transform: scale(1.4);
}

/* ===== CORAL THEME (Testimonials) ===== */
.desk-folder--amber .desk-folder-tab {
  background: linear-gradient(180deg, rgb(255, 207, 145), rgb(255, 140, 110));
}
.desk-folder--amber .desk-folder-tab span {
  color: #6b2010;
}
.desk-folder--amber .desk-folder-body {
  border: 2px solid rgb(220, 110, 80);
  background: linear-gradient(180deg, #fff5f0 0%, #ffe8e0 100%);
}
.desk-folder--amber .desk-folder-front {
  background: linear-gradient(175deg, rgb(255, 220, 185) 0%, rgb(255, 160, 120) 35%, rgb(255, 111, 92) 100%);
  border: 2px solid rgb(220, 110, 80);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45),
              0 6px 20px rgba(200, 80, 50, 0.18);
}
.desk-folder--amber .desk-folder-front .folder-icon-display {
  color: rgba(140, 50, 20, 0.22);
}
.desk-folder--amber .desk-folder-front .folder-hint {
  color: rgba(140, 50, 20, 0.5);
}
.desk-folder--amber .desk-folder-front .folder-count {
  background: rgba(140, 50, 20, 0.12);
  color: rgba(140, 50, 20, 0.6);
}
.desk-folder--amber.folder-open .desk-folder-tab {
  background: linear-gradient(180deg, rgb(255, 220, 170), rgb(255, 160, 130));
}
.desk-folder--amber .folder-nav-btn {
  border-color: rgb(220, 110, 80);
  background: #ffe8e0;
  color: rgb(160, 60, 30);
}
.desk-folder--amber .folder-nav-btn:hover {
  background: rgb(255, 180, 145);
  color: #5c1500;
}
.desk-folder--amber .folder-nav-dot {
  background: rgb(240, 190, 170);
}
.desk-folder--amber .folder-nav-dot.active {
  background: rgb(220, 110, 80);
}

/* ===== TEAL THEME (Success Stories) ===== */
.desk-folder--blue .desk-folder-tab {
  background: linear-gradient(180deg, #2af598, #00c4a0);
}
.desk-folder--blue .desk-folder-tab span {
  color: #004d3a;
}
.desk-folder--blue .desk-folder-body {
  border: 2px solid #00a07a;
  background: linear-gradient(180deg, #edfff8 0%, #d9fff0 100%);
}
.desk-folder--blue .desk-folder-front {
  background: linear-gradient(175deg, #70ffcc 0%, #2af598 35%, #009efd 100%);
  border: 2px solid #00a07a;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4),
              0 6px 20px rgba(0, 120, 90, 0.18);
}
.desk-folder--blue .desk-folder-front .folder-icon-display {
  color: rgba(0, 80, 60, 0.22);
}
.desk-folder--blue .desk-folder-front .folder-hint {
  color: rgba(0, 80, 60, 0.5);
}
.desk-folder--blue .desk-folder-front .folder-count {
  background: rgba(0, 80, 60, 0.12);
  color: rgba(0, 80, 60, 0.6);
}
.desk-folder--blue.folder-open .desk-folder-tab {
  background: linear-gradient(180deg, #50ffb0, #20dfa0);
}
.desk-folder--blue .folder-nav-btn {
  border-color: #00a07a;
  background: #d9fff0;
  color: #006050;
}
.desk-folder--blue .folder-nav-btn:hover {
  background: #2af598;
  color: #003020;
}
.desk-folder--blue .folder-nav-dot {
  background: #90e8c8;
}
.desk-folder--blue .folder-nav-dot.active {
  background: #00a07a;
}

/* Mobile: show cards normally, hide folder chrome */

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #e8ecf1;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002060, #0056d2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 32, 96, 0.12);
  border-color: transparent;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: #002060;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -8px;
}

.testimonial-card .stars {
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid #e8ecf1;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Blog Section */
.blog-section .card-img-top {
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.blog-section .card-title {
  font-size: 16px;
  font-weight: bold;
  color: #002060;
}

.blog-section .card-text {
  font-size: 14px;
  color: #444;
}

.blog-section .btn-outline-primary:hover {
  background: var(--gradient-secondary);
  color: #fff;
  border-color: var(--secondary-color);
}

/* Enrollment Section */
.enroll-section {
  background-image: url('images/enroll-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.enroll-box {
  max-width: 100%;
  margin: auto;
}

.enroll-box h2 {
  font-size: 28px;
  color: #002060;
}

.enroll-box p {
  font-size: 16px;
  line-height: 1.6;
}

.enroll-box .btn-primary {
  background: var(--gradient-secondary);
  border: none;
  padding: 12px 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.enroll-box .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

/* Footer */
.footer {
  background-color: #002060;
  color: #f0f0f0;
}

.footer h5 {
  font-size: 14px;
  font-weight: bold;
  color: #ff00ff;
  margin-bottom: 15px;
}

.footer a[href^="tel:"],
.footer a[href^="mailto:"] {
  color: #f0f0f0;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer a[href^="tel:"]:hover,
.footer a[href^="mailto:"]:hover {
  color: #ff00ff;
  text-shadow: 0 0 5px rgba(255, 0, 255, 0.6);
}


.footer i {
  vertical-align: middle;
  width: 10px;
  height: 10px;
}

.footer ul li a {
  position: relative;
  display: inline-block;
  color: #f0f0f0;
  font-size: 14px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #ff00ff;
  transition: width 0.3s ease;
}

.footer ul li a:hover {
  color: #ff00ff;
  transform: translateX(3px);
}

.footer ul li a:hover::after {
  width: 100%;
}

.footer a.social-icon {
  color: #f0f0f0;
  font-size: 24px;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.footer a.social-icon:hover {
  color: #ff00ff;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* WhatsApp Chat Widget */
.whatsapp-chat {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.whatsapp-chat img {
  width: 100%;
  height: 100%;
}


#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 50px;
  background-color: #002060;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: none;
}

#backToTop:hover {
  background-color: #ff00ff;
  transform: scale(1.1);
}


/* registration form */
#registration-form {
  background-color: #f9f9f9;
}

#registration-form h2 {
  font-size: 28px;
  color: #002060;
}

#registration-form .form-control,
#registration-form .form-select {
  border-radius: 6px;
}

#registration-form .btn-success:hover {
  background: var(--gradient-secondary);
  border-color: var(--secondary-color);
}

/* About Us Section */
.about-us-section {
  background-color: #f9f9f9;
}

.about-grid {
  max-width: 100%;
}

.about-us-section h3, h4 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #002060;
}

.about-us-section p {
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
}

.about-us-section img {
  max-height: 300px;
  object-fit: cover;
}


/* Course Page */
.course-card {
  margin-bottom: 20px;
}
/* removed redundant .navbar margin-bottom, handled in main .navbar */

/* ============================================
   ADDITIONAL MODERN COMPONENTS
   ============================================ */

/* Stats Section */
.stat-box {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.stat-box:hover::before {
  transform: scaleX(1);
}

.stat-box h5 {
  color: var(--primary-color);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.counter {
  display: block;
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
}

/* Management Team Section - Modern Style */
.management-team-section {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.team-card-modern {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 32, 96, 0.08);
  transition: all 0.4s ease;
  border: 1px solid #e8ecf1;
}

.team-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 32, 96, 0.15);
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-img-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 32, 96, 0.9), transparent);
  padding: 60px 20px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.social-icons-modern {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icons-modern a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.social-icons-modern a:hover {
  background: #fff;
  color: #002060;
  transform: translateY(-3px);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h5 {
  color: #002060;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  display: inline-block;
  background: linear-gradient(135deg, #002060, #0056d2);
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Team Carousel */
#teamCarousel .carousel-control-prev-icon,
#teamCarousel .carousel-control-next-icon {
  background-color: rgba(0, 32, 96, 0.7);
  border-radius: 50%;
  padding: 20px;
  background-size: 50%;
}

#teamCarousel .carousel-indicators button {
  background-color: #002060;
}

#teamCarousel .carousel-indicators {
  margin-bottom: -10px;
}

/* Team Cards */
.team-card {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-base);
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-color);
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto var(--space-6);
  object-fit: cover;
  border: 4px solid var(--primary-color);
  transition: all var(--transition-base);
}

.team-card:hover .team-img {
  border-color: var(--secondary-color);
  transform: scale(1.1);
}

.team-card h5 {
  color: var(--primary-color);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.team-card p {
  color: var(--gray-600);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all var(--transition-base);
  font-size: var(--text-lg);
}

.social-icons a:hover {
  background: var(--gradient-secondary);
  color: var(--white);
  transform: translateY(-4px);
}

/* Blog Cards */
.blog-section .card {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.blog-section .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.blog-section .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-section .card:hover .card-img-top {
  transform: scale(1.1);
}

.blog-section .card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-3);
}

.blog-section .card-text {
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.blog-section .btn-outline-primary {
  border-width: 2px;
  font-weight: 600;
  transition: all var(--transition-base);
}


/* Success Stories Section */
.success-stories .card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-stories .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 32, 96, 0.1) !important;
}

.success-stories .card p {
  font-style: italic;
  color: #555;
}

.success-stories .card h6 {
  font-size: 1.5rem;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pattern {
  position: relative;
  overflow: hidden;
}

.bg-pattern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.card-hover-effect {
  transition: all var(--transition-base);
  cursor: pointer;
}

.card-hover-effect:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

/* Loading Animation */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Utilities */


/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */

/* ============================================
   PAGE-SPECIFIC BACKGROUNDS
   ============================================ */
.about-hero-bg {
  background: url('images/slide1.jpg') center/cover no-repeat fixed;
}
.about-whoweare-bg {
  background: linear-gradient(rgba(0, 32, 96, 0.85), rgba(0, 32, 96, 0.85)), url('images/slide2.jpg') center/cover no-repeat fixed;
}
.services-hero-bg {
  background: url('images/slide3.jpg') center/cover no-repeat fixed;
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

/* Services Hero */
.services-hero {
  background: linear-gradient(135deg, #002060 0%, #0056d2 50%, #00875a 100%);
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.min-vh-75 {
  min-height: 55vh;
}

/* Service Cards */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid #e8ecf1;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002060, #0056d2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 32, 96, 0.12);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #002060, #0056d2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.service-card h4 {
  color: #002060;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card > p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.service-features li {
  padding: 8px 0;
  color: #4a5568;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: #00875a;
  font-size: 0.85rem;
}

/* Why Choose Us */
.why-choose-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.why-choose-item:last-child {
  border-bottom: none;
}

.why-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #002060, #0056d2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon i {
  color: #fff;
  font-size: 1.2rem;
}

.why-choose-item h5 {
  color: #002060;
  font-weight: 600;
  margin-bottom: 4px;
}

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

.stat-box-service {
  background: linear-gradient(135deg, #002060, #0056d2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
}

.stat-box-service:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Pricing Cards */
.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  border: 2px solid #e8ecf1;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.pricing-card.featured {
  border-color: #002060;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 32, 96, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #002060, #0056d2);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header h5 {
  color: #002060;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.pricing-price {
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}

.pricing-price .currency {
  font-size: 1.2rem;
  color: #002060;
  vertical-align: top;
}

.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #002060;
}

.pricing-price .period {
  font-size: 1rem;
  color: #6b7280;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li.text-muted i {
  color: #ccc;
}

/* Services CTA */
.services-cta {
  background: linear-gradient(135deg, #002060 0%, #0056d2 100%);
  position: relative;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Services Page Responsive */


/* Dark Mode Support (Optional) */

/* Performance Optimization */
.navbar {
  will-change: transform;
}

.carousel-item img {
  will-change: transform;
}

.gallery-item,
.feature-box,
.team-card,
.stat-card,
.service-card {
  contain: layout style;
}
/* ============================================
   STUDENT PORTAL STYLES
   ============================================ */

/* Portal Hero Section */
.portal-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 120px 0 var(--space-20);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.portal-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.portal-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.portal-hero .lead {
  color: var(--gray-100);
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
}

/* Hero Stats */
.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

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

.stat-card i {
  font-size: var(--text-4xl);
  color: var(--white);
  margin-bottom: var(--space-3);
}

.stat-card h3 {
  color: var(--white);
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.stat-card p {
  color: var(--gray-200);
  font-size: var(--text-sm);
  margin: 0;
}

/* Portal Login Card */
.portal-login-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
}

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

.portal-login-card .card-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--space-8);
  text-align: center;
}

.portal-login-card .card-header h3 {
  color: var(--white);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.portal-login-card .card-header p {
  color: var(--gray-100);
  font-size: var(--text-sm);
  margin: 0;
}

.portal-form {
  padding: var(--space-8);
}

.portal-form .form-group {
  margin-bottom: var(--space-6);
}

.portal-form label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

.portal-form .form-control {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.portal-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 32, 96, 0.1);
  outline: none;
}

.password-input {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  padding: var(--space-2);
  transition: color var(--transition-base);
}

.toggle-password:hover {
  color: var(--primary-color);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.form-check-label {
  color: var(--gray-600);
}

.forgot-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-base);
}

.forgot-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.portal-footer {
  background: var(--gray-50);
  padding: var(--space-6);
  text-align: center;
  border-top: 1px solid var(--gray-200);
}

.portal-footer p {
  margin: 0;
  color: var(--gray-600);
  font-size: var(--text-sm);
}

.portal-footer a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}

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

/* Portal Features Section */
.portal-features {
  background: var(--gray-50);
}

.portal-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  height: 100%;
}

.portal-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  transition: all var(--transition-base);
}

.portal-feature-card:hover .feature-icon {
  background: var(--gradient-secondary);
  transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
  font-size: var(--text-4xl);
  color: var(--white);
}

.portal-feature-card h4 {
  color: var(--primary-color);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.portal-feature-card p {
  color: var(--gray-600);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0;
}

/* Portal CTA Section */
.portal-cta {
  background: var(--gradient-primary);
  padding: var(--space-16) var(--space-6);
  position: relative;
  overflow: hidden;
}

.portal-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.portal-cta h2 {
  color: var(--white);
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.portal-cta p {
  color: var(--gray-100);
  font-size: var(--text-lg);
  margin: 0;
}

.portal-cta .btn {
  background: var(--white);
  color: var(--primary-color);
  font-weight: 700;
}

.portal-cta .btn:hover {
  background: var(--gray-100);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

/* Modern Footer */
.modern-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-16) 0 var(--space-8);
}

.modern-footer h5 {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--gradient-secondary);
  transform: translateY(-4px);
}

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

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color var(--transition-base);
  font-size: var(--text-sm);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: var(--space-2);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.footer-contact i {
  color: var(--secondary-color);
  font-size: var(--text-lg);
}

.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-500);
  font-size: var(--text-sm);
}

/* Responsive Design */

/* ============================================
   STUDENT PORTAL DASHBOARD INTERFACE STYLES
   ============================================ */

/* Base Styles */
.dashboard-body {
  font-family: 'Inter', sans-serif;
  background: #f0f4f8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #002060 0%, #001440 100%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
  height: 50px;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sidebar User */
.sidebar-user {
  padding: 25px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.user-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.status-indicator {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #002060;
}

.status-indicator.online {
  background: #22c55e;
}

.user-name {
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}

.user-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 15px 0;
}

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

.nav-item {
  margin: 4px 12px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-link i {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-item.active .nav-link {
  background: linear-gradient(135deg, #0066ff, #0044cc);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.nav-link .badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-link .badge.warning {
  background: #f59e0b;
}

.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 15px 20px;
}

.nav-item.logout .nav-link {
  color: #ef4444;
}

.nav-item.logout .nav-link:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
  margin-left: 260px;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

/* Top Header */
.top-header {
  background: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  padding: 8px;
}

.search-box {
  position: relative;
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.search-box input {
  padding: 12px 15px 12px 45px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  width: 320px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #002060;
  box-shadow: 0 0 0 3px rgba(0, 32, 96, 0.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  background: #f3f4f6;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #4b5563;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: #002060;
  color: #fff;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.user-dropdown .dropdown-toggle {
  background: #f3f4f6;
  border: none;
  padding: 8px 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-dropdown .dropdown-toggle:hover {
  background: #e5e7eb;
}

.user-dropdown .dropdown-toggle::after {
  display: none;
}

.user-dropdown img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

/* ============================================
   DASHBOARD CONTENT
   ============================================ */
.dashboard-content {
  padding: 25px 30px;
}

/* Welcome Banner */
.welcome-banner {
  background: linear-gradient(135deg, #002060 0%, #0056d2 100%);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  color: #fff;
}

.welcome-text h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.welcome-text p {
  opacity: 0.8;
  margin: 0;
}

.welcome-date {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-card.primary .stat-icon {
  background: rgba(0, 32, 96, 0.1);
  color: #002060;
}

.stat-card.warning .stat-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.stat-card.success .stat-icon {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.stat-card.info .stat-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.stat-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 4px;
}

.stat-info p {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0;
}

.stat-trend {
  margin-left: auto;
  font-size: 0.8rem;
  color: #6b7280;
}

.stat-trend.up {
  color: #22c55e;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 25px;
}

/* Dashboard Cards */
.dashboard-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 25px;
}

.dashboard-card .card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-card .card-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.dashboard-card .card-header h2 i {
  color: #002060;
}

.view-all {
  color: #002060;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-all:hover {
  color: #0056d2;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px 24px;
}

.course-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.course-card:hover {
  border-color: #002060;
  box-shadow: 0 4px 12px rgba(0, 32, 96, 0.1);
}

.course-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.course-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.course-info p {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar .progress {
  height: 100%;
  background: linear-gradient(90deg, #002060, #0066ff);
  border-radius: 10px;
}

.progress-text {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Assignments List */
.assignments-list {
  padding: 20px 24px;
}

.assignment-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

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

.assignment-item:hover {
  border-color: #002060;
}

.assignment-status .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9ca3af;
}

.assignment-item.urgent .status-dot {
  background: #ef4444;
}

.assignment-item.warning .status-dot {
  background: #f59e0b;
}

.assignment-info {
  flex: 1;
}

.assignment-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.assignment-info p {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

.due-badge {
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  background: #f3f4f6;
  color: #6b7280;
}

.due-badge.urgent {
  background: #fef2f2;
  color: #ef4444;
}

.due-badge.warning {
  background: #fffbeb;
  color: #f59e0b;
}

/* Grades Table */
.grades-table {
  padding: 0 24px 24px;
}

.grades-table table {
  width: 100%;
  border-collapse: collapse;
}

.grades-table th,
.grades-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.grades-table th {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
}

.grades-table td {
  font-size: 0.9rem;
  color: #1f2937;
}

.subject-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Tech Course Badges */
.subject-badge.frontend { background: #ede9fe; color: #6366f1; }
.subject-badge.data { background: #d1fae5; color: #059669; }
.subject-badge.graphics { background: #fef3c7; color: #d97706; }
.subject-badge.backend { background: #fee2e2; color: #dc2626; }
.subject-badge.desktop { background: #e0e7ff; color: #4338ca; }
.subject-badge.visual { background: #cffafe; color: #0891b2; }

/* Legacy subject badges */
.subject-badge.math { background: #ede9fe; color: #6366f1; }
.subject-badge.english { background: #d1fae5; color: #059669; }
.subject-badge.physics { background: #fef3c7; color: #d97706; }
.subject-badge.chemistry { background: #fee2e2; color: #dc2626; }

.grade-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.grade-badge.A { background: #d1fae5; color: #059669; }
.grade-badge.B { background: #dbeafe; color: #2563eb; }
.grade-badge.C { background: #fef3c7; color: #d97706; }

/* Schedule Section */
.schedule-list {
  padding: 16px;
}

.schedule-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #f9fafb;
  transition: all 0.3s ease;
}

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

.schedule-item.active {
  background: linear-gradient(135deg, #002060, #0056d2);
  color: #fff;
}

.schedule-time {
  min-width: 60px;
  text-align: center;
}

.schedule-time span:first-child {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

.schedule-time .duration {
  font-size: 0.75rem;
  opacity: 0.7;
}

.schedule-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.schedule-info p {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 4px;
}

.schedule-info .location {
  font-size: 0.75rem;
  opacity: 0.6;
}

.status-badge.live {
  background: #22c55e;
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  margin-left: auto;
  align-self: flex-start;
}

/* Announcements */
.announcements-list {
  padding: 16px;
}

.announcement-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #f9fafb;
  transition: all 0.3s ease;
}

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

.announcement-item.new {
  background: #eff6ff;
  border-left: 3px solid #002060;
}

.announcement-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #002060;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.announcement-icon.warning {
  background: #f59e0b;
}

.announcement-icon.success {
  background: #22c55e;
}

.announcement-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.announcement-content p {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 6px;
  line-height: 1.4;
}

.announcement-time {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Quick Actions */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.3s ease;
}

.action-item:hover {
  background: #002060;
  color: #fff;
}

.action-item i {
  font-size: 1.5rem;
}

.action-item span {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Progress Chart */
.progress-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 150px;
  padding: 20px 24px 0;
}

.progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.progress-item .day {
  font-size: 0.75rem;
  color: #6b7280;
  order: 2;
}

.progress-item .hours {
  font-size: 0.7rem;
  color: #9ca3af;
  order: 3;
}

.bar-container {
  width: 28px;
  height: 100px;
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  order: 1;
}

.bar-container .bar {
  width: 100%;
  background: linear-gradient(180deg, #0066ff, #002060);
  border-radius: 8px;
  transition: height 0.5s ease;
}

.progress-item.active .bar {
  background: linear-gradient(180deg, #22c55e, #15803d);
}

.chart-summary {
  text-align: center;
  padding: 16px 24px 20px;
  border-top: 1px solid #f3f4f6;
}

.chart-summary .total {
  font-size: 0.85rem;
  color: #6b7280;
}

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


/* Portal Interface � sidebar overlay & table scroll */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.sidebar-overlay.active {
  display: block;
}

.grades-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* =========================================
   HLTS Admin Dashboard Styles
   ========================================= */

:root {
  --admin-primary: #dc2626;
  --admin-primary-dark: #b91c1c;
  --admin-secondary: #1e293b;
  --admin-sidebar-bg: #0f172a;
  --admin-sidebar-width: 280px;
  --admin-header-height: 70px;
}

/* =========================================
   Base Styles
   ========================================= */

.admin-body {
  font-family: 'Inter', sans-serif;
  background: #f1f5f9;
  min-height: 100vh;
  display: flex;
}

/* =========================================
   Sidebar Styles
   ========================================= */

.admin-sidebar {
  width: var(--admin-sidebar-width);
  background: var(--admin-sidebar-bg);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
  height: 40px;
  width: auto;
}

.admin-badge {
  background: var(--admin-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.sidebar-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.sidebar-user {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.user-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--admin-primary);
}

.user-name {
  color: #fff;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}

.user-role {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

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

.nav-section-title {
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 1.5rem 0.5rem;
}

.nav-item {
  margin: 2px 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.nav-link i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.nav-item.active .nav-link {
  color: #fff;
  background: var(--admin-primary);
  border-left: 3px solid #fff;
}

.nav-link .badge {
  margin-left: auto;
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
}

.nav-link .badge.warning {
  background: #f59e0b;
}

.nav-item.logout .nav-link {
  color: #ef4444;
}

.nav-item.logout .nav-link:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* =========================================
   Main Content Area
   ========================================= */

.admin-main {
  flex: 1;
  margin-left: var(--admin-sidebar-width);
  min-height: 100vh;
}

/* =========================================
   Header Styles
   ========================================= */

.admin-header {
  height: var(--admin-header-height);
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--admin-secondary);
  cursor: pointer;
}

.breadcrumb-nav .current-section {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--admin-secondary);
  display: block;
}

.breadcrumb-nav .section-subtitle {
  font-size: 0.8rem;
  color: #64748b;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-box {
  position: relative;
  display: none;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.search-box input {
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 300px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.action-btn:hover {
  background: #f8fafc;
  color: var(--admin-primary);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: var(--admin-primary);
  color: #fff;
  font-size: 0.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-profile .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.admin-profile .dropdown-toggle:hover {
  background: #f8fafc;
}

.admin-profile .dropdown-toggle::after {
  display: none;
}

.admin-profile img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.admin-profile span {
  font-weight: 500;
  color: var(--admin-secondary);
}

.admin-profile .dropdown-menu {
  min-width: 180px;
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border-radius: 10px;
}

.admin-profile .dropdown-item {
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================
   Content Area
   ========================================= */

.admin-content {
  padding: 2rem;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

/* =========================================
   Stats Overview
   ========================================= */

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

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 4px solid;
}

.stat-card.primary {
  border-color: #6366f1;
}

.stat-card.primary .stat-icon {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.stat-card.success {
  border-color: #10b981;
}

.stat-card.success .stat-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.stat-card.warning {
  border-color: #f59e0b;
}

.stat-card.warning .stat-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.stat-card.info {
  border-color: #06b6d4;
}

.stat-card.info .stat-icon {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-details h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: var(--admin-secondary);
}

.stat-details p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.stat-details .trend {
  font-size: 0.8rem;
  color: #64748b;
}

.stat-details .trend.up {
  color: #10b981;
}

.stat-details .trend.down {
  color: #ef4444;
}

/* =========================================
   Quick Actions Bar
   ========================================= */

.quick-actions-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--admin-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.quick-action:hover {
  border-color: var(--admin-primary);
  color: var(--admin-primary);
  background: rgba(220, 38, 38, 0.05);
}

.quick-action i {
  font-size: 1rem;
}

/* =========================================
   Dashboard Grid
   ========================================= */

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

/* =========================================
   Admin Card
   ========================================= */

.admin-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.card-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.card-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--admin-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header a {
  color: var(--admin-primary);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}

/* =========================================
   Students List
   ========================================= */

.students-list {
  padding: 0.5rem;
}

.student-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: background 0.2s;
}

.student-item:hover {
  background: #f8fafc;
}

.student-item img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.student-info {
  flex: 1;
}

.student-info h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--admin-secondary);
}

.student-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.student-item .status {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.student-item .status.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.student-item .status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--admin-primary);
  color: #fff;
}

/* =========================================
   Activity List
   ========================================= */

.activity-list {
  padding: 0.5rem 1rem;
}

.activity-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon.primary {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.activity-icon.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.activity-icon.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.activity-icon.info {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.activity-icon.danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.activity-details p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--admin-secondary);
}

.activity-details span {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* =========================================
   Class Distribution
   ========================================= */

.class-distribution {
  padding: 1.5rem;
}

.class-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.class-name {
  width: 80px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--admin-secondary);
  white-space: nowrap;
}

.bar-track {
  flex: 1;
  height: 10px;
  background: #f1f5f9;
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.5s ease;
}

.class-count {
  width: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

/* =========================================
   Events List
   ========================================= */

.events-list {
  padding: 1rem;
}

.event-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 0.75rem;
}

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

.event-date {
  width: 50px;
  text-align: center;
  background: var(--admin-primary);
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem;
}

.event-date .day {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.event-date .month {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.event-details h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--admin-secondary);
}

.event-details p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* =========================================
   Section Header
   ========================================= */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--admin-secondary);
}

.section-header p {
  margin: 0;
  color: #64748b;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

/* =========================================
   Filters Bar
   ========================================= */

.filters-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-filter {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-filter i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.search-filter input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
}

.search-filter input:focus {
  outline: none;
  border-color: var(--admin-primary);
}

.filters-bar .form-select {
  width: 150px;
  border-radius: 10px;
}

/* =========================================
   Admin Table
   ========================================= */

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  color: var(--admin-secondary);
}

.admin-table tbody tr:hover {
  background: #f8fafc;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-cell img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.status-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.status-badge.inactive {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.action-btns {
  display: flex;
  gap: 0.5rem;
}

.action-btns .btn-icon.danger:hover {
  background: #ef4444;
}

/* =========================================
   Table Footer
   ========================================= */

.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.table-footer span {
  color: #64748b;
  font-size: 0.85rem;
}

.pagination {
  display: flex;
  gap: 0.25rem;
}

.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: #64748b;
  transition: all 0.2s;
}

.page-btn:hover,
.page-btn.active {
  background: var(--admin-primary);
  color: #fff;
  border-color: var(--admin-primary);
}

/* =========================================
   Placeholder Content
   ========================================= */

.placeholder-content {
  padding: 4rem 2rem;
  text-align: center;
  color: #94a3b8;
}

.placeholder-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.placeholder-content h3 {
  margin: 0 0 0.5rem;
  color: var(--admin-secondary);
}

.placeholder-content p {
  margin: 0;
}

/* =========================================
   Student Details Modal
   ========================================= */

.student-profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
}

.student-profile-header .profile-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
}

.student-profile-header .profile-info {
  flex: 1;
}

.student-profile-header .profile-info h3 {
  margin: 0;
  font-size: 1.25rem;
}

.student-profile-header .profile-info p {
  margin: 0.25rem 0;
  color: #64748b;
}

.student-profile-header .profile-actions {
  display: flex;
  gap: 0.75rem;
}

/* =========================================
   Modal Styles
   ========================================= */

.modal-content {
  border: none;
  border-radius: 16px;
}

#forUsersDetailModal .modal-content {
  background: #000;
  color: #fff;
}

#forUsersDetailModal .modal-header,
#forUsersDetailModal .modal-footer {
  border-color: rgba(255, 255, 255, 0.12);
}

#forUsersDetailModal .modal-title,
#forUsersDetailModal .modal-body,
#forUsersDetailModal .modal-footer {
  color: #fff;
}

#forUsersDetailModal .modal-body {
  padding: 1.5rem;
}

#forUsersDetailModal .detail-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

#forUsersDetailModal .detail-item-icon {
  font-size: 1.15rem;
  margin-top: 0.15rem;
  color: #63b3ff;
  text-shadow: 0 0 6px rgba(99, 179, 255, 0.45);
  min-width: 1.4rem;
}

#forUsersDetailModal .list-group-item {
  background: transparent;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
}

#forUsersDetailModal .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

#forUsersDetailModal .btn-primary {
  color: #000;
}

#forUsersDetailModal .modal-content {
  position: relative;
  overflow: hidden;
}

#forUsersDetailModal .modal-content::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(120deg, rgba(0, 32, 96, 0.8), rgba(0, 118, 255, 0.95), rgba(0, 32, 96, 0.8));
  background-size: 300% 300%;
  filter: blur(18px);
  opacity: 0.9;
  z-index: 0;
  animation: forUsersGlow 4s ease infinite;
}

#forUsersDetailModal .modal-content > * {
  position: relative;
  z-index: 1;
}

@keyframes forUsersGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.modal-header {
  border-bottom: 1px solid #f1f5f9;
  padding: 1.25rem 1.5rem;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid #f1f5f9;
  padding: 1rem 1.5rem;
}

/* =========================================
   Responsive Styles
   ========================================= */


/* Admin sidebar overlay */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.admin-sidebar-overlay.active {
  display: block;
}


/* =========================================
   Button Styles
   ========================================= */

.btn-primary {
  background: var(--gradient-secondary);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  border: none;
}

.btn-outline-primary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary:hover {
  background: var(--gradient-secondary);
  border-color: var(--secondary-color);
}

/* =========================================
   Scrollbar Styles
   ========================================= */

.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

/* Pulse Animation for Register Now Button */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255,0,255,0.4), 0 4px 20px rgba(0,32,96,0.08);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255,0,255,0), 0 4px 20px rgba(0,32,96,0.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,0,255,0.4), 0 4px 20px rgba(0,32,96,0.08);
  }
}
.pulse {
  animation: pulse 1.6s infinite;
}

/* ============================================================
   RESPONSIVE STYLES — Bootstrap Breakpoints
   ============================================================
   xl: ≤1200px  |  lg: ≤992px  |  md: ≤768px  |  sm: ≤576px
   ============================================================ */

/* ──────────────────────────────────────────
   XL — ≤ 1200px (Large desktops / laptops)
   ────────────────────────────────────────── */
@media (max-width: 1199.98px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  /* Portal dashboard grid → single column */
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* ──────────────────────────────────────────
   LG — ≤ 992px (Tablets landscape / small laptops)
   ────────────────────────────────────────── */
@media (max-width: 991.98px) {

  /* --- Navbar --- */
  .navbar {
    width: 75%;
    top: 6px;
    border-radius: 1rem;
    padding: 0.5rem 0.8rem;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(12px) !important;
  }
  .navbar .container-fluid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.98);
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
  }
  .navbar-nav .nav-item {
    margin-left: 0;
    margin-bottom: var(--space-2);
  }
  .navbar-nav .nav-link {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  .contact-btn {
    margin-top: var(--space-3);
    width: 100%;
    justify-content: center;
  }

  /* --- Containers --- */
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  section {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* --- Carousel --- */
  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
  }
  .carousel-preview {
    width: 200px;
    top: -80px;
  }

  /* --- Services page --- */
  .pricing-card.featured {
    transform: scale(1);
  }
  .stats-grid {
    gap: 15px;
  }
  .stat-box-service {
    padding: 20px;
  }
  .stat-number {
    font-size: 2rem;
  }

  /* --- Portal page --- */
  .portal-hero {
    padding: 100px 0 var(--space-12);
  }
  .portal-login-card {
    margin-top: var(--space-12);
  }
  .portal-cta h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
  }
  .portal-cta .btn {
    margin-top: var(--space-4);
    width: 100%;
  }

  /* --- Portal interface sidebar --- */
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .search-box input {
    width: 100%;
    min-width: 0;
  }
  .top-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* --- Admin dashboard sidebar --- */
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.active {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .stats-overview {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-profile span {
    display: none;
  }

  /* Admin search box visible on lg+ only */
  .admin-header .search-box {
    display: none;
  }

  /* --- Background-attachment: fixed → scroll on tablets/mobile --- */
  .about-hero-bg,
  .about-whoweare-bg,
  .services-hero-bg {
    background-attachment: scroll !important;
  }

  /* --- Team overlay visible on touch devices --- */
  .team-overlay {
    opacity: 1;
  }
}

/* Show admin search on large screens */
@media (min-width: 992px) {
  .admin-header .search-box {
    display: block;
  }
}

/* ──────────────────────────────────────────
   MD — ≤ 768px (Tablets portrait)
   ────────────────────────────────────────── */
@media (max-width: 767.98px) {

  /* --- Typography --- */
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }
  .section-padding {
    padding: var(--space-12) 0;
  }

  /* --- Navbar --- */
  .navbar {
    width: 80%;
  }
  .navbar-brand img {
    height: 32px;
  }
  .container,
  .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  section:first-of-type,
  .section-padding:first-of-type,
  .carousel-section:first-of-type {
    margin-top: 55px !important;
  }

  /* --- Carousel --- */
  .carousel-item {
    height: 70vh;
    min-height: 350px;
  }
  .carousel-caption {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
  }
  .carousel-caption h5 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: none;
  }
  .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-shadow: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .carousel-caption .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    margin: 0.25rem;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  .carousel-control-prev {
    left: var(--space-3);
  }
  .carousel-control-next {
    right: var(--space-3);
  }
  .carousel-preview {
    width: calc(100vw - 2rem);
    left: 50%;
    transform: translateX(-50%);
    top: -90px;
  }

  /* --- Gallery --- */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* --- Testimonials / Folder cards --- */
  .desk-folder-front {
    display: none;
  }
  .desk-folder-body {
    padding: 12px 10px;
    min-height: auto;
  }
  .desk-folder-body .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .desk-folder-body .row.g-4 > [class*="col-"] {
    display: block;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0 12px;
  }
  .folder-nav {
    display: none !important;
  }
  .desk-folder-front::before,
  .desk-folder-front::after,
  .desk-folder::after {
    display: none;
  }
  .desk-folder-tab {
    width: 100px;
    height: 18px;
    margin-left: 10px;
  }
  .desk-folder-tab span {
    font-size: 0.55rem;
  }
  .folders-row {
    gap: 1.5rem !important;
  }
  .testimonial-card {
    padding: 24px 20px;
  }
  .testimonial-text {
    font-size: 0.9rem;
  }
  .trust-badge {
    font-size: 0.8rem;
    padding: 10px 18px;
  }
  .team-img {
    width: 120px;
    height: 120px;
  }

  /* --- For Users modal --- */
  #forUsersDetailModal .modal-dialog {
    max-width: 92%;
  }
  .for-users .card,
  .meeting-gallery-section .gallery-grid,
  .blog-section .card {
    width: 100%;
  }

  /* --- Services page --- */
  .services-hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }
  .services-hero h1 {
    font-size: 2rem;
  }
  .min-vh-75 {
    min-height: 35vh;
  }
  .service-card {
    padding: 24px 20px;
  }
  .why-choose-item {
    flex-direction: column;
    text-align: center;
  }
  .why-icon {
    margin: 0 auto;
  }

  /* --- Portal page --- */
  .portal-hero {
    padding: 80px 0 var(--space-8);
  }
  .portal-hero h1 {
    font-size: var(--text-3xl);
  }
  .portal-hero .lead {
    font-size: var(--text-lg);
  }
  .stat-card {
    padding: var(--space-4);
  }
  .stat-card h3 {
    font-size: var(--text-2xl);
  }

  /* --- Portal interface dashboard --- */
  .dashboard-content {
    padding: 15px;
  }
  .welcome-banner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .welcome-text h1 {
    font-size: 1.4rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-right {
    grid-template-columns: 1fr;
  }
  .top-header {
    padding: 12px 15px;
  }
  .search-box {
    display: none;
  }
  .assignment-item {
    flex-wrap: wrap;
  }
  .assignment-due {
    width: 100%;
    margin-top: 10px;
  }

  /* --- Admin dashboard --- */
  .admin-header {
    padding: 0 1rem;
  }
  .admin-content {
    padding: 1rem;
  }
  .stats-overview {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .quick-actions-bar {
    flex-direction: column;
  }
  .quick-action {
    justify-content: center;
  }
  .filters-bar {
    flex-direction: column;
  }
  .filters-bar .form-select {
    width: 100%;
  }
  .table-footer {
    flex-direction: column;
    gap: 1rem;
  }
  .student-profile-header {
    flex-direction: column;
    text-align: center;
  }
  .student-profile-header .profile-actions {
    flex-direction: column;
    width: 100%;
  }
}

/* ──────────────────────────────────────────
   SM — ≤ 576px (Phones)
   ────────────────────────────────────────── */
@media (max-width: 575.98px) {

  /* --- Spacing scale reduction --- */
  :root {
    --space-20: 3rem;
    --space-16: 2.5rem;
    --space-12: 2rem;
  }

  /* --- Typography --- */
  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }

  /* --- Navbar --- */
  .navbar {
    width: 85%;
    border-radius: 0.75rem;
    padding: 0.35rem 0.6rem;
    top: 4px;
  }
  .navbar-brand img {
    height: 28px;
  }
  .navbar-collapse {
    padding: 0.5rem;
  }
  section:first-of-type,
  .section-padding:first-of-type,
  .carousel-section:first-of-type {
    margin-top: 50px !important;
  }

  /* --- Containers --- */
  .container,
  .container-fluid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .section-padding,
  .py-5,
  .py-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* --- Carousel --- */
  .carousel-item {
    height: 60vh;
    min-height: 300px;
  }
  .carousel-caption {
    width: 92%;
    padding: 15px;
    max-width: 340px;
  }
  .carousel-caption h5 {
    font-size: 1.1rem;
  }
  .carousel-caption p {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .carousel-caption .btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
  }
  .carousel-preview {
    width: calc(100vw - 1.5rem);
    top: -95px;
  }

  /* --- Testimonials & folder cards --- */
  .testimonial-card {
    padding: 18px 14px;
  }
  .testimonial-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .testimonial-author {
    gap: 10px;
    padding-top: 14px;
    margin-top: 14px;
  }
  .author-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
  }
  .trust-badge {
    font-size: 0.75rem;
    padding: 8px 14px;
    gap: 6px;
  }
  .trust-badge i {
    font-size: 1rem !important;
  }

  /* --- For Users modal --- */
  #forUsersDetailModal .modal-content::before {
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
  }

  /* --- Portal interface dashboard --- */
  .stat-card {
    padding: 16px;
  }
  .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .stat-info h3 {
    font-size: 1.3rem;
  }
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .user-dropdown span {
    display: none;
  }
  .dashboard-content {
    padding: 10px;
  }
  .welcome-text h1 {
    font-size: 1.2rem;
  }
  .welcome-date {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .schedule-item {
    flex-wrap: wrap;
  }

  /* --- Admin dashboard --- */
  .admin-content {
    padding: 0.75rem;
  }
  .admin-header {
    padding: 0.5rem 0.75rem;
    height: auto;
    min-height: var(--admin-header-height);
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .stat-details h3 {
    font-size: 1.3rem;
  }
  .quick-action {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
  .admin-card .card-header {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .student-item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* ──────────────────────────────────────────
   Print Styles
   ────────────────────────────────────────── */
@media print {
  .contact-btn,
  footer,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: black;
  }
}

/* ──────────────────────────────────────────
   Non-breakpoint Utilities (overlays, table scroll)
   ────────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.sidebar-overlay.active {
  display: block;
}

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.admin-sidebar-overlay.active {
  display: block;
}

.grades-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


