﻿:root {
    /* Color Palette - Premium & Clean */
    --primary: #6C5DD3;
    --primary-rgb: 108, 93, 211;
    --secondary: #FF8FAC;
    --secondary-rgb: 255, 143, 172;
    --accent: #00D2D3;
    --text-main: #000000;
    --text-white: #ffffff;
    --text-light: #002736;
    --white: #FFFFFF;
    --bg-color: #fff7a05c;
    --card-bg: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.05);
    /* Spacing */
    --container-width: 1280px;
    --header-height: 80px;
    /* Fonts */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animation - Subtle Particles */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-color);
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0.03;
    animation: floatAnimation 25s infinite linear;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.shape-2 {
    bottom: 20%;
    right: 15%;
    width: 300px;
    height: 300px;
    animation-delay: -5s;
    background: linear-gradient(45deg, var(--accent), var(--secondary));
}

.shape-3 {
    top: 40%;
    right: 30%;
    width: 150px;
    height: 150px;
    animation-delay: -10s;
    background: linear-gradient(45deg, var(--primary), var(--accent));
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-50px) rotate(180deg) scale(1.1);
    }

    100% {
        transform: translateY(0) rotate(360deg) scale(1);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
    position: relative;
}

.section-flat {
    background: transparent;
}

.section-highlight {
    background: rgb(255, 243, 190);
    padding: 4rem 2rem;
    border-radius: 40px;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgb(0 0 0 / 46%);
}

/* Clean Card Styles */
.glass-card {
    background: #ebebeb;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 1px solid rgb(0 0 0 / 51%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .glass-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
        pointer-events: none;
    }

    .glass-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(108, 93, 211, 0.15);
        border-color: var(--primary);
        background: linear-gradient(145deg, #ffffff 0%, #f0f4ff 100%);
    }

.glass-header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #8E7EFF 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 93, 211, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(108, 93, 211, 0.4);
    }

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-secondary:hover {
        background: var(--primary);
        color: white;
    }

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Utility */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(108, 93, 211, 0.1), rgba(255, 143, 172, 0.1));
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    border: 1px solid rgba(108, 93, 211, 0.1);
}

/* Page Header (Hero for Subpages) */
.page-header {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
    margin-bottom: 4rem;
}

    .page-header::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(108, 93, 211, 0.6));
    }

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

    .page-header-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        font-family: var(--font-heading);
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        color: white;
    }

    .page-header-content p {
        font-size: 1.5rem;
        font-weight: 300;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        color: rgba(255, 255, 255, 0.9);
    }

/* Glass Panel Aliases and Subpage Styles */
.subpage-glass-panel,
.glass-panel {
    background: linear-gradient(145deg, #ffd77654 0%, #F5F7FA 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .subpage-glass-panel::after,
    .glass-panel::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle at center, rgba(108, 93, 211, 0.05), transparent 70%);
        pointer-events: none;
    }

    .subpage-glass-panel:hover,
    .glass-panel:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

.split-layout,
.subpage-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

    .split-layout.reverse,
    .subpage-split-layout.reverse {
        direction: rtl;
    }

        .split-layout.reverse .split-content,
        .subpage-split-layout.reverse .subpage-split-content {
            direction: ltr;
        }

