/* ==========================================================================
   Myanmar Computer - Master Stylesheet
   Based on design.md & myanmar_computer_overview.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color System */
  --color-primary-navy: #0B2545;
  --color-primary-blue: #134074;
  --color-accent-cyan: #007AFF;
  --color-accent-cyan-hover: #0062cc;
  --color-accent-amber: #F59E0B;
  --color-accent-amber-light: #FEF3C7;
  --color-success-green: #10B981;
  --color-success-green-light: #D1FAE5;
  
  /* Neutral Slate Palette */
  --color-slate-950: #020617;
  --color-slate-900: #0F172A;
  --color-slate-800: #1E293B;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748B;
  --color-slate-400: #94A3B8;
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;
  --color-slate-50: #F8FAFC;
  --color-white: #FFFFFF;

  /* Typography */
  --font-en: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-my: 'Pyidaungsu', 'Padauk', 'Noto Sans Myanmar', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions & Shadows */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --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-glow: 0 0 25px rgba(0, 122, 255, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --container-max: 1240px;
  --header-height: 76px;
  --topbar-height: 38px;
}

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

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

body {
  font-family: var(--font-en);
  background-color: var(--color-slate-50);
  color: var(--color-slate-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Myanmar Unicode specific enhancements */
body.lang-my,
[data-lang="my"] {
  font-family: var(--font-my);
  line-height: 1.85 !important;
}

body.lang-my h1,
body.lang-my h2,
body.lang-my h3,
body.lang-my .btn,
body.lang-my .nav-link {
  font-family: var(--font-my);
  letter-spacing: normal;
}

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------------------
   3. Utility & Layout Components
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-amber {
  background-color: var(--color-accent-amber-light);
  color: #B45309;
}

.badge-blue {
  background-color: #E0F2FE;
  color: #0369A1;
}

.badge-green {
  background-color: var(--color-success-green-light);
  color: #047857;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--color-accent-cyan);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-slate-600);
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background-color: var(--color-accent-cyan);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--color-slate-300, #CBD5E1);
  color: var(--color-slate-700);
  background-color: transparent;
}

.btn-outline:hover {
  border-color: var(--color-accent-cyan);
  color: var(--color-accent-cyan);
  background-color: #F0F7FF;
}

.btn-amber {
  background-color: var(--color-accent-amber);
  color: var(--color-slate-950);
  font-weight: 700;
}

.btn-amber:hover {
  background-color: #D97706;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Top Announcement & Utility Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-slate-950);
  color: var(--color-slate-400);
  font-size: 0.825rem;
  height: var(--topbar-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent-cyan);
}

/* Language Toggle Switch */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--color-slate-300);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background-color: var(--color-accent-cyan);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(11, 37, 69, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-accent-cyan), #00C6FF);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-brand-sub {
  font-size: 0.72rem;
  color: var(--color-slate-300);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--color-slate-200);
  font-size: 0.925rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-cyan);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  color: var(--color-white);
  font-size: 1.5rem;
  padding: 8px;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(0, 122, 255, 0.25) 0%, transparent 60%),
              linear-gradient(135deg, var(--color-slate-950) 0%, var(--color-primary-navy) 60%, var(--color-primary-blue) 100%);
  color: var(--color-white);
  padding: 90px 0 100px 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #7DD3FC;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge .ping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-cyan);
  box-shadow: 0 0 10px var(--color-accent-cyan);
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60A5FA, #38BDF8, #A7F3D0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--color-slate-400);
  margin-top: 4px;
}

/* Hero Right Card Showcase */
.hero-card-showcase {
  position: relative;
}

.hero-glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

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

