/* Global Styles & Variables */

/* Custom sleek scrollbar for entire page */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f8f8f8;
}
::-webkit-scrollbar-thumb {
  background: #dcdcdc;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c1c1c1;
}

:root {
  --color-primary: #B51C24; /* Deep Red */
  --color-secondary: #B2803B; /* Gold/Brown */
  --color-dark: #2a2a2a;
  --color-gray: #666666;
  --color-light-gray: #f5f5f5;
  --color-border: #e0e0e0;
  --color-bg: #fafafa;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  /* Global Section Padding */
  --section-padding: 80px 0;
  --section-padding-lg: 90px 0;

  /* Heading Typography Sizes (Desktop) */
  --font-size-hero: 3.3rem;
  --font-size-h2: 2.4rem;
  --font-size-h3: 1.8rem;
  --font-size-h4: 1.2rem;

  /* Standard Border Radii (Enforced 0 by default as per user comment) */
  --btn-border-radius: 0;
  --card-border-radius: 0;

  /* Layout Spacing Scale (Margins, Paddings, Gaps) */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-xxl: 30px;
  --space-3xl: 40px;
  --space-4xl: 60px;
  --space-5xl: 80px;

  /* Typography Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.6;
  --line-height-base: 1.5;

  /* Eyebrow Sizing & Spacing Tokens */
  --font-size-eyebrow: 0.8rem;
  --letter-spacing-eyebrow: 1.5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background-color: var(--color-bg);
  line-height: var(--line-height-normal, 1.6);
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: var(--line-height-tight, 1.25);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  border-radius: var(--btn-border-radius, 0);
}

/* Button Sizing Scales (Trial & Error Standardized Padding) */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-md {
  padding: 10px 22px;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Button Color Variants */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-secondary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #9d7134; /* Darker Gold hover */
  border-color: #9d7134;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-outline:hover {
  background-color: var(--color-secondary);
  color: var(--color-bg);
}

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

.btn-outline-primary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-outline-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-outline-secondary:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.navbar .btn:hover .btn-icon {
  transform: none;
}

/* Navbar */
.navbar {
  background-color: var(--color-bg);
  padding: var(--space-xs) 0; /* Sleeker padding profile */
  border-bottom: 1px solid var(--color-border); /* Ultra fine sleek divider */
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: var(--space-xl); /* Reduced gap to accommodate Exemptions Calculator link safely on desktop */
}

.nav-logo img {
  height: 50px; /* Extremely sleek software-product size profile */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: var(--space-md); /* Balanced compact horizontal gap to fit the new navbar menu items */
  align-items: center;
}

.nav-links a {
  font-size: var(--font-size-eyebrow, 0.8rem); /* Slightly smaller SaaS font size to prevent alignment shifts */
  font-weight: 500; /* Crisp Medium weight like Inter's best profile */
  text-transform: none; /* No bulky uppercase, highly modern */
  letter-spacing: -0.1px; /* Tighter kerning */
  display: flex;
  align-items: center;
  gap: var(--space-xxs);
  color: var(--color-gray); /* Premium slate gray */
  transition: color 0.25s ease;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a.active {
  color: var(--color-primary);
  font-weight: 600; /* Subtle weight highlight */
}

/* Rich Desktop Dropdowns styling */
.nav-links li.dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-chevron {
  width: var(--space-sm);
  height: var(--space-sm);
  stroke-width: 2.2px;
  transition: transform 0.25s ease;
}

.dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-md)); /* Elegant offset lower to allow breathing room */
  left: 0; /* Align to the left edge of the parent link */
  transform: translateY(var(--space-sm));
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--card-border-radius, 0);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.01);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-xl);
  min-width: 600px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Arrow indicator on top of dropdown */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: calc(var(--space-sm) / -2);
  left: var(--space-xxl); /* Positioned directly above the parent link */
  transform: rotate(45deg);
  width: var(--space-sm);
  height: var(--space-sm);
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.07);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  z-index: -1;
}

