/* ==========================================================================
   TLC ENGLISH ACADEMY - MAIN ARABIC DESIGN SYSTEM & STYLES (RTL)
   ========================================================================== */

:root {
  /* Official Brand Colors */
  --tlc-red: #CC171D;
  --tlc-red-hover: #b01318;
  --tlc-red-light: rgba(204, 23, 29, 0.08);
  --tlc-red-subtle: rgba(204, 23, 29, 0.04);
  --tlc-navy: #162336;
  --tlc-navy-dark: #0f1826;
  --tlc-navy-light: #24354e;
  --tlc-navy-card: #FEFEFE;
  --tlc-white: #FEFEFE;

  /* Modern High-End Light Canvas Theme */
  --bg-page: #F5F7FB;
  --bg-section-alt: #EDF2F8;
  --bg-card: #FEFEFE;
  --bg-card-hover: #FFFFFF;
  --bg-surface: #FFFFFF;

  /* Accent Colors */
  --accent-gold: #f59e0b;
  --accent-cyan: #0284c7;
  --accent-green: #10b981;
  --whatsapp-green: #25d366;

  /* Typography Colors for Clean Light Background */
  --text-primary: #162336;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-dark: #0f172a;
  --text-light: #FEFEFE;

  /* Typography - Cairo & Tajawal for Crystal Clear Arabic Typography */
  --font-display: "Cairo", "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Cairo", "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout & Elevations for Light Theme */
  --border-subtle: #E2E8F0;
  --border-card: #E5EBF2;
  --border-highlight: rgba(204, 23, 29, 0.35);
  --shadow-sm: 0 2px 4px rgba(22, 35, 54, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(22, 35, 54, 0.06), 0 2px 6px -1px rgba(22, 35, 54, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(22, 35, 54, 0.08), 0 4px 12px -2px rgba(22, 35, 54, 0.04);
  --shadow-hover: 0 16px 36px -4px rgba(204, 23, 29, 0.12), 0 4px 12px -2px rgba(22, 35, 54, 0.06);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: normal !important; /* Critical in Arabic: prevents letters and words from colliding */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
}

body {
  background-color: #F8FAFD;
  /* TLC Academy Identity Pattern: Micro Dot-Grid with Ambient Identity Lighting */
  background-image: 
    radial-gradient(rgba(22, 35, 54, 0.055) 1.2px, transparent 1.2px),
    radial-gradient(circle at 92% 5%, rgba(204, 23, 29, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 8% 45%, rgba(22, 35, 54, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 85%, rgba(204, 23, 29, 0.05) 0%, transparent 40%);
  background-size: 32px 32px, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Soft Ambient Background Highlights */
body::before {
  content: "";
  position: fixed;
  top: -10vw;
  right: 15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(204, 23, 29, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0vw;
  left: -10vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(22, 35, 54, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tlc-navy);
  line-height: 1.45;
  letter-spacing: normal !important;
  word-spacing: 0.06em;
}

p {
  color: var(--text-secondary);
  line-height: 1.85;
  letter-spacing: normal !important;
  word-spacing: 0.03em;
}

span, a, button, label, input, select, textarea, li, div {
  letter-spacing: normal !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tlc-red);
  background: var(--tlc-red-light);
  border: 1px solid var(--border-highlight);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: var(--tlc-navy);
  line-height: 1.45;
  letter-spacing: normal !important;
  word-spacing: 0.06em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, #d91b22 0%, #CC171D 100%);
  color: #FEFEFE;
  border: 1px solid #b01318;
  border-bottom: 3px solid #850b10;
  box-shadow: 0 4px 14px rgba(204, 23, 29, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e31e25 0%, #b81419 100%);
  box-shadow: 0 6px 20px rgba(204, 23, 29, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: #FFFFFF;
  border: 1.5px solid var(--tlc-navy);
  border-bottom: 3px solid var(--tlc-navy);
  color: var(--tlc-navy);
  box-shadow: 0 2px 5px rgba(22, 35, 54, 0.06);
}

.btn-outline:hover {
  background: var(--tlc-navy);
  color: #FEFEFE;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 35, 54, 0.2);
}

.btn-secondary {
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  border-bottom: 3px solid #CBD5E1;
  color: var(--tlc-navy);
}

.btn-secondary:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
}

.btn-whatsapp-banner {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-banner:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

.btn-whatsapp-direct {
  background: linear-gradient(135deg, #25d366 0%, #1eaf53 100%);
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-direct:hover {
  background: linear-gradient(135deg, #2ae06d 0%, #25d366 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.12rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   NAVIGATION BAR & NOTICE STRIP
   ========================================================================== */
.top-announcement-strip {
  background: var(--tlc-navy);
  border-bottom: 1px solid rgba(22, 35, 54, 0.15);
  padding: 9px 0;
  font-size: 0.88rem;
  color: #FEFEFE;
}

.announcement-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.announcement-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.announcement-lead {
  font-weight: 700;
  color: #FEFEFE;
}

.announcement-sep {
  color: rgba(254, 254, 254, 0.4);
  font-weight: 300;
}

.announcement-branch-info {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 180ms ease;
  white-space: nowrap;
}

.announcement-pill-whatsapp {
  background: rgba(37, 211, 102, 0.18);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.announcement-pill-whatsapp:hover {
  background: rgba(37, 211, 102, 0.3);
  transform: translateY(-1px);
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: all 250ms ease;
  background: rgba(254, 254, 254, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 2px 10px rgba(22, 35, 54, 0.05);
}

.navbar.nav-scrolled {
  background: rgba(254, 254, 254, 0.99);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(22, 35, 54, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

/* ==========================================================================
   1. RIGHT ACTION BUTTONS: IDENTICAL DIMENSIONS & DISTANCE FROM 'عن الأكاديمية'
   ========================================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px; /* Uniform distance between 'احجز حصة لايف' and 'اختبر مستواك مجانا' */
  flex-shrink: 0;
  margin-inline-end: 28px; /* Distinct space between 'احجز حصة لايف' and 'عن الأكاديمية' */
}

/* Both Action Buttons Have Exact Same Sizing */
.btn-action-tab {
  width: 148px !important;
  min-width: 148px !important;
  max-width: 148px !important;
  height: 42px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary.btn-action-tab {
  background: linear-gradient(180deg, #d91b22 0%, #CC171D 100%) !important;
  color: #FEFEFE !important;
  border: 1px solid #b01318 !important;
  border-bottom: 3px solid #850b10 !important;
  box-shadow: 0 3px 8px rgba(204, 23, 29, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.btn-primary.btn-action-tab:hover {
  background: linear-gradient(180deg, #e31e25 0%, #b81419 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(204, 23, 29, 0.45) !important;
}

.btn-primary.btn-action-tab:active {
  transform: translateY(1px) !important;
  border-bottom-width: 1px !important;
}

.btn-outline.btn-action-tab {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%) !important;
  color: var(--tlc-navy) !important;
  border: 1.5px solid var(--tlc-navy) !important;
  border-bottom: 3.5px solid var(--tlc-navy) !important;
  box-shadow: 0 2px 5px rgba(22, 35, 54, 0.08), inset 0 1px 0 #FFFFFF !important;
}

.btn-outline.btn-action-tab:hover {
  background: #162336 !important;
  color: #FEFEFE !important;
  border-color: #162336 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(22, 35, 54, 0.25) !important;
}

.btn-outline.btn-action-tab:active {
  transform: translateY(1px) !important;
  border-bottom-width: 1.5px !important;
}

/* ==========================================================================
   2. CENTER 3D NAVIGATION TAPS: UNIFORM COLOR, 3D DEPTH, NO EMOJIS, EQUAL DISTANCE
   ========================================================================== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px; /* Uniform spacing between tabs */
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.nav-tab-3d,
.nav-link {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--tlc-navy);
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  border: 1px solid #CBD5E1;
  border-bottom: 3px solid #94A3B8;
  border-radius: 9px;
  padding: 7px 11px;
  box-shadow: 0 2px 4px rgba(22, 35, 54, 0.05), inset 0 1px 0 #FFFFFF;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.nav-tab-3d:hover,
.nav-link:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
  color: var(--tlc-red);
  border-color: rgba(204, 23, 29, 0.35);
  border-bottom: 3px solid var(--tlc-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(204, 23, 29, 0.15), inset 0 1px 0 #FFFFFF;
}

.nav-tab-3d:active,
.nav-link:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
  box-shadow: inset 0 2px 4px rgba(22, 35, 54, 0.08);
}

/* ==========================================================================
   3. BRAND LOGO (PUSHED TO THE FAR LEFT IN NATURAL RTL)
   ========================================================================== */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr !important;
  text-align: left !important;
  text-decoration: none;
  flex-shrink: 0;
  margin-inline-start: auto; /* Pushes cleanly to the left edge in RTL */
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(22, 35, 54, 0.12));
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  direction: ltr !important;
  text-align: left !important;
  align-items: flex-start;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--tlc-navy);
  line-height: 1.1;
  direction: ltr !important;
  text-align: left !important;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--tlc-red);
  letter-spacing: 0.08em;
  direction: ltr !important;
  text-align: left !important;
}

.mobile-menu-toggle {
  display: none;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-bottom: 3px solid #94A3B8;
  border-radius: 10px;
  color: var(--tlc-navy);
  cursor: pointer;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  transition: all 180ms ease;
  min-width: 44px;
  min-height: 44px;
}

.mobile-menu-toggle:hover {
  border-color: var(--tlc-red);
  color: var(--tlc-red);
}

.mobile-drawer-footer-actions {
  display: none;
}

/* ==========================================================================
   HERO SECTION (TLC ACADEMY IDENTITY BACKDROP)
   ========================================================================== */
.hero-section {
  padding-top: 65px;
  padding-bottom: 75px;
  position: relative;
  background: radial-gradient(circle at 88% 18%, rgba(204, 23, 29, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 12% 65%, rgba(22, 35, 54, 0.06) 0%, transparent 50%),
              linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 100%);
  border-bottom: 1.5px solid rgba(22, 35, 54, 0.07);
}

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

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--tlc-red-light);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tlc-red);
  margin-bottom: 22px;
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tlc-red);
  box-shadow: 0 0 10px var(--tlc-red);
  animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(204, 23, 29, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(204, 23, 29, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(204, 23, 29, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.15rem;
  font-weight: 800;
  margin-bottom: 22px;
  line-height: 1.45;
  color: var(--tlc-navy);
  letter-spacing: normal !important;
  word-spacing: 0.08em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #CC171D 0%, #b01318 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: normal !important;
  word-spacing: 0.08em;
}

.hero-lead {
  font-family: var(--font-body);
  font-size: 1.18rem;
  line-height: 1.85;
  color: #475569;
  margin-bottom: 34px;
  letter-spacing: normal !important;
  word-spacing: 0.04em;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tlc-navy);
}

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

/* Exclusive Card */
.hero-exclusive-card {
  background: #FEFEFE;
  border: 1.5px solid rgba(22, 35, 54, 0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 16px 40px rgba(22, 35, 54, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-exclusive-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #CC171D, #162336, #CC171D);
}

.exclusive-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tlc-red-light);
  border: 1px solid var(--border-highlight);
  color: var(--tlc-red);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.exclusive-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.exclusive-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.exclusive-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tlc-red-light);
  border: 1px solid rgba(204, 23, 29, 0.25);
  color: var(--tlc-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.exclusive-info h4 {
  font-size: 1.05rem;
  margin-bottom: 3px;
  color: var(--tlc-navy);
}

.exclusive-info p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

.hero-interactive-callout {
  background: #F8FAFD;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   ABOUT TLC ACADEMY (المقدمة، المهمة، الرؤية، وشراكات التوظيف)
   ========================================================================== */
.about-tlc-section {
  background: #EDF2F8;
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

.about-card {
  background: #FEFEFE;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  position: relative;
  transition: all 250ms ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(22, 35, 54, 0.05);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 23, 29, 0.45);
  box-shadow: 0 12px 28px rgba(204, 23, 29, 0.12);
}

.about-card-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--tlc-red-light);
  border: 1px solid rgba(204, 23, 29, 0.25);
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--tlc-red);
}

.about-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 14px;
}

.about-card-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #475569;
}

.about-card-desc strong {
  color: var(--tlc-navy);
}

/* Career Support Banner */
.career-support-banner {
  background: #FEFEFE;
  border: 2px solid rgba(22, 35, 54, 0.15);
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  box-shadow: 0 8px 24px rgba(22, 35, 54, 0.06);
  position: relative;
}

.career-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.career-banner-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.career-banner-text {
  flex: 1;
  min-width: 320px;
}

.career-banner-text h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 12px;
}

.career-banner-text p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #475569;
}

.career-banner-cta {
  flex-shrink: 0;
}

/* ==========================================================================
   BEST SELLERS SPOTLIGHT SECTION
   ========================================================================== */
.bestsellers-spotlight-section {
  background: var(--bg-page);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 70px 0;
}

.spotlight-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spotlight-card {
  background: #FEFEFE;
  border: 2px solid rgba(22, 35, 54, 0.12);
  border-radius: var(--radius-xl);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(22, 35, 54, 0.06);
  transition: all 250ms ease;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--tlc-red);
  box-shadow: 0 12px 30px rgba(204, 23, 29, 0.14);
}

.spotlight-card-rank-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--tlc-navy);
  color: #FEFEFE;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(22, 35, 54, 0.2);
}

.spotlight-card-title {
  font-size: 1.35rem;
  margin-top: 10px;
  margin-bottom: 12px;
  color: var(--tlc-navy);
}

.spotlight-card-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
  flex: 1;
}

/* Course Card Badges & Bestseller tags */
.course-bestseller-star-badge {
  background: var(--tlc-navy);
  color: #FEFEFE;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.tag-bestseller-gold {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--tlc-navy);
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.featured-bestseller-card {
  border-color: rgba(22, 35, 54, 0.25);
}

/* ==========================================================================
   COURSES CATALOG (TABS & CARDS)
   ========================================================================== */
.courses-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab-btn {
  background: #FEFEFE;
  border: 1px solid #CBD5E1;
  border-bottom: 3px solid #94A3B8;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 180ms ease;
}

.filter-tab-btn:hover {
  background: #F1F5F9;
  color: var(--tlc-navy);
}

.filter-tab-btn.active {
  background: var(--tlc-red);
  color: #ffffff;
  border-color: var(--tlc-red);
  border-bottom: 3px solid #850b10;
  box-shadow: 0 4px 14px rgba(204, 23, 29, 0.4);
}

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

.course-card {
  background: #FEFEFE;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all 250ms ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(22, 35, 54, 0.05);
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #CC171D, #ff6b6b);
  opacity: 0;
  transition: opacity 250ms ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 23, 29, 0.4);
  box-shadow: 0 12px 28px rgba(22, 35, 54, 0.1);
}

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

.course-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.course-cat-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-code-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #F1F5F9;
  color: var(--tlc-navy);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid #CBD5E1;
}

.course-cat-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tlc-red);
  background: var(--tlc-red-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.course-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tlc-navy);
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.course-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 12px;
  line-height: 1.45;
}

