/* =========================================
   GLOBAL STYLES - CodeSpazio Solutions
   Professional Theme v3.1 — SEO Edition
   Core Web Vitals optimised:
   • font-display:swap loaded via Google Fonts URL param
   • img elements sized with width/height attrs (CLS fix)
   • Preconnects in header for LCP improvement
   ========================================= */

/* @import removed — fonts loaded via <link> in header.php to avoid render-blocking */

:root {
  /* ── Brand Palette ── */
  --primary:        #0f1e36; /* Midnight Navy */
  --primary-dark:   #071020; /* Deep Midnight Navy */
  --primary-light:  #f4f6fa; /* Soft Blue-Gray */
  --secondary:      #b08d57; /* Antique Gold */
  --accent:         #b08d57; /* Antique Gold Accent */
  --success:        #5c7050; /* Muted Sage Green */
  --danger:         #a94442; /* Muted Crimson */

  /* ── Neutral / Dark ── */
  --dark:           #0f1e36; /* Midnight Navy */
  --dark-2:         #1c2b42; /* Medium Navy */
  --dark-card:      #ffffff; /* Clean Card Paper Background */
  --text:           #2c302e; /* Warm Soft Charcoal */
  --text-secondary: #5a5f5c; /* Muted Soft Charcoal */
  --text-light:     #8e9590;
  --muted:          #7d8480;

  /* ── Surface ── */
  --bg:             #faf8f5; /* Warm Ivory Paper */
  --bg-2:           #f4f0e6; /* Warm Sand Paper */
  --white:          #ffffff; /* Pure Paper White */
  --border:         #e6dfd5; /* Warm Sand Border */
  --border-light:   #f1ede4;

  /* ── Gradients ── */
  --gradient-brand: linear-gradient(135deg, #0f1e36 0%, #b08d57 100%); /* Midnight Navy to Gold */
  --gradient-hero:  linear-gradient(150deg, #0f1e36 0%, #1c2b42 45%, #071020 100%); /* Editorial Dark Blue */
  --gradient-dark:  linear-gradient(135deg, #0f1e36 0%, #2a3c54 100%);
  --gradient-soft:  linear-gradient(135deg, #f9f6f0 0%, #faf8f5 100%);

  /* ── Shadows (Softer and Warmer) ── */
  --shadow-xs:  0 1px 2px rgba(27,20,10,.02);
  --shadow-sm:  0 2px 8px rgba(27,20,10,.03);
  --shadow-md:  0 8px 24px rgba(27,20,10,.04);
  --shadow-lg:  0 16px 48px rgba(27,20,10,.06);
  --shadow-xl:  0 24px 64px rgba(27,20,10,.08);
  --shadow-brand: 0 10px 30px rgba(15,30,54,.1);
  --shadow-glow: 0 0 25px rgba(15,30,54,.15);

  /* ── Radii (Sharper and more classic) ── */
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  /* ── Spacing System ── */
  --space-xs:   0.5rem;   /* 8px */
  --space-sm:   1rem;     /* 16px */
  --space-md:   1.5rem;   /* 24px */
  --space-lg:   2.5rem;   /* 40px */
  --space-xl:   4rem;     /* 64px */
  --space-2xl:  6rem;     /* 96px */

  /* ── Transitions (Slower and smoother) ── */
  --transition:     .6s cubic-bezier(.25, 1, 0.5, 1);
  --transition-fast:.3s cubic-bezier(.25, 1, 0.5, 1);
}

/* ───────────────────────────────────────────
   BASE RESET & TYPOGRAPHY
   Refined Serif System, Scaled up for readability
─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: Georgia, 'Times New Roman', Times, Baskerville, serif;
  font-size: clamp(1.1rem, 1vw + 0.65rem, 1.25rem); /* Increased one size */
  font-weight: 400;
  line-height: 1.8; /* Slightly more spacing */
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', Times, Baskerville, serif;
  font-weight: 800; /* Bold elegant serif headings */
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.01em; /* Refined letter-spacing */
}

h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); } /* Scaled up headings */
h2 { font-size: clamp(2.15rem, 5vw, 3rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h4 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
h5 { font-size: 1.35rem; }
h6 { font-size: 1.2rem; }

p { color: var(--text-secondary); line-height: 1.8; text-wrap: balance; }

a { text-decoration: none; color: var(--primary); transition: var(--transition); outline: none; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
a:hover { color: var(--secondary); }
img { max-width: 100%; display: block; height: auto; }

/* Prevent CLS: reserve space for images with known dimensions */
img[width][height] { aspect-ratio: attr(width) / attr(height); }

/* Skip-to-content link for accessibility & Googlebot */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  font-size: .9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ───────────────────────────────────────────
   UTILITIES
─────────────────────────────────────────── */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding    { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section-padding-sm { padding: clamp(2.5rem, 4vw, 4rem) 0; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(37,99,235,.15);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: .85rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
  margin-bottom: .5rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 2px;
  margin-top: 10px;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.75;
}

/* ── Legacy .tag class ── */
.tag {
  display: inline-block;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(37,99,235,.15);
  padding: 6px 16px;
  border-radius: 50px;
}

/* ───────────────────────────────────────────
   BUTTONS
─────────────────────────────────────────── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-brand);
  background-size: 200% auto;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  letter-spacing: .02em;
  z-index: 1;
}
.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
  z-index: -1;
  transition: opacity 0.4s linear;
  opacity: 0;
}
.btn-primary-custom:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.btn-primary-custom:hover::before {
  opacity: 1;
}
.btn-primary-custom:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: var(--shadow-glow);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  letter-spacing: .01em;
}
.btn-outline-custom:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.6);
  color: #fff;
  transform: translateY(-3px);
}
.btn-outline-custom:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.btn-cta-white:hover {
  background: var(--dark-2);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.3);
}
.btn-cta-white:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* read-more link */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  transition: all .25s;
}
.read-more:hover { gap: 10px; color: var(--primary-dark); }

/* ───────────────────────────────────────────
   TOPBAR
─────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: #94a3b8;
  font-size: .8rem;
  font-weight: 500;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  letter-spacing: .01em;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar-info a {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .25s;
  font-size: .8rem;
}
.topbar-info a:hover { color: #60a5fa; }
.topbar-info i { font-size: .85rem; color: #60a5fa; }
.topbar-social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  transition: all .25s;
  font-size: .85rem;
}
.topbar-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 991px) { .topbar { display: none; } }

/* ───────────────────────────────────────────
   NAVBAR
─────────────────────────────────────────── */
.navbar {
    background: rgba(255,255,255,.97) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226,232,240,.8);
    padding: 14px 0 !important;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
    transition: all .4s cubic-bezier(.4,0,.2,1);
  }

  .navbar.scrolled {
    padding: 10px 0 !important;
    border-radius: 0 0 26px 26px;
    box-shadow: 0 10px 28px rgba(15,23,42,.12);
    border-bottom-color: rgba(37,99,235,.1);
  }

  .navbar-brand {
    font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark) !important;
    transition: opacity .25s;
  }

  .navbar-brand:hover {
    opacity: .85;
  }

  .navbar-brand img {
    height: 80px;
    width: auto;
    transition: height .3s cubic-bezier(.4,0,.2,1);
  }

  .navbar.scrolled .navbar-brand img {
    height: 56px;
  }

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

  .nav-link {
    font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
    font-weight: 600;
    font-size: .875rem;
    color: var(--text-secondary) !important;
    padding: 8px 14px !important;
    border-radius: 999px;
    letter-spacing: .01em;
    transition: all .25s;
    position: relative;
  }

  .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light);
  }

  .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
    font-weight: 700;
  }

  .navbar-nav .nav-link.nav-contact-btn {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 9px 20px !important;
    font-family: Georgia, serif !important;
    font-weight: 700 !important;
    font-size: .875rem !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all .25s cubic-bezier(.4,0,.2,1) !important;
    letter-spacing: .01em;
  }

  .navbar-nav .nav-link.nav-contact-btn:hover,
  .navbar-nav .nav-link.nav-contact-btn.active {
    background: var(--secondary) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md) !important;
  }

  .navbar-nav .nav-link.nav-contact-btn::after {
    display: none !important;
  }

  /* Mobile navbar */
  .navbar-toggler {
    border: 1.5px solid var(--border) !important;
    border-radius: 999px !important;
    padding: 5px 8px !important;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
  }

  @media (max-width: 991px) {
    .navbar {
      border-radius: 0 0 24px 24px;
    }

    .navbar-collapse {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 12px;
      margin-top: 10px;
      box-shadow: var(--shadow-lg);
    }

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

    .nav-link {
      padding: 10px 14px !important;
    }
  }
  
  /* navbar background: transparent override removed — conflicts with line 354 white+blur */

