/*
 Theme Name:   Astra Child - CaseFaculty
 Theme URI:    https://casefaculty.com/
 Description:  Executive Theme for CaseFaculty.com with Palette: 000000, 14213d, fca311, e5e5e5, ffffff
 Author:       Senior WordPress Engineering & UI/UX Team
 Template:     astra
 Version:      1.3.0
*/

:root {
  /* Exact User-Specified Color Palette */
  --cf-black: #000000;
  --cf-navy: #14213d;
  --cf-accent: #fca311;
  --cf-accent-hover: #e5920a;
  --cf-accent-glow: rgba(252, 163, 17, 0.35);
  --cf-gray: #e5e5e5;
  --cf-white: #ffffff;

  /* Functional Design Tokens */
  --cf-bg: #ffffff;
  --cf-bg-subtle: #fafbfd;
  --cf-text-main: #14213d;
  --cf-text-muted: #555e6d;
  --cf-border: #e5e5e5;
  --cf-radius: 12px;
  --cf-radius-pill: 9999px;
  --cf-shadow: 0 4px 6px -1px rgba(20, 33, 61, 0.06), 0 2px 4px -2px rgba(20, 33, 61, 0.04);
  --cf-shadow-hover: 0 20px 25px -5px rgba(20, 33, 61, 0.12), 0 8px 10px -6px rgba(252, 163, 17, 0.2);
}

/* =========================================================================
   1. GLOBAL RESET, ASTRA CONTAINER OVERRIDES & RESPONSIVE TYPOGRAPHY
   ========================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: var(--cf-text-main);
  background-color: var(--cf-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Ensure Astra plain container and elementor canvas allow full-width grid layouts */
.ast-plain-container.ast-no-sidebar #primary,
.entry-content,
.site-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif !important;
  color: var(--cf-navy);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 0;
}

/* Fluid Responsive Typography: Scales gracefully from mobile to 4K displays */
h1, .cf-h1 {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.25rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
}

h2, .cf-h2 {
  font-size: clamp(1.75rem, 2.5vw + 0.8rem, 2.4rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
}

h3, .cf-h3 {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem) !important;
  line-height: 1.35 !important;
}

p, .cf-p {
  font-size: clamp(0.95rem, 0.8vw + 0.6rem, 1.125rem);
  line-height: 1.7;
}

