/* ==========================================================================
   MNR TECH ACADEMY - MODERN CSS STYLE GUIDE & SYSTEM
   ========================================================================== */

/* @import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;1,600&family=Poppins:wght@500;600;700&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS (CSS VARIABLES)
   ========================================================================== */
:root {
  /* Branding Colors */
  --primary: #0B5ED7;         /* Primary Blue */
  --secondary: #198754;       /* Secondary Green */
  --accent: #F59E0B;          /* Accent Orange */
  --bg-slate: #F8FAFC;        /* Background Gray */
  --white: #FFFFFF;           /* Pure White */
  --text-dark: #1F2937;       /* Dark Text */
  --text-gray: #4B5563;       /* Muted Text */
  --border-color: #E5E7EB;    /* Light Gray Border */
  
  /* Tint variations for background cards */
  --primary-tint: rgba(11, 94, 215, 0.05);
  --secondary-tint: rgba(25, 135, 84, 0.06);
  --accent-tint: rgba(245, 158, 11, 0.08);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout Spacing (Standardized 8px System) */
  --space-8px: 8px;
  --space-16px: 16px;
  --space-24px: 24px;
  --space-32px: 32px;
  --space-48px: 48px;
  --space-64px: 64px;
  --space-96px: 96px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Borders and Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 25px -5px rgba(11, 94, 215, 0.1), 0 8px 10px -6px rgba(11, 94, 215, 0.05);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* Premium Design Eases & Timings */
  --ease-premium: cubic-bezier(.22,.61,.36,1);
  --transition-premium: all 650ms cubic-bezier(.22,.61,.36,1);
  --transition-hover: all 300ms cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   2. BASE RESET & GLOBALS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-slate);
  background-image: 
    /* High-performance dot grid (no background-attachment: fixed) */
    radial-gradient(rgba(11, 94, 215, 0.025) 1.2px, transparent 1.2px),
    /* Faint SVG technology grid/circuit lines */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10 H90 V90 H10 Z M50 10 V90 M10 50 H90 M10 10 L30 30 M90 90 L70 70' fill='none' stroke='rgba(11, 94, 215, 0.015)' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(11, 94, 215, 0.02)'/%3E%3Ccircle cx='70' cy='70' r='1.5' fill='rgba(11, 94, 215, 0.02)'/%3E%3C/svg%3E"),
    /* Pre-blurred gradient blobs (zero browser blur filter load) */
    radial-gradient(circle at 85% 15%, rgba(11, 94, 215, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 15% 55%, rgba(25, 135, 84, 0.03) 0%, transparent 45%),
    radial-gradient(circle at 75% 85%, rgba(11, 94, 215, 0.03) 0%, transparent 40%);
  background-size: 24px 24px, 120px 120px, 100% 100%, 100% 100%, 100% 100%;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600; /* Poppins SemiBold */
  color: var(--text-dark);
  line-height: 1.25;
}

p {
  color: var(--text-gray);
  font-size: 1rem;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   3. REUSABLE SYSTEM COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
  background-color: rgba(255, 255, 255, 0.85); /* Translucent white to show depth */
}

.section-alt {
  background-color: rgba(248, 250, 252, 0.7); /* Translucent slate background */
}

/* Section Header Styling */
.course-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto var(--space-lg) auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-gray);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 500; /* Poppins Medium */
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #094eb3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.2);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #12653e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
}

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

.btn-accent:hover {
  background-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Badge styling */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  background-color: var(--primary-tint);
  color: var(--primary);
  border: 1px solid rgba(11, 94, 215, 0.1);
}

.badge-green {
  background-color: var(--secondary-tint);
  color: var(--secondary);
  border: 1px solid rgba(25, 135, 84, 0.1);
}