/* ───────────────────────────────────────────
   PRELOADER
─────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition: opacity .5s ease, visibility .5s ease;
  /* CSS Fallback: Automatically hide preloader after 3 seconds even if JS is slow or blocked */
  animation: cssPreloaderFallback 0.5s ease 2.5s forwards;
}

@keyframes cssPreloaderFallback {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.loader-ring {
  width: 52px;
  height: 52px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────────────────────────────────────────
   HERO SECTION
─────────────────────────────────────────── */
.hero-section {
  background: var(--gradient-hero);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(37,99,235,.18) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.04'%3E%3Cpath d='M40 40v-8h-2v8h-8v2h8v8h2v-8h8v-2h-8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.floating-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .12;
  animation: floatAnim 10s ease-in-out infinite;
}
.shape-1 { width: 450px; height: 450px; background: #2563eb; top: -120px; right: -80px; animation-delay: 0s; }
.shape-2 { width: 320px; height: 320px; background: #0891b2; bottom: -60px; left: -60px; animation-delay: 4s; }
.shape-3 { width: 220px; height: 220px; background: #f59e0b; top: 40%; left: 35%; animation-delay: 2s; }

@keyframes floatAnim {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-35px) scale(1.06); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.18);
  border: 1px solid rgba(37,99,235,.35);
  color: #93c5fd;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
  animation: fadeInDown .8s ease;
}
.hero-title {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  animation: fadeInUp .8s ease .15s both;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.68);
  margin-bottom: 2rem;
  max-width: 530px;
  line-height: 1.85;
  animation: fadeInUp .8s ease .3s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp .8s ease .45s both;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  animation: fadeInUp .8s ease .6s both;
}
.hero-stat { text-align: left; }
.hero-stat .number {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat .label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 3px;
  font-weight: 600;
}
.hero-stats-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  align-self: center;
}
.hero-image-area {
  position: relative;
  animation: fadeInRight .8s ease .25s both;
}
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: #fff;
}