/* Eye-Catching Gold & Navy Gradient Text */
.cf-gradient-text {
  background: linear-gradient(135deg, #14213d 10%, #fca311 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* =========================================================================
   2. CONTAINER & MULTI-DEVICE RESPONSIVE GRID ENGINE
   ========================================================================= */
.cf-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

@media (min-width: 1440px) {
  .cf-container {
    max-width: 1320px;
  }
}

@media (max-width: 768px) {
  .cf-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.cf-section {
  padding: 5.5rem 0;
  position: relative;
  width: 100%;
}

.cf-section-subtle {
  background-color: var(--cf-bg-subtle);
  border-top: 1px solid var(--cf-border);
  border-bottom: 1px solid var(--cf-border);
}

@media (max-width: 768px) {
  .cf-section {
    padding: 3.25rem 0;
  }
}

/* Responsive Multi-Column Grids */
.cf-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.cf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.cf-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

/* Laptop / Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) {
  .cf-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .cf-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .cf-grid-2,
  .cf-grid-3,
  .cf-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* =========================================================================
   3. EXECUTIVE DESKTOP NAVBAR & MOBILE HEADER
   ========================================================================= */
/* Hide redundant site title text across all viewports */
.ast-site-title-wrap,
.site-title,
.site-header .ast-site-title-wrap,
.site-header .site-title,
.site-header .site-description,
.site-branding .site-title {
  display: none !important;
}

/* Desktop Header Bar Styling */
.main-header-bar {
  border-bottom: 1px solid var(--cf-border) !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 8px rgba(20, 33, 61, 0.04) !important;
}

.site-primary-header-wrap.ast-container {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* Logo Sizing and Micro-Interactions */
.site-branding .site-logo-img,
.site-header .custom-logo-link,
.cf-brand-logo-link {
  display: inline-flex !important;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
  text-decoration: none;
}

.site-header .custom-logo-link:hover,
.cf-brand-logo-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 14px rgba(252, 163, 17, 0.35));
}

.site-header .site-logo-img img,
.site-header .custom-logo-link img,
.cf-brand-logo {
  max-height: 48px;
  width: auto;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Desktop Horizontal Navigation Links */
.ast-desktop-header .main-header-menu {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}

.ast-desktop-header .main-header-menu > .menu-item > .menu-link {
  font-size: 0.96rem !important;
  font-weight: 600 !important;
  color: var(--cf-navy) !important;
  padding: 0.65rem 1.15rem !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.ast-desktop-header .main-header-menu > .menu-item:hover > .menu-link,
.ast-desktop-header .main-header-menu > .menu-item.current-menu-item > .menu-link {
  color: var(--cf-accent) !important;
  background-color: rgba(20, 33, 61, 0.04) !important;
}

/* Convert the Last Navigation Link (Contact Us) into a High-Converting CTA Button */
.ast-desktop-header .main-header-menu > .menu-item:last-child > .menu-link {
  background-color: var(--cf-accent) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.4rem !important;
  border-radius: var(--cf-radius) !important;
  box-shadow: 0 4px 12px var(--cf-accent-glow) !important;
  margin-left: 0.85rem !important;
}

.ast-desktop-header .main-header-menu > .menu-item:last-child > .menu-link:hover {
  background-color: var(--cf-accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(252, 163, 17, 0.45) !important;
}

/* Mobile Header & Responsive Toggle */
@media (max-width: 768px) {
  .site-header .site-logo-img img,
  .site-header .custom-logo-link img,
  .cf-brand-logo {
    max-height: 38px;
    max-width: 190px;
  }
}

/* =========================================================================
   4. KEYFRAME ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================= */
@keyframes cfFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes cfShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.cf-floating {
  animation: cfFloat 4s ease-in-out infinite;
}

.cf-shimmer-btn {
  background: linear-gradient(90deg, #fca311 0%, #ffb732 25%, #ffe082 50%, #ffb732 75%, #fca311 100%);
  background-size: 200% auto;
  animation: cfShimmer 4s linear infinite;
  color: #000000 !important;
  font-weight: 700 !important;
}

/* Native 60 FPS Scroll-Reveal */
.cf-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cf-reveal.cf-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   5. BUTTONS, BADGES & INTERACTIVE CONTROLS
   ========================================================================= */
.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--cf-radius);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 1.95rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  line-height: 1.4;
}

.cf-btn-primary {
  background-color: var(--cf-accent);
  color: #000000 !important;
  box-shadow: 0 4px 14px var(--cf-accent-glow);
}

.cf-btn-primary:hover {
  background-color: var(--cf-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(252, 163, 17, 0.55);
}

.cf-btn-secondary {
  background-color: var(--cf-white);
  color: var(--cf-navy) !important;
  border: 2px solid var(--cf-navy);
}

.cf-btn-secondary:hover {
  background-color: var(--cf-navy);
  color: var(--cf-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 33, 61, 0.2);
}

.cf-btn-block {
  width: 100%;
}

@media (max-width: 768px) {
  .cf-btn {
    width: 100%;
    text-align: center;
  }
}

/* Badges */
.cf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 1rem;
  border-radius: var(--cf-radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  background-color: rgba(252, 163, 17, 0.12);
  color: #000000;
  border: 1px solid var(--cf-accent);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.cf-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cf-accent);
  display: inline-block;
  box-shadow: 0 0 8px var(--cf-accent);
}

/* =========================================================================
   6. HERO SECTION & 2-COLUMN DESKTOP SPLIT
   ========================================================================= */
.cf-hero-wrapper {
  background: linear-gradient(180deg, #f4f6fa 0%, #ffffff 60%, #fafafa 100%);
  position: relative;
  padding: 5.5rem 0 4.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--cf-border);
}

.cf-hero-wrapper::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 163, 17, 0.12) 0%, rgba(20, 33, 61, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cf-hero-wrapper::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 33, 61, 0.08) 0%, rgba(20, 33, 61, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cf-hero-content {
  position: relative;
  z-index: 1;
}

/* Hero 2-Column Ratio: 58% Left Text, 42% Right Calculator on Desktop */
.cf-hero-content .cf-grid-2 {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .cf-hero-wrapper {
    padding: 3.5rem 0 3rem 0;
  }
  .cf-hero-content .cf-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* =========================================================================
   7. INTERACTIVE CASE PRICING CALCULATOR CARD
   ========================================================================= */
.cf-calc-card {
  background: #ffffff;
  border: 2px solid var(--cf-border);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 20px 40px -10px rgba(20, 33, 61, 0.12);
  transition: all 0.3s ease;
  position: relative;
}

.cf-calc-card:hover {
  border-color: var(--cf-accent);
  box-shadow: 0 25px 50px -12px rgba(252, 163, 17, 0.25);
}

.cf-calc-header h3 {
  font-size: 1.45rem;
  color: var(--cf-navy);
  margin-bottom: 0.35rem;
}

.cf-calc-header p {
  color: var(--cf-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.cf-field-group {
  margin-bottom: 1.25rem;
}

.cf-field-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cf-navy);
  margin-bottom: 0.45rem;
}

.cf-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  font-size: 0.95rem;
  color: var(--cf-navy);
  background-color: var(--cf-bg-subtle);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* iOS Safari font zoom fix: enforce 16px font-size on mobile inputs */
@media (max-width: 768px) {
  .cf-input, select.cf-input, input.cf-input {
    font-size: 16px !important;
  }
  .cf-calc-card {
    padding: 1.5rem;
  }
}

.cf-input:focus {
  border-color: var(--cf-accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.2);
}

.cf-checkbox-row label {
  font-weight: 500;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  color: var(--cf-navy);
}

.cf-checkbox-row input[type="checkbox"] {
  accent-color: var(--cf-accent);
  width: 18px;
  height: 18px;
}

/* Total Box: Oxford Navy (#14213d) Container with Golden Amber (#fca311) Total */
.cf-calc-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--cf-navy);
  border: 1px solid #14213d;
  padding: 1.1rem 1.4rem;
  border-radius: var(--cf-radius);
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(20, 33, 61, 0.15);
}

.cf-total-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cf-white);
}

.cf-total-price {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--cf-accent);
}

