:root {
    --primary: #00A6FB;
    --primary-dark: #0071C5;
    --accent: #6C3DFF;
    --dark: #12123A;
    --light: #FAF9F6;
    --gray: #FAF9F6;
    --darkgray: #0a0a0a;
    --darkpurple: #121239;
    --weinerblue: #0badec;
}

@supports (font-variation-settings: normal) {
    :root {
        font-family: InterVariable, sans-serif;
    }

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1;
    /*(font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
}



body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-top: 80px;
    /* Adjust this value based on your header height */
    color: var(--dark);
    line-height: 1.6;
}

header {
    background: var(--darkpurple);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.35rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 5%;
    margin: 0 auto;
    overflow: visible;
}

/* Dropdown styles */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    /* Added small gap */
    left: 0;
    background-color: var(--darkpurple);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.35rem;
}

/* Why Clients Choose NetAra Section */
.why-choose {
    background: var(--gray);
    padding: 4rem 5% 3rem 5%;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-align: center;
    padding: 2rem 1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-choose-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.why-choose-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.why-choose-card p {
    font-size: 1rem;
    color: #444;
    margin: 0;
}

.nav-links .dropdown-menu li {
    margin: 0;
    width: 100%;
    padding: 0;
}

.nav-links .dropdown-menu a {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    text-align: left;
    color: white;
    background-color: transparent;
    transition: background-color 0.3s;
}

.nav-links .dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.nav-links .dropdown.active>a::after {
    transform: translateY(-50%) rotate(180deg);
}

.nav-links .dropdown.active .dropdown-menu {
    display: block !important;
}

.nav-links .dropdown-menu a::after {
    display: none !important;
}



/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--darkpurple);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.35rem;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--primary-dark);
}

/* Show dropdown when active */
.dropdown.active .dropdown-menu {
    display: block;
}

/*End Dropdown Styles*/



.logo {
    display: inline-block;
    height: 60px;
    /* Adjust based on your logo proportions */
}

.logo-image {
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;

}

.nav-links {
    list-style: none;
    align-items: center;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    /* Adjust based on header height */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--darkpurple);
    padding: 2rem 5%;
    gap: 1.5rem;
    overflow-y: auto;
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: visible;
}

.nav-links li {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--weinerblue);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 1.8s ease, transform 5.3s ease;
    display: inline-block;
    /* Changed from default */
    white-space: nowrap;
    /* Prevent text wrapping */
}

/* Nav-specific CTA Button */
.nav-links .cta-button {
    display: inline-flex;
    /* Better vertical alignment */
    align-items: center;
    /* Center content vertically */
    justify-content: center;
    /* Center content horizontally */
    min-height: 40px;
    /* Set minimum height */
    padding: 0.6rem 1.2rem;
    /* Ensure consistent padding */
    line-height: 0.2;
    /* Control text spacing */
    white-space: nowrap;
    /* Prevent text wrapping */
    flex-shrink: 0;
    /* Prevent shrinking */
    margin-left: 1.5rem;
    /* Match nav item spacing */
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    transform: translateY(-2px);
    color: white !important;
    /* Forces white text on hover */
}


.cta-button a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.cta-button a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    z-index: 1100;
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--darkpurple);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

    /* Ensure it's above other elements */
}

.hero {
    background: url('images/bannerv2home.png') no-repeat center center / cover;
    color: white;
    padding: 9rem 0;
    text-align: center;
    width: 100%;
    min-height: 400px;
    margin: 0;
    position: relative;
    left: 0;
    right: 0;
}