/* Icon box wrappers */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-tint);
  color: var(--primary);
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   4. STICKY NAVIGATION BAR
   ========================================================================== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  height: 80px;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-img {
  width: 110px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.logo-sub {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-link a:hover {
  color: var(--primary);
}

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

.nav-toggle-input {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  position: relative;
  transition: var(--transition-fast);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  padding: 140px 0 var(--space-xl) 0;
  background: radial-gradient(circle at 90% 10%, rgba(11, 94, 215, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 40%),
              rgba(255, 255, 255, 0.65);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-text {
  max-width: 680px;
}

.hero-h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.75rem;
  letter-spacing: -1px;
}

.hero-h1 span {
  color: var(--primary);
}

.hero-subheading {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-gray);
  margin-bottom: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 600px;
}

.hero-p {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: 2.25rem;
  line-height: 1.75;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-address {
  font-size: 0.95rem;
  color: var(--text-gray);
  background-color: var(--bg-slate);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}



.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-slate);
  transition: var(--transition-smooth);
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-img-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   6. ABOUT MNR SECTION (EDITORIAL STYLE)
   ========================================================================== */
.about {
  position: relative;
  padding: 7.5rem 0; /* Generous whitespace */
  background-color: var(--white);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(11, 94, 215, 0.035) 0%, transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(25, 135, 84, 0.025) 0%, transparent 40%),
    linear-gradient(rgba(11, 94, 215, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 94, 215, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  z-index: 1;
}

.section-divider-top, 
.section-divider-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.section-divider-top {
  top: 0;
}

.section-divider-bottom {
  bottom: 0;
}

.section-divider-top svg,
.section-divider-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.about-two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* approx 45% vs 55% */
  gap: 4.5rem; /* Large spacing */
  align-items: flex-start; /* Shifted from center to flex-start to place image higher */
  margin-bottom: var(--space-xl);
}

.about-left-col {
  position: sticky;
  top: 100px; /* Shifted sticky threshold upwards */
}

.about-image-wrapper-editorial {
  position: relative;
  z-index: 1;
}

.about-image-glow-backdrop {
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.12) 0%, rgba(25, 135, 84, 0.08) 100%);
  filter: blur(24px);
  border-radius: 38px;
  z-index: -1;
  pointer-events: none;
}

.about-image-frame-editorial {
  border-radius: 28px; /* Rounded corners 28px */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: var(--white);
  transition: var(--transition-smooth);
  position: relative;
}

.about-image-frame-editorial img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.about-image-frame-editorial:hover {
  transform: translateY(-8px); /* Image lifts on hover */
  box-shadow: var(--shadow-hover);
}

.about-image-frame-editorial:hover img {
  transform: scale(1.02);
}

.about-garden-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(25, 135, 84, 0.1);
  z-index: 3;
}

.about-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.about-heading-accent-wrapper {
  border-left: 4px solid var(--primary); /* Thin blue vertical accent line */
  padding-left: 1.25rem;
  margin-bottom: 1.75rem;
}

.about-title-highlight-editorial {
  font-size: clamp(2rem, 4.5vw, 3.2rem); /* Large heading (56-64px equivalent depending on screen) */
  font-weight: 600;
  line-height: 1.18;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.about-paragraph-editorial {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  max-width: 600px; /* Readable width */
}

/* Vertical Feature List */
.about-vertical-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-vertical-feat-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.about-vertical-feat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-vertical-feat-item:hover {
  transform: translateX(6px); /* Feature items slide slightly to the right */
}

.about-feat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.about-vertical-feat-item:nth-child(2) .about-feat-icon-box {
  background-color: var(--secondary-tint);
  color: var(--secondary);
}

.about-vertical-feat-item:nth-child(3) .about-feat-icon-box {
  background-color: var(--accent-tint);
  color: var(--accent);
}

.about-vertical-feat-item:nth-child(4) .about-feat-icon-box {
  background-color: rgba(25, 135, 84, 0.08);
  color: var(--secondary);
}

.about-feat-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: var(--transition-smooth);
}

.about-vertical-feat-item:hover .about-feat-icon-box svg {
  transform: scale(1.1);
}

.about-feat-title-editorial {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

.about-feat-desc-editorial {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.55;
}

/* Checklist Highlight Box */
.about-highlight-box {
  background-color: var(--white);
  border-radius: 20px;
  padding: 1.75rem 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.about-highlight-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
  letter-spacing: -0.2px;
}

.about-highlight-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
}

