/* style.css */
/* Unchained for Success - Main Stylesheet */

/* CSS Variables */
:root {
    --navy: #0C203B;
    --red: #DC4141;
    --pale-blue: #EDF4F9;
    --white: #FFFFFF;
    --dark-grey: #555555;
    --light-grey: #f5f5f5;

    --color-white: #FFFFFF;
    --color-navy: #0C203B;
    --color-navy-mid: #1a3a5c;
    --color-red: #DC4141;
    --color-pale-blue: #EDF4F9;
    --color-border: #e9ecef;
    --color-text: #555555;
    
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;

    --border-radius: 4px;
    --transition: all 0.3s ease;
    --container-width: 1280px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    
    --trans-fast: 0.15s ease;
    --trans-base: 0.2s ease;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    
    --z-header: 1000;
    --z-dropdown: 1001;
    --header-height: 70px;

}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--navy);
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--red);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

a {
    color: var(--color-navy-mid);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--red);
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--red);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Buttons */
.btn, button, .button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

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

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

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

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

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--trans-base);
}


.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--navy);
}

.logo-text span {
    color: var(--red);
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-left: 8px;
}

.header-logo span span {
    color: var(--color-red);
    margin-left: 0;
}


/* Navigation */
.primary-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

/* Desktop Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: color var(--trans-fast), background-color var(--trans-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--color-red);
    background-color: var(--color-pale-blue);
    text-decoration: none;
}

.nav-link.active {
    color: var(--color-red);
    font-weight: 600;
}

/* Highlight style for Goals Readiness Score */
.nav-link--highlight {
    color: var(--color-red);
    font-weight: 700;
    position: relative;
}

.nav-link--highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background-color: var(--color-red);
    border-radius: 2px;
}

/* Button style for Contact and Login */
.nav-link--button {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-left: 4px;
}

.nav-link--button:hover {
    background-color: #b83232;
    color: var(--color-white);
    transform: translateY(-1px);
}

.nav-button {
    background-color: var(--red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--border-radius);
}

.nav-button:hover {
    background-color: #b83232;
    color: var(--white);
}

/* Dropdown Menu */
.dropdown .dropdown-icon {
    font-size: 0.75rem;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    backdrop-filter: blur(0px);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    list-style: none;
    padding: var(--spacing-xs) 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--dark-grey);
}

.dropdown-link:hover {
    background-color: var(--pale-blue);
    color: var(--navy);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-navy, #0C203B);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Footer Styles */
.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    grid-column: span 1;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

.footer-heading {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--red);
    transform: translateY(-2px);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

.btn-subscribe {
    background-color: var(--red);
    color: var(--white);
    padding: 10px 16px;
    font-size: 0.875rem;
}

.newsletter-note {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: var(--spacing-xs);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
}

.copyright, .credit {
    opacity: 0.6;
}

.legal-links {
    display: flex;
    gap: var(--spacing-sm);
}

.legal-links a {
    color: rgba(255,255,255,0.6);
}

.legal-links a:hover {
    color: var(--red);
}

.separator {
    opacity: 0.4;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: var(--white);
    padding: var(--spacing-md);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.btn-cookie-accept, .btn-cookie-decline {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-cookie-accept {
    background-color: var(--red);
    color: var(--white);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

/* Dropdown caret */
.dropdown-caret {
    width: 10px;
    height: 10px;
    transition: transform var(--trans-fast);
    flex-shrink: 0;
    color: currentColor;
}

.nav-item.has-dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--trans-fast), visibility var(--trans-fast),
                transform var(--trans-fast);
    transform: translateX(-50%) translateY(-6px);
    z-index: var(--z-dropdown);
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background: var(--color-white);
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__link {
    display: block;
    padding: 10px var(--space-6);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    transition: color var(--trans-fast), background-color var(--trans-fast);
    text-decoration: none;
}

.nav-dropdown__link:hover {
    color: var(--color-red);
    background-color: var(--color-pale-blue);
}

.nav-dropdown__link.active {
    color: var(--color-red);
    font-weight: 600;
}

.nav-dropdown__separator {
    height: 1px;
    background: var(--color-border);
    margin: var(--space-2) 0;
}

/* Admin/Logout special styles */
.nav-dropdown__link--admin {
    color: var(--color-navy-mid);
}

.nav-dropdown__link--logout {
    color: var(--color-red);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: var(--z-dropdown);
}

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

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    transition: all var(--trans-fast);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-link {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .header-inner {
        padding: 0 var(--space-4);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--color-white);
        transition: left var(--trans-base);
        overflow-y: auto;
        z-index: 999;
    }
    
    .header-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: var(--space-4);
        gap: var(--space-1);
        align-items: stretch;
    }
    
    .nav-link {
        padding: 12px var(--space-4);
        font-size: 1rem;
        justify-content: space-between;
    }
    
    .nav-dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: var(--space-6);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }
    
    .nav-dropdown::before {
        display: none;
    }
    
    .nav-item.has-dropdown.active .nav-dropdown {
        display: block;
    }
    
    .nav-link--button {
        display: inline-block;
        text-align: center;
        margin-top: 8px;
    }
    
    .nav-link--highlight::after {
        display: none;
    }
}