@keyframes fadeInDown  { from { opacity:0; transform:translateY(-24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInUp    { from { opacity:0; transform:translateY(30px); }  to { opacity:1; transform:translateY(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(35px); }  to { opacity:1; transform:translateX(0); } }

/* ───────────────────────────────────────────
   PAGE HERO (inner pages)
─────────────────────────────────────────── */
.page-hero {
  background: var(--gradient-hero);
  padding: clamp(80px, 10vw, 100px) 0 clamp(48px, 6vw, 64px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(37,99,235,.25) 0%, transparent 55%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.75rem); text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.page-hero p  { color: rgba(255,255,255,.72); font-size: clamp(.92rem, 2vw, 1.05rem); max-width: 650px; }
.breadcrumb-item a              { color: rgba(255,255,255,.65); }
.breadcrumb-item.active         { color: rgba(255,255,255,.45); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ───────────────────────────────────────────
   CARDS — Premium
─────────────────────────────────────────── */
.card-premium {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all .7s cubic-bezier(.25, 1, 0.5, 1);
  contain: layout style;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: border-color .7s ease;
  pointer-events: none;
  z-index: 1;
}
.card-premium::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient-brand);
  transition: width .7s cubic-bezier(.25, 1, 0.5, 1);
  z-index: 2;
}
.card-premium:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 24px 54px rgba(37,99,235,.15);
  border-color: transparent;
}
.card-premium:hover::before {
  border-color: rgba(37,99,235,.1);
}
.card-premium:hover::after {
  width: 100%;
}
.card-premium .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.25, 1, 0.5, 1);
}
.card-premium:hover .card-img-top { transform: scale(1.1) rotate(1deg); }
.img-wrapper { overflow: hidden; position: relative; }
.img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity .7s ease;
}
.card-premium:hover .img-wrapper::after { opacity: 1; }

/* ───────────────────────────────────────────
   SERVICE ICON BOXES
─────────────────────────────────────────── */
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.1rem;
  transition: all .6s cubic-bezier(.25, 1, 0.5, 1);
  box-shadow: 0 4px 14px rgba(37,99,235,.2);
}
.card-premium:hover .service-icon {
  transform: scale(1.13);
  box-shadow: 0 8px 22px rgba(15,30,54,.18);
}

/* ───────────────────────────────────────────
   SERVICE CARD IMAGES
─────────────────────────────────────────── */
.service-img-wrap {
  overflow: hidden;
  height: 200px;
  position: relative;
}
.service-img-placeholder {
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ───────────────────────────────────────────
   COURSES
─────────────────────────────────────────── */
.course-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.course-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient-brand);
  transition: width .5s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}
