@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --primary-color: #002147; /* Navy Blue from Logo */
    --accent-color: #C8102E; /* Red from Logo */
    --text-color: #1A1A1A;
    --light-text: #666666;
    --light-bg: #F8FAFC;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}


.container {
    max-width: 1300px; /* Increased for wider footer */
    margin: 0 auto;
    padding: 0 40px;
}

/* NAVBAR */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1001; /* Must sit higher than the slide drawer */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.hamburger, .close-menu {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px; /* Reduced height for better fit in navbar */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    white-space: nowrap; /* Prevents text from breaking into lines */
    text-align: center;
}

.btn-primary {
    background: var(--accent-color); /* British Red */
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: #a50d26; /* Darker red */
    border-color: #a50d26;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200,16,46,0.2);
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

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

/* HERO SECTION */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 600px;
    height: 600px;
    background: rgba(0, 33, 71, 0.03);
    border-radius: 50%;
    z-index: 0;
}

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

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

/* WHY CHOOSE US */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}



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

.feature-card {
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #eff2f5;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(200, 16, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* PROGRAMMES (Luxurious Light Mode) */
.programmes {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 33, 71, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(179, 30, 40, 0.04) 0px, transparent 50%);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.programmes::before {
    display: none; /* remove dark mode glow */
}

.programmes .container {
    position: relative;
    z-index: 1;
}

.programmes h2 {
    color: var(--primary-color);
}

.programmes-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 100px; /* Increased horizontal gap for breathing room */
    margin-top: 60px;
    position: relative;
    padding: 20px 0;
}

/* Central dashed line */
.programmes-list::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background-image: linear-gradient(to bottom, #cbd5e1 50%, transparent 50%);
    background-size: 2px 14px;
    background-repeat: repeat-y;
    z-index: 1;
}

.prog-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Pulsing red ring */
.prog-item::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(179,30,40,0.06);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Solid inner red dot */
.prog-item::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(179,30,40,0.4);
    z-index: 3;
    transition: all 0.3s ease;
}

/* Snap dot perfectly to the center line (math based on 100px gap) */
.prog-item:nth-child(odd)::before { right: -66px; }
.prog-item:nth-child(odd)::after { right: -56px; }

.prog-item:nth-child(even)::before { left: -66px; }
.prog-item:nth-child(even)::after { left: -56px; }

.prog-item:hover::before {
    background: rgba(179,30,40,0.18);
}

.prog-item:hover::after {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 15px rgba(179,30,40,0.6);
}

/* The actual Card */
.prog-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    padding: 30px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    flex-grow: 1; /* Stretch to fill flex space */
}

.prog-item:hover .prog-card {
    transform: translateX(10px); /* Slide slightly right to indicate forward progress */
    box-shadow: 0 15px 35px rgba(0,33,71,0.06);
    border-color: rgba(0,33,71,0.08);
}

.prog-icon {
    font-size: 1.6rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent-color), #d32f2f);
    width: 65px;
    height: 65px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(179, 30, 40, 0.25);
    border: none;
}

.prog-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.prog-content p {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.6;
    margin: 0;
}

/* CTA SECTION */
.cta-banner {
    background-color: var(--accent-color);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 30px 30px; 
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.8rem; /* Matched with other section headers */
    margin-bottom: 24px;
}

.cta-banner p {
    font-size: 1.25rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center; /* Explicitly centering the text */
}

.cta-banner.primary {
    background-color: var(--primary-color);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

/* SUBPAGE HERO PATTERN */
.subpage-hero {
    padding: 100px 0 60px;
    text-align: center;
    background-color: #f8fafc;
    background-image: 
        linear-gradient(rgba(200, 16, 46, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 16, 46, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    border-bottom: 1px solid #edf2f7;
}

.subpage-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.subpage-hero p {
    font-size: 1.3rem; /* Clearer font size */
    color: #4A5568; 
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
}

.newsletter-box {
    margin-top: 15px; 
    display: flex; 
    gap: 0;
}

.newsletter-input {
    padding: 14px 18px; 
    border-radius: 8px 0 0 8px; 
    border: 1px solid rgba(255,255,255,0.1); 
    flex: 1; /* Natural scaling */
    min-width: 0; /* Prevents overflow */
    background: rgba(255,255,255,0.05); 
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-color);
}

.newsletter-btn {
    padding: 14px 20px;
    border-radius: 0 8px 8px 0;
    border: none;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    background: var(--accent-color);
    color: var(--white);
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #011226;
    color: rgba(255,255,255,0.7);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.8fr 2fr;
    gap: 60px;
}

footer .container {
    padding: 0 60px;
}

.footer-logo img, .footer-brand img {
    height: 38px;
    margin-bottom: 12px; /* Reduced space */
}

.footer-logo p, .footer-brand p {
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem; /* Slightly smaller than titles */
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 15px; /* Exact size requested */
    letter-spacing: 0.8px;
}

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

.footer-links li a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    white-space: nowrap; /* Prevent breaking across lines */
}

.footer-links li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    font-size: 0.85rem;
}