/* الهدف من الكورس */
.course-goal-highlight {
  background: rgba(204, 23, 29, 0.05);
  border-right: 3px solid var(--tlc-red);
  padding: 10px 14px;
  border-radius: 4px 8px 8px 4px;
  margin-bottom: 12px;
}

.goal-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--tlc-red);
  margin-bottom: 4px;
}

.goal-text {
  font-size: 0.88rem;
  color: #1e293b;
  line-height: 1.6;
  margin: 0;
}

/* لمن هذا الكورس */
.course-target-box {
  background: #F8FAFD;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.target-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 4px;
}

.target-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.course-takeaways-box {
  background: #F8FAFD;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

.takeaways-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 8px;
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.takeaways-list li {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.takeaways-list .check-icon {
  color: #10b981;
  font-weight: 900;
  flex-shrink: 0;
}

/* أمثلة عملية من داخل الكورس */
.course-examples-box {
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.examples-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 8px;
}

.examples-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.examples-list li {
  font-size: 0.82rem;
  color: #0369a1;
  background: #FFFFFF;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border-right: 2px solid #0284c7;
  line-height: 1.5;
}

/* طريقة التدريب والنتيجة */
.course-method-outcome-box {
  background: #F8FAFD;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
}

.course-detail-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.5;
  color: #334155;
}

.detail-badge-label {
  font-weight: 800;
  color: var(--tlc-navy);
}

.outcome-row .detail-badge-label {
  color: #10b981;
}

.career-row .detail-badge-label {
  color: var(--tlc-red);
}

/* خيارات الحضور والفصول */
.course-class-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.mode-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.course-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.course-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.course-footer-actions .btn {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

/* Vision Quote Box */
.tlc-vision-quote-box {
  background: #FEFEFE;
  border: 1.5px solid rgba(204, 23, 29, 0.25);
  border-radius: var(--radius-xl);
  padding: 24px 30px;
  margin-top: 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 20px rgba(22, 35, 54, 0.05);
}

.tlc-vision-quote-box .quote-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.tlc-vision-quote-box .quote-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--tlc-navy);
  margin-bottom: 4px;
}