.hub-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #A7F3D0;
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-success-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.glass-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glass-feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.glass-feature-row:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.feature-icon-box.icon-blue { background: #0284C7; }
.feature-icon-box.icon-amber { background: #D97706; }
.feature-icon-box.icon-green { background: #059669; }

.feature-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}

.feature-info p {
  font-size: 0.8rem;
  color: var(--color-slate-300);
}

/* --------------------------------------------------------------------------
   7. Core Pillars Section
   -------------------------------------------------------------------------- */
.pillars-section {
  padding: 90px 0;
  background-color: var(--color-white);
}

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

.pillar-card {
  background-color: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: transparent;
  transition: background-color var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  background-color: var(--color-white);
  border-color: #CBD5E1;
}

.pillar-card:hover::before {
  background-color: var(--color-accent-cyan);
}

.pillar-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: #E0F2FE;
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--color-slate-600);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pillar-bullets {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-slate-700);
}

.pillar-bullets li svg {
  width: 18px;
  height: 18px;
  color: var(--color-success-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   8. IT Academy & Courses Section
   -------------------------------------------------------------------------- */
.courses-section {
  padding: 100px 0;
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
}

.courses-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  background-color: var(--color-white);
  color: var(--color-slate-700);
  border: 1px solid var(--color-slate-200);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: #F1F5F9;
  border-color: var(--color-slate-300);
}

.filter-btn.active {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  border-color: var(--color-primary-navy);
}

.courses-search-box {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.courses-search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-slate-300);
  background-color: var(--color-white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.courses-search-box input:focus {
  border-color: var(--color-accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.courses-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-slate-400);
}

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

.course-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.course-card-header {
  padding: 24px 24px 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.course-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  letter-spacing: 0.05em;
}

.course-card-body {
  padding: 0 24px 20px 24px;
  flex-grow: 1;
}

.course-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 10px;
  line-height: 1.35;
}

.course-card-desc {
  font-size: 0.9rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.course-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--color-slate-600);
}