/* ==========================================================================
   DROPDOWN MENU FIX - Add to your existing CSS
   ========================================================================== */

/* 
   IMPORTANT: Keep ALL your existing CSS 
   Only ADD the rules below to fix the dropdown issue
*/

/* Fix the gap issue - creates an invisible bridge */
.nav-item.has-dropdown {
    position: relative;
}

/* Invisible bridge from parent to dropdown */
.nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    z-index: 100;
}

/* Invisible bridge from dropdown back to parent */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    z-index: 101;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

/* Keep dropdown open on hover */
@media (min-width: 769px) {
    .nav-item.has-dropdown:hover .nav-dropdown {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-dropdown:hover {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    
    /* ============================================
   MOBILE MENU FIX - FOR BOTH OLD AND NEW CLASSES
   ============================================ */

@media (max-width: 768px) {
    /* Show mobile toggle button */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }
    
    /* Hide both navigation containers initially */
    .header-nav,
    .primary-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white, #FFFFFF);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    /* Show when active */
    .header-nav.active,
    .primary-nav.active {
        left: 0;
    }
    
    /* Stack navigation items vertically */
    .nav-list,
    .nav-menu {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        margin: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--color-border, #e9ecef);
    }
    
    .nav-link {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        font-size: 16px;
    }
    
    /* Dropdown on mobile */
    .nav-dropdown,
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        width: 100%;
        background: transparent;
    }
    
    .nav-dropdown::before,
    .dropdown-menu::before {
        display: none;
    }
    
    .has-dropdown.active .nav-dropdown,
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Fix for dropdown caret on mobile */
    .dropdown-caret,
    .dropdown-icon {
        transition: transform 0.3s ease;
    }
    
    .has-dropdown.active .dropdown-caret,
    .dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
}
}

/* DEBUG: Make mobile toggle visible and red for testing */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        background-color: #DC4141 !important;
        border-radius: 5px !important;
        display: flex !important;
    }
    
    .hamburger,
    .hamburger::before,
    .hamburger::after {
        background: white !important;
    }
}

/* Goals Readiness Score Form Styles */
.grs-form-section {
    padding: 60px 0;
    background: var(--color-white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-header {
    padding: 30px;
    background: var(--color-pale-blue);
    border-bottom: 1px solid var(--color-border);
}

.form-header h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.form-header p {
    color: var(--color-grey);
    margin-bottom: 0;
}

.form-step {
    display: none;
    padding: 30px;
}

.form-step.active {
    display: block;
}

/* Audience Options */
.audience-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.radio-card {
    display: block;
    padding: 15px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--color-white);
    text-align: center;
}

.radio-card:hover {
    border-color: var(--color-red);
    background: rgba(220,65,65,0.02);
}

.radio-card input {
    display: none;
}

.radio-card input:checked + .radio-title {
    color: var(--color-red);
}

.radio-card:has(input:checked) {
    border-color: var(--color-red);
    background: rgba(220,65,65,0.05);
}

.radio-title {
    display: block;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 5px;
}

.radio-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--color-grey);
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-navy);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-red);
}

