/*
Theme Name: Carey Phoenix Theme
Theme URI: https://careyphoenix.co.uk
Author: Ayrus Solutions
Description: Custom 1:1 pixel-perfect responsive WordPress theme for Carey Phoenix Life Coaching.
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-navy: #0a1968;
  --secondary-navy: #152266;
  --accent-orange: #ff8c00;
  --btn-blue: #3182ce;
  --btn-teal: #1ea69a;
  --text-dark: #2d3748;
  --text-muted: #64748b;
  --bg-light: #f7f9fc;
  --bg-soft-gray: #f4f6fa;
  --card-shadow: 0 10px 30px rgba(10, 25, 104, 0.07);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 30px;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

section,
.hero-section,
.trust-metrics-bar,
.phoenix-way-section,
.elite-framework-showcase,
.frameworks-section,
.events-gallery-section,
.video-showcase-section,
.community-section,
.testimonials-section,
.logos-bar,
.resources-section {
  scroll-snap-align: start;
  scroll-margin-top: 90px;
}

body {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   HEADER & NAVBAR
   =================================== */
.site-header {
  background: #ffffff;
  padding: 12px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.site-logo {
  position: relative;
  z-index: 1100;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 110px;
  width: 110px;
  object-fit: contain;
  margin-bottom: -45px;
  margin-top: -10px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.site-logo img:hover {
  transform: scale(1.03);
}

.main-nav {
  margin-left: auto;
  margin-right: 32px;
}

.main-nav ul,
.main-nav .nav-menu-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.2s ease;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav a:hover {
  color: var(--accent-orange);
}

.nav-dropdown {
  position: relative;
}

.arrow-down {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .arrow-down {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  width: 290px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  padding: 8px 0;
  z-index: 1200;
  flex-direction: column;
  gap: 0;
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  display: block;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: #f8fafc;
  color: var(--accent-orange);
  padding-left: 24px;
}

.btn-header-cta {
  background-color: #0a1968;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: var(--radius-pill, 30px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(10, 25, 104, 0.25);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-header-cta:hover {
  background-color: #ff8c00;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* ===================================
   HERO SECTION
   =================================== */
/* ===================================
   HERO SECTION & VIDEO BACKGROUND
   =================================== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background-color: #0a1968;
}

.hero-video-section {
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 104, 0.42) 0%, rgba(15, 23, 42, 0.38) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 680px;
  color: #ffffff;
}

.hero-tagline {
  display: inline-block;
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-navy-pill {
  display: inline-block;
  background-color: var(--primary-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(10, 25, 104, 0.3);
}

.btn-navy-pill:hover {
  background-color: var(--secondary-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(10, 25, 104, 0.4);
}

/* ===================================
   ASSESSMENT BANNER SECTION
   =================================== */
.assessment-banner-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0f1b5c 0%, #1e293b 100%);
  color: #ffffff;
}

.assessment-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.assessment-badge {
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.assessment-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.assessment-sub {
  color: #93c5fd;
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.assessment-text p {
  font-size: 14.5px;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0;
  line-height: 1.6;
}

.community-benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.benefit-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================
   SECTION HEADINGS & DECORATION
   =================================== */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.section-title .orange-text {
  color: var(--accent-orange);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 48px auto;
}

.section-divider {
  width: 40px;
  height: 3px;
  background-color: #333;
  margin: 8px 0 20px 0;
  border-radius: 2px;
}

/* ===================================
   CAREY PHOENIX WAY SECTION
   =================================== */
.phoenix-way-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-way {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #f0f4f8;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-way:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(10, 25, 104, 0.12);
}

.card-badge {
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.card-tagline {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
  display: block;
}

.card-way h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.3;
}

.card-way p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-cta-link {
  color: #3182ce;
  font-weight: 600;
  font-size: 13.5px;
  margin-top: auto;
  padding-top: 12px;
  display: inline-block;
  transition: color 0.2s ease;
}

.card-cta-link:hover {
  color: var(--primary-navy);
  text-decoration: underline;
}

.banner-cta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 40px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 50px;
}

.banner-cta-box h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.banner-cta-box p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 24px auto;
}

.testimonials-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.section-subheading {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-orange);
  display: block;
  margin-bottom: 8px;
}

/* ===================================
   SPLIT SECTIONS (PERSONAL / PROF / ABOUT)
   =================================== */
.section-split {
  padding: 80px 0;
}

.section-split.bg-light {
  background-color: var(--bg-light);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split-text h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.split-text h2 .orange-text {
  color: var(--accent-orange);
}

.split-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.split-text .btn-navy-pill {
  margin-top: 10px;
  text-transform: none;
  padding: 12px 30px;
}

.split-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: bold;
}

.author-details h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.author-details span {
  font-size: 12px;
  color: #94a3b8;
}

/* ===================================
   PAGE TEMPLATE STYLES
   =================================== */
.page-banner-section {
  background: linear-gradient(135deg, #0a1968 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 0 50px 0;
}

.page-banner-title {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.page-main-content {
  padding: 60px 0 90px 0;
  background-color: #ffffff;
}

.page-content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
}

.page-content-wrapper h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-content-wrapper h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 28px;
  margin-bottom: 12px;
}

.page-content-wrapper p {
  margin-bottom: 18px;
}

.page-content-wrapper p.lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-navy);
  line-height: 1.6;
}