.tlc-vision-quote-box .quote-content p {
  font-size: 1.05rem;
  color: #162336;
  line-height: 1.7;
  margin: 0;
}

/* Study System Grid (نظام الـ Classes والمزايا) */
.tlc-study-system-section {
  background: #EDF2F8;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 40px;
}

.study-system-header {
  text-align: center;
  margin-bottom: 28px;
}

.study-system-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 8px;
}

.study-system-header p {
  font-size: 0.95rem;
  color: #475569;
  max-width: 680px;
  margin: 0 auto;
}

.study-system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
}

.study-card {
  background: #FEFEFE;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 200ms ease;
  position: relative;
  box-shadow: 0 4px 12px rgba(22, 35, 54, 0.04);
}

.study-card:hover {
  transform: translateY(-3px);
  border-color: rgba(204, 23, 29, 0.4);
  box-shadow: 0 8px 24px rgba(22, 35, 54, 0.08);
}

.study-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.study-card-icon {
  font-size: 1.6rem;
}

.study-card-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--tlc-navy);
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.study-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 8px;
}

.study-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 12px;
}

.study-card-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #E2E8F0;
}

.study-card-points li {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.study-card-points li span.bullet {
  color: var(--tlc-red);
  font-weight: 900;
  flex-shrink: 0;
}

/* Why TLC Summary Strip */
.tlc-why-strip {
  background: #FEFEFE;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-top: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(22, 35, 54, 0.05);
}

.why-strip-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tlc-navy);
  margin-bottom: 20px;
}

