/* ===== style.css - Complete Production Version ===== */
/* Connection Football - High-Performance Development Platform */
/* Version: 3.0 - All bugs fixed, form cursor optimized, fully responsive */

/* ----- CSS Variables ----- */
:root {
    --color-black: #000000;
    --color-dark-grey: #111111;
    --color-medium-grey: #1e1e1e;
    --color-light-grey: #2a2a2a;
    --color-white: #ffffff;
    --color-red: #e31b23;
    --color-red-dark: #b1151c;
    --color-red-transparent: rgba(227, 27, 35, 0.1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    --shadow-standard: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 30px 60px rgba(227, 27, 35, 0.2);
    --glass-background: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-white);
    background-color: var(--color-black);
    line-height: 1.6;
    font-weight: 300;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (min-width: 769px) {
    body {
        cursor: none;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

/* ===== CUSTOM CURSOR (Desktop only) ===== */
@media (min-width: 769px) {
    .custom-cursor {
        width: 8px;
        height: 8px;
        background: var(--color-red);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s;
        opacity: 1;
    }

    .custom-cursor-follower {
        width: 40px;
        height: 40px;
        border: 1px solid var(--color-red);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: all 0.1s ease;
        opacity: 1;
    }

    .custom-cursor.hover {
        width: 15px;
        height: 15px;
        background: var(--color-white);
    }

    .custom-cursor-follower.hover {
        width: 60px;
        height: 60px;
        border-color: var(--color-white);
        background: rgba(227, 27, 35, 0.1);
    }
}

/* ===== LOADER ANIMATION ===== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
    pointer-events: none;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 10px;
}

.loader span {
    width: 15px;
    height: 15px;
    background: var(--color-red);
    border-radius: 50%;
    animation: loader 1s infinite ease-in-out;
}

.loader span:nth-child(2) {
    animation-delay: 0.1s;
    background: var(--color-white);
}

.loader span:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes loader {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--color-red);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    p {
        font-size: 1rem;
    }
}

.accent {
    color: var(--color-red);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-red) 0%, #ff4d4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CONTAINER - Fully Responsive ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* ===== BUTTONS ===== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 4px;
    white-space: nowrap;
    transform: scale(1);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    will-change: transform;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.button:hover::before {
    left: 100%;
}

.button:active {
    transform: scale(0.95);
}

.button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 30px rgba(227, 27, 35, 0.3);
}

.button i {
    transition: transform 0.3s;
}

.button:hover i {
    transform: translateX(5px);
}

.button .fa-spinner {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.button-primary:hover {
    background-color: var(--color-red-dark);
}

.button-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-red);
}

.button-secondary:hover {
    background-color: var(--color-red);
}

.button-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-outline:hover {
    border-color: var(--color-red);
    background: var(--color-red-transparent);
}

@media (max-width: 768px) {
    .button {
        padding: 14px 24px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
        white-space: normal;
        min-height: 44px;
    }
}

/* ===== SECTION TAGS ===== */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-red);
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    padding-left: 30px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--color-red);
    transform: translateY(-50%);
}

/* ===== SECTION ANIMATIONS ===== */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HEADER with Diamond Menu ===== */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

@supports (padding: max(0px)) {
    .site-header {
        padding-top: max(20px, env(safe-area-inset-top));
    }
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 70px;
}

/* Diamond Menu Container */
.menu-diamond-container {
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
}

/* Diamond Button - Rotated 45 Degrees */
.menu-diamond-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    outline: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.diamond-rotated {
    width: 50px;
    height: 50px;
    position: relative;
    transform: rotate(45deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-diamond-btn:hover .diamond-rotated {
    transform: rotate(90deg) scale(1.1);
}

.diamond-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-red);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-red);
    transition: all 0.3s;
}

.menu-diamond-btn:hover .diamond-center {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 20px var(--color-red);
}

.diamond-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-diamond-btn:hover .diamond-dot {
    background: var(--color-red);
    box-shadow: 0 0 10px var(--color-red);
    transform: scale(1.5);
}