.about-highlight-list li {
  font-size: 0.92rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.highlight-check {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1rem;
}



/* ==========================================================================
   7. COURSES SECTION
   ========================================================================== */
#courses {
  background-color: var(--bg-slate);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(11, 94, 215, 0.035) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(25, 135, 84, 0.025) 0%, transparent 45%),
    linear-gradient(rgba(11, 94, 215, 0.02) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(11, 94, 215, 0.02) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  position: relative;
  overflow: hidden;
}

.courses-vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem; /* Reduced gap from 2.25rem */
  align-items: stretch;
  margin-top: 2.5rem; /* Reduced margin from 3.5rem */
}

.course-premium-card {
  background-color: var(--white);
  border-radius: 20px; /* Reduced from 24px */
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

.course-premium-card:hover {
  transform: translateY(-6px); /* Reduced hover lift from -8px */
  box-shadow: var(--shadow-hover);
  border-color: rgba(11, 94, 215, 0.15);
}

.course-premium-card:hover .course-illustration-block-vertical svg {
  transform: scale(1.04);
}

/* Featured Card in Vertical Grid */
.course-card-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 15px 30px -5px rgba(11, 94, 215, 0.06), 0 8px 10px -6px rgba(11, 94, 215, 0.03);
  transform: translateY(-4px) scale(1.015);
}

.course-card-featured:hover {
  transform: translateY(-12px) scale(1.025);
}

.course-card-header-editorial-vertical {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 0 2rem;
  position: relative;
}

/* Card Themes (Backgrounds & Borders) */
.card-theme-tally {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%) !important;
  border: 2px solid rgba(11, 94, 215, 0.25) !important; /* Made border more visible and thicker */
}

.card-theme-tally:hover {
  border-color: rgba(11, 94, 215, 0.6) !important;
}

.card-theme-web {
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%) !important;
  border: 2.5px solid var(--primary) !important; /* Bold, solid primary border */
}

.card-theme-web:hover {
  border-color: #084ab2 !important;
}

.card-theme-digital {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
  border: 2px solid rgba(25, 135, 84, 0.25) !important; /* Made border more visible and thicker */
}

.card-theme-digital:hover {
  border-color: rgba(25, 135, 84, 0.6) !important;
}

/* Vector Illustration Blocks (Vertical Card) */
.course-illustration-block-vertical {
  background-color: transparent;
  border-radius: 0;
  border: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
  height: 140px; /* Card illustration height */
}