/* Right-aligned dropdown menus for items near the right edge */
.dropdown-menu-right {
  left: auto;
  right: 0;
}

.dropdown-menu-right::before {
  left: auto;
  right: var(--space-xxl);
}

/* Center-aligned dropdown menus */
.dropdown-menu.dropdown-menu-center {
  left: 50%;
  transform: translate(-50%, var(--space-sm));
}

.dropdown:hover .dropdown-menu.dropdown-menu-center {
  transform: translate(-50%, 0);
}

.dropdown-menu.dropdown-menu-center::before {
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.dropdown-menu-small {
  min-width: 240px;
  padding: var(--space-md);
}

.dropdown-menu-small .dropdown-column {
  width: 100%;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Bridging transparent gap between navbar links and dropdown menus */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--space-xl) + 6px); /* Covers the gap plus overlap */
  left: 0;
  width: 100%;
  height: calc(var(--space-xl) - 6px);
  background: transparent;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.dropdown-header {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--space-xxs);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: calc(var(--space-xs) - 2px);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-xxs) / 2);
  padding: var(--space-xs) var(--space-sm);
  padding-right: var(--space-xxl);
  border-radius: var(--card-border-radius, 0);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  transition: all 0.3s ease;
}

.dropdown-item::after {
  content: '';
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  width: calc(var(--space-sm) + 2px);
  height: calc(var(--space-sm) + 2px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23B51C24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: translateY(-50%) translateX(calc(-1 * var(--space-md)));
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(178, 128, 59, 0.08); /* Lighter golden background */
}

.dropdown-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.item-title {
  font-family: var(--font-sans);
  font-size: var(--font-size-eyebrow, 0.8rem);
  font-weight: 600;
  color: var(--color-dark);
  text-transform: none; /* Keep normal casing */
  letter-spacing: normal;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.dropdown-item:hover .item-title,
.dropdown-item:hover .item-desc {
  transform: translateX(4px);
}

.dropdown-item:hover .item-title {
  color: var(--color-primary);
}

.item-desc {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--color-gray);
  line-height: 1.35;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  transition: all 0.3s ease;
}

.dropdown-item-simple {
  display: flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--font-size-eyebrow, 0.8rem);
  font-weight: 600;
  color: var(--color-dark);
  padding: var(--space-xs) var(--space-sm);
  padding-right: var(--space-xxl);
  border-radius: var(--card-border-radius, 0);
  text-transform: none;
  letter-spacing: normal;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  transition: all 0.3s ease;
}

.dropdown-item-simple::after {
  content: '';
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  width: calc(var(--space-sm) + 2px);
  height: calc(var(--space-sm) + 2px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23B51C24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: translateY(-50%) translateX(calc(-1 * var(--space-md)));
  transition: all 0.3s ease;
}

.dropdown-item-simple:hover {
  background-color: rgba(178, 128, 59, 0.08); /* Lighter golden background */
  color: var(--color-primary);
}

.dropdown-item-simple .item-text {
  transition: all 0.3s ease;
}

.dropdown-item-simple:hover .item-text {
  transform: translateX(4px);
}

.dropdown-item-simple:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

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

.nav-actions .btn {
  padding: var(--space-xs) var(--space-lg); /* Symmetrical clean padding */
  font-size: var(--font-size-eyebrow, 0.8rem);
  font-weight: 500;
  text-transform: none; /* Soft normal casing */
  letter-spacing: normal;
  border-radius: var(--btn-border-radius, 0); /* Standard border radius */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Modern clean button shadow */
}
.mobile-headset-btn,
.nav-mobile-header {
  display: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  padding: calc(var(--space-xs) - 2px);
  align-items: center;
  justify-content: center;
  z-index: 110;
}

.nav-toggle i {
  width: var(--space-xl);
  height: var(--space-xl);
}

.mobile-cta-li {
  display: none;
  margin-top: var(--space-md);
  width: 100%;
}

.mobile-cta-li .btn {
  width: 100%;
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--font-size-eyebrow, 0.8rem);
  font-weight: 500;
  text-transform: none; /* Soft normal casing */
  letter-spacing: normal;
  border-radius: var(--btn-border-radius, 0); /* Standardized rounded corners */
  color: #ffffff !important; /* Force white text color and override nav-links a black default */
  justify-content: center !important; /* Force center alignment and override space-between from mobile nav links */
}