.split-image-container,
.subpage-split-image-container {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations */
.animate-on-scroll,
.subpage-animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .animate-on-scroll.visible,
    .subpage-animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Utility */
.delay-100,
.subpage-delay-100 {
    transition-delay: 0.1s;
}

.delay-200,
.subpage-delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Form Styles */
.form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-line {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100px;
}

.progress-circle {
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-step.active .progress-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 10px rgba(108, 93, 211, 0.4);
}

.progress-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.progress-step.active .progress-label {
    color: var(--primary);
    font-weight: 600;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .form-step.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-main);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        padding-left: 45px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.8);
        font-family: var(--font-body);
        transition: all 0.3s ease;
    }

    .form-group textarea {
        padding-left: 15px;
        resize: vertical;
    }

    .form-group.has-icon .form-icon {
        position: absolute;
        top: 42px;
        left: 15px;
        color: var(--text-light);
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
        background: white;
        box-shadow: 0 0 0 4px rgba(108, 93, 211, 0.1);
    }

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-next,
.btn-submit,
.btn-prev {
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.btn-next,
.btn-submit {
    background: var(--primary);
    color: white;
    margin-left: auto;
}

.btn-prev {
    background: #ddd;
    color: var(--text-main);
    margin-right: auto;
}

.btn-next:hover,
.btn-submit:hover {
    background: #5a4cb1;
    transform: translateY(-2px);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

    .section-title h2 span {
        color: var(--secondary);
    }

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   HEADER COMPONENTS
   ========================================= */

/* Top Bar */
.top-bar {
    background: #38383c;
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

.top-bar-right {
    margin-left: auto;
}

.top-bar-link {
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

    .top-bar-link:hover {
        background: rgba(255, 255, 255, 0.3);
    }

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

    header nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(108, 93, 211, 0.3);
}

.logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

    .nav-menu a {
        font-weight: 500;
        color: var(--text-main);
        position: relative;
    }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--primary);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after,
        .nav-menu a.active::after {
            width: 100%;
        }

.nav-cta {
    background: #8d0024;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 143, 172, 0.4);
}

    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(255, 143, 172, 0.5);
        color: white;
    }

/* Mobile Menu Button - Animated Hamburger */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1002;
    position: relative;
    width: 35px;
    height: 30px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

    .mobile-menu-btn i {
        display: none;
    }

    .mobile-menu-btn::before,
    .mobile-menu-btn::after,
    .mobile-menu-btn span {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: var(--primary);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        left: 0;
    }

    .mobile-menu-btn::before {
        top: 0;
    }

    .mobile-menu-btn span {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-btn::after {
        bottom: 0;
    }

    /* Animated X when active */
    .mobile-menu-btn.active::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .mobile-menu-btn.active span {
        opacity: 0;
        transform: translateX(-20px);
    }

    .mobile-menu-btn.active::after {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

/* Active link styling */
.nav-menu li a.active {
    color: var(--primary);
    background: rgba(108, 93, 211, 0.05);
    border-radius: 10px;
}

/* Hero Slider */
.hero-slider {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

    .slide.active {
        opacity: 1;
    }

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .slide-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgb(74 71 96 / 80%), rgba(0, 0, 0, 0.2));
    }

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: white;
}

    .slide-content h2 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        color: white;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        opacity: 0.9;
    }

.slide-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Feature Grid (for Index) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(108, 93, 211, 0.15);
        border-color: var(--primary);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 50%;
    color: white;
}

    .feature-icon.primary {
        background: var(--primary);
        box-shadow: 0 10px 20px rgba(108, 93, 211, 0.3);
    }

    .feature-icon.secondary {
        background: var(--secondary);
        box-shadow: 0 10px 20px rgba(255, 143, 172, 0.3);
    }

    .feature-icon.accent {
        background: var(--accent);
        box-shadow: 0 10px 20px rgba(0, 210, 211, 0.3);
    }

