/* Brand Colors & Variables */
:root {
    --deep-navy: #0F1F3A;
    --wiz-blue: #1E88E5;
    --light-blue: #4FC3F7;
    --soft-gold: #F5C15A;
    --slate-gray: #64748B;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--deep-navy);
    line-height: 1.6;
}

/* Optimized Header for Large Logo */
.main-header {
    background-color: var(--white);
    padding: 10px 5%; 
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    /* Increased height to allow the logo to actually breathe */
    min-height: 100px; 
    display: flex;
    align-items: center;

}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    /* We are switching to width-based sizing for better prominence */
    width: 180px; 
    height: auto;
    display: block;
    object-fit: contain;
    /* A slight scale to ensure it looks crisp */
    transform: scale(1.1);
    transform-origin: left center;
}

.logo-area {
    display: flex;
    align-items: center;
    /* This ensures the logo area takes up enough horizontal space */
    flex: 0 0 400px;
}

/* Adjust Header to accommodate the larger logo */
.main-header {
    background-color: var(--white);
    padding: 5px 5%; /* Reduced padding to keep header height reasonable */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Adjust Nav Menu to stay aligned with the larger logo */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #0F1F3A;
    font-weight: 700;
    font-size: 18px; /* Slightly bigger text to match the big logo */
}

.nav-menu a:hover {
    color: var(--wiz-blue);
}

/* Button Styles */
.btn-cta {
    background: linear-gradient(135deg, var(--wiz-blue), var(--light-blue));
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.btn-cta.large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Hero Section Styles */
.hero {
    position: relative;
    padding: 180px 5% 100px;
    background: var(--deep-navy);
    background: radial-gradient(circle at center, #1a3a6d 0%, var(--deep-navy) 100%);
    color: var(--white);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Section with your Custom Image */
.hero-custom-bg {
    position: relative;
    padding: 180px 5% 100px;
    /* This points to your hero.png file */
    background: linear-gradient(rgba(15, 31, 58, 0.8), rgba(15, 31, 58, 0.8)), url('hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: gives a slight parallax feel */
    color: var(--white);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Ensure the header container adjusts to the larger logo */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 90px; /* Gives the header enough room for the bigger logo */
}

.hero-content {
    flex: 1;
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.sub-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--light-blue);
    margin-bottom: 40px;
}

/* Simple placeholder for the Hero Image/Globe visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.floating-doc {
    width: 300px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--light-blue);
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 50px rgba(79, 195, 247, 0.2);
}

/* --- MOBILE REPAIR --- */
@media (max-width: 768px) {
    /* 1. Make the header simpler */
    .main-header {
        position: relative !important; /* This stops it from floating over text */
        height: auto !important;
        padding: 20px 0 !important;
        display: block !important;
    }

    .header-container {
        flex-direction: column !important;
        gap: 10px;
        width: 100%;
    }

    /* 2. Center the Wizard Logo */
    .logo-area {
        width: 100%;
        justify-content: center;
        display: flex;
        flex: none !important;
    }

    .nav-logo {
        width: 140px !important; /* Controlled size for mobile */
        height: auto !important;
        transform: none !important;
        margin: 0 auto;
    }

    /* 3. Hide the floating header button on mobile */
    /* You already have a button in the hero, so we don't need two on a small screen */
    .header-cta {
        display: none !important; 
    }

    /* 4. Fix the Menu Links */
    .nav-menu ul {
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    /* 5. Fix the Hero Section overlap */
    .hero {
        padding-top: 40px !important; /* No more giant gap needed */
        min-height: auto !important;
        text-align: center;
    }

    .main-title {
        font-size: 28px !important;
        line-height: 1.2;
    }

/* --- FORCE MOBILE STACKING --- */
@media (max-width: 768px) {
    .grid-container {
        /* This forces the 3 cards into 1 single column */
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        width: 100% !important;
    }

    .service-card {
        /* Ensure the card takes up the full width of the phone */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 30px 15px !important;
    }

    .section-header {
        margin-bottom: 30px !important;
    }

    .section-title {
        font-size: 24px !important;
    }
}
}
}
/* Services Section Styling */
.services-grid {
    padding: 100px 5%;
    background-color: #f9fbfc; /* Very light blue-grey to pop against white */
}

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

.section-title {
    color: #0F1F3A;
    font-size: 36px;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #4A5568;
    font-size: 18px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #EBF8FF; /* Light sky blue background for icons */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

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

.service-card h3 {
    color: #0F1F3A;
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card p {
    color: #718096;
    line-height: 1.6;
}
/* Specific Fix for the Huge Mobile Logo */
@media (max-width: 768px) {
    .nav-logo {
        /* This forces the hat to stay at a reasonable size on phones */
        height: 60px !important; 
        width: auto !important;
        min-width: unset !important; /* Removes the desktop stretch */
        transform: none !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .logo-area {
        height: 70px !important; /* Matches the new logo height */
        justify-content: center !important;
        width: 100% !important;
    }
    
    .main-header {
        height: auto !important;
        padding: 10px 0 !important;
    }
}