.diamond-dot.top {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.diamond-dot.right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

.diamond-dot.bottom {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.diamond-dot.left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

/* Dropdown Menu */
.diamond-dropdown {
    position: absolute;
    top: 70px;
    left: 0;
    width: 240px;
    max-width: 90vw;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.dropdown-menu {
    list-style: none;
    padding: 8px 0;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-link {
    display: block;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    min-height: 44px;
}

.dropdown-link:hover {
    background: var(--color-red-transparent);
    color: var(--color-white);
    border-left-color: var(--color-red);
    padding-left: 30px;
}

.dropdown-link.active {
    background: var(--color-red-transparent);
    color: var(--color-white);
    border-left-color: var(--color-red);
}

.dropdown-cta {
    background: var(--color-red);
    color: var(--color-white) !important;
    margin: 8px 16px;
    padding: 12px 16px;
    border-radius: 4px;
    text-align: center;
    border-left: none !important;
    font-weight: 600;
}

.dropdown-cta:hover {
    background: var(--color-white);
    color: var(--color-black) !important;
    padding-left: 16px !important;
}

/* Centered Clean Logo with Red Dashes */
.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    white-space: nowrap;
    z-index: 1;
}

.logo-clean {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-clean .logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.logo-dash {
    width: 30px;
    height: 2px;
    background: var(--color-red);
    transition: width 0.3s;
}

.logo-clean:hover .logo-dash {
    width: 40px;
}

/* Right spacer for balance */
.header-spacer {
    width: 50px;
    visibility: hidden;
    flex-shrink: 0;
}

/* Responsive Header */
@media (max-width: 992px) {
    .logo-clean .logo-text {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .logo-clean {
        gap: 12px;
    }
    
    .logo-dash {
        width: 25px;
    }
    
    .header-spacer {
        width: 45px;
    }
}

@media (max-width: 768px) {
    .logo-center {
        position: relative;
        left: 0;
        transform: none;
        margin: 0 auto;
    }
    
    .logo-clean .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }
    
    .logo-clean {
        gap: 10px;
    }
    
    .logo-dash {
        width: 20px;
    }
    
    .header-spacer {
        width: 40px;
    }
    
    .diamond-dropdown {
        left: 0;
        top: 60px;
        width: 200px;
    }
    
    .menu-diamond-container {
        z-index: 1003;
    }
}

/* ===== MOBILE MENU FIX - SINGLE MENU ICON ON LEFT ===== */

/* Ensure diamond menu is visible on mobile */
@media (max-width: 768px) {
    .menu-diamond-container {
        display: block !important; /* Force display on mobile */
        z-index: 1003;
    }
    
    /* Hide the separate mobile nav completely - we don't need it */
    .mobile-nav {
        display: none !important;
    }
    
    /* Hide any mobile menu toggle that might appear */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Adjust diamond dropdown for mobile */
    .diamond-dropdown {
        left: 0;
        top: 60px;
        width: 220px;
        max-width: 80vw;
    }
    
    /* Make diamond button slightly larger for easier tapping */
    .menu-diamond-btn {
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
    }
    
    .diamond-rotated {
        width: 40px;
        height: 40px;
    }
    
    /* Ensure logo stays centered */
    .logo-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    
    /* Adjust spacer to maintain balance */
    .header-spacer {
        width: 48px; /* Match diamond button width for balance */
        visibility: hidden;
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .diamond-rotated {
        width: 35px;
        height: 35px;
    }
    
    .menu-diamond-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
    }
    
    .header-spacer {
        width: 44px;
    }
    
    .logo-clean .logo-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .logo-dash {
        width: 15px;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .logo-clean .logo-text {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .logo-dash {
        width: 10px;
    }
    
    .logo-clean {
        gap: 5px;
    }
}

/* Ensure dropdown is above all content */
.diamond-dropdown {
    z-index: 2000; /* Higher z-index to ensure it appears above everything */
}

/* Style dropdown for mobile */
@media (max-width: 768px) {
    .diamond-dropdown {
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        border: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .dropdown-link {
        padding: 15px 20px; /* Larger touch targets */
        font-size: 1.1rem;
    }
    
    .dropdown-cta {
        margin: 10px 15px;
        padding: 15px 20px;
    }
}

/* Remove any leftover mobile menu code */
.mobile-nav,
.mobile-nav-close,
.mobile-menu-toggle {
    display: none !important;
}

@media (max-width: 480px) {
    .logo-clean .logo-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .logo-clean {
        gap: 8px;
    }
    
    .logo-dash {
        width: 15px;
    }
    
    .header-spacer {
        width: 35px;
    }
    
    .dropdown-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-black);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    padding-top: 60px;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-close {
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 2001;
}

.mobile-nav-close:hover {
    color: var(--color-red);
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    padding: 0 15px;
    width: 100%;
}

.mobile-nav li {
    margin: 15px 0;
}

.mobile-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
    display: block;
    padding: 12px;
    min-height: 44px;
}

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

.mobile-cta {
    background: var(--color-red);
    padding: 15px 40px !important;
    display: inline-block !important;
    border-radius: 4px;
    font-size: 1.3rem !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(227, 27, 35, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}

@media (max-width: 768px) {
    .hero-video-bg video {
        display: none;
    }
    
    .video-fallback {
        display: block;
    }
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-red-transparent);
    border: 1px solid var(--color-red);
    color: var(--color-white);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    border-radius: 4px;
}

.hero-title {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
}

.hero-subhead {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-ctas .button {
    min-width: 200px;
}

@media (max-width: 768px) {
    .hero-ctas {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-ctas .button {
        width: 100%;
        min-width: auto;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-red), transparent);
    margin: 10px auto 0;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0.3); transform-origin: bottom; }
}

/* ===== INTRO SECTION ===== */
.intro-section {
    background: linear-gradient(135deg, var(--color-dark-grey) 0%, var(--color-black) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    width: 100%;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-red-transparent) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.intro-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 2rem;
}

.highlight-block {
    background: var(--color-red-transparent);
    border-left: 3px solid var(--color-red);
    padding: 20px;
    margin-top: 2rem;
    border-radius: 0 4px 4px 0;
}

.highlight-block p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-white);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-red);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-red);
    line-height: 1;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .intro-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===== WHO WE WORK WITH ===== */
.whowe-section {
    background: var(--color-black);
    padding: 100px 0;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-header.light {
    color: var(--color-white);
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
}

.whowe-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

@media (max-width: 1200px) {
    .whowe-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .whowe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

.whowe-card {
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    will-change: transform;
    backface-visibility: hidden;
}

.whowe-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-red);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.whowe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--color-red-transparent) 0%, transparent 100%);
    transition: height 0.5s;
    z-index: -1;
}