.course-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(37,99,235,.13);
  border-color: rgba(37,99,235,.2);
}
.course-card:hover::after {
  width: 100%;
}
.course-card .course-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.course-card:hover .course-img { transform: scale(1.06); }
.course-meta span {
  font-size: .78rem;
  font-weight: 600;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 50px;
  color: var(--muted);
}

/* ───────────────────────────────────────────
   JOB CARDS
─────────────────────────────────────────── */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--primary-light);
  transition: width .4s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}
.job-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-brand);
  transition: opacity .3s;
  opacity: 0;
}
.job-card:hover::after { opacity: 1; }
.job-card:hover::before { width: 100%; }
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.company-logo {
  width: 70px;
  height: 70px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: all .35s;
}
.job-card:hover .company-logo {
  background: var(--primary-light);
  border-color: rgba(37,99,235,.3);
  transform: scale(1.07);
}
.job-meta span {
  font-size: .76rem;
  font-weight: 600;
  background: rgba(37,99,235,.07);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.job-salary {
  color: var(--success) !important;
  background: rgba(5,150,105,.07) !important;
}

/* ───────────────────────────────────────────
   BLOG CARDS
─────────────────────────────────────────── */
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all .5s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; height: 3px; width: 0%;
  background: var(--gradient-brand);
  transition: width .5s cubic-bezier(.4,0,.2,1);
}
.blog-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,.15);
}
.blog-card:hover::after { width: 100%; }
.blog-card .card-img-top {
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.blog-card:hover .card-img-top { transform: scale(1.06); }
.blog-card .card-body { padding: 1.5rem; }
.blog-date {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.blog-card:hover .blog-date { color: var(--primary); }
.blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
}
.blog-title:hover { color: var(--primary); }

/* ───────────────────────────────────────────
   ABOUT / TEAM
─────────────────────────────────────────── */
.about-number {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-size: 2.75rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}
.mission-card {
  border-left: 3px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}
.vision-card {
  border-left: 3px solid var(--secondary);
  background: rgba(8,145,178,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}
.team-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all .5s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  z-index: -1;
  opacity: 0;
  transition: opacity .4s ease;
}
.team-card:hover::after { opacity: 1; }
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  margin: 0 auto 1.2rem;
  display: block;
  transition: all .45s cubic-bezier(.4,0,.2,1);
}
.team-card:hover .team-avatar {
  transform: scale(1.08) rotate(2deg);
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(37,99,235,.2);
}
.team-role {
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ───────────────────────────────────────────
   CONTACT FORM
─────────────────────────────────────────── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .93rem;
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  transition: var(--transition);
  background: #fafafa;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
  background: #fff;
}

/* ───────────────────────────────────────────
   CTA SECTION
─────────────────────────────────────────── */
.cta-section {
  background: var(--gradient-brand);
  padding: clamp(56px, 8vw, 88px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.07) 0%, transparent 55%);
  animation: rotateBg 25s linear infinite;
}
@keyframes rotateBg { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }
.cta-section h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.cta-section p  { color: rgba(255,255,255,.78); font-size: clamp(.9rem, 2vw, 1.1rem); }

/* ───────────────────────────────────────────
   FOOTER
─────────────────────────────────────────── */
.footer-main {
  background: var(--dark);
  padding: 72px 0 32px;
  color: rgba(255,255,255,.65);
}
.footer-brand {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-desc {
  color: rgba(255,255,255,.45);
  line-height: 1.8;
  max-width: 300px;
  margin: 1rem 0 1.5rem;
  font-size: .92rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  transition: all .25s;
  font-size: .85rem;
  margin-right: 6px;
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer-heading {
  font-family: 'Times New Roman', Times, Baskerville, Georgia, serif;
  font-weight: 700;
  color: #fff;
  font-size: .92rem;
  letter-spacing: .01em;
  margin-bottom: 1.25rem;
  position: relative;
}
.footer-heading::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--primary);
  margin-top: 7px;
  border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  padding: 5px 0;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.footer-links a:hover {
  color: white;
}
.footer-links a i { font-size: .7rem; transition: transform .3s ease; }
.footer-links a:hover i { transform: scale(1.25); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: .85rem;
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  line-height: 1.65;
}
.footer-contact-item i {
  color: var(--primary);
  margin-top: 4px;
  width: 16px;
  flex-shrink: 0;
  font-size: .9rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  color: rgba(255,255,255,.3);
  font-size: .82rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .25s ease, text-decoration .25s ease;
}
.footer-bottom a:hover {
  color: var(--secondary) !important;
  text-decoration: underline !important;
}

/* ───────────────────────────────────────────
   REVIEWS MARQUEE — cs-reviews component
─────────────────────────────────────────── */

/* Viewport: clips overflow + fades left/right edges */
.cs-reviews__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, black 5%, black 95%, transparent 100%);
  padding: 1.8rem 0;
  cursor: default;
}