.course-illustration-block-vertical svg {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

/* Colors and Gradients */
.course-meta-under {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.course-card-header-editorial {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 0 2rem;
  position: relative;
}

.course-card-body {
  padding: 1.25rem 1.5rem; /* Reduced padding from 1.5rem 2rem */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-duration-tag {
  background-color: var(--bg-slate);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  width: fit-content;
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.course-media-side .course-duration-tag {
  position: static;
  margin-bottom: 0.5rem;
}

.duration-featured {
  background-color: var(--primary-tint);
  color: var(--primary);
  border-color: rgba(11, 94, 215, 0.15);
}

.course-card-title {
  font-size: 1.25rem; /* Tightened title size */
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem; /* Tightened margin */
  line-height: 1.3;
  font-family: var(--font-heading);
}

.text-featured,
.text-featured-blue {
  color: var(--primary);
}

.text-featured-green {
  color: var(--secondary);
}

.course-card-valprop {
  font-size: 0.9rem; /* Reduced slightly */
  color: var(--text-gray);
  line-height: 1.45;
  margin-bottom: 1rem; /* Tightened margin */
}

.course-audience-info {
  font-size: 0.78rem;
  line-height: 1.45;
  background-color: var(--bg-slate);
  padding: 0.5rem 0.75rem; /* Tightened padding */
  border-radius: 8px;
  margin-bottom: 1rem;
}

.audience-label {
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 2px;
}

.audience-tags {
  color: var(--text-gray);
}

.course-skills-wrapper {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.course-skills-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-gray);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

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

.course-skills-list li {
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem; /* Tightened line margin */
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.course-skills-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

.course-career-box {
  font-size: 0.8rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem; /* Tightened padding */
  margin-top: auto; /* Push block to card bottom */
}

.career-label {
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 1px;
}

.career-text {
  color: var(--text-gray);
}

/* Cards Footer actions */
.course-card-footer {
  border-top: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem; /* Tightened padding */
}

.course-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem; /* Tightened gap */
  align-items: start;
}

.course-syllabus-expander {
  width: 100%;
}

.course-syllabus-expander summary {
  list-style: none;
  outline: none;
  cursor: pointer;
}

.course-syllabus-expander summary::-webkit-details-marker {
  display: none;
}

.explore-btn {
  width: 100%;
  text-align: center;
}

/* Floating Screen Modal Overlay */
.syllabus-drawer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 9999px rgba(15, 23, 42, 0.65); /* High contrast dim overlay */
  padding: 2rem;
  z-index: 10000; /* Pop overlay above everything else */
  animation: slideUpModal 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@keyframes slideUpModal {
  from {
    transform: translate(-50%, -42%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.syllabus-drawer-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.syllabus-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.syllabus-drawer-subtitle {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin: 0;
}

.syllabus-drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.syllabus-drawer-list li {
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.45;
}

.syllabus-drawer-list li span {
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-tint);
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.close-x-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-gray);
  cursor: pointer;
  padding: 0.25rem;
  transition: var(--transition-smooth);
}

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

.course-syllabus-expander[open] summary.explore-btn {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.course-syllabus-expander .explore-text-less {
  display: none;
}

.course-syllabus-expander[open] .explore-text-more {
  display: none;
}

.course-syllabus-expander[open] .explore-text-less {
  display: inline;
}

.courses-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}



/* ==========================================================================
   9. LEARNING PHILOSOPHY
   ========================================================================== */
/* ==========================================================================
   9. LEARNING PHILOSOPHY
   ========================================================================== */
#philosophy {
  background: 
    radial-gradient(circle at 80% 20%, rgba(11, 94, 215, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(25, 135, 84, 0.03) 0%, transparent 50%),
    radial-gradient(rgba(148, 163, 184, 0.08) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
  position: relative;
  overflow: hidden;
}

.philosophy-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* Left Column: Media */
.philosophy-media-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.philosophy-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.philosophy-img-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15);
}

.philosophy-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  object-fit: cover;
}

.philosophy-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(to bottom, rgba(11, 94, 215, 0.02), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.philosophy-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: var(--white);
  border-radius: 50px;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 10px 25px -5px rgba(11, 94, 215, 0.12), var(--shadow-md);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
  border: 1px solid rgba(25, 135, 84, 0.1);
  animation: floatBadge 3s ease-in-out infinite alternate;
}

@keyframes floatBadge {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

.philosophy-floating-badge .badge-icon {
  font-size: 0.9rem;
}

/* Right Column: Content */
.philosophy-text-col {
  display: flex;
  flex-direction: column;
}

.philosophy-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
}

.philosophy-h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.philosophy-desc {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Vertical Timeline */
.philosophy-vertical-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 0.5rem;
}

/* Connective vertical line extending Step 1 to Step 5 */
.philosophy-vertical-timeline::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: calc(1.25rem + 0.5rem);
  bottom: 1.25rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-tint) 50%, var(--secondary) 100%);
  opacity: 0.35;
  z-index: 1;
}

.timeline-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-step:hover {
  transform: translateX(4px);
}

.timeline-step-node {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #0dcaf0 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(11, 94, 215, 0.15);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.timeline-step:hover .timeline-step-node {
  transform: scale(1.15);
  box-shadow: 0 6px 15px rgba(11, 94, 215, 0.25);
}

/* Alternating colors for nodes */
.timeline-step:nth-child(2) .timeline-step-node {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
}
.timeline-step:nth-child(3) .timeline-step-node {
  background: linear-gradient(135deg, #6f42c1 0%, #a78bfa 100%);
}
.timeline-step:nth-child(4) .timeline-step-node {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}
.timeline-step:nth-child(5) .timeline-step-node {
  background: linear-gradient(135deg, var(--secondary) 0%, #34d399 100%);
}

.timeline-step-content {
  display: flex;
  flex-direction: column;
  padding-top: 0.2rem;
}

.timeline-step-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.timeline-step:hover .timeline-step-title {
  color: var(--primary);
}

.timeline-step-desc {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Quote Card bottom highlight */
.philosophy-quote-card {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.05) 0%, rgba(2, 132, 199, 0.02) 100%);
  border: 1.5px solid rgba(11, 94, 215, 0.15);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.philosophy-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--primary);
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.quote-bg-svg {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 180px;
  height: 180px;
  color: var(--primary);
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-15deg);
}