.whowe-card:hover::before {
    height: 100%;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-smooth);
}

.card-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.whowe-card:hover .card-icon {
    transform: rotate(360deg);
    background: var(--color-white);
}

.whowe-card:hover .card-icon i {
    color: var(--color-red);
}

.whowe-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.whowe-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.whowe-footnote {
    text-align: center;
    font-size: 1.3rem;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

/* ===== DIFFERENTIATORS FLIP CARDS ===== */
.diff-section {
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)), url('***INSERT DIFF BACKGROUND***');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
    width: 100%;
    overflow: hidden;
}

.diff-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

@media (max-width: 992px) {
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.diff-card {
    perspective: 1500px;
    height: 350px;
    cursor: pointer;
    width: 100%;
}

@media (max-width: 768px) {
    .diff-card {
        height: 300px;
    }
}

.diff-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.diff-card:hover .diff-card-inner {
    transform: rotateY(180deg);
}

@media (max-width: 768px) {
    .diff-card.touch-active .diff-card-inner {
        transform: rotateY(180deg);
    }
}

.diff-front, .diff-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: rotateY(0deg);
    border-radius: 8px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .diff-front, .diff-back {
        padding: 20px 15px;
    }
}

.diff-front {
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.diff-back {
    background: var(--color-red);
    color: var(--color-white);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.diff-icon {
    width: 80px;
    height: 80px;
    background: var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.diff-icon i {
    font-size: 2.5rem;
    color: var(--color-white);
}

.diff-front h3 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin: 0;
}

.diff-back p {
    color: var(--color-white);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.cta-block {
    text-align: center;
    margin-top: 50px;
    width: 100%;
}

.cta-block .button-primary {
    background-color: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
    padding: 16px 40px;
    font-size: 1rem;
}

.cta-block .button-primary:hover {
    background-color: transparent;
    color: var(--color-red);
}

.cta-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 1rem;
}

/* ===== ABOUT SECTION (OUR PHILOSOPHY) ===== */
.about-section {
    background: var(--color-dark-grey);
    padding: 100px 0;
    width: 100%;
    overflow: visible;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    width: 100%;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-content {
    width: 100%;
    max-width: 100%;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Accordion */
.framework-accordion {
    margin-top: 30px;
    width: 100%;
}

.accordion-item {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
    transition: background 0.3s;
    min-height: 44px;
}

.accordion-header:hover {
    background: var(--color-red-transparent);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-white);
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
    }
}

.accordion-icon {
    color: var(--color-red);
    font-size: 1rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 25px;
    width: 100%;
    box-sizing: border-box;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 25px 20px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .accordion-item.active .accordion-content {
        padding: 0 20px 15px;
    }
}

/* Styled List */
.styled-list {
    list-style: none;
    margin-bottom: 1.5rem;
    width: 100%;
}

.styled-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    width: 100%;
    word-wrap: break-word;
}

.styled-list li i {
    color: var(--color-red);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

@media (max-width: 768px) {
    .styled-list li {
        font-size: 0.95rem;
    }
}

.warning-note {
    color: var(--color-red);
    font-weight: 500;
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(227, 27, 35, 0.1);
    border-left: 3px solid var(--color-red);
    width: 100%;
    box-sizing: border-box;
}

/* About Visual Grid */
.about-visual {
    position: relative;
    width: 100%;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.visual-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    transition: all 0.5s;
    filter: grayscale(100%);
    border-radius: 4px;
    width: 100%;
}

.visual-item:hover {
    filter: grayscale(0);
    transform: scale(1.05);
    z-index: 2;
}

@media (max-width: 992px) {
    .visual-grid {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ===== VIDEO PREVIEWS & MODAL ===== */
.media-preview {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.media-preview:hover .preview-image {
    transform: scale(1.05);
}

.media-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.media-preview:hover::after {
    opacity: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    background: var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(227, 27, 35, 0.4);
}

.media-preview:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-white);
    color: var(--color-red);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 1000px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--color-red);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.video-modal-close:hover {
    background: white;
    color: var(--color-red);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .video-modal-close {
        top: -60px;
        right: 10px;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== BESPOKE SECTION ===== */
.bespoke-section {
    background: var(--color-black);
    padding: 100px 0;
    width: 100%;
}

.bespoke-tabs {
    width: 100%;
}

.tab-headers {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    width: 100%;
}

.tab-headers::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    flex-shrink: 0;
    min-height: 44px;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-red);
    transition: width 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--color-white);
}

.tab-btn.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .tab-headers {
        gap: 5px;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

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

.tab-content-text ul {
    list-style: none;
}

.tab-content-text li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.tab-content-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.tab-content-image {
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
}

.tab-content-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
    filter: grayscale(100%);
}

.tab-content-image:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

/* ===== PATHWAYS TIMELINE ===== */
.pathways-section {
    background: var(--color-dark-grey);
    padding: 100px 0;
    width: 100%;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-red), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-red);
    border: 3px solid var(--color-white);
    z-index: 2;
}