.cf-calc-footer {
  font-size: 0.82rem;
  color: var(--cf-text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* =========================================================================
   8. STATS ROW & ACADEMIC LOGO WALL
   ========================================================================= */
.cf-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  margin: 3.5rem 0 1.5rem 0;
}

@media (max-width: 768px) {
  .cf-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2.5rem 0 1rem 0;
  }
}

.cf-stat-box {
  background: #ffffff;
  border: 1px solid var(--cf-border);
  padding: 1.6rem 1rem;
  border-radius: var(--cf-radius);
  box-shadow: var(--cf-shadow);
  transition: all 0.3s ease;
}

.cf-stat-box:hover {
  border-color: var(--cf-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(20, 33, 61, 0.08);
}

.cf-stat-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--cf-navy);
  display: block;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.cf-stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cf-text-muted);
}

/* Logo Wall */
.cf-logo-wall {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.75;
  padding: 1.5rem 0;
}

.cf-logo-item {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cf-navy);
  letter-spacing: -0.01em;
  transition: all 0.25s ease;
}

.cf-logo-item:hover {
  color: var(--cf-accent);
  opacity: 1;
}

@media (max-width: 768px) {
  .cf-logo-wall {
    gap: 1.25rem;
  }
  .cf-logo-item {
    font-size: 0.85rem;
  }
}

/* =========================================================================
   9. FEATURE CARDS, STEPS & COMPARISON TABLES
   ========================================================================= */
.cf-card {
  background: var(--cf-white);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 2.2rem;
  box-shadow: var(--cf-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.cf-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cf-shadow-hover);
  border-color: var(--cf-accent);
}

.cf-card h3 {
  font-size: 1.35rem;
  color: var(--cf-navy);
  margin-top: 0.6rem;
  margin-bottom: 0.75rem;
}

.cf-card p {
  color: var(--cf-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.cf-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  margin-top: auto;
}

.cf-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  color: var(--cf-text-main);
}

.cf-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cf-accent);
  font-weight: 800;
  font-size: 1rem;
}

/* Step Cards */
.cf-step-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: var(--cf-radius);
  background: var(--cf-white);
  border: 1px solid var(--cf-border);
  box-shadow: var(--cf-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cf-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--cf-accent);
  box-shadow: var(--cf-shadow-hover);
}

.cf-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--cf-navy);
  color: var(--cf-accent);
  font-weight: 900;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(20, 33, 61, 0.2);
}

