/* ==========================================================================
   ACS IT — Official Cyber Shield Design System & Mobile-First Framework
   Theme: Dark Navy Blue + Deep Blue + Electric Cyan / Light Blue
   Branding: Anonymous Cyber Shield | ACS IT
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Official Brand Color Palette (Dark Navy + Deep Blue + Electric Cyan) */
  --bg-main: #060a14;
  --bg-surface: #0a1122;
  --bg-card: rgba(11, 20, 39, 0.90);
  --bg-card-hover: rgba(16, 29, 56, 0.96);
  --bg-glass: rgba(10, 18, 36, 0.92);
  
  --border-subtle: rgba(56, 189, 248, 0.12);
  --border-blue: rgba(56, 189, 248, 0.28);
  --border-cyan: rgba(0, 240, 255, 0.35);
  --border-glow: rgba(56, 189, 248, 0.45);
  --border-accent: rgba(14, 165, 233, 0.55);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #060a14;

  /* Official Blue & Accent Palette */
  --accent-cyan: #00f0ff;
  --accent-cyan-light: #67e8f9;
  --accent-blue: #38bdf8;
  --accent-deep: #0284c7;
  --accent-navy: #1e3a8a;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.3);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --header-height: 62px;
  --header-mobile-height: 56px;
}

/* Multi-Color Theme Overrides */
body.theme-emerald {
  --accent-cyan: #10b981;
  --accent-blue: #34d399;
  --border-blue: rgba(16, 185, 129, 0.35);
  --border-cyan: rgba(16, 185, 129, 0.5);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.25);
}

body.theme-purple {
  --accent-cyan: #c084fc;
  --accent-blue: #a855f7;
  --border-blue: rgba(168, 85, 247, 0.35);
  --border-cyan: rgba(192, 132, 252, 0.5);
  --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.25);
}

body.theme-crimson {
  --accent-cyan: #f87171;
  --accent-blue: #ef4444;
  --border-blue: rgba(239, 68, 68, 0.35);
  --border-cyan: rgba(248, 113, 113, 0.5);
  --shadow-glow: 0 0 20px rgba(239, 68, 68, 0.25);
}

body.theme-amber {
  --accent-cyan: #fbbf24;
  --accent-blue: #f59e0b;
  --border-blue: rgba(245, 158, 11, 0.35);
  --border-cyan: rgba(251, 191, 36, 0.5);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.25);
}

body.theme-navy {
  --bg-main: #030a1c;
  --bg-surface: #071330;
  --bg-card: rgba(8, 22, 54, 0.92);
  --bg-card-hover: rgba(12, 32, 77, 0.96);
  --border-blue: rgba(56, 189, 248, 0.32);
  --accent-cyan: #38bdf8;
  --accent-blue: #60a5fa;
}

body.light-theme {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-subtle: #cbd5e1;
  --border-blue: rgba(2, 132, 199, 0.35);
  --border-cyan: rgba(2, 132, 199, 0.45);
  --border-glow: rgba(2, 132, 199, 0.3);
  --border-accent: rgba(2, 132, 199, 0.5);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-cyan: #0284c7;
  --accent-blue: #0ea5e9;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 16px rgba(14, 165, 233, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.container-fluid {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   Header & Navigation (Compact & Mobile-First)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  height: 56px;
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-glow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo-img {
  height: 25px;
  width: auto;
  max-width: 105px;
  border-radius: 0;
  object-fit: contain;
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.15px;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1;
}

.brand-name-main {
  color: #ffffff;
  font-weight: 800;
}

.brand-name-accent {
  color: var(--accent-cyan);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
}

body.light-theme .brand-name-main {
  color: var(--text-dark);
}

body.light-theme .brand-name-main {
  color: var(--text-dark);
}

body.light-theme .brand-tagline-text {
  color: #64748b;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.action-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.action-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--border-blue);
  background: rgba(56, 189, 248, 0.1);
}

/* Theme Dropdown Menu */
.theme-menu-container {
  position: relative;
}

.theme-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px;
  min-width: 150px;
  z-index: 1050;
  display: none;
  flex-direction: column;
  gap: 6px;
}

.theme-dropdown.open {
  display: flex;
}

.theme-swatches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 4px;
}

.theme-swatch-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  outline: none;
  display: inline-block;
  padding: 0;
}