.timeline-content {
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    transition: all 0.3s;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: var(--color-red);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-marker {
        left: 1px;
    }
    
    .timeline-content {
        padding: 20px;
    }
}

/* ===== PROCESS STEPS ===== */
.process-section {
    background: var(--color-black);
    padding: 100px 0;
    width: 100%;
}

.process-steps {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
    padding: 20px;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.step:hover {
    transform: translateX(20px);
    border-color: var(--color-red);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-red);
    line-height: 1;
    min-width: 80px;
}

.step-content h3 {
    margin-bottom: 5px;
    color: var(--color-white);
}

.step-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        min-width: auto;
    }
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-section {
    background: var(--color-black);
    padding: 100px 0;
}

.testimonials-carousel {
    padding: 20px 0 60px;
}

.testimonial-card {
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 40px 30px;
    margin: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-red);
    box-shadow: 0 30px 40px -20px rgba(227, 27, 35, 0.3);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: var(--color-red);
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-red);
}

.author-info h4 {
    margin: 0 0 5px;
    color: var(--color-white);
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Swiper customization */
.swiper-button-prev,
.swiper-button-next {
    width: 45px !important;
    height: 45px !important;
    background: rgba(227, 27, 35, 0.9) !important;
    border-radius: 50%;
    color: white !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1.2rem !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--color-red) !important;
}

@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px !important;
        height: 10px !important;
    }
}

.swiper-pagination-bullet {
    background: var(--color-white) !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--color-red) !important;
    opacity: 1;
}

/* ===== APPLY SECTION ===== */
.apply-section {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-grey) 100%);
    padding: 100px 0;
    width: 100%;
}

.apply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

@media (max-width: 992px) {
    .apply-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.apply-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--color-red-transparent);
    border: 1px solid var(--color-red);
    margin: 30px 0;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.apply-card .card-icon i {
    font-size: 2rem;
    color: var(--color-red);
}

.apply-card h4 {
    color: var(--color-white);
}

.apply-card p {
    margin: 0;
}

.apply-section .button-primary {
    margin-top: 20px;
}