.why-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F8FAFD;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.why-item-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tlc-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item-text {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
}

/* ==========================================================================
   WHATSAPP ACTION BANNER
   ========================================================================== */
.whatsapp-action-banner {
  background: #FEFEFE;
  border: 2px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  margin: 60px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.1);
}

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

.wa-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.wa-banner-text h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--tlc-navy);
}

.wa-banner-text p {
  font-size: 0.95rem;
  color: #475569;
}

.wa-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   PLACEMENT SECTION CTA CARD
   ========================================================================== */
.placement-cta-card {
  background: #FEFEFE;
  border: 2px solid rgba(22, 35, 54, 0.12);
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 12px 36px rgba(22, 35, 54, 0.08);
}

.placement-card-badge {
  display: inline-block;
  background: var(--tlc-red-light);
  color: var(--tlc-red);
  border: 1px solid var(--border-highlight);
  padding: 6px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.placement-card-title {
  font-size: 1.65rem;
  color: var(--tlc-navy);
  margin-bottom: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.placement-card-desc {
  color: #475569;
  font-size: 1.05rem;
  max-width: 660px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ==========================================================================
   BRANCH & LOCATION SHOWCASE (النزهة الجديدة)
   ========================================================================== */
.location-card-container {
  background: #FEFEFE;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 6px 24px rgba(22, 35, 54, 0.05);
}

.location-info h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--tlc-navy);
}

.location-address-box {
  background: #F8FAFD;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: #334155;
}

.loc-item strong {
  color: var(--tlc-navy);
}

.metro-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.online-perk-box {
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-md);
  padding: 20px;
}