.service-hero {
    background: url('images/ManagedServicesHeader.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    padding: 4rem 0 9rem;
    text-align: center;
    width: 100vw;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-herocybersecurity {
    background: url('images/CybersecurityBanner.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    padding: 4rem 0 9rem;
    text-align: center;
    min-width: 100vw;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-herodataanalytics {
    background: url('images/DataAnalyticsBanner.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    padding: 4rem 0 9rem;
    text-align: center;
    min-width: 100vw;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-heroms {
    background: url('images/headerimagetest4.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    padding: 4rem 0 9rem;
    text-align: center;
    width: 100vw;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-heroagile {
    background: url('images/AgileBanner.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    min-width: 100vw;
    padding: 4rem 0 9rem;
    text-align: center;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-heromanage {
    background: url('images/ManagedServicesBanner.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    min-width: 100vw;
    padding: 4rem 0 9rem;
    text-align: center;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-heroinfrastructure {
    background: url('images/InfrastructureBanner.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    min-width: 100vw;
    padding: 4rem 0 9rem;
    text-align: center;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-heroprocess {
    background: url('images/OurProcessBanner.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    padding: 4rem 0 9rem;
    text-align: center;
    width: 100vw;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-heroaboutus {
    background: url('images/AboutUsPicture.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    padding: 4rem 0 9rem;
    text-align: center;
    width: 100vw;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.service-heroblog {
    background: url('images/BlogPhoto.png') no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the entire area */
    color: white;
    padding: 4rem 0 9rem;
    text-align: center;
    width: 100vw;
    position: relative;
    min-height: 200px;
    margin-top: 0;
    /* Adjust this value based on your image's ideal height */
}

.hero a {
    text-decoration: none;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto 2rem;
}


section:not(.hero, .service-hero, .service-heroms, .service-heroprocess, .service-heroaboutus, .service-heroblog) {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}


.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-white {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title-white h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    overflow: hidden;
    background-color: var(--gray);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s;
    display: flex;
    /* Add flexbox */
    align-items: flex-start;
    /* Align items to top */
    gap: 1.5rem;
    /* Add space between icon and text */
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 61, 255, 0.1) 0%, rgba(0, 113, 197, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}


.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: var(--accent);
    color: white;
    width: 40px;
    height: 40px;
    min-width: 40px;
    /* Prevent icon from shrinking */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.about-row {
    display: flex;
    align-items: flex-start;
    /* Align image and text at the top */
    gap: 2rem;
    /* Space between text and image */
    margin-bottom: 2rem;
}

.about-text {
    flex: 1;
    /* Take up remaining space */
}

.headshot {
    width: 175px;
    height: 175px;
    object-fit: cover;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18), 0 1.5px 6px rgba(108, 61, 255, 0.10);
    /* Soft shadow with accent */
    border: 3px solid var(--accent);
    /* Subtle colored border */
    background: var(--gray);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.headshot:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 166, 251, 0.12);
    border-color: var(--primary);
    /* Accent color on hover */
}


iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feature-content {
    flex: 1;
}

.services {
    background-color: var(--gray);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    object-fit: fill;
}

.service-card-home {
    position: relative;
    background-color: var(--darkpurple);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.service-image {
    transition: background-image 0.5s ease;
    max-height: 390px;
}

.service-card:hover .service-image {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
}

.service-card-home:hover .service-image {
    background: linear-gradient(135deg, var(--light) 0%, var(--primary-dark) 100%);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card-home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--weinerblue));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.service-card-home:hover::after {
    transform: scaleX(1);
}

.service-content {
    padding: 1.5rem;
}

.service-content-home {
    padding: 1.5rem;
    text-align: center;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-content-home p {
    color: #ffffff;
    margin-bottom: 1rem;
    font-style: italic;
    font-size: 80%;
    opacity: 0;
    /* Make it invisible */
    transition: opacity 0.3s ease;
    /* Smooth transition for visibility */
}

/* Show the paragraph when the parent is hovered */
.service-card-home:hover .service-content-home p {
    opacity: 1;
    /* Make it visible */
}

.service-content-home h3 {
    margin-bottom: 1rem;
    color: var(--light);
    text-align: center;
    font-size: x-large;
}

.contact {
    background-color: var(--darkpurple);
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;

}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.contact-form button:hover {
    background-color: #5a2df3;
}

footer {
    background: var(--darkpurple);
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
    left: 0;
    right: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}


/* Keep desktop menu visible on larger screens */
@media (min-width: 769px) {

    .nav-links {
        display: flex;
        /* Ensure links are displayed in a row */
        position: static;
        /* Reset position to static for desktop */
        background: transparent;
        /* Remove background color */
        padding: 0;
        /* Remove padding */
        flex-direction: row;
        /* Align links horizontally */
        align-items: center;
        /* Center links vertically */
        gap: 1.5rem;
        /* Add spacing between links */
        transform: none;
        /* Reset transform */
        opacity: 1;
        /* Ensure links are visible */
    }


    .nav-links li {
        margin: 0;
        /* Reset margin for desktop */
        width: auto;
        /* Reset width */
        text-align: left;
        /* Align text to the left */
    }

    .nav-links a {
        width: auto;
        /* Reset width for links */
        padding: 0;
        /* Remove padding */
    }

    .mobile-menu {
        display: none !important;
    }

    .nav-links .dropdown {
        position: relative;
        /* Ensure the dropdown is positioned relative to its parent */
    }

    /* Dropdown menu styles for desktop */
    .nav-links .dropdown-menu {
        display: none;
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        background-color: var(--darkpurple);
        min-width: 200px;
        /* Remove these lines: */
        /* max-height: 300px; */
        /* overflow-y: auto; */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        z-index: 1001;
        list-style: none;
        padding: 0.5rem 0;

    }

    .nav-links .dropdown:hover .dropdown-menu {
        display: none;
        /* Show the dropdown menu on hover */
    }

    /* Keep this for active state */
    .nav-links .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-links .dropdown-menu a {
        display: block;
        padding: 0.75rem 1.5rem;
        color: white;
        text-decoration: none;
        transition: background-color;
    }

    .nav-links .dropdown-menu a:hover {
        background-color: var(--primary-dark);
        width: 100%;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .contact-logo {
        width: 80%;
        height: auto;
        align-content: center;
    }

    .nav-links {
        display: none;
        /* Start hidden */
        position: fixed;
        /* Changed from absolute to fixed */
        top: 80px;
        /* Adjust based on your header height */
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--darkpurple);
        padding: 2rem 5%;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        overflow-y: auto;
        /* Enable scrolling if needed */
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .nav-links .cta-button {
        width: 100% !important;
        margin: 1rem 0 0;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.8rem 1.0rem;
        min-height: 48px;
        /* Ensures enough height for centering */
        line-height: 1.2;
        /* Prevents text from hugging the top */
        font-size: 1.1rem;
    }

    /* Show when active */
    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        width: 100%;
        display: block;
        padding: 0.5rem 0;
    }

    .nav-links li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-links .dropdown.active>a {
        font-weight: bold;
        color: var(--primary);
    }

    .nav-links .dropdown>a {
        position: relative;
        padding-right: 1.5rem;
    }



    /* Add some spacing between dropdown items */
    .nav-links .dropdown-menu li:not(:last-child) {
        margin-bottom: 0.3rem;
    }

    /* Make the dropdown parent full width */
    .nav-links .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links .dropdown-menu a:hover {
        background-color: var(--primary-dark);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .dropdown>a {
        pointer-events: auto;
        /* Allow clicks */
    }

    .dropdown.active {
        background-color: rgba(0, 0, 0, 0.2);
    }


    .cta-button {
        width: auto !important;
        display: block !important;
        margin: 1rem auto 0 auto;
        text-align: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .cta-button a {
        text-decoration: none;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }

    .hero {
        padding: 4rem 2rem 5rem 2rem !important;
        /* top right bottom left */
        min-height: 280px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .service-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 5%;
    }

    .service-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin: 3rem 0;
    }

    .service-details img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.1);
        padding-left: 0;
        text-align: center;
    }

    .nav-links .dropdown {
        width: 100%;
    }


    .text-page {
        padding: 2rem 5%;
    }

    .text-page h1 {
        font-size: 2rem;
    }

    .text-page h2 {
        font-size: 1.75rem;
    }

    .text-page h3 {
        font-size: 1.3rem;
    }

    .text-page p,
    .text-page li {
        font-size: 1rem;
    }

    .service-content,
    .text-page,
    .highlight-box {
        padding: 1.5rem 1rem;
    }

    .service-card,
    .service-card-home {
        padding: 1rem;
    }

    .feature-card {
        padding: 1rem;
        gap: 1rem;
    }

    .about-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-links a,
    .nav-links {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .nav-links li {
        margin: 0.75rem 0;
    }

    .mobile-menu {
        font-size: 2.2rem;
        padding: 0.5rem 1rem;
    }

    img,
    .logo-image,
    .headshot {
        max-width: 100%;
        height: auto;
    }

    .logo {
        height: 70px;
        max-width: 70vw;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .logo-image {
        height: 100%;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .headshot {
        width: 120px;
        height: 120px;
    }

    .dropdown-menu {
        background: var(--darkpurple);
        border-radius: 0 0 8px 8px;
        margin-top: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .dropdown-menu a {
        padding: 1rem 0.5rem;
        font-size: 1.05rem;
    }

    .nav-links {
        max-height: 80vh;
        overflow-y: auto;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1.1rem;
        padding: 1.2rem;
    }

    .contact-form button {
        font-size: 1.1rem;
        padding: 1.1rem 2rem;
    }

    .nav-links .dropdown-menu {
        position: static !important;
        width: 100% !important;
        background-color: rgba(0, 0, 0, 0.2);
        margin: 0.5rem 0 0 0;
        box-shadow: none;
        border-radius: 4px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        padding: 0;
        display: block;
        /* <-- Ensure the menu is block-level */
    }

    .nav-links .dropdown.active .dropdown-menu {
        max-height: 1000px;
        opacity: 1;
        padding: 0.5rem 0;
        display: block;
        /* <-- Ensure the menu is block-level */
    }

    .nav-links .dropdown-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        display: block;
        height: auto;
        /* <-- Ensure each item has height */
    }

    .nav-links .dropdown-menu a {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        margin: 0.25rem 0;
    }

    .nav-links .dropdown>a {
        padding-right: 0;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        display: block;
    }





}

.site-footer {
    background: var(--darkpurple);
    color: #fff;
    padding: 3rem 5% 1rem 5%;
    font-size: 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-logo {
    flex: 1 1 180px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-width: 160px;
    height: auto;
}

.footer-links {
    display: flex;
    flex: 2 1 400px;
    gap: 2.5rem;
    justify-content: space-between;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-social {
    flex: 1 1 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social img {
    width: 32px;
    height: 32px;
    filter: brightness(1.2);
    transition: filter 0.2s;
}

.footer-social img:hover {
    filter: brightness(2);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #bbb;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
}

/* Responsive footer */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
        margin-bottom: 1rem;
    }
}

.solutions {
    background: var(--gray);
    padding: 4rem 5% 3rem 5%;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: var(--darkpurple);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-align: center;
    padding: 2rem 1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.solution-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent); /* Accent color for icons */
}

.solution-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff; /* White headline */
}

.solution-card p {
    font-size: 1rem;
    color: #d6d6f7; /* Light text for readability */
    margin: 0;
}

/* Responsive for mobile */
@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.cta-subtext {
    display: inline-block;
    font-size: 0.92rem;
    color: #ffffff;
    opacity: 0.85;
    letter-spacing: 0.02em;
}