﻿/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: #6f42c1; /* Updated to purple */
    }

    .nav-link.has-dropdown::after {
        content: '▼';
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .nav-link.active::after {
        transform: rotate(180deg);
    }

/* Compact Overlay Styles - Updated Purple Theme */
.overlay {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #6f42c1; /* Purple background */
    color: white;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    /* Auto-size to content - no fixed height */
    height: auto;
    min-height: auto;
}

    .overlay.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.overlay-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px; /* Reduced padding for compact look */
    display: flex;
    align-items: flex-start;
    gap: 60px; /* Slightly reduced gap */
}

.overlay-left {
    flex: 1;
    max-width: 400px;
}

.overlay-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.overlay-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e85aa1; /* Updated to light pink */
}

.overlay-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-button {
    background: #d63384; /* Updated to pink accent */
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

    .cta-button:hover {
        background: #b02a5b; /* Updated to dark pink */
        transform: translateX(5px);
        color: white;
    }

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

    .service-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        color: white;
        border-color: rgba(214, 51, 132, 0.3); /* Pink border on hover */
        box-shadow: 0 4px 15px rgba(214, 51, 132, 0.2);
    }

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(214, 51, 132, 0.3); /* Pink background for icons */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #e85aa1; /* Light pink icon color */
}

.service-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
    color: #d63384; /* Pink arrow */
}

.service-item:hover .service-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(214, 51, 132, 0.3); /* Pink background */
    border: none;
    font-size: 20px; /* Slightly smaller */
    cursor: pointer;
    color: white;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

    .close-btn:hover {
        background: rgba(214, 51, 132, 0.5); /* Darker pink on hover */
    }

/* Background overlay - subtle backdrop */
.overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(111, 66, 193, 0.1); /* Much more subtle backdrop */
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .overlay-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    /* Alternative backdrop options */
    .overlay-backdrop.no-backdrop {
        display: none;
    }

    .overlay-backdrop.transparent {
        background: transparent;
        pointer-events: none; /* Allow clicks to pass through */
    }

/* Enhanced service item effects */
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(214, 51, 132, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover::before {
    opacity: 1;
}

/* Gradient overlay effect */
.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6f42c1 0%, #8a63d2 100%);
    opacity: 0.95;
    z-index: -1;
}

/* Two-Tone Logo Styles */
.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

    .logo:hover {
        transform: scale(1.05);
    }

.logo-med {
    color: #d63384; /* Pink color for "Med" */
    font-weight: 700;
    animation: pulse-pink-enhanced 3s ease-in-out infinite alternate;
}

.logo-inaii {
    color: #6f42c1; /* Purple color for "inaii" */
    font-weight: 700;
    animation: pulse-purple-enhanced 3s ease-in-out infinite alternate;
    animation-delay: 1s;
}

/* Enhanced Logo Animations with Glow Effects */
@keyframes pulse-pink-enhanced {
    0% {
        color: #d63384;
        text-shadow: 0 0 5px rgba(214, 51, 132, 0.3);
    }

    100% {
        color: #e85aa1;
        text-shadow: 0 0 10px rgba(232, 90, 161, 0.5);
    }
}

@keyframes pulse-purple-enhanced {
    0% {
        color: #6f42c1;
        text-shadow: 0 0 5px rgba(111, 66, 193, 0.3);
    }

    100% {
        color: #8a63d2;
        text-shadow: 0 0 10px rgba(138, 99, 210, 0.5);
    }
}

/* Alternative Logo Animation Options */

/* Breathing Effect (Alternative) */
.logo-med-breathing {
    animation: breathe-pink 4s ease-in-out infinite;
}