.course-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-meta-row svg {
  width: 15px;
  height: 15px;
  color: var(--color-slate-400);
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-tag {
  background-color: var(--color-slate-100);
  color: var(--color-slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.course-card-footer {
  padding: 16px 24px;
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-price-wrap {
  display: flex;
  flex-direction: column;
}

.course-price-label {
  font-size: 0.75rem;
  color: var(--color-slate-400);
}

.course-price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-navy);
}

/* --------------------------------------------------------------------------
   9. Web Development & Interactive Cost Calculator
   -------------------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.calculator-wrapper {
  background: linear-gradient(145deg, #0B2545, #134074);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 40px;
  box-shadow: var(--shadow-xl);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.calc-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.calc-header p {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.calc-step {
  margin-bottom: 24px;
}

.calc-step-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7DD3FC;
  margin-bottom: 12px;
  display: block;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.calc-radio-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.calc-radio-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.calc-radio-card.active {
  background: rgba(0, 122, 255, 0.25);
  border-color: var(--color-accent-cyan);
  box-shadow: 0 0 15px rgba(0, 122, 255, 0.3);
}

.calc-radio-card input {
  display: none;
}

.calc-opt-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.calc-opt-info span {
  font-size: 0.78rem;
  color: #94A3B8;
}

.calc-addons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-checkbox-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.calc-checkbox-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.calc-checkbox-card.active {
  border-color: var(--color-accent-cyan);
  background: rgba(0, 122, 255, 0.15);
}

.calc-check-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-check-left input {
  accent-color: var(--color-accent-cyan);
  width: 16px;
  height: 16px;
}

.calc-summary-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  backdrop-filter: blur(16px);
  text-align: center;
}

.calc-summary-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 12px;
}

.calc-price-big {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.calc-price-sub {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 24px;
}

.calc-breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-bottom: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
  color: #CBD5E1;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   10. Technology Infrastructure & ICT Park Section
   -------------------------------------------------------------------------- */
.infra-section {
  padding: 100px 0;
  background-color: #F8FAFC;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.infra-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.infra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.infra-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.infra-icon.icon-navy { background: #0B2545; color: var(--color-white); }
.infra-icon.icon-teal { background: #0D9488; color: var(--color-white); }
.infra-icon.icon-blue { background: #007AFF; color: var(--color-white); }

.infra-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 12px;
}

.infra-card p {
  font-size: 0.9rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.infra-specs {
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-slate-700);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-slate-100);
}

.infra-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.infra-specs li svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent-cyan);
}

/* ICT Park Partnership Banner */
.park-banner {
  background: linear-gradient(135deg, var(--color-primary-navy) 0%, #0F3763 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

.park-banner h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.park-banner p {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.65;
}

.park-locations-badge {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.park-loc-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.park-loc-item svg {
  width: 20px;
  height: 20px;
  color: #38BDF8;
  flex-shrink: 0;
}

.park-loc-item strong {
  font-size: 0.95rem;
  color: var(--color-white);
}

.park-loc-item span {
  font-size: 0.8rem;
  color: #94A3B8;
  display: block;
}

/* --------------------------------------------------------------------------
   11. Directory of Affiliated Centres Section
   -------------------------------------------------------------------------- */
.directory-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.directory-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.directory-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background-color: var(--color-slate-100);
  color: var(--color-slate-700);
  transition: all var(--transition-fast);
}

.region-btn:hover {
  background-color: #E2E8F0;
}

.region-btn.active {
  background-color: var(--color-accent-cyan);
  color: var(--color-white);
}

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

.centre-card {
  background-color: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.centre-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
  background-color: var(--color-white);
}

.centre-badge-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.centre-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 8px;
}

.centre-address {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.5;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.centre-address svg {
  width: 16px;
  height: 16px;
  color: var(--color-slate-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.centre-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.facility-tag {
  background-color: var(--color-white);
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-700);
  font-size: 0.725rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.centre-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--color-slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-slate-600);
}

/* --------------------------------------------------------------------------
   12. Exhibitions & Events Section
   -------------------------------------------------------------------------- */
.events-section {
  padding: 100px 0;
  background-color: #F8FAFC;
  border-top: 1px solid var(--color-slate-200);
}

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

.event-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.event-date-strip {
  background: linear-gradient(135deg, var(--color-primary-navy), var(--color-primary-blue));
  color: var(--color-white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-date-day {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-month {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #7DD3FC;
  font-weight: 600;
}

.event-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-body h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 10px;
  line-height: 1.35;
}

.event-body p {
  font-size: 0.9rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.event-venue-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-slate-500);
  margin-bottom: 20px;
}

.event-venue-row svg {
  width: 15px;
  height: 15px;
  color: var(--color-accent-cyan);
}

/* --------------------------------------------------------------------------
   13. Form Controls & Modals
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  background-color: var(--color-white);
  transition: all var(--transition-fast);
  color: var(--color-slate-900);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

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

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-slate-950);
  color: var(--color-slate-400);
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.9fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 16px 0 24px 0;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.825rem;
}

/* --------------------------------------------------------------------------
   15. Modals & Notifications (Toast)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-dialog {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: all var(--transition-normal);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--color-slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-navy);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-400);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--color-slate-100);
  color: var(--color-slate-700);
}

.modal-body {
  padding: 28px;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3000;
}

.toast {
  background-color: var(--color-slate-900);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  min-width: 280px;
  max-width: 400px;
  border-left: 4px solid var(--color-accent-cyan);
  animation: slideInRight 0.3s ease forwards;
}

.toast.toast-success {
  border-left-color: var(--color-success-green);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   16. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid,
  .calc-grid,
  .park-banner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pillars-grid,
  .courses-grid,
  .infra-grid,
  .directory-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-links,
  .nav-actions .btn-header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-primary-navy);
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    gap: 16px;
  }

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

  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillars-grid,
  .courses-grid,
  .infra-grid,
  .directory-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .calc-options-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .calculator-wrapper {
    padding: 28px 20px;
  }
}