/* Tables */
.cf-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2.5rem 0;
  border-radius: var(--cf-radius);
  box-shadow: var(--cf-shadow);
  border: 1px solid var(--cf-border);
}

.cf-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cf-white);
  overflow: hidden;
  min-width: 600px;
}

.cf-table th, .cf-table td {
  padding: 1.2rem 1.6rem;
  text-align: left;
  border-bottom: 1px solid var(--cf-border);
}

.cf-table th {
  background-color: var(--cf-navy);
  color: var(--cf-white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.cf-table tr:hover td {
  background-color: #fbfcfe;
}

/* =========================================================================
   10. GLOWING DARK CTA BANNER (#14213d & #000000 with #fca311 accents)
   ========================================================================= */
.cf-cta-container {
  background: radial-gradient(ellipse at 50% -20%, #14213d 0%, #000000 80%);
  border: 1px solid rgba(252, 163, 17, 0.3);
  border-radius: 20px;
  padding: 4.5rem 2.5rem;
  text-align: center;
  margin: 3.5rem auto;
  max-width: 1120px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.cf-cta-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fca311, transparent);
}

.cf-cta-container .cf-cta-badge {
  display: inline-block;
  background: rgba(252, 163, 17, 0.15);
  color: #fca311;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(252, 163, 17, 0.4);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cf-cta-container .cf-cta-title {
  color: #ffffff !important;
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cf-cta-container .cf-cta-subtitle {
  color: #e5e5e5;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.2rem auto;
  line-height: 1.6;
}

.cf-cta-container .cf-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cf-cta-container {
    padding: 3rem 1.5rem;
    margin: 2.5rem 1rem;
  }
}

/* =========================================================================
   11. ACCORDION FAQ
   ========================================================================= */
.cf-faq-list {
  max-width: 860px;
  margin: 2.5rem auto;
}

.cf-faq-item {
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--cf-white);
  transition: all 0.2s ease;
}

.cf-faq-item[open] {
  border-color: var(--cf-accent);
  box-shadow: 0 4px 12px rgba(252, 163, 17, 0.1);
}

.cf-faq-item summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--cf-navy);
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cf-faq-item summary::-webkit-details-marker {
  display: none;
}

.cf-faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--cf-accent);
  font-weight: 700;
  transition: transform 0.25s ease;
}

.cf-faq-item[open] summary::after {
  content: "−";
}