.page-content-wrapper ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.page-content-wrapper li {
  margin-bottom: 8px;
}

.page-content-wrapper blockquote {
  border-left: 4px solid var(--accent-orange);
  background: #f8fafc;
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  color: #334155;
  border-radius: 0 8px 8px 0;
}

.page-content-wrapper hr {
  border: 0;
  height: 1px;
  background: #e2e8f0;
  margin: 36px 0;
}

/* ===================================
   JOIN COMMUNITY SECTION
   =================================== */
.community-section {
  padding: 80px 0;
  background-color: var(--bg-soft-gray);
}

.btn-teal-pill {
  display: inline-block;
  background-color: var(--btn-teal);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 166, 154, 0.3);
}

.btn-teal-pill:hover {
  background-color: #198a80;
  transform: translateY(-2px);
}

.community-cards-cluster {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cluster-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  max-width: 320px;
}

.cluster-card.offset-right {
  margin-left: 60px;
}

.cluster-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.cluster-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================================
   WELLNESS RESOURCES (BLOG GRID)
   =================================== */
.resources-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.blog-card-body p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===================================
   BRAND LOGOS BAR
   =================================== */
.logos-bar {
  padding: 50px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.logos-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.7;
}

.logo-item {
  .gallery-photo-item:hover img {
    transform: scale(1.06);
  }

  .framework-card-pro {
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  }

  .framework-card-pro:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 140, 0, 0.45) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4) !important;
  }

  .framework-card-pro:hover img {
    transform: scale(1.08);
  }

  /* ===================================
   BRAND & PARTNER LOGOS SECTION
   =================================== */
  .logos-bar {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
  }

  .logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-height: 80px;
  }

  .logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 25, 104, 0.08);
    border-color: #cbd5e1;
  }

  .logo-card img {
    max-height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  /* ===================================
   FOOTER
   =================================== */
  /* ===================================
   FOOTER (1:1 CLEAN LAYOUT)
   =================================== */
  .site-footer {
    background-color: #ffffff !important;
    padding-top: 50px !important;
    border-top: 1px solid #e2e8f0 !important;
    width: 100% !important;
    clear: both !important;
  }

  .footer-top {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr !important;
    gap: 30px !important;
    padding-bottom: 45px !important;
    align-items: start !important;
  }

  .footer-col {
    min-width: 0 !important;
  }

  .footer-logo {
    height: 90px !important;
    width: 90px !important;
    max-height: 90px !important;
    max-width: 90px !important;
    object-fit: contain !important;
    margin-bottom: 14px !important;
    display: block !important;
  }

  .social-icons {
    display: flex !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .social-icon-btn {
    transition: background-color 0.25s ease, transform 0.25s ease;
  }

  .social-icon-btn:hover {
    background-color: #ff8c00 !important;
    transform: translateY(-3px);
  }

  font-size: 13px !important;
  font-weight: bold !important;
  transition: background-color 0.2s ease !important;
}

.social-icon:hover {
  background-color: #3182ce !important;
}

.footer-col ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-col li {
  list-style: none !important;
  list-style-type: none !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
}

.footer-links-col a {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #3182ce !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-links-col a:hover {
  color: #0a1968 !important;
  text-decoration: underline !important;
}

.footer-contact li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 14px !important;
  color: #475569 !important;
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
}

.icon-arrow-circle {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background-color: #000000 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.footer-bottom {
  background-color: #0a1968 !important;
  color: #ffffff !important;
  padding: 10px 0 !important;
  font-size: 13px !important;
  width: 100% !important;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-bottom-inner p {
  margin: 0;
  font-weight: 500;
}

.footer-bottom-inner a {
  color: #ff8c00;
  font-weight: 700;
}

.btn-back-to-top {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #004085;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ===================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   =================================== */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #0a1968;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block !important;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #e2e8f0;
    padding: 20px;
    z-index: 999;
  }

  .main-nav.mobile-nav-open {
    display: block !important;
  }

  .nav-menu-list {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 16px;
    background: #f8fafc;
    margin-top: 8px;
    border-left: 2px solid #3182ce;
  }

  .dropdown-menu.dropdown-open-mobile {
    display: block !important;
  }

  .cards-grid-3,
  .testimonials-grid,
  .blog-grid,
  .frameworks-grid,
  .events-photo-grid,
  .videos-grid-2,
  .logos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
}