.help-text {
    display: block;
    font-size: 0.7rem;
    color: var(--color-grey);
    margin-top: 5px;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.btn-next {
    background: var(--color-red);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-next:hover {
    background: #b83232;
    transform: translateY(-1px);
}

/* Progress Bar */
.progress-wrapper {
    margin-top: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: var(--color-navy);
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 6px;
    overflow: hidden;
}

.progress-fill {
    background: var(--color-red);
    width: 0%;
    height: 100%;
    transition: width 0.3s ease;
}

/* Alert */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .form-step {
        padding: 20px;
    }
    
    .audience-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .step-navigation {
        justify-content: stretch;
    }
    
    .btn-next {
        width: 100%;
        text-align: center;
    }
    
    .form-header {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}

/*Services page */

    /* Services Page Styles */
    .services-hero {
        background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
        color: var(--color-white);
        padding: 80px 0;
        text-align: center;
    }

    .services-hero h1 {
        color: var(--color-white);
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .hero-badge {
        display: inline-block;
        background: rgba(220, 65, 65, 0.9);
        padding: 6px 14px;
        border-radius: 30px;
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .hero-subheadline {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.9);
        max-width: 800px;
        margin: 0 auto 30px;
    }

    .btn-outline-light {
        background: transparent;
        color: var(--color-white);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }

    .btn-outline-light:hover {
        background: var(--color-white);
        color: var(--color-navy);
        border-color: var(--color-white);
    }

    /* Engagement Finder */
    .engagement-finder {
        padding: 80px 0;
    }

    .engagement-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        margin-top: 40px;
    }

    .engagement-card {
        background: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: 16px;
        padding: 25px;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
    }

    .engagement-card.featured {
        border: 2px solid var(--color-red);
        transform: translateY(-5px);
    }

    .engagement-badge {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--color-red);
        color: white;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 4px 12px;
        border-radius: 20px;
        white-space: nowrap;
    }

    .engagement-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .engagement-card.featured:hover {
        transform: translateY(-8px);
    }

    .engagement-icon i {
        font-size: 2rem;
        color: var(--color-red);
        margin-bottom: 15px;
    }

    .engagement-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .engagement-card p {
        font-size: 0.875rem;
        color: var(--color-dark-grey);
        margin-bottom: 15px;
    }

    .engagement-match {
        margin: 15px 0;
        padding: 10px;
        background: var(--color-pale-blue);
        border-radius: 8px;
        font-size: 0.75rem;
    }

    .match-label {
        display: block;
        color: var(--color-grey);
        margin-bottom: 5px;
    }

    .match-value {
        font-weight: 600;
        color: var(--color-navy);
    }

    .btn-small {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .engagement-note {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid var(--color-border);
        font-size: 0.875rem;
    }

    /* .engagement-note a {
        color: var(--color-red);
    } */

    /* Deployment Model */
    .deployment-model {
        padding: 80px 0;
    }

    .bg-pale {
        background-color: var(--color-pale-blue);
    }

    .level-card {
        background: var(--color-white);
        border-radius: 16px;
        margin-bottom: 30px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .level-header {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 25px;
        background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
        color: white;
    }

    .level-number {
        width: 60px;
        height: 60px;
        background: var(--color-red);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .level-title h3 {
        color: white;
        margin: 0 0 5px 0;
        font-size: 1.1rem;
    }

    .level-title p {
        margin: 0;
        font-size: 0.875rem;
        opacity: 0.8;
    }

    .level-content {
        padding: 25px;
    }

    .service-list {
        margin-top: 20px;
    }

    .service-item {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--color-border);
    }

    .service-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .service-item h4 {
        color: var(--color-red);
        margin-bottom: 8px;
    }

    .service-item p {
        font-size: 0.875rem;
        color: var(--color-dark-grey);
        margin: 0;
    }

    /* Keynote Section */
    .keynote-section {
        padding: 80px 0;
    }

    .keynote-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

    .keynote-list {
        margin: 25px 0;
    }

    .keynote-item {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
        font-size: 0.875rem;
    }

    .keynote-item i {
        color: var(--color-red);
        width: 20px;
    }

    .keynote-image img {
        width: 100%;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* Booking Section */
    .booking-section {
        padding: 80px 0;
    }

    .booking-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .booking-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 40px;
    }

    .testimonial-card {
        background: var(--color-white);
        padding: 25px;
        border-radius: 16px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .quote-icon {
        color: var(--color-red);
        opacity: 0.3;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .testimonial-quote {
        font-style: italic;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 15px;
        border-top: 1px solid var(--color-border);
    }

    .author-avatar {
        width: 44px;
        height: 44px;
        background: var(--color-red);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .author-name {
        font-weight: 600;
        color: var(--color-navy);
    }

    .author-title {
        font-size: 0.75rem;
        color: var(--color-grey);
    }

    /* CTA Section */
    .services-cta {
        background: var(--color-navy);
        color: white;
        padding: 80px 0;
    }

    .cta-box {
        max-width: 600px;
        margin: 0 auto;
    }

    .cta-box h2 {
        color: white;
        margin-bottom: 15px;
    }

    .cta-box p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 30px;
    }

    .cta-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-outline-light {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.5);
        color: white;
    }

    .btn-outline-light:hover {
        background: white;
        color: var(--color-navy);
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .engagement-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .testimonials-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .services-hero h1 {
            font-size: 2rem;
        }

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

        .level-header {
            flex-direction: column;
            text-align: center;
        }

        .keynote-grid {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .keynote-list {
            text-align: left;
        }

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

        .booking-buttons,
        .cta-buttons {
            flex-direction: column;
        }

        .booking-buttons .btn,
        .cta-buttons .btn {
            width: 100%;
            text-align: center;
        }
    }

    @media (max-width: 480px) {
        .services-hero {
            padding: 50px 0;
        }

        .hero-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .hero-buttons .btn {
            text-align: center;
        }
    }

    /* Case Studies Page Styles */
.case-studies-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.case-studies-hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(220,65,65,0.9);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Proof Matrix */
.proof-matrix {
    padding: 80px 0;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.matrix-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.matrix-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.matrix-icon i {
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 15px;
}

.matrix-card h3 {
    margin-bottom: 10px;
}

.matrix-card p {
    font-size: 0.875rem;
    color: var(--color-dark-grey);
    margin-bottom: 15px;
}

.matrix-badge {
    display: inline-block;
    background: var(--color-pale-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-navy);
}

/* Case Study Section */
.case-study {
    padding: 80px 0;
}

.case-study.featured {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-pale-blue) 100%);
}

.case-study.bg-pale {
    background: var(--color-pale-blue);
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-study-grid.reverse {
    direction: rtl;
}

.case-study-grid.reverse > * {
    direction: ltr;
}

.case-study-image {
    position: relative;
}

.case-study-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--color-grey);
    text-align: center;
}

.pm-letter-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: var(--color-navy);
    color: white;
    border-radius: 8px;
    font-size: 0.75rem;
}

.pm-letter-badge i {
    margin-right: 8px;
    color: var(--color-red);
}

.case-badge {
    display: inline-block;
    background: var(--color-red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-content h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.case-study-content h3 {
    font-size: 1.25rem;
    color: var(--color-red);
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-dark-grey);
}

.meta-item i {
    color: var(--color-red);
}

/* PM Letter */
.pm-letter {
    background: var(--color-pale-blue);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.pm-letter i {
    font-size: 2rem;
    color: var(--color-red);
    opacity: 0.5;
    flex-shrink: 0;
}

.pm-letter-content p {
    font-style: italic;
    margin-bottom: 10px;
}

.pm-letter-content cite {
    font-size: 0.8rem;
    color: var(--color-grey);
    font-style: normal;
}

/* Feedback Grid */
.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.feedback-item {
    background: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.feedback-item i {
    color: var(--color-red);
    opacity: 0.3;
    margin-bottom: 10px;
}

.feedback-item p {
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.5;
}

.feedback-item cite {
    font-size: 0.7rem;
    color: var(--color-grey);
    font-style: normal;
}

/* Testimonial List */
.testimonial-list {
    margin-top: 25px;
}

.testimonial-item {
    padding: 15px;
    border-left: 3px solid var(--color-red);
    background: var(--color-pale-blue);
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.testimonial-item cite {
    font-size: 0.75rem;
    color: var(--color-grey);
    font-style: normal;
}

/* Training Results */
.training-results h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--color-red);
}

.highlight-quote {
    background: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.highlight-quote i {
    color: var(--color-red);
    opacity: 0.3;
    margin-bottom: 10px;
}

.highlight-quote p {
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

.highlight-quote cite {
    font-size: 0.75rem;
    color: var(--color-grey);
    font-style: normal;
}

/* Major Programmes */
.major-programmes {
    padding: 80px 0;
}

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.programme-card {
    background: var(--color-white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.programme-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.programme-card.featured {
    border: 2px solid var(--color-red);
}

.programme-card i {
    font-size: 2rem;
    color: var(--color-red);
    margin-bottom: 15px;
}

.programme-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.programme-card p {
    font-size: 0.75rem;
    color: var(--color-dark-grey);
}

.programmes-note {
    margin-top: 40px;
    padding: 20px;
    background: var(--color-white);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--color-grey);
}

.programmes-note i {
    color: var(--color-red);
    margin-right: 10px;
}

/* Corporate Testimonials */
.corporate-testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
}

.testimonial-card i {
    color: var(--color-red);
    opacity: 0.3;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-card cite {
    font-size: 0.8rem;
    color: var(--color-grey);
    font-style: normal;
    font-weight: 500;
}

/* Editorial Rules */
.editorial-rules {
    padding: 60px 0;
}

.rules-list {
    max-width: 800px;
    margin: 20px auto 0;
    list-style: none;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: var(--color-dark-grey);
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list i {
    color: var(--color-red);
    margin-top: 3px;
    flex-shrink: 0;
}

/* CTA Section */
.case-studies-cta {
    background: var(--color-navy);
    color: white;
    padding: 80px 0;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .matrix-grid { grid-template-columns: repeat(2, 1fr); }
    .programmes-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .case-studies-hero h1 { font-size: 2rem; }
    .case-study-grid { grid-template-columns: 1fr; gap: 30px; }
    .case-study-grid.reverse { direction: ltr; }
    .matrix-grid { grid-template-columns: 1fr; }
    .programmes-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pm-letter { flex-direction: column; text-align: center; }
    .feedback-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .case-meta { flex-direction: column; gap: 10px; }
    .case-study-content h2 { font-size: 1.5rem; }
    .case-study-image img { border-radius: 8px; }
}


/* Framework Layout - Content + Sidebar */
.framework-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.framework-content {
    flex: 1;
    min-width: 0; /* Prevents overflow */
}

.framework-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 992px) {
    .framework-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .framework-sidebar {
        flex: 1 1 auto;
        position: static;
        width: 100%;
    }
    
    .framework-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .framework-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Services Layout - Content + Sidebar */
.services-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.services-content {
    flex: 1;
    min-width: 0;
}

.services-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

/* Sidebar styles from services-sidebar.php are included here or in the include */

/* Responsive */
@media (max-width: 992px) {
    .services-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-sidebar {
        flex: 1 1 auto;
        position: static;
        width: 100%;
    }
    
    .services-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-sidebar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .services-sidebar {
        grid-template-columns: 1fr;
    }
}