.theme-swatch-btn:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.theme-swatch-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 10px var(--accent-cyan);
  transform: scale(1.15);
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-blue);
  color: var(--accent-cyan);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-blue);
  z-index: 1050;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.7);
  transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
}

.drawer-close-btn:hover {
  color: var(--accent-cyan);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.drawer-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border-left: 3px solid var(--accent-cyan);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

/* ==========================================================================
   Buttons & UI Elements (Deep Blue & Electric Cyan Theme)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 10px 22px;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(14, 165, 233, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.55);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-secondary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-blue);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.btn-cyan {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #0e7490, #0891b2);
  transform: translateY(-1px);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
  background: var(--accent-red);
  color: #fff;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */
.section-py {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Cards & Compact Components
   ========================================================================== */
.cyber-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}

.cyber-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

/* ==========================================================================
   Hero Section & Responsive Statistics
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 44px 0 36px 0;
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(7, 12, 24, 0.9) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.hero-title .highlight {
  color: var(--accent-cyan);
}

.hero-title .highlight-blue {
  color: var(--accent-blue);
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* Responsive 3-Card Statistics Grid */
.hero-stats,
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.stat-card:hover {
  border-color: var(--border-blue);
  background: rgba(56, 189, 248, 0.04);
}

.stat-card-num,
.stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 3px;
}

.stat-card-label,
.stat-label {
  font-size: 0.72rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   Explore ACS IT Navigation Section (Compact Ecosystem Directory)
   ========================================================================== */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.explore-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(11, 18, 32, 0.85);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.explore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.explore-card:hover {
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 14px rgba(56, 189, 248, 0.12);
}

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

.explore-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 6px;
}

.explore-card-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.48;
  margin-bottom: 14px;
}

.explore-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Services & Courses Gallery
   ========================================================================== */
.services-grid, .courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card, .course-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.course-thumb-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #070c18, #0e1933);
  border: 1px solid var(--border-subtle);
}

.course-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-thumb-img {
  transform: scale(1.05);
}

.course-category {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.course-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 8px;
}

.course-instructor {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.service-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  gap: 10px;
}

.service-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Course Details Page & Interactive Curriculum Accordion
   ========================================================================== */
.curriculum-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module-item {
  background: rgba(10, 18, 36, 0.8);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.25s ease;
}

.module-item:hover, .module-item.active {
  border-color: var(--accent-cyan);
}

.module-header {
  padding: 13px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  user-select: none;
  transition: background-color 0.2s ease;
}

.module-header:hover {
  background: rgba(56, 189, 248, 0.06);
}

.module-item.active .module-header {
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(56, 189, 248, 0.08);
}

.module-chevron {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.module-item.active .module-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.module-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 16px;
}

.module-item.active .module-body {
  max-height: 500px;
  padding: 14px 16px;
  transition: max-height 0.35s ease-in-out;
}

.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lesson-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.lesson-item i {
  color: var(--accent-cyan);
  margin-top: 4px;
  font-size: 0.75rem;
}

/* ==========================================================================
   Real Stories — Client Reviews Slider / Carousel
   ========================================================================== */
.reviews-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 4px 20px 4px;
  margin: 0 auto;
}

.reviews-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.review-slide {
  flex: 0 0 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .review-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .review-slide {
    flex: 0 0 33.3333%;
  }
}

.review-card-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.review-card-item:hover {
  border-color: var(--border-blue);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.review-stars {
  color: #38bdf8;
  font-size: 0.88rem;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 18px;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1.5px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-cyan);
  font-size: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

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

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-blue);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.carousel-arrow:hover {
  background: var(--accent-cyan);
  color: #060a14;
  transform: scale(1.06);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 5px;
  background: var(--accent-cyan);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover, .faq-item.active {
  border-color: var(--border-blue);
  background: var(--bg-card-hover);
}

.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 700;
  font-size: 0.96rem;
  color: #fff;
  user-select: none;
}

.faq-item.active .faq-question {
  color: var(--accent-cyan);
}

.faq-chevron {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 18px 20px;
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp & Back to Top)
   Position: Bottom-Right Stacked (No overlap)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1025;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