.social-links {
    margin-top: 30px; /* More space from text */
    display: flex;
    gap: 20px; /* Balanced spacing between icons */
}

.social-links a {
    font-size: 1.5rem; /* Larger icons */
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    /* Optimize Hero Space */
    .hero-grid { display: flex; flex-direction: column; text-align: left; align-items: flex-start; gap: 0; }
    .hero-content { display: contents; } 
    .hero h1 { font-size: 2rem; order: 1; margin-bottom: 15px; line-height: 1.2; }
    .hero p { order: 2; margin-bottom: 20px; font-size: 1rem; }
    .hero-img { order: 3; margin: 0 0 25px 0; width: 100%; border-radius: 15px; overflow: hidden; }
    .hero-img img { height: auto; object-fit: contain; display: block; width: 100%; }
    .hero-btns { order: 4; justify-content: flex-start; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* MOBILE RESPONSIVE NAV */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-btn { display: none; }
    /* Standard Mobile Overlay */
    .container {
        padding: 0 15px; 
    }



    footer .container {
        padding: 0 15px; 
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        display: contents;
    }

    .hero h1 { 
        order: 1; 
        font-size: 2.2rem; 
        margin-bottom: 15px;
    }

    .hero p { 
        order: 2; 
        margin-bottom: 25px; 
    }

    .hero-btns {
        order: 4; /* Buttons now at the bottom of the content block */
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
        gap: 15px;
    }

    .hero-img { 
        order: 3; /* Image above buttons */
        width: 100%;
        margin-bottom: 25px;
    }

    .mobile-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1050; /* Above header */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        position: fixed;
        top: 0; 
        right: -100%; 
        left: auto; 
        width: 80%;
        max-width: 320px;
        height: 100vh; 
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 25px;
        padding: 30px 30px 40px; /* Adjusted for flex close button */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1); 
        display: flex; 
        text-align: left;
        transition: right 0.4s ease; 
        z-index: 1100; /* Over everything including the overlay */
    }
    
    /* Dedicated Close Button for Mobile Drawer - Flex Alignment */
    .close-menu {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
        padding: 0 !important; /* Removed large bottom padding */
        margin-bottom: -5px !important; /* Tighter gap to first item */
        border-bottom: none !important;
        background: transparent !important;
    }
    
    .close-menu i {
        font-size: 2rem;
        color: var(--accent-color) !important;
        cursor: pointer;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
    }
    
    .nav-links.active {
        right: 0; /* Slide fully in from the right */
    }
    .features-grid { grid-template-columns: 1fr; gap: 30px; }
    .feature-card { padding: 30px; }
    .feature-icon { width: 60px; height: 60px; margin-bottom: 20px; }
    .feature-icon i { font-size: 1.5rem; }
    .feature-card h3 { font-size: 1.3rem; }
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 40px 30px; 
    }
    
    .footer-brand, .footer-newsletter {
        grid-column: 1 / -1;
    }

    .footer-brand {
        margin-bottom: 40px; /* Space after Brand Info block */
    }

    .newsletter-box {
        margin-right: 25px; /* Added space on the right as requested */
    }
    
    /* Fix global sizing & overflow */
    body { overflow-x: hidden; width: 100vw; }
    .hero h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.7rem; }
    .cta-banner h2 { font-size: 1.7rem; }
    .subpage-hero h1 { font-size: 2.2rem; }

    /* Centered buttons on mobile */
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 15px;
    }
    
    .cta-banner .hero-btns {
        margin: 0 auto;
    }

    .newsletter-input {
        width: 68% !important; /* Enforced split */
        padding: 14px 12px;
    }

    .newsletter-btn {
        width: 32% !important; /* Enforced split */
        padding: 14px 0;
        font-size: 0.85rem; /* Slightly smaller to fit on one line */
    }
    
    .btn {
        width: 100%; /* Both buttons stretch to match the fit-content (the widest button) */
        padding: 14px 24px;
        font-size: 0.85rem;
        white-space: normal;
    }

    /* Mobile Timeline Fixes */
    .programmes-list { 
        grid-template-columns: 1fr; 
        padding-left: 0; 
        gap: 25px; 
    }
    
    .programmes-list::before {
        left: 25px; /* Fixed line position */
        transform: translateX(-50%);
    }
    
    .prog-item {
        padding-left: 60px; /* Gap from screen edge to card content */
        margin-left: 0;
        position: relative;
    }
    
    /* Fix timeline node alignment - snap exactly on the line */
    .prog-item::before, .prog-item::after {
        left: 25px !important; /* Perfect match with the line position */
        right: auto !important;
        z-index: 10;
        position: absolute;
    }
    
    .prog-item::before {
        transform: translate(-50%, -50%) !important; 
    }
    
    .prog-item::after {
        transform: translate(-50%, -50%) !important;
    }
    
    .prog-item:hover::after {
        transform: translate(-50%, -50%) scale(1.3);
    }
    
    /* Stack the card content vertically to fit narrow screens perfectly */
    .prog-card {
        padding: 18px 15px; /* Reduced padding */
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .prog-card h3 {
        font-size: 1.1rem; /* Smaller heading for mobile */
    }

    .prog-card p {
        font-size: 0.85rem; /* Smaller subtext */
        line-height: 1.4;
    }
    
    .prog-icon {
        width: 40px; /* Smaller icon box */
        height: 40px;
        font-size: 1.1rem;
    }

    .prog-item {
        padding-left: 50px; /* Adjusted to save space */
    }
    
    .programmes-list::before {
        left: 20px; /* Shift line to match new padding */
    }

    .prog-item::before, .prog-item::after {
        left: 20px !important;
    }
    
    .prog-item:hover .prog-card {
        transform: translateX(3px);
    }

    /* Global Mobile Section Spacing Fix (Reduced to 40px as requested) */
    .section, .hero, .cta-banner, .cta-banner.primary, .subpage-hero {
        padding: 40px 0 !important;
    }
    
    footer {
        padding: 50px 0 30px !important;
    }

    .services-overview-grid { 
        grid-template-columns: 1fr !important; /* Reverted to 1 column */
        gap: 25px !important;
    }
}