/* Footer */
footer {
    background: #2D3436;
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-bg-square {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 40px;
    opacity: 0.05;
    transform: rotate(45deg);
}

.footer-bg-square-1 {
    top: -50px;
    left: -50px;
    background: var(--primary);
}

.footer-bg-square-2 {
    bottom: 50px;
    right: -50px;
    background: var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-circle {
    width: 65px;
    height: 65px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-col ul li {
    margin-bottom: 12px;
}

    .footer-col ul li a {
        color: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-col ul li a:hover {
            color: var(--accent);
            padding-left: 5px;
        }

.highlight-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 500;
    margin-top: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

/* Specific Home Section Styles */
.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

    .about-image-grid img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px 20px 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
}

    .testimonial-card::after {
        content: '"';
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 4rem;
        color: rgba(108, 93, 211, 0.1);
        font-family: serif;
    }

.quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 992px) {

    /* Top Bar Hidden */
    .top-bar {
        display: none;
    }

    /* Header Adjustments */
    header {
        padding: 12px 0;
    }

    .logo-circle {
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
    }

    .logo-text h1 {
        font-size: 1.05rem;
    }

    .logo-text span {
        font-size: 0.72rem;
    }

    /* Show Hamburger Button */
    .mobile-menu-btn {
        display: block;
    }

    /* Hide Desktop CTA */
    .nav-cta {
        display: none !important;
    }

    /* Mobile Navigation Menu (Slide-in) */
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 25px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }

        .nav-menu.active {
            left: 0;
        }

        .nav-menu li {
            width: 100%;
            text-align: center;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .nav-menu.active li {
            opacity: 1;
            transform: translateY(0);
        }

            .nav-menu.active li:nth-child(1) {
                transition-delay: 0.1s;
            }

            .nav-menu.active li:nth-child(2) {
                transition-delay: 0.2s;
            }

            .nav-menu.active li:nth-child(3) {
                transition-delay: 0.3s;
            }

            .nav-menu.active li:nth-child(4) {
                transition-delay: 0.4s;
            }

            .nav-menu.active li:nth-child(5) {
                transition-delay: 0.5s;
            }

            .nav-menu.active li:nth-child(6) {
                transition-delay: 0.6s;
            }

            .nav-menu.active li:nth-child(7) {
                transition-delay: 0.7s;
            }

            .nav-menu.active li:nth-child(8) {
                transition-delay: 0.8s;
            }

        .nav-menu li a {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-main);
            display: block;
            padding: 10px;
        }

            .nav-menu li a:hover,
            .nav-menu li a.active {
                color: var(--primary);
                background: rgba(108, 93, 211, 0.05);
            }

    /* Layout Adjustments */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .section {
        padding: 50px 0;
    }

    /* Feature Grid Stacking */
    .feature-grid,
    .footer-grid,
    .about-image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {

    /* Typography Scaling */
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .page-header-content p {
        font-size: 1.1rem;
    }

    .hero-slider {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    /* Grid layout to single column */
    .feature-grid,
    .footer-grid,
    .about-image-grid,
    .split-layout,
    .subpage-split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

        .about-image-grid img {
            height: 250px;
        }

    /* Split Layout Stacking Order */
    .split-layout,
    .subpage-split-layout {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

        .split-layout.reverse,
        .subpage-split-layout.reverse {
            flex-direction: column;
            direction: ltr;
        }

    /* Image containers full width */
    .split-image-container,
    .subpage-split-image-container {
        height: auto;
        /* Allow auto height to not cut off */
        min-height: 300px;
        margin-bottom: 2rem;
    }

    .split-image {
        object-fit: contain !important;
        /* Do not crop */
        height: auto !important;
        max-height: 500px;
        width: 100%;
        border-radius: 20px;
    }

    /* Form Responsive */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 25px 15px;
    }

    /* Card Optimizations */
    .glass-card,
    .testimonial-card {
        padding: 20px;
    }

    /* Footer Adjustments */
    footer {
        padding: 50px 0 0;
    }

    .footer-bg-square {
        width: 150px;
        height: 150px;
    }

    .footer-col {
        text-align: center;
    }

        .footer-col h3 {
            justify-content: center;
        }

        .footer-logo,
        .social-links,
        .footer-col ul li a,
        .highlight-info,
        .footer-contact-item {
            justify-content: center;
            text-align: center;
        }

    .footer-contact-item {
        flex-direction: column;
        gap: 5px;
    }

    .section-highlight {
        padding: 2.5rem 1.5rem;
        border-radius: 25px;
    }
}

@media (max-width: 640px) {
    .logo-section {
        gap: 10px;
    }

    .logo-circle {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .logo-text span {
        font-size: 0.65rem;
    }

    header {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 12px;
    }

    header nav {
        gap: 10px;
    }

    .logo-section {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .logo-circle {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }

    .logo-text {
        flex: 1;
        min-width: 0;
    }

        .logo-text h1 {
            font-size: 0.85rem;
            line-height: 1.3;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .logo-text span {
            font-size: 0.6rem;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .mobile-menu-btn {
        width: 30px;
        height: 25px;
        flex-shrink: 0;
    }

        .mobile-menu-btn::before,
        .mobile-menu-btn::after,
        .mobile-menu-btn span {
            height: 2.5px;
        }
}

@media (max-width: 380px) {
    .logo-text h1 {
        font-size: 0.75rem;
    }

    .logo-text span {
        font-size: 0.55rem;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .progress-label {
        display: none;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Professional Vibrant Palette */
:root {
    --vibrant-red: #D32F2F;
    /* darker red */
    --vibrant-blue: #1976D2;
    /* darker blue */
    --vibrant-green: #388E3C;
    /* darker green */
    --vibrant-purple: #7B1FA2;
    /* darker purple */
    --vibrant-orange: #F57C00;
    /* darker orange */
    --vibrant-indigo: #303F9F;
    /* darker indigo */
    --vibrant-pink: #C2185B;
    /* darker pink */
    --vibrant-cyan: #0097A7;
    /* darker cyan */
}

/* Mobile Only Visibility */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 992px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none !important;
    }
}

/* Header Redesign */
header .container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Removed width: 100% to allow space-between to work */
}

.logo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .logo-text h1 {
        font-size: 2rem;
        margin: 0;
        color: #060031;
        text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
    }

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 10px;
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

    /* Professional Menu Colors - Active/Hover state emphasis */
    .nav-menu li a {
        color: var(--text-main);
        /* Default clean color */
        position: relative;
        transition: color 0.3s ease;
    }

    .nav-menu li:nth-child(1) a:hover,
    .nav-menu li:nth-child(1) a.active {
        color: var(--vibrant-red);
    }

    .nav-menu li:nth-child(2) a:hover,
    .nav-menu li:nth-child(2) a.active {
        color: var(--vibrant-blue);
    }

    .nav-menu li:nth-child(3) a:hover,
    .nav-menu li:nth-child(3) a.active {
        color: var(--vibrant-green);
    }

    .nav-menu li:nth-child(4) a:hover,
    .nav-menu li:nth-child(4) a.active {
        color: var(--vibrant-purple);
    }

    .nav-menu li:nth-child(5) a:hover,
    .nav-menu li:nth-child(5) a.active {
        color: var(--vibrant-orange);
    }

    .nav-menu li:nth-child(6) a:hover,
    .nav-menu li:nth-child(6) a.active {
        color: var(--vibrant-indigo);
    }

    .nav-menu li:nth-child(7) a:hover,
    .nav-menu li:nth-child(7) a.active {
        color: var(--vibrant-pink);
    }

    .nav-menu li:nth-child(8) a:hover,
    .nav-menu li:nth-child(8) a.active {
        color: var(--vibrant-cyan);
    }

    .nav-menu a {
        font-weight: 600;
        font-size: 1rem;
        padding: 5px 10px;
        border-radius: 15px;
        transition: all 0.3s ease;
    }

        .nav-menu a:hover {
            background: rgba(0, 0, 0, 0.03);
            transform: translateY(-2px);
        }

.nav-cta {
    padding: 10px 25px;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Header Responsiveness */
@media (max-width: 992px) {
    header .container {
        gap: 5px;
        position: relative;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    /* Do NOT hide header-bottom, but styling for nav-menu handles visibility */
    .header-bottom {
        display: block;
        /* Ensure it exists */
        border: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 80%;
        /* Drawer width */
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

        .nav-menu.active {
            right: 0;
            /* Slide in */
        }

        .nav-menu li {
            width: 100%;
            margin-bottom: 10px;
        }

        .nav-menu a {
            display: block;
            padding: 12px 15px;
            font-size: 1.1rem;
        }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 15px;
        /* Adjust as needed based on layout */
        right: 0;
        /* Align right */
        z-index: 1001;
        /* Above menu */
    }
}