.apply-visual {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
}

.visual-overlay img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.visual-overlay:hover img {
    filter: grayscale(0);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--color-black);
    padding: 100px 0;
    width: 100%;
}

.service-category {
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.3s;
    min-height: 44px;
}

.category-header:hover {
    background: var(--color-red-transparent);
}

.category-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.category-header i {
    color: var(--color-red);
}

.toggle-icon {
    color: var(--color-red);
    flex-shrink: 0;
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: var(--color-dark-grey);
    width: 100%;
}

.category-content.active {
    max-height: 800px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.service-item {
    padding: 25px;
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    will-change: transform;
    backface-visibility: hidden;
}

.service-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--color-red);
    box-shadow: var(--shadow-hover);
}

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

.service-tag {
    display: inline-block;
    margin-top: 15px;
    padding: 4px 12px;
    background: var(--color-red-transparent);
    color: var(--color-red);
    font-size: 0.8rem;
    border-radius: 20px;
}

.principles-block {
    margin: 50px 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
    width: 100%;
}

.principle-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s;
}

.principle-item:hover {
    border-color: var(--color-red);
    transform: translateY(-3px);
}

.principle-item i {
    font-size: 1.5rem;
    color: var(--color-red);
}

.cta-wrapper {
    text-align: center;
    margin-top: 50px;
    width: 100%;
}

.confidentiality-note {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

/* ===== CLUBS SECTION ===== */
.clubs-section {
    background: var(--color-dark-grey);
    padding: 100px 0;
    width: 100%;
}

.clubs-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    width: 100%;
}

@media (max-width: 992px) {
    .clubs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.info-block {
    margin-bottom: 40px;
    width: 100%;
}

.info-block h3 {
    margin-bottom: 15px;
}

.info-block ul {
    list-style: none;
}

.info-block li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.info-block li i {
    color: var(--color-red);
}

.inquiry-form {
    background: var(--color-black);
    padding: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.inquiry-form h3 {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .inquiry-form {
        padding: 25px;
    }
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    background: var(--color-dark-grey);
    border: 1px solid var(--glass-border);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.3s;
    cursor: text;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
    background: var(--color-black);
}

/* Form Validation States */
.form-group.valid input,
.form-group.valid select,
.form-group.valid textarea {
    border-color: #4CAF50;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: var(--color-red);
}

.validation-icon {
    position: absolute;
    right: 15px;
    top: 38px;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.form-group.valid .validation-icon {
    color: #4CAF50;
}

.form-group.invalid .validation-icon {
    color: var(--color-red);
}

.error-message {
    color: var(--color-red);
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

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

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    margin-top: 20px;
}

/* ===== APPLY POPUP MODAL ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: var(--color-dark-grey);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.popup-overlay.active .popup-container {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--color-red);
}

.popup-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--glass-border);
}

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

.popup-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.popup-form {
    padding: 30px;
}

/* Progress Bar */
.form-progress {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-medium-grey);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
    cursor: default;
}

.progress-step.active {
    background: var(--color-red);
    color: var(--color-white);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--glass-border);
    margin: 0 5px;
}

@media (max-width: 480px) {
    .form-progress {
        margin-bottom: 20px;
    }
    
    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .progress-line {
        margin: 0 3px;
    }
}

/* Form Steps */
.form-step {
    display: none;
}

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

.form-step h3 {
    color: var(--color-white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    border-left: 3px solid var(--color-red);
    padding-left: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 25px 0 15px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--color-red);
    cursor: pointer;
}

.form-checkbox label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.form-navigation .button {
    flex: 1;
}

.form-navigation .button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 480px) {
    .form-navigation {
        flex-direction: column;
    }
}

/* Success Message */
.popup-success {
    padding: 50px 30px;
    text-align: center;
    display: none;
    position: relative;
    z-index: 10002;
}

.popup-success.show {
    display: block;
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-icon i {
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.3));
}

.popup-success h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.popup-success p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.popup-success .button {
    margin-top: 20px;
}