.logo-inaii-breathing {
    animation: breathe-purple 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes breathe-pink {
    0%, 100% {
        color: #d63384;
        transform: scale(1);
    }

    50% {
        color: #e85aa1;
        transform: scale(1.02);
    }
}

@keyframes breathe-purple {
    0%, 100% {
        color: #6f42c1;
        transform: scale(1);
    }

    50% {
        color: #8a63d2;
        transform: scale(1.02);
    }
}

/* Gradient Flow Effect (Alternative) */
.logo-gradient-flow {
    background: linear-gradient(45deg, #d63384, #6f42c1, #d63384, #6f42c1);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 3s ease-in-out infinite;
    font-weight: bold;
    font-size: 24px;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Shimmer Effect (Alternative) */
.logo-shimmer {
    background: linear-gradient(45deg, #d63384, #e85aa1, #6f42c1, #8a63d2, #d63384);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s ease-in-out infinite;
    font-weight: bold;
    font-size: 24px;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6f42c1;
}

/* OPTION 1: Image + Two-Tone Text (Recommended) */
.logo-with-image {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

    .logo-with-image:hover {
        transform: scale(1.05);
    }

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .logo-image:hover {
        box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    }

.logo-text {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

    .logo-text .logo-med {
        color: #d63384;
        font-weight: 700;
        animation: pulse-pink-enhanced 3s ease-in-out infinite alternate;
    }

    .logo-text .logo-inaii {
        color: #6f42c1;
        font-weight: 700;
        animation: pulse-purple-enhanced 3s ease-in-out infinite alternate;
        animation-delay: 1s;
    }

/* OPTION 2: Image Only */
.logo-image-only {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

    .logo-image-only:hover {
        transform: scale(1.1);
    }

.logo-image-main {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(111, 66, 193, 0.2));
}

    .logo-image-main:hover {
        filter: drop-shadow(0 4px 15px rgba(111, 66, 193, 0.4));
        transform: rotate(5deg);
    }

/* OPTION 3: Image with Single Color Text */
.logo-with-image-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

    .logo-with-image-simple:hover {
        transform: scale(1.05);
    }

.logo-text-single {
    font-size: 24px;
    font-weight: bold;
    color: #6f42c1;
    transition: color 0.3s ease;
}

    .logo-text-single:hover {
        color: #8a63d2;
    }

/* OPTION 4: Stacked Image Above Text */
.logo-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

    .logo-stacked:hover {
        transform: scale(1.05);
    }

.logo-image-stacked {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.logo-text-stacked {
    font-size: 18px;
    font-weight: bold;
    display: flex;
}

    .logo-text-stacked .logo-med {
        color: #d63384;
        font-weight: 700;
    }

    .logo-text-stacked .logo-inaii {
        color: #6f42c1;
        font-weight: 700;
    }

/* OPTION 5: Image with Gradient Text */
.logo-with-gradient {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

    .logo-with-gradient:hover {
        transform: scale(1.05);
    }

/* Enhanced Image Effects */
.logo-image {
    animation: image-float 4s ease-in-out infinite;
}

@keyframes image-float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Special Effects for Logo Image */
.logo-image-glow {
    animation: logo-glow 3s ease-in-out infinite alternate;
}

@keyframes logo-glow {
    0% {
        filter: drop-shadow(0 2px 8px rgba(111, 66, 193, 0.2));
    }

    100% {
        filter: drop-shadow(0 4px 15px rgba(214, 51, 132, 0.3));
    }
}

/* Enhanced Mobile Navigation CSS - Add this to your overlay-navigation.css */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6f42c1;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .mobile-menu-toggle:hover {
        background-color: rgba(111, 66, 193, 0.1);
        transform: scale(1.1);
    }

/* Desktop Navigation (default) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Animation for mobile menu */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure overlays don't interfere with mobile menu */
.overlay {
    z-index: 999;
}

.mobile-menu-toggle {
    z-index: 1001;
}

.nav-menu.mobile-active {
    z-index: 1000;
}

/* ========================================= */
/* ENHANCED STYLES FOR 8-ITEM OVERLAY LAYOUT */
/* ========================================= */

/* Enhanced overlay for 8-item layout - compact version */
.overlay.enhanced-overlay {
    height: auto; /* Auto height based on content */
    max-height: none; /* Remove max-height restriction */
}

/* Override the grid layout for the enhanced 8-item view */
.overlay-right.enhanced-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: none; /* Remove fixed height */
    overflow-y: visible; /* No scrolling needed */
    padding-right: 0; /* Remove scrollbar space */
}

/* Service row container for 2x4 grid */
.service-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

    /* Updated service item styles for smaller layout */
    .service-row .service-item {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        min-height: 80px;
    }

        .service-row .service-item:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
            color: white;
            border-color: rgba(214, 51, 132, 0.3);
            box-shadow: 0 4px 15px rgba(214, 51, 132, 0.2);
            text-decoration: none;
        }

    /* Compact service icon for rows */
    .service-row .service-icon {
        width: 40px;
        height: 40px;
        background: rgba(214, 51, 132, 0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        flex-shrink: 0;
        color: #e85aa1;
    }

    /* Compact service content */
    .service-row .service-content {
        flex: 1;
        min-width: 0; /* Prevents flex item from overflowing */
    }

        .service-row .service-content h4 {
            margin: 0 0 4px 0;
            font-size: 0.95rem;
            font-weight: 600;
            color: white;
            line-height: 1.2;
        }

        .service-row .service-content p {
            margin: 0;
            font-size: 0.8rem;
            opacity: 0.8;
            line-height: 1.3;
        }

    /* Compact service arrow */
    .service-row .service-arrow {
        margin-left: 8px;
        font-size: 1.1rem;
        opacity: 0.6;
        transition: all 0.3s ease;
        color: #d63384;
        flex-shrink: 0;
    }

    .service-row .service-item:hover .service-arrow {
        transform: translateX(3px);
        opacity: 1;
    }

    /* Enhanced gradient effect for row items */
    .service-row .service-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent, rgba(214, 51, 132, 0.1));
        border-radius: 12px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .service-row .service-item:hover::before {
        opacity: 1;
    }

    /* Enhanced animations for the new layout */
    .service-row .service-item {
        animation: fadeInUp 0.6s ease-out;
    }

    .service-row:nth-child(1) .service-item {
        animation-delay: 0.1s;
    }

    .service-row:nth-child(2) .service-item {
        animation-delay: 0.2s;
    }

    .service-row:nth-child(3) .service-item {
        animation-delay: 0.3s;
    }

    .service-row:nth-child(4) .service-item {
        animation-delay: 0.4s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced hover effects with subtle pulsing */
.service-row .service-item:hover .service-icon {
    animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Special styling for the updated overlay subtitle */
.overlay-subtitle.enhanced {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* ========================================= */
/* RESPONSIVE DESIGN */
/* ========================================= */

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        padding: 20px;
        gap: 0;
        border-radius: 0 0 12px 12px;
        animation: slideDown 0.3s ease-out;
    }

        .nav-menu.mobile-active {
            display: flex;
        }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
        padding: 12px 0;
    }

        .nav-item:last-child {
            border-bottom: none;
        }

    .nav-link {
        padding: 12px 16px;
        width: 100%;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 16px;
    }

        .nav-link:hover {
            background-color: rgba(111, 66, 193, 0.1);
            color: #6f42c1 !important;
            transform: translateX(8px);
        }

        .nav-link.has-dropdown::after {
            margin-left: auto;
        }

    /* Enhanced header for mobile */
    .header-content {
        position: relative;
    }

    /* CRITICAL: Mobile Overlay Fixes */
    .overlay {
        max-height: 85vh; /* Allow more height on mobile */
        overflow-y: auto; /* Enable scrolling */
        /* Ensure the overlay can be scrolled */
    }

        .overlay.enhanced-overlay {
            max-height: 85vh; /* Override the auto height for mobile */
            overflow-y: auto; /* Enable scrolling for mobile */
        }

    /* Overlay content adjustments for mobile */
    .overlay-content {
        flex-direction: column;
        gap: 20px; /* Reduced gap for mobile */
        padding: 25px 15px; /* Reduced padding */
        min-height: auto; /* Allow content to determine height */
    }

    .overlay-left {
        max-width: 100%; /* Full width on mobile */
        margin-bottom: 10px;
    }

    .overlay-title {
        font-size: 1.8rem; /* Smaller title on mobile */
        margin-bottom: 15px;
    }

    .overlay-subtitle.enhanced {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* Grid changes for mobile */
    .overlay-right {
        grid-template-columns: 1fr;
        gap: 15px;
    }

        /* Enhanced 8-item layout for mobile - CRITICAL FIXES */
        .overlay-right.enhanced-grid {
            gap: 10px; /* Tighter spacing on mobile */
            max-height: none; /* Remove height restriction */
            overflow-y: visible; /* Allow content to flow */
            padding-right: 0;
            width: 100%;
        }

    .service-row {
        flex-direction: column; /* Stack items vertically */
        gap: 10px;
        width: 100%;
    }

        .service-row .service-item {
            min-height: 65px; /* Smaller height for mobile */
            padding: 12px;
            gap: 10px;
            width: 100%;
            margin-bottom: 5px; /* Small margin between items */
        }

        .service-row .service-icon {
            width: 35px;
            height: 35px;
            font-size: 1rem;
        }

        .service-row .service-content h4 {
            font-size: 0.9rem;
            line-height: 1.1;
        }

        .service-row .service-content p {
            font-size: 0.75rem;
            line-height: 1.2;
        }

        .service-row .service-arrow {
            font-size: 1rem;
        }

        /* Ensure all 8 items are visible */
        .service-row:nth-child(1),
        .service-row:nth-child(2),
        .service-row:nth-child(3),
        .service-row:nth-child(4) {
            display: flex; /* Ensure all rows are displayed */
            width: 100%;
        }

    /* Close button adjustments */
    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 18px;
        padding: 6px;
        z-index: 1001;
    }

    /* Improved mobile overlay experience */
    .service-item {
        padding: 12px;
        margin-bottom: 8px;
    }

    .service-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Custom scrollbar for mobile */
    .overlay::-webkit-scrollbar {
        width: 4px;
    }

    .overlay::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    .overlay::-webkit-scrollbar-thumb {
        background: rgba(214, 51, 132, 0.5);
        border-radius: 2px;
    }
}

* Small mobile devices - Extra fixes */
@media (max-width: 480px) {
    .header {
        padding: 0 15px;
    }

    .header-content {
        height: 60px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-toggle {
        font-size: 20px;
    }

    .nav-menu {
        padding: 15px;
    }

    .nav-link {
        font-size: 15px;
        padding: 10px 12px;
    }

    /* Adjust hero section margin for smaller header */
    .hero-section {
        margin-top: 60px;
    }

    /* Small mobile overlay fixes */
    .overlay {
        max-height: 80vh; /* Slightly smaller on very small screens */
        top: 60px; /* Account for smaller header */
    }

    .overlay-content {
        padding: 20px 12px; /* Even more compact on small screens */
        gap: 15px;
    }

    .overlay-title {
        font-size: 1.6rem;
    }

    .overlay-subtitle.enhanced {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .close-btn {
        top: 8px;
        right: 12px;
        font-size: 16px;
        padding: 5px;
    }

    .service-row .service-item {
        min-height: 60px;
        padding: 10px;
        gap: 8px;
    }
    
    .service-row .service-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .service-row .service-content h4 {
        font-size: 0.85rem;
    }
    
    .service-row .service-content p {
        font-size: 0.7rem;
    }

    /* Ensure CTA button is responsive */
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Tablet specific adjustments */
@media (max-width: 992px) and (min-width: 769px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 4px;
    }

    .service-row .service-item {
        padding: 14px;
        gap: 11px;
    }

    .service-row .service-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .service-row .service-content h4 {
        font-size: 0.92rem;
    }

    .service-row .service-content p {
        font-size: 0.78rem;
    }
}

/* Small mobile devices - Extra fixes */
@media (max-width: 480px) {
    .header {
        padding: 0 15px;
    }

    .header-content {
        height: 60px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-toggle {
        font-size: 20px;
    }

    .nav-menu {
        padding: 15px;
    }

    .nav-link {
        font-size: 15px;
        padding: 10px 12px;
    }

    /* Adjust hero section margin for smaller header */
    .hero-section {
        margin-top: 60px;
    }

    /* Small mobile overlay fixes */
    .overlay {
        max-height: 80vh; /* Slightly smaller on very small screens */
        top: 60px; /* Account for smaller header */
    }

    .overlay-content {
        padding: 20px 12px; /* Even more compact on small screens */
        gap: 15px;
    }

    .overlay-title {
        font-size: 1.6rem;
    }

    .overlay-subtitle.enhanced {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .close-btn {
        top: 8px;
        right: 12px;
        font-size: 16px;
        padding: 5px;
    }

    .service-row .service-item {
        min-height: 60px;
        padding: 10px;
        gap: 8px;
    }

    .service-row .service-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .service-row .service-content h4 {
        font-size: 0.85rem;
    }

    .service-row .service-content p {
        font-size: 0.7rem;
    }

    /* Ensure CTA button is responsive */
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}



/* Responsive Design for Logo with Image */
@media (max-width: 768px) {
    .logo-with-image,
    .logo-with-image-simple,
    .logo-with-gradient {
        gap: 8px;
    }

    .logo-image,
    .logo-image-main {
        width: 32px;
        height: 32px;
    }

    .logo-text,
    .logo-text-single {
        font-size: 20px;
    }

    .logo-stacked {
        gap: 3px;
    }

    .logo-image-stacked {
        width: 28px;
        height: 28px;
    }

    .logo-text-stacked {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo-image,
    .logo-image-main {
        width: 28px;
        height: 28px;
    }

    .logo-text,
    .logo-text-single {
        font-size: 18px;
    }

    .logo-image-stacked {
        width: 24px;
        height: 24px;
    }

    .logo-text-stacked {
        font-size: 14px;
    }
}


/* White Icons for Overlay - Add these CSS rules to override icon colors */

/* Original service icons - make white */
.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2); /* Light white background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: white; /* White icon color */
}

/* Enhanced grid service icons - make white */
.service-row .service-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2); /* Light white background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: white; /* White icon color */
}

/* Hover effects for white icons */
.service-item:hover .service-icon {
    background: rgba(255, 255, 255, 0.3); /* Slightly brighter on hover */
    color: white; /* Keep white on hover */
}

.service-row .service-item:hover .service-icon {
    background: rgba(255, 255, 255, 0.3); /* Slightly brighter on hover */
    color: white; /* Keep white on hover */
}

/* Mobile responsive white icons */
@media (max-width: 768px) {
    .service-row .service-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }
}

@media (max-width: 480px) {
    .service-row .service-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }
}