.back-to-top {
  position: fixed;
  bottom: 84px;
  right: 26px;
  z-index: 1020;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--accent-cyan);
  border: 1px solid var(--border-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.back-to-top:hover {
  background: var(--accent-deep);
  color: #ffffff;
  border-color: var(--accent-cyan);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
}

/* ==========================================================================
   Professional Contact Action Buttons
   ========================================================================== */
.contact-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(10, 18, 36, 0.85);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.contact-action-btn:hover {
  background: rgba(16, 29, 56, 0.95);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.contact-action-btn .btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-action-btn:hover .btn-icon {
  transform: scale(1.1);
}

.contact-action-btn.btn-call .btn-icon {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.contact-action-btn.btn-email .btn-icon {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.contact-action-btn.btn-whatsapp .btn-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-action-btn.btn-telegram .btn-icon {
  background: rgba(0, 136, 204, 0.15);
  color: #0088cc;
  border: 1px solid rgba(0, 136, 204, 0.3);
}

.contact-action-btn.btn-facebook .btn-icon {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.contact-action-btn.btn-maps .btn-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-action-btn.btn-support .btn-icon {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.contact-action-text {
  display: flex;
  flex-direction: column;
}

.contact-action-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

body.light-theme .contact-action-label {
  color: var(--text-dark);
}

.contact-action-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  background: rgba(6, 10, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
  background: rgba(6, 10, 20, 0.95);
}

.form-select {
  width: 100%;
  padding: 9px 12px;
  background: rgba(6, 10, 20, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.88rem;
}

textarea.form-control {
  resize: vertical;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-md);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px;
}

.modal-close-btn:hover {
  color: var(--accent-cyan);
}

.modal-body {
  padding: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #040710;
  border-top: 1px solid var(--border-blue);
  padding: 40px 0 20px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(2px);
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
}

.social-icon-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border-color: var(--border-blue);
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  max-width: 105px;
}

.footer-brand-title {
  font-size: 1.05rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Admin Mobile Topbar & Off-Canvas Layout
   ========================================================================== */
.admin-mobile-topbar {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-blue);
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ==========================================================================
   Responsive Media Queries (320px, 360px, 480px, 640px, 768px, 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .admin-mobile-topbar {
    display: flex;
  }
  .admin-layout {
    grid-template-columns: 1fr !important;
  }
  .admin-sidebar {
    position: fixed !important;
    top: 0;
    left: -290px;
    width: 280px !important;
    height: 100vh !important;
    z-index: 1100 !important;
    transition: left 0.28s ease !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.7);
  }
  .admin-sidebar.open {
    left: 0 !important;
  }
  .admin-main {
    padding: 16px 14px !important;
  }
  .admin-grid-2, .admin-grid-2-equal, .admin-grid-3, .admin-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .explore-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .brand-name-full {
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .section-py {
    padding: 32px 0;
  }
  .hero-stats,
  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .stat-card {
    padding: 10px 4px !important;
  }
  .stat-card-num,
  .stat-num {
    font-size: 1.15rem !important;
  }
  .stat-card-label,
  .stat-label {
    font-size: 0.65rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .cyber-card {
    padding: 14px 16px !important;
  }
  .service-icon-box {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .brand-logo-img {
    height: 25px;
    width: auto;
    max-width: 90px;
  }
  .brand-title {
    font-size: 0.84rem;
  }
  .brand-tagline-text {
    display: none;
  }
  .floating-whatsapp-btn {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
  }
  .contact-actions-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 56px;
  }
  .header-inner {
    gap: 6px;
  }
  .brand-logo-wrap {
    gap: 6px;
    max-width: calc(100% - 128px);
  }
  .brand-logo-img {
    height: 22px;
    max-width: 75px;
  }
  .brand-title {
    font-size: clamp(0.72rem, 3.2vw, 0.8rem);
  }
  .brand-badge-tag {
    font-size: 0.58rem;
    padding: 0 4px;
  }
  .header-actions {
    gap: 4px;
  }
  .action-btn {
    height: 32px;
    min-width: 32px;
    padding: 0 6px;
    font-size: 0.76rem;
  }
  .action-btn span {
    font-size: 0.74rem;
  }
  .mobile-menu-btn {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .brand-logo-wrap {
    gap: 5px;
    max-width: calc(100% - 118px);
  }
  .brand-logo-img {
    height: 20px;
    max-width: 65px;
  }
  .brand-title {
    font-size: 0.7rem;
  }
  .brand-name-accent {
    display: inline;
  }
}