/* Track: one flat row of 2× cards; animate left by exactly 50% */
.cs-reviews__track {
  display: inline-flex;
  gap: 1.4rem;
  width: max-content;
  animation: cs-reviews-scroll 40s linear infinite;
  will-change: transform;
}

/* Pause on hover → user can read cards */
.cs-reviews__viewport:hover .cs-reviews__track,
.cs-reviews__viewport:focus-within .cs-reviews__track {
  animation-play-state: paused;
}

@keyframes cs-reviews-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual review card */
.cs-card {
  width: min(340px, 82vw);
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem 1.75rem;
  box-shadow: 0 4px 20px rgba(15, 30, 54, .04), 0 1px 4px rgba(15, 30, 54, .03);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.25,1,.5,1),
              box-shadow .5s cubic-bezier(.25,1,.5,1),
              border-color .5s ease;
}

/* Large decorative quote mark */
.cs-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 7rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--secondary);
  opacity: .07;
  pointer-events: none;
}

/* Zoom + subtle lift on hover (no sideways shift) */
.cs-card:hover {
  transform: scale(1.025) translateY(-3px);
  box-shadow: 0 14px 40px rgba(15, 30, 54, .09);
  border-color: var(--secondary);
}

/* Star row */
.cs-card__stars {
  font-size: 1rem;
  color: #d4a843;
  letter-spacing: .05em;
}

/* Review body text */
.cs-card__text {
  font-family: Georgia, serif;
  font-size: .92rem;
  line-height: 1.75;
  color: #4a4f4c;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Author row */
.cs-card__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* Initials avatar */
.cs-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: .02em;
  overflow: hidden;
}
.cs-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-card__name {
  display: block;
  font-family: Georgia, serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
}

.cs-card__role {
  display: block;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: .02em;
}

/* Read-more link */
.cs-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .3s ease;
}
.cs-card__link:hover { color: var(--primary); }

/* Legacy aliases — prevent leftover class names from breaking */
.marquee-container  { display: none !important; }
.marquee-content    { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .cs-reviews__track { animation: none; }
}

/* ───────────────────────────────────────────
   PAGINATION
─────────────────────────────────────────── */
.pagination .page-link {
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: .875rem;
  padding: 7px 14px;
  transition: var(--transition);
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(37,99,235,.25);
}
.pagination .page-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(37,99,235,.2);
}

/* ───────────────────────────────────────────
   ALERTS / TOASTS
─────────────────────────────────────────── */
.alert {
  border-radius: var(--radius);
  border: none;
  font-weight: 500;
  font-size: .9rem;
}

/* ───────────────────────────────────────────
   SCROLL TO TOP
─────────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--secondary) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(176, 141, 87, 0.3) !important;
  transition: all .35s cubic-bezier(.25, 1, 0.5, 1) !important;
}
#scrollTop:hover {
  transform: translateY(-4px) scale(1.08) !important;
  background: var(--primary) !important;
  box-shadow: 0 10px 28px rgba(15, 30, 54, 0.35) !important;
}
#scrollTop.show { display: flex; }

/* WhatsApp Floating Button */
#whatsappFloat {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #5c7050; /* Muted Sage Green */
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(92, 112, 80, 0.4);
  transition: all .35s cubic-bezier(.25, 1, 0.5, 1);
}
#whatsappFloat:hover {
  transform: translateY(-4px) scale(1.08);
  background: var(--primary);
  box-shadow: 0 10px 28px rgba(15, 30, 54, 0.35);
  color: #fff !important;
}
#whatsappFloat i {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
#whatsappFloat:hover i {
  transform: scale(1.1) rotate(12deg);
}
@media (max-width: 480px) {
  #whatsappFloat {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    bottom: 20px;
    right: 20px;
  }
  #scrollTop {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    bottom: 74px;
    right: 24px;
  }
}