@media (max-width: 768px) {
  html {
    scroll-snap-type: none !important;
  }

  .hero-title {
    font-size: 34px !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 15px !important;
  }

  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-buttons a {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
  }

  .assessment-box {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
    padding: 30px 20px !important;
  }

  .assessment-action a {
    width: 100% !important;
  }
}

@media (max-width: 640px) {

  .cards-grid-3,
  .testimonials-grid,
  .blog-grid,
  .cards-grid-4,
  .frameworks-grid,
  .events-photo-grid,
  .videos-grid-2,
  .logos-grid,
  .metrics-grid,
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hero-title {
    font-size: 28px !important;
  }

  .section-title {
    font-size: 26px !important;
  }

  .site-footer {
    padding-top: 40px !important;
  }

  .footer-bottom-inner {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .btn-back-to-top {
    position: static !important;
    transform: none !important;
    margin-top: 8px !important;
  }
}

/* ===================================
   GLOBAL RESPONSIVE IMAGE FIT FIXES
   =================================== */
img {
  max-width: 100%;
  height: auto;
}

.card-way img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 16px;
  display: block;
}

.split-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: block;
}

.framework-card-pro img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px 16px 0 0;
  display: block;
}

.gallery-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

.logo-card img {
  max-height: 55px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* ==========================================================================
   INFINITE TESTIMONIAL MARQUEE ENGINE (GPU ACCELERATED)
   ========================================================================== */
@keyframes scrollTestimonials {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  animation: scrollTestimonials 38s linear infinite;
}

.marquee-track:hover,
.marquee-track:active {
  animation-play-state: paused;
}

/* PERFORM Framework Interactive Cards */
.perform-pillar-card {
  cursor: default;
}

.perform-pillar-card:hover {
  transform: translateX(6px) translateY(-2px);
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   COMPREHENSIVE GLOBAL RESPONSIVE ENGINE (MOBILE, TABLET, DESKTOP)
   ========================================================================== */

/* Utility Responsive Grids */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px !important;
  }

  .grid-2-col {
    grid-template-columns: 1fr !important;
    gap: 45px !important;
  }

  .split-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .programme-overview-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 860px) {
  /* Programme 2-Card Sections (Who It's For & Outcomes, Areas We Support, Workshop Themes) */
  .programme-cards-2col,
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Video Grid & 3-Col Grids */
  .video-grid,
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Hero Section Spacing */
  section[style*="padding: 100px"],
  section[style*="padding: 90px"],
  section[style*="padding: 80px"] {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px !important;
  }

  /* 3-Col and 4-Col to Single Column */
  .video-grid,
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Global Headings on Mobile */
  h1 {
    font-size: 30px !important;
    line-height: 1.25 !important;
  }

  h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 22px !important;
    line-height: 1.35 !important;
  }

  /* Image Containers */
  .grid-2-col img,
  .split-grid img {
    max-height: 320px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* Assessment Card Mobile Responsiveness */
  #assessment-main-card {
    padding: 24px 16px !important;
    border-radius: 18px !important;
  }

  /* Assessment 5-Option Radio Grids */
  div[style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* Frequency Matrix / 3-Option Grids */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* Step Nav Indicators */
  .step-nav-dot {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }

  /* Assessment Button Container */
  .form-step div[style*="display: flex; justify-content: space-between"] {
    flex-direction: column-reverse !important;
    gap: 12px !important;
  }

  #next-btn,
  #prev-btn,
  #submit-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 16px 20px !important;
  }

  /* Contact Input Grids in Assessment Section 8 */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

@media (max-width: 480px) {
  /* Extra Small Devices */
  .site-logo img {
    height: 85px !important;
    width: 85px !important;
    margin-bottom: -30px !important;
  }

  /* Scale Ticks Above Slider */
  .scale-tick {
    font-size: 10px !important;
  }

  /* Pillar Badges */
  span[id^="val-"][id$="-badge"] {
    font-size: 12.5px !important;
    padding: 4px 10px !important;
  }
}

/* Floating Scroll to Top */
#floating-back-to-top:hover {
  background: #ff8c00 !important;
  border-color: #0a1968 !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 140, 0, 0.45) !important;
}