.online-perk-box h4 {
  font-size: 1.15rem;
  color: #0284c7;
  margin-bottom: 8px;
}

.online-perk-box p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  background: var(--whatsapp-green);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: all 200ms ease;
  border: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--tlc-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FEFEFE;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 200ms ease;
  box-shadow: 0 2px 6px rgba(22, 35, 54, 0.03);
}

.faq-item.open {
  border-color: rgba(204, 23, 29, 0.4);
  box-shadow: 0 6px 20px rgba(204, 23, 29, 0.08);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--tlc-navy);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}

.faq-icon {
  transition: transform 250ms ease, color 250ms ease;
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--tlc-red);
}

.faq-answer-content {
  display: none;
  padding: 0 26px 24px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #475569;
}

.faq-item.open .faq-answer-content {
  display: block;
}

/* ==========================================================================
   FOOTER (RICH GROUNDING DARK NAVY #162336 WITH #FEFEFE TEXT)
   ========================================================================== */
.footer {
  background: var(--tlc-navy);
  border-top: 3px solid var(--tlc-red);
  padding: 80px 0 36px;
  color: #FEFEFE;
}

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

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FEFEFE;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.94rem;
  color: #cbd5e1;
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: #ff6b6b;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: #94a3b8;
}

/* ==========================================================================
   MODAL FOUNDATION & SUBPAGE STYLING (RETURN TO HOME & RED-FRAMED EXIT)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(22, 35, 54, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #FEFEFE;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(22, 35, 54, 0.25);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  color: var(--tlc-navy);
}

.modal-header-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dedicated Tab to Return to Homepage */
.btn-return-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFFFFF;
  color: var(--tlc-navy);
  border: 1.5px solid var(--tlc-navy);
  border-bottom: 3px solid var(--tlc-navy);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(22, 35, 54, 0.06);
  white-space: nowrap;
}