/* ───────────────────────────────────────────
   REVIEW MARQUEE (moved from inline style)
─────────────────────────────────────────── */
.marquee-container {
  overflow: hidden;
  display: flex;
  user-select: none;
  gap: 20px;
  padding: 30px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-content {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  min-width: 100%;
  animation: marquee-scroll 45s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 20px)); }
}
.review-card-wrapper { width: min(380px, 85vw); flex-shrink: 0; }
.fixed-review-card {
  height: 280px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: transform 0.6s cubic-bezier(.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(.25, 1, 0.5, 1), border-color 0.6s ease;
  position: relative;
  overflow: hidden;
}
.fixed-review-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 5.5rem;
  color: rgba(37, 99, 235, 0.06);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.fixed-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}
.review-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more-btn {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4361ee;
  text-decoration: none;
  cursor: pointer;
}

/* ───────────────────────────────────────────
   DROPDOWN ANIMATION
─────────────────────────────────────────── */
.dropdown-menu {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  display: block;
  pointer-events: none;
}
.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ───────────────────────────────────────────
   ANIMATION HELPERS
─────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-section  { min-height: auto; padding: 100px 0 64px; }
  .hero-image-area { margin-top: 2.5rem; }
  .section-padding { padding: 72px 0; }
}
@media (max-width: 768px) {
  .hero-stats    { gap: 1.25rem; flex-wrap: wrap; }
  .hero-actions  { justify-content: center; }
  .hero-desc, .hero-title { text-align: center; max-width: 100%; }
  .hero-badge    { display: flex; justify-content: center; }
  .hero-stats    { justify-content: center; }
  .section-title { font-size: 1.65rem; }
  .job-card      { flex-direction: column; text-align: center; }
  .company-logo  { margin: 0 auto; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
}

/* ───────────────────────────────────────────
   ACCESSIBILITY: reduced motion
─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* =========================================
   CLASSIC REDESIGN OVERRIDES
   ========================================= */
/* Clean up and force variable usage for hardcoded digital colors/gradients */
[style*="linear-gradient(135deg,#4f46e5,#06b6d4)"],
[style*="linear-gradient(135deg, #4f46e5, #06b6d4)"],
[style*="linear-gradient(135deg,#4f46e5 0%,#06b6d4 100%)"],
[style*="linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%)"] {
  background: var(--gradient-brand) !important;
}

[style*="color:#4f46e5"],
[style*="color: #4f46e5"] {
  color: var(--primary) !important;
}

[style*="color:#06b6d4"],
[style*="color: #06b6d4"] {
  color: var(--secondary) !important;
}

[style*="background:#4f46e5"],
[style*="background: #4f46e5"] {
  background: var(--primary) !important;
}

[style*="background:#06b6d4"],
[style*="background: #06b6d4"] {
  background: var(--secondary) !important;
}

/* Specific styling enhancements for publication look */
.navbar {
  border-bottom: 1px solid var(--border) !important;
  background: rgba(250, 248, 245, 0.95) !important; /* Warm ivory navbar */
  box-shadow: 0 4px 20px rgba(15, 30, 54, 0.04) !important;
}
.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(15, 30, 54, 0.06) !important;
  border-bottom-color: var(--secondary) !important;
}
.navbar-nav .nav-link {
  font-family: Georgia, serif !important;
  color: var(--primary) !important;
  font-weight: 700;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary) !important;
  background: transparent !important;
}
/* Clean up active navigation state decoration (underline) */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 50%;
  bottom: -2px;
  background: var(--secondary) !important;
  transition: var(--transition-fast);
  transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Buttons style overrides */
.btn-primary-custom, .navbar .btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  border: 1px solid var(--primary) !important;
  border-radius: var(--radius) !important;
  font-family: Georgia, serif;
  font-weight: 700;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition) !important;
}
.btn-primary-custom::before, .navbar .btn-primary::before {
  display: none !important;
}
.btn-primary-custom:hover, .navbar .btn-primary:hover {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.btn-outline-custom {
  background: transparent !important;
  border: 1.5px solid var(--secondary) !important;
  color: var(--secondary) !important;
  font-family: Georgia, serif;
  font-weight: 700;
  border-radius: var(--radius) !important;
  transition: var(--transition) !important;
}
.btn-outline-custom:hover {
  background: var(--secondary) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.btn-cta-white {
  background: var(--white) !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--border) !important;
  font-family: Georgia, serif;
  font-weight: 700;
  border-radius: var(--radius) !important;
  transition: var(--transition) !important;
  box-shadow: var(--shadow-sm) !important;
}
.btn-cta-white:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Service pillar icons style enhancements */
.service-icon {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}
.card-premium:hover .service-icon {
  background: var(--secondary) !important;
  color: #fff !important;
  border-color: var(--secondary) !important;
}