/* ==========================================================================
   10. CORE PHILOSOPHY (ACTION OVER THEORY)
   ========================================================================== */
.core {
  background-color: var(--bg-slate);
  position: relative;
}

.core-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.core-minimal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

/* Minimal Core Card Styling (Left Accent Cards) */
.minimal-core-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px; /* Clean, structured corners */
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left-aligned */
  text-align: left; /* Left-aligned */
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}

/* Left Accent borders matching card themes */
.core-theme-blue { border-left: 4px solid var(--primary); }
.core-theme-green { border-left: 4px solid var(--secondary); }
.core-theme-orange { border-left: 4px solid var(--accent); }
.core-theme-purple { border-left: 4px solid #6f42c1; }
.core-theme-teal { border-left: 4px solid #0d9488; }

.minimal-core-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(0,0,0,0.06);
}

/* Theme variations for borders on hover */
.core-theme-blue:hover { border-color: rgba(11, 94, 215, 0.35); }
.core-theme-green:hover { border-color: rgba(25, 135, 84, 0.35); }
.core-theme-orange:hover { border-color: rgba(245, 158, 11, 0.35); }
.core-theme-purple:hover { border-color: rgba(111, 66, 193, 0.35); }
.core-theme-teal:hover { border-color: rgba(20, 184, 166, 0.35); }

/* Minimal Icon Box */
.minimal-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.minimal-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.core-theme-blue .minimal-icon-wrapper {
  background-color: rgba(11, 94, 215, 0.06);
  color: var(--primary);
}
.core-theme-blue:hover .minimal-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.core-theme-green .minimal-icon-wrapper {
  background-color: rgba(25, 135, 84, 0.06);
  color: var(--secondary);
}
.core-theme-green:hover .minimal-icon-wrapper {
  background-color: var(--secondary);
  color: var(--white);
  transform: scale(1.05);
}

.core-theme-orange .minimal-icon-wrapper {
  background-color: rgba(245, 158, 11, 0.06);
  color: var(--accent);
}
.core-theme-orange:hover .minimal-icon-wrapper {
  background-color: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}

.core-theme-purple .minimal-icon-wrapper {
  background-color: rgba(111, 66, 193, 0.06);
  color: #6f42c1;
}
.core-theme-purple:hover .minimal-icon-wrapper {
  background-color: #6f42c1;
  color: var(--white);
  transform: scale(1.05);
}

.core-theme-teal .minimal-icon-wrapper {
  background-color: rgba(20, 184, 166, 0.06);
  color: #0d9488;
}
.core-theme-teal:hover .minimal-icon-wrapper {
  background-color: #0d9488;
  color: var(--white);
  transform: scale(1.05);
}

/* Card Typography */
.minimal-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.minimal-card-desc {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   11. GRADUATION DAY (USP SECTION)
   ========================================================================== */
.graduation {
  background: linear-gradient(180deg, #0B5ED7 0%, #083A82 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

/* Abstract Background Glows & Circles */
.grad-bg-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 202, 240, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.grad-bg-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.grad-circle-faint {
  fill: none;
  stroke: rgba(255, 255, 255, 0.025);
  stroke-width: 1.5;
}

/* Grid Container */
.graduation-premium-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 4.5rem;
}

/* Left Column: Content */
.graduation-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.graduation-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0dcaf0;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.graduation-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.graduation-story {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 2rem;
}



/* Journey Timeline */
.graduation-journey-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.graduation-journey-timeline::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 2px;
  background: linear-gradient(to bottom, #0dcaf0 0%, #f59e0b 50%, #198754 100%);
  opacity: 0.3;
  z-index: 1;
}

.grad-journey-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  z-index: 2;
  transition: transform 0.3s ease;
}

.grad-journey-step:hover {
  transform: translateX(6px);
}

.grad-step-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
}

.grad-journey-step:hover .grad-step-icon-box {
  transform: scale(1.15);
  background: var(--white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.grad-step-content {
  display: flex;
  flex-direction: column;
  padding-top: 0.2rem;
}

.grad-step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
  transition: color 0.3s ease;
}

.grad-journey-step:hover .grad-step-title {
  color: #0dcaf0;
}

.grad-step-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

/* Right Column: Hero Image */
.graduation-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.graduation-hero-img-wrapper {
  position: relative;
  width: 115%; /* 15% larger */
  max-width: 560px;
  border-radius: 28px;
  border: 6px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
  overflow: visible;
  animation: floatHero 6s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.graduation-hero-img-wrapper:hover {
  transform: scale(1.02);
}

@keyframes floatHero {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.graduation-hero-img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
  object-fit: cover;
}

/* Floating Class Glass Badge on Top-Right */
.grad-floating-glass-badge {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  z-index: 5;
  animation: floatBadgeSlow 4s ease-in-out infinite alternate;
}

@keyframes floatBadgeSlow {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.grad-floating-glass-badge .badge-emoji {
  font-size: 1rem;
}
.grad-floating-glass-badge .badge-txt {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 0.85rem;
}

/* Glass Quote Overlay Card on Bottom-Left */
.grad-floating-quote-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  z-index: 4;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.grad-hero-img-wrapper:hover .grad-floating-quote-card {
  box-shadow: 0 15px 30px rgba(13, 202, 240, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.overlay-quote-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
  text-align: center;
  margin: 0;
}





/* ==========================================================================
   13. CONTACT & MAP SECTION
   ========================================================================== */
.contact {
  background-color: var(--bg-slate);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

.contact-info-card {
  background-color: var(--white);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-title {
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
}

.contact-info-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: var(--space-md);
}

.contact-coordinates {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

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

.contact-coord-item .icon-box {
  width: 40px;
  height: 40px;
  background-color: var(--primary-tint);
  color: var(--primary);
  margin-bottom: 0;
}

.contact-coord-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-coord-text {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.map-placeholder {
  height: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  min-height: 260px;
}

.map-open-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  background-color: var(--bg-gray);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.map-open-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Inquiry Form Box */
.contact-form-card {
  background-color: var(--white);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: var(--space-xs);
}

.form-input {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.1);
}

.contact-form button {
  margin-top: var(--space-xs);
}

/* ==========================================================================
   14. PRE-FOOTER CTA & FOOTER
   ========================================================================== */



/* Redesigned Footer Section */
.footer {
  background: 
    radial-gradient(circle at 80% 20%, rgba(11, 94, 215, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(25, 135, 84, 0.03) 0%, transparent 50%),
    radial-gradient(rgba(148, 163, 184, 0.08) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
  color: var(--text-dark);
  padding: 3rem 0 var(--space-md) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

/* Dots background pattern overlay is handled directly in background definition */
.footer-bg-pattern {
  display: none;
}

.footer .container {
  position: relative;
  z-index: 2;
}

/* Three Column Layout */
.footer-three-columns {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.6fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0; /* Prevent flex overlap */
}

.footer-col-brand {
  padding-right: 0.5rem;
}

.footer-logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 150px; /* Shrunk logo image size */
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem; /* Small brand text */
  color: var(--text-dark);
  white-space: nowrap;
}

.footer-logo-sub {
  color: var(--accent);
}

.footer-mission {
  font-size: 0.82rem; /* Shrunk description */
  line-height: 1.5;
  color: var(--text-gray);
  margin-bottom: 1.25rem;
}

.footer-brand-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-detail-item {
  font-size: 0.82rem; /* Shrunk detail item fonts */
  color: var(--text-gray);
  margin: 0;
}

/* Column Lists */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.88rem; /* Shrunk title font */
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem; /* Shrunk link gaps */
  padding: 0;
  margin: 0;
}

.footer-col-list li {
  list-style: none;
}

.footer-col-list a {
  font-size: 0.82rem; /* Shrunk links text size */
  color: var(--text-gray);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

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

/* Contact & Connect Specifics */
.footer-opening-hours {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-maps-btn-wrapper {
  margin-bottom: 1.5rem;
  width: 100%;
}

.footer-maps-btn {
  font-size: 0.82rem !important;
  padding: 0.65rem 1.25rem !important;
  color: var(--primary) !important;
  border-color: rgba(11, 94, 215, 0.25) !important;
  border-radius: var(--radius-sm) !important;
  width: 100%;
  text-align: center;
}

.footer-maps-btn:hover {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
}

/* Social Icon Badges */
.footer-socials-wrapper {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Footer Bottom Section & Divider */
.footer-divider {
  border: 0;
  height: 1px;
  background-color: var(--border-color);
  margin: 3rem 0 2rem 0;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-gray);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-link {
  font-size: 0.82rem;
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: var(--primary);
}

.footer-credit {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS (MOBILE FIRST)
   ========================================================================== */

/* Max Width 1024px (Tablets / Small Laptops) */
@media screen and (max-width: 1024px) {
  :root {
    --space-xl: 4rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  

  
  .about-two-col {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .about-left-col {
    position: relative;
    top: 0;
    margin-bottom: var(--space-md);
  }

  
  .courses-vertical-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 2rem;
  }
  .course-card-featured {
    transform: none;
  }
  .course-card-featured:hover {
    transform: translateY(-8px);
  }
  
  .philosophy-grid-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .philosophy-text-col {
    align-items: center;
    text-align: center;
  }
  
  .philosophy-vertical-timeline {
    text-align: left;
    max-width: 550px;
    margin: 0 auto;
  }
  
  .core-minimal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .graduation-premium-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .graduation-content-col {
    align-items: center;
    text-align: center;
  }
  
  .graduation-journey-timeline {
    text-align: left;
    max-width: 550px;
    margin: 0 auto;
  }

  .graduation-visual-col {
    order: -1; /* Move image above content */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .graduation-hero-img-wrapper {
    width: 100%;
  }

  .grad-floating-glass-badge {
    right: 0;
    top: -1rem;
  }





  
  .contact-grid {
    grid-template-columns: 1fr;
  }



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

/* Max Width 768px (Mobile & Portrait Tablets) */
@media screen and (max-width: 768px) {
  .nav-header {
    height: 80px;
  }

  .nav-cta {
    display: none;
  }

  #mobile-cta-wrapper {
    display: block !important;
    width: 100%;
    max-width: 280px;
    margin: var(--space-md) auto 0 auto !important;
    padding: 0 var(--space-sm);
  }

  .logo {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 60px);
  }

  .logo-img {
    width: clamp(70px, 18vw, 85px);
    height: auto;
    flex-shrink: 0;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-lg) 0;
    gap: var(--space-md);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }
  
  .nav-link a {
    font-size: 1.1rem;
  }
  
  /* Trigger responsive menu when input toggled */
  .nav-toggle-input:checked ~ .nav-links {
    left: 0;
  }
  
  .nav-toggle-label {
    display: block;
    z-index: 1001;
  }
  
  /* Hamburger changes when active */
  .nav-toggle-input:checked ~ .nav-toggle-label .hamburger {
    background-color: transparent;
  }
  
  .nav-toggle-input:checked ~ .nav-toggle-label .hamburger::before {
    transform: translateY(6px) rotate(45deg);
  }
  
  .nav-toggle-input:checked ~ .nav-toggle-label .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
  }
  

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

@media screen and (max-width: 480px) {
  :root {
    --space-xl: 3rem;
  }

  .container {
    padding: 0 1rem;
  }

  
  .core-minimal-grid {
    grid-template-columns: 1fr;
  }
  
  .about-highlight-list {
    grid-template-columns: 1fr;
  }
  
  

  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-full {
    grid-column: span 1;
  }
  
  .footer-three-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-bottom-right {
    justify-content: center;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   11. PREMIUM POLISH, INTERACTIVE & ACCESSIBILITY ADDITIONS
   ========================================================================== */

/* Accessible Keyboard Focus Ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(11, 94, 215, 0.45) !important;
  outline-offset: 2px !important;
}

/* Intersection Observer Reveal on Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 700ms var(--ease-premium), transform 700ms var(--ease-premium);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered entry transitions for Courses grid */
.courses-vertical-grid .course-premium-card:nth-child(1) { transition-delay: 0.1s; }
.courses-vertical-grid .course-premium-card:nth-child(2) { transition-delay: 0.2s; }
.courses-vertical-grid .course-premium-card:nth-child(3) { transition-delay: 0.3s; }



/* Button Polish: Hover & Active States */
.btn {
  height: 48px;
  padding: 0 1.75rem;
  transition: var(--transition-hover);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(11, 94, 215, 0.12);
}
.btn:active {
  transform: translateY(1px);
  filter: brightness(0.95);
}

/* Premium Card hover lift & glow */
.course-premium-card {
  transition: var(--transition-premium);
}
.course-premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 94, 215, 0.08);
  border-color: rgba(11, 94, 215, 0.25);
}

.course-card-featured:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 22px 44px rgba(11, 94, 215, 0.12);
}

/* Image gentle zoom on hover */
.about-image-frame-editorial img,
.philosophy-img-wrapper img,
.graduation-hero-img-wrapper img {
  transition: transform 600ms var(--ease-premium) !important;
}

.about-image-frame-editorial:hover img,
.philosophy-img-wrapper:hover img,
.graduation-hero-img-wrapper:hover img {
  transform: scale(1.03) !important;
}



/* Course Section Trust Badge Styles */
.course-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--primary-tint);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  border: 1px solid rgba(11, 94, 215, 0.08);
}

.course-trust-badge .trust-check {
  font-weight: 800;
}



/* Footer checklist items */
.footer-trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0 1.5rem 0;
}

.footer-trust-item {
  font-size: 0.76rem;
  color: var(--text-gray);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Typography, Letter-Spacing, & Spacing Improvements */
.about-eyebrow,
.course-eyebrow,
.graduation-eyebrow,
.philosophy-eyebrow {
  letter-spacing: 2px !important;
  font-size: 0.82rem !important;
}

/* White background section refinements (soft radial blooms) */
#courses {
  background: 
    radial-gradient(circle at 10% 10%, rgba(11, 94, 215, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(25, 135, 84, 0.02) 0%, transparent 40%),
    var(--white);
}



#contact {
  background: 
    radial-gradient(circle at 15% 85%, rgba(11, 94, 215, 0.02) 0%, transparent 45%),
    var(--white);
}

/* ==========================================================================
   12. PHONE NUMBER HIGHLIGHT STYLING (NAV, HERO, CONTACT, FOOTER)
   ========================================================================== */



/* Hero Section Contact Row & Phone Badge */
.hero-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-contact-row .hero-address {
  margin: 0;
}

.hero-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.08) 0%, rgba(25, 135, 84, 0.06) 100%);
  border: 1.5px solid rgba(11, 94, 215, 0.28);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.92rem;
  text-decoration: none;
  font-family: var(--font-heading);
  transition: var(--transition-hover);
  box-shadow: 0 2px 6px rgba(11, 94, 215, 0.05);
}

.hero-phone-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 94, 215, 0.25);
}

.hero-phone-badge:hover .phone-label,
.hero-phone-badge:hover strong {
  color: var(--white);
}

.phone-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
  animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(25, 135, 84, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

/* Contact Coordinates Highlighted Card */
.contact-coord-highlight {
  background: linear-gradient(135deg, rgba(11, 94, 215, 0.06) 0%, rgba(25, 135, 84, 0.04) 100%);
  border: 1.5px solid rgba(11, 94, 215, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.06);
  transition: var(--transition-hover);
}

.contact-coord-highlight:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.12);
}

.icon-box-highlight {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

.coord-content-wrap {
  flex: 1;
}

.coord-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 4px;
}

.call-badge-live {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}

.phone-link-prominent {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.phone-link-prominent:hover {
  color: #094eb3 !important;
  text-decoration: underline;
}

/* Footer Phone Highlight */
.footer-phone-highlight {
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 0.95rem;
  background-color: rgba(11, 94, 215, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(11, 94, 215, 0.18);
  display: inline-block;
  margin-left: 0.25rem;
  transition: var(--transition-hover);
}

.footer-phone-highlight:hover {
  background-color: var(--primary);
  color: var(--white) !important;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Respect user's prefers-reduced-motion in browser */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn, .social-icon, .course-premium-card, img {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