.cf-faq-item p {
  margin-top: 0.85rem;
  color: var(--cf-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
}

/* =========================================================================
   12. MEGA DROPDOWN MENU ENGINE
   ========================================================================= */
.ast-desktop-header .main-header-menu {
  position: relative !important;
}

.ast-desktop-header .main-header-menu .menu-item-has-children {
  position: static !important;
}

.ast-desktop-header .main-header-menu .menu-item-has-children .sub-menu {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(12px) !important;
  width: 960px !important;
  max-width: 95vw !important;
  background: #ffffff !important;
  border: 1px solid var(--cf-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 50px -12px rgba(20, 33, 61, 0.22), 0 0 0 1px rgba(20, 33, 61, 0.05) !important;
  padding: 1.75rem 2rem !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.85rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s !important;
  z-index: 99999 !important;
}

.ast-desktop-header .main-header-menu .menu-item-has-children:hover .sub-menu,
.ast-desktop-header .main-header-menu .menu-item-has-children:focus-within .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.ast-desktop-header .main-header-menu .menu-item-has-children .sub-menu > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ast-desktop-header .main-header-menu .menu-item-has-children .sub-menu > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.85rem 1rem !important;
  border-radius: 10px !important;
  background: #fbfcfd !important;
  border: 1px solid #f1f4f9 !important;
  color: var(--cf-navy) !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.ast-desktop-header .main-header-menu .menu-item-has-children .sub-menu > li > a::before {
  content: "✦";
  color: var(--cf-accent);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ast-desktop-header .main-header-menu .menu-item-has-children .sub-menu > li > a:hover {
  background: #ffffff !important;
  border-color: var(--cf-accent) !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(252, 163, 17, 0.2) !important;
}

.ast-desktop-header .main-header-menu .menu-item-has-children .sub-menu > li > a:hover::before {
  transform: scale(1.3);
}

.ast-desktop-header .main-header-menu .sub-menu .ast-icon {
  display: none !important;
}

/* =========================================================================
   13. PROFESSIONAL EXECUTIVE FOOTER COMPONENT
   ========================================================================= */
#colophon,
footer.site-footer,
.site-below-footer-wrap,
.ast-footer-copyright,
.site-footer .ast-builder-grid-row-container {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.cf-footer {
  background: radial-gradient(circle at 50% 0%, #15223e 0%, #0d1629 35%, #070c17 70%, #000000 100%);
  color: #cdd5e0;
  position: relative;
  overflow: hidden;
  font-size: 0.92rem;
  border-top: 1px solid rgba(252, 163, 17, 0.45);
  box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cf-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.22s ease;
}

.cf-footer a:hover {
  color: var(--cf-accent) !important;
}

/* =========================================================================
   13.1 EXECUTIVE BRIEFING & NEWSLETTER STRIP
   ========================================================================= */
.cf-footer-briefing-strip {
  background: rgba(10, 17, 34, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  position: relative;
}

.cf-fbriefing-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cf-fbriefing-text {
  flex: 1 1 500px;
}

.cf-fbadge-pill {
  background: rgba(252, 163, 17, 0.15) !important;
  color: var(--cf-accent) !important;
  border: 1px solid rgba(252, 163, 17, 0.35) !important;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.cf-fbriefing-text h3 {
  color: #ffffff !important;
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0.5rem 0 0.65rem 0;
  letter-spacing: -0.02em;
}

.cf-fbriefing-text p {
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.cf-fbriefing-form-col {
  flex: 1 1 420px;
}

.cf-fsub-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.cf-fsub-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  padding: 0.85rem 1.15rem !important;
  border-radius: 8px !important;
  font-size: 0.92rem !important;
  outline: none;
  transition: all 0.2s ease;
}

.cf-fsub-input:focus {
  border-color: var(--cf-accent) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.25) !important;
}

.cf-fsub-btn {
  padding: 0.85rem 1.4rem !important;
  font-size: 0.92rem !important;
  white-space: nowrap;
}

.cf-fsub-trust {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

/* =========================================================================
   13.2 VALUE PROPOSITION & QUALITY GUARANTEES (GLASS CARDS)
   ========================================================================= */
.cf-footer-top-strip {
  background: rgba(13, 23, 46, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.75rem 0;
}

.cf-footer-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cf-fbadge-item {
  background: rgba(20, 33, 61, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.cf-fbadge-item:hover {
  background: rgba(20, 33, 61, 0.9);
  border-color: rgba(252, 163, 17, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(252, 163, 17, 0.15);
}

.cf-fbadge-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(252, 163, 17, 0.12);
  border: 1px solid rgba(252, 163, 17, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.cf-fbadge-info strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cf-fbadge-info p {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* =========================================================================
   13.3 MAIN 4-COLUMN FOOTER NAVIGATION
   ========================================================================= */
.cf-footer-main {
  padding: 4.5rem 0 3.5rem 0;
}

.cf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.15fr 1.15fr 1.1fr;
  gap: 3.5rem;
}

.cf-footer-brand-col .cf-footer-logo {
  max-height: 46px;
  width: auto;
  margin-bottom: 1.35rem;
  filter: drop-shadow(0 4px 12px rgba(252, 163, 17, 0.25));
}

.cf-footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.68;
  margin-bottom: 1.25rem;
}

.cf-footer-rating-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  color: #e2e8f0;
  font-size: 0.82rem;
  margin-bottom: 1.35rem;
}

.cf-footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.cf-fcontact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cf-footer-socials {
  display: flex;
  gap: 0.65rem;
}

.cf-fsocial-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1 !important;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.22s ease;
}

.cf-fsocial-btn:hover {
  background: var(--cf-accent) !important;
  border-color: var(--cf-accent) !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 163, 17, 0.35);
}

.cf-footer-title {
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: -0.01em;
}

.cf-footer-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--cf-accent);
  margin-top: 0.6rem;
  border-radius: 2px;
}

.cf-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cf-footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.45;
  transition: all 0.22s ease;
}

.cf-footer-links li a::before {
  content: "›";
  color: var(--cf-accent);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.35;
  transition: all 0.22s ease;
}

.cf-footer-links li a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

.cf-footer-links li a:hover::before {
  opacity: 1;
  transform: translateX(2px);
  color: var(--cf-accent);
}

/* Fast Urgent Quote Card in Col 4 */
.cf-footer-cta-card {
  background: rgba(20, 33, 61, 0.65);
  border: 1px solid rgba(252, 163, 17, 0.35);
  border-radius: 14px;
  padding: 1.35rem;
  margin-top: 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.cf-fcta-beacon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

@keyframes cfBeaconPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.cf-beacon-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: cfBeaconPulse 2s infinite;
}

.cf-fcta-beacon-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #86efac;
}

.cf-fcta-heading {
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.45rem 0;
}

.cf-fcta-desc {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0 0 0.95rem 0;
}

.cf-fcta-btn {
  padding: 0.65rem 1rem !important;
  font-size: 0.88rem !important;
}

/* =========================================================================
   13.4 BOTTOM LEGAL, DISCLAIMER & PAYMENT METHODS
   ========================================================================= */
.cf-footer-bottom {
  background-color: #050810;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2.25rem 0;
  font-size: 0.82rem;
}

.cf-footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cf-footer-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.cf-status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: cfBeaconPulse 2s infinite;
}

.cf-fcopy-line {
  color: #cbd5e1;
  font-size: 0.86rem;
  margin: 0 0 0.5rem 0;
}

.cf-footer-disclaimer {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: 800px;
  margin: 0;
}

.cf-footer-payment-strip {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}

.cf-pay-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
}

.cf-pay-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cf-pay-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cf-pay-ssl {
  background: rgba(252, 163, 17, 0.15);
  border-color: rgba(252, 163, 17, 0.35);
  color: var(--cf-accent);
}

.cf-back-to-top-wrap {
  margin-top: 0.5rem;
}

.cf-back-to-top-btn {
  display: inline-block;
  font-size: 0.78rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf-back-to-top-btn:hover {
  background: rgba(252, 163, 17, 0.15);
  color: var(--cf-accent) !important;
  border-color: var(--cf-accent);
}

/* =========================================================================
   13.5 FOOTER RESPONSIVE ADAPTATIONS
   ========================================================================= */
@media (max-width: 1024px) {
  .cf-footer-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .cf-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem;
  }
  .cf-footer-payment-strip {
    align-items: flex-start;
  }
  .cf-pay-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .cf-fbriefing-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .cf-fsub-form {
    flex-direction: column;
  }
  .cf-footer-badges-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cf-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .cf-footer-bottom-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
}
  .cf-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cf-footer-payment-strip {
    align-items: flex-start;
  }
}

/* =========================================================================
   14. EXPANDED HOMEPAGE COMPONENTS (Disciplines, Deliverables, Testimonials)
   ========================================================================= */
/* Discipline Card */
.cf-discipline-card {
  background: #ffffff;
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-radius);
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--cf-shadow);
  position: relative;
}