/* ===== COMPLETE FORM CURSOR FIXES ===== */
@media (min-width: 769px) {
    /* Hide custom cursor over form inputs - use system cursor instead */
    .form-group input,
    .form-group select,
    .form-group textarea,
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group input[type="number"] {
        cursor: text !important;
        caret-color: var(--color-red);
    }
    
    .form-group select,
    .form-group input[type="checkbox"],
    .form-group input[type="radio"],
    .form-group label,
    .form-checkbox label,
    .button,
    .popup-close,
    .dropdown-link,
    .tab-btn,
    .accordion-header,
    .category-header,
    .menu-diamond-btn,
    .mobile-menu-toggle,
    .mobile-nav-close,
    .back-to-top {
        cursor: pointer !important;
    }
    
    /* Ensure custom cursor doesn't block form interaction */
    .custom-cursor,
    .custom-cursor-follower {
        pointer-events: none;
        z-index: 9999;
    }
    
    /* Lower cursor z-index when modal is open to not interfere */
    .popup-overlay.active ~ .custom-cursor,
    .popup-overlay.active ~ .custom-cursor-follower {
        z-index: 9998;
    }
    
    /* Raise popup content above cursor */
    .popup-container,
    .popup-close,
    .popup-form input,
    .popup-form select,
    .popup-form textarea,
    .popup-form button,
    .popup-success {
        position: relative;
        z-index: 10003;
    }
    
    /* Hide custom cursor when typing in inputs */
    .form-group input:focus,
    .form-group textarea:focus {
        cursor: text !important;
    }
    
    .form-group input:focus ~ .custom-cursor,
    .form-group input:focus ~ .custom-cursor-follower,
    .form-group textarea:focus ~ .custom-cursor,
    .form-group textarea:focus ~ .custom-cursor-follower {
        opacity: 0 !important;
    }
}

/* Fix for text selection in forms */
.form-group input::selection,
.form-group textarea::selection {
    background: var(--color-red);
    color: white;
}

/* Fix for autofill styles */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--color-dark-grey) inset !important;
    -webkit-text-fill-color: white !important;
    caret-color: var(--color-red);
}

/* Fix cursor on mobile */
@media (max-width: 768px) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }
    
    body, 
    .form-group input,
    .form-group select,
    .form-group textarea,
    .button,
    a {
        cursor: auto !important;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-black);
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    width: 100%;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand .logo-clean-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-brand .logo-clean-footer .logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-white);
}

.footer-brand .logo-clean-footer .logo-dash {
    width: 20px;
    height: 2px;
    background: var(--color-red);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 50%;
}

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

.footer-links h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--color-red);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    width: 100%;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-red);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(227, 27, 35, 0.3);
}

@supports (bottom: max(0px)) {
    .back-to-top {
        bottom: max(30px, env(safe-area-inset-bottom));
        right: max(30px, env(safe-area-inset-right));
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-white);
    color: var(--color-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(227, 27, 35, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== NETWORK STATUS INDICATOR ===== */
.network-status {
    position: fixed;
    bottom: 80px;
    left: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none;
    transition: opacity 0.3s;
}

@supports (bottom: max(0px)) {
    .network-status {
        bottom: max(80px, env(safe-area-inset-bottom));
        left: max(20px, env(safe-area-inset-left));
    }
}

.network-status.online {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

.network-status.offline {
    background: rgba(244, 67, 54, 0.95);
    color: white;
}

/* ===== ERROR STATES ===== */
.error-highlight {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

.error {
    border-color: var(--color-red) !important;
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ===== SUCCESS FLASH ===== */
.success-flash {
    animation: successFlash 0.5s ease;
}

@keyframes successFlash {
    0% { background-color: rgba(76, 175, 80, 0); }
    30% { background-color: rgba(76, 175, 80, 0.2); }
    100% { background-color: rgba(76, 175, 80, 0); }
}

/* ===== IMAGE LOADING ===== */
img {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
*:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 4px;
}

/* ===== UTILITY CLASSES ===== */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .popup-overlay,
    .video-modal,
    .network-status,
    .hero-video-bg,
    .custom-cursor,
    .custom-cursor-follower,
    .hero-ctas,
    .hero-scroll-indicator,
    .button {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
        cursor: default;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section {
        opacity: 1 !important;
        transform: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, p {
        color: black;
    }
    
    .accent, .gradient-text {
        color: var(--color-red);
        -webkit-text-fill-color: var(--color-red);
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
    
    .whowe-card,
    .diff-card,
    .service-item,
    .testimonial-card {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* ===== REDUCED MOTION PREFERENCES ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .diamond-rotated,
    .diamond-dot,
    .button,
    .whowe-card,
    .service-item,
    .hero-section::before,
    .intro-section::before,
    .diff-section::before {
        transition: none !important;
        animation: none !important;
    }
    
    .hero-section,
    .intro-section,
    .diff-section {
        background-attachment: scroll !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}