/* Mobile Responsiveness for Navbar */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-3xl); /* Reduce container padding on tablet sizes */
  }

  .navbar .container {
    display: flex;
    justify-content: center; /* Mathematically center the brand logo in the header */
    align-items: center;
    position: relative; /* Setup positioning context for absolute mobile toggle */
    padding: 0 var(--space-md); /* Keep tight edge padding on mobile screens */
  }

  .mobile-headset-btn {
    display: flex !important;
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary); /* Symmetrical brand-red color */
    padding: calc(var(--space-xs) - 2px);
    align-items: center;
    justify-content: center;
    z-index: 110;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-headset-btn:hover {
    transform: translateY(-50%) scale(1.08);
    opacity: 0.9;
  }

  .mobile-headset-btn i {
    width: var(--space-xl);
    height: var(--space-xl);
  }

  .nav-mobile-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-xs);
  }

  .mobile-menu-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .nav-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: calc(var(--space-xs) - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease;
  }

  .nav-close-btn:hover {
    color: var(--color-primary);
  }

  .nav-close-btn i {
    width: 22px;
    height: 22px;
  }

  .nav-toggle {
    display: flex;
    position: absolute; /* Pull hamburger button out of standard flex flow */
    left: var(--space-md); /* Anchor exactly to the left container edge */
    top: 50%;
    transform: translateY(-50%);
    z-index: 110;
  }
  
  .nav-actions {
    display: none; /* Hide primary desktop CTA button */
  }

  .mobile-cta-li {
    display: block; /* Render CTA inside vertical menu drawer instead */
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%; /* Changed from right to left off-screen default */
    width: 290px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.08); /* Changed shadow to right side */
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl);
    gap: var(--space-sm);
    z-index: 100;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Transition left coordinate */
    overflow-y: auto; /* Enable scrollbar when menu contents (like expanded dropdowns) exceed viewport height */
    -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS Safari */
    box-sizing: border-box; /* Guarantee menu drawer width remains exactly 290px */
  }

  .nav-links.active {
    left: 0; /* Slide in drawer from the left */
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding-bottom: var(--space-xs);
    box-sizing: border-box;
  }

  .nav-links li.mobile-cta-li {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-links a {
    font-size: 0.9rem;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .nav-links a.active::after {
    display: none; /* Remove active underline inside vertical menu list */
  }

  /* Mobile dropdown styling */
  .nav-links .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: 0 !important; /* Force override desktop min-width: 600px */
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    display: none; /* Hide by default on mobile */
    flex-direction: column;
    gap: var(--space-sm);
    background: transparent;
    margin-top: var(--space-xs);
    transition: none;
    box-sizing: border-box;
  }

  .nav-links .dropdown-menu::before {
    display: none; /* Remove arrow tooltip on mobile */
  }

  .nav-links li.dropdown.active .dropdown-menu {
    display: flex; /* Show when active */
  }

  .nav-links .dropdown-column {
    gap: var(--space-xs);
    padding-left: var(--space-sm);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    width: 100% !important;
    box-sizing: border-box;
  }

  .nav-links .dropdown-header {
    font-size: 0.65rem;
    margin-bottom: 0;
    padding-bottom: var(--space-xxs);
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links .dropdown-item {
    padding: calc(var(--space-xs) - 2px) var(--space-xs);
    background: transparent !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .nav-links .item-title {
    font-size: 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links .item-desc {
    font-size: 0.7rem;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links .dropdown-item-simple {
    padding: calc(var(--space-xs) - 2px) var(--space-xs);
    font-size: 0.85rem;
    background: transparent !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Make triggers full width with spaces on mobile */
  .dropdown-trigger {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  /* Rotate chevron when active on mobile */
  .nav-links li.dropdown.active .dropdown-chevron {
    transform: rotate(180deg);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --section-padding-lg: 70px 0;
    --font-size-hero: 2.4rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-eyebrow: 0.75rem;
    --letter-spacing-eyebrow: 1.2px;
  }

  .container {
    padding: 0 var(--space-lg); /* Reduce container padding on mobile sizes */
  }
}

@media (max-width: 576px) {
  :root {
    --font-size-hero: 2.1rem;
  }
}

/* Ensure all navbar dropdowns and their contents are perfectly left-aligned */
.dropdown-menu,
.dropdown-column,
.dropdown-header,
.dropdown-item,
.dropdown-item-simple,
.item-title,
.item-desc {
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* ==========================================================================
   Global Footer Styles
   ========================================================================== */
.site-footer {
  background-color: #fafafa;
  color: var(--color-dark);
  padding: 60px 0 0 0;
  margin-top: 0;
  font-family: var(--font-sans);
  border-top: 1px solid var(--color-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-gray);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-dark);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.5;
}

.footer-cta {
  display: flex;
  flex-direction: column;
}

.footer-cta p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}



/* Ensure all navbar dropdowns and their contents are perfectly left-aligned */
.dropdown-menu,
.dropdown-column,
.dropdown-header,
.dropdown-item,
.dropdown-item-simple,
.item-title,
.item-desc {
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* ==========================================================================
   Global Footer Styles
   ========================================================================== */
.site-footer {
  background-color: #fafafa;
  color: var(--color-dark);
  padding: 60px 0 0 0;
  margin-top: 0;
  font-family: var(--font-sans);
  border-top: 1px solid var(--color-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-gray);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-link svg, .social-link img {
  width: 22px;
  height: 22px;
}

.social-link:hover img {
  filter: brightness(0) invert(1);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-dark);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.5;
}

.footer-cta {
  display: flex;
  flex-direction: column;
}

.footer-cta p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.footer-cta-link:hover {
  color: var(--color-secondary) !important;
}
.footer-cta-link i {
  transition: transform 0.3s ease;
}
.footer-cta-link:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   WhatsApp Sticky FAB
   ========================================================================== */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 14px rgba(37, 211, 102, .45),
    0 2px 6px rgba(0, 0, 0, .12);
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, background .3s;
}

.wa-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow:
    0 8px 28px rgba(37, 211, 102, .55),
    0 4px 12px rgba(0, 0, 0, .15);
  background: #20bd5a;
}

.wa-fab:active {
  transform: scale(.96);
}

.wa-fab-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Pulse ring */
.wa-fab-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .5);
  animation: waPulse 2.4s cubic-bezier(.4, 0, .6, 1) infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: .6;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .wa-fab {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .wa-fab-icon {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   Global Section Header Utilities
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.section-header-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-header-title span {
  color: var(--color-secondary);
}

.section-header-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Ensure stat counter numbers use plain Inter font */
.stat-count {
  font-family: var(--font-sans) !important;
}

/* Global Counselling CTA Banner */
.course-cta-banner {
  background-color: var(--color-primary);
  padding: 50px 0;
  text-align: center;
  color: #ffffff;
}

.course-cta-content-wrapper {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.course-cta-eyebrow {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}

.course-cta-desc {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0;
}

.btn-cta-white {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--color-primary) !important;
  font-weight: 600;
}

.btn-cta-white:hover {
  background-color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  color: #ffffff !important;
}

/* Reversed CTA Banner */
.course-cta-banner.reversed {
  background-color: #ffffff;
  color: var(--color-dark);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.course-cta-banner.reversed .course-cta-eyebrow {
  color: var(--color-primary);
}

.course-cta-banner.reversed .course-cta-desc {
  color: var(--color-gray);
}


@media (max-width: 480px) {
  .course-cta-eyebrow {
    font-size: 1.5rem;
  }
}