.btn-return-home:hover {
  background: var(--tlc-navy);
  color: #FEFEFE;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 35, 54, 0.2);
}

.btn-return-home:active {
  transform: translateY(1px);
  border-bottom-width: 1.5px;
}

/* Distinctive Red-Framed, Enlarged Exit Button */
.modal-close-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 12px;
  border: 2.5px solid #CC171D !important; /* Distinct Red Frame */
  background: rgba(204, 23, 29, 0.08);
  color: #CC171D !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(204, 23, 29, 0.2);
  padding: 0 !important;
}

.modal-close-btn:hover {
  background: #CC171D !important;
  color: #FEFEFE !important;
  transform: scale(1.08) rotate(90deg);
  box-shadow: 0 4px 16px rgba(204, 23, 29, 0.45);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

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

.toast {
  background: #1e2e44;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.toast-success { border-right: 4px solid #10b981; }
.toast-error { border-right: 4px solid #cc171d; }

.google-form-link-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.google-form-link-pill:hover {
  background: rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (MOBILE & DESKTOP)
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(254, 254, 254, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 3px solid var(--tlc-red);
    padding: 20px 16px 26px;
    gap: 8px;
    box-shadow: 0 16px 40px rgba(22, 35, 54, 0.15);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open .nav-link {
    padding: 13px 16px;
    font-size: 1.02rem;
    border-radius: 10px;
    background: #F8FAFD;
    border: 1px solid #E2E8F0;
    border-bottom: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    color: var(--tlc-navy);
  }

  .nav-menu.open .nav-link:hover,
  .nav-menu.open .nav-link:active {
    background: rgba(204, 23, 29, 0.08);
    border-color: rgba(204, 23, 29, 0.35);
    border-bottom-color: var(--tlc-red);
    color: var(--tlc-red);
  }

  .mobile-drawer-footer-actions {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #E2E8F0;
  }

  .mobile-drawer-footer-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.98rem;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .nav-actions .btn-outline {
    display: none; /* Hide secondary button from mobile top bar to prevent squishing with logo */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .career-banner-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .spotlight-cards-grid {
    grid-template-columns: 1fr;
  }
  .location-card-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Top Announcement Strip Mobile */
  .top-announcement-strip {
    padding: 8px 0;
  }

  .announcement-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .announcement-contact {
    justify-content: center;
    font-size: 0.8rem;
  }

  .announcement-links {
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .announcement-pill {
    font-size: 0.76rem;
    padding: 6px 12px;
  }

  /* Navbar Mobile */
  .brand-logo {
    gap: 8px;
  }

  .logo-badge {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    border-radius: 9px;
  }

  .logo-title {
    font-size: 1.1rem;
  }

  .logo-sub {
    font-size: 0.62rem;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-primary {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  /* Courses Filter Tabs: App-like smooth horizontal scroll on mobile */
  .courses-filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 10px;
    padding: 6px 16px 16px;
    margin-bottom: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .courses-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
  }

  /* Typography & Titles */
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.35;
  }

  .section-title {
    font-size: 1.7rem;
    line-height: 1.35;
  }

  /* Cards & Boxes */
  .course-card {
    padding: 20px 16px;
  }

  .course-footer-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .course-footer-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.94rem;
  }

  .tlc-vision-quote-box {
    flex-direction: column;
    text-align: center;
    padding: 18px;
    gap: 12px;
  }

  .tlc-study-system-section {
    padding: 20px 16px;
  }

  .study-system-grid {
    grid-template-columns: 1fr;
  }

  .why-strip-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-action-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
  }

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

  .wa-banner-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Placement Modal on Mobile */
  .gform-direct-launch-card {
    padding: 18px 14px;
    margin: 12px;
  }

  .gform-launch-btn {
    width: 100%;
    font-size: 1rem;
    padding: 14px 20px;
  }
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR, SOCIAL BUTTONS & BILINGUAL SUPPORT
   ========================================================================== */
.announcement-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.announcement-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.announcement-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.announcement-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 180ms ease;
}

.announcement-social-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.announcement-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.announcement-social-btn.social-fb:hover { background: #1877F2; border-color: #1877F2; }
.announcement-social-btn.social-ig:hover { background: #E1306C; border-color: #E1306C; }
.announcement-social-btn.social-tt:hover { background: #000000; border-color: #25F4EE; }
.announcement-social-btn.social-th:hover { background: #000000; border-color: #ffffff; }
.announcement-social-btn.social-mail:hover { background: #EA4335; border-color: #EA4335; }

.lang-switcher-pill {
  background: #ffffff;
  color: var(--tlc-navy);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lang-switcher-pill:hover {
  background: var(--tlc-red);
  color: #ffffff;
  border-color: var(--tlc-red);
}

/* LTR Support for English Mode */
html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html[dir="ltr"] .nav-actions {
  margin-inline-end: 0;
  margin-inline-start: 28px;
}

html[dir="ltr"] .spotlight-card-rank-badge {
  left: auto;
  right: 20px;
}

html[dir="ltr"] .exclusive-features-list .exclusive-item {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .hero-lead,
html[dir="ltr"] .section-header,
html[dir="ltr"] .about-card,
html[dir="ltr"] .study-card,
html[dir="ltr"] .placement-cta-card,
html[dir="ltr"] .branch-info-card {
  text-align: left;
}