.cf-discipline-card:hover {
  transform: translateY(-4px);
  border-color: var(--cf-accent);
  box-shadow: var(--cf-shadow-hover);
}

.cf-disc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(20, 33, 61, 0.06);
  color: var(--cf-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cf-discipline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.cf-discipline-card p {
  color: var(--cf-text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cf-disc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
}

.cf-disc-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.cf-disc-link {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cf-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.cf-disc-link:hover {
  color: var(--cf-accent);
}

/* Deliverable Cards */
.cf-deliverable-card {
  background: #ffffff;
  border: 1px solid var(--cf-border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--cf-shadow);
}

.cf-deliverable-card:hover {
  border-color: var(--cf-accent);
  transform: translateY(-4px);
  box-shadow: var(--cf-shadow-hover);
}

.cf-deliv-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.cf-deliv-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cf-accent);
  background: rgba(252, 163, 17, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* Testimonials */
.cf-testimonial-card {
  background: #ffffff;
  border: 1px solid var(--cf-border);
  border-radius: 14px;
  padding: 2.2rem 1.85rem;
  box-shadow: var(--cf-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.cf-testimonial-card:hover {
  border-color: var(--cf-accent);
  box-shadow: var(--cf-shadow-hover);
  transform: translateY(-3px);
}

.cf-test-stars {
  color: #fca311;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cf-test-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--cf-navy);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.cf-test-author {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cf-test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cf-navy);
  color: var(--cf-accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.cf-test-meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--cf-navy);
}

.cf-test-meta span {
  font-size: 0.8rem;
  color: var(--cf-text-muted);
}