/* SUBPAGE HERO (Pattern requested by user) */
.cta-banner h2 {
    color: var(--white);
    font-size: 3rem; /* Restored size */
    font-weight: 800;
    margin-bottom: 25px;
}

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

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

/* Sticky CTA Visibility Fix */
.mobile-sticky-cta {
    display: none;
}

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

/* SECTION BACKGROUNDS (Alternating pattern) */
.grey-bg {
    background-color: #F8FAFC;
}

.experts-services-bg {
    background-color: #f8fafc91;
    position: relative;
    overflow: hidden;
}

.experts-services-bg .container {
    position: relative;
    z-index: 2;
}

/* ALTERNATIVE SERVICE DESIGN (Design B) */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-modern-card {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-modern-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.08);
}

.service-modern-icon {
    width: 60px;
    height: 60px;
    background: #fff5f5;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-modern-card:hover .service-modern-icon {
    background: var(--accent-color);
    color: #fff;
    transform: rotate(-10deg);
}

.service-modern-body h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-modern-body ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-modern-body li {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-modern-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.learn-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

@media (max-width: 768px) {
    .service-modern-card { padding: 30px; gap: 20px; }
    .service-modern-icon { width: 50px; height: 50px; font-size: 1.2rem; }
}

/* ============================================================ */
/* NEW VARIANTS FOR SERVICES SECTION */
/* ============================================================ */

/* DESIGN C: SPLIT LAYOUT */
.services-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.services-split-content h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.services-split-content p {
    font-size: 1.15rem;
    color: var(--light-text);
    margin-bottom: 40px;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.split-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.split-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,33,71,0.08);
}

.split-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.split-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.split-card p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.5;
}

/* DESIGN D: GLASSMORPHIC PREMIUM */
.services-glass-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00152e 100%);
    color: var(--white);
}

.services-glass-bg .section-header h2 {
    color: var(--white);
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    border-color: var(--accent-color);
}

.glass-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff4b6b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(200, 16, 46, 0.3);
}

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

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

/* DESIGN E: STEP PATHWAY */
.services-pathway {
    position: relative;
    padding-top: 60px;
}

.pathway-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.pathway-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
    z-index: 1;
}

.path-step {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.path-step:nth-child(even) {
    justify-content: flex-end;
}

.path-node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-color);
}

.path-content {
    width: 42%;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.path-content:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.path-content h3 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.path-content h3 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Responsive for Variants */
.btn-mobile-only { display: none; }

@media (max-width: 1024px) {
    .services-split { 
        display: flex;
        flex-direction: column;
        gap: 30px; 
        text-align: center; 
    }
    .services-split-content { order: 1; }
    .services-split-content h2 { font-size: 2rem; }
    .split-grid { order: 2; }
    .btn-desktop-only { display: none; }
    .btn-mobile-only { display: block; order: 3; margin-top: 30px; }
    
    .glass-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .services-split-content h2 { font-size: 1.7rem; }
    .services-split-content p { font-size: 1rem; margin-bottom: 30px; }
    .btn-mobile-only { display: block; order: 3; margin-top: 20px; }
    
    .glass-grid { grid-template-columns: 1fr; }
    .pathway-container::before { left: 20px; }
    .path-step, .path-step:nth-child(even) { justify-content: flex-start; padding-left: 60px; }
    .path-node { left: 20px; }
    .path-content { width: 100%; }
}
