﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#main-header {
    background-color: #0B2A4A;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    height: 95px;
    width: auto;
    transition: height 0.3s ease;
}

@media (max-width: 951px) {
    #main-header {
        height: 70px; /* Reduce header height on mobile */
        padding: 0 10px; /* Adjust padding */
    }

    .logo {
        height: 60px; /* Smaller logo on mobile */
    }

    .nav-toggle {
        display: block; /* Ensure burger menu shows on mobile */
    }

    .nav-menu {
        display: none; /* Hide menu by default on mobile (controlled by JS/CSS) */
    }

        .nav-menu.active {
            display: flex; /* Show menu when toggled (assumes JS toggles .active) */
            flex-direction: column;
            position: absolute;
            top: 70px;
            left: 0;
            width: 100%;
            background-color: #0B2A4A;
            padding: 10px 0;
        }

        .nav-menu li {
            margin: 10px 0;
        }

    .quote-button {
        display: none; /* Hide quote button on mobile, adjust as needed */
    }
}

.main-nav {
    flex-grow: 1;
    text-align: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

    .nav-menu li {
        margin-left: 15px;
    }

    .nav-menu a {
        color: white;
        text-decoration: none;
        font-size: 14px;
    }

.quote-button {
    background-color: #C89B3C;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px; /* Slightly rounded corners */
    transition: background-color 0.3s ease;
}

.quote-button2 {
    background-color: #C89B3C;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px; /* Slightly rounded corners */
    transition: background-color 0.3s ease;
}

@media (max-width: 395px) {
    .quote-button2 {
        display: none; /* Hide quote button on mobile, adjust as needed */
    }
}

    .nav-toggle {
        display: none;
    }

    .burger-menu {
        display: none;
        flex-direction: column;
        cursor: pointer;
    }

        .burger-menu span {
            height: 3px;
            width: 25px;
            background: white;
            margin: 4px 0;
        }

    @media (max-width: 951px) {
        .nav-menu {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 100px;
            left: 0;
            width: 100%;
            background: #0B2A4A;
        }

            .nav-menu li {
                margin: 10px 0;
                text-align: center;
            }

        .burger-menu {
            display: flex;
        }

        .main-nav {
            margin-left: auto; /* Pushes the main-nav (and thus the burger menu) to the right */
            flex-grow: 0; /* Prevents it from consuming all space if not needed */
        }

        #nav-toggle:checked ~ .nav-menu {
            display: flex;
        }
    }

    .color-bar {
        width: 100%;
        height: 4px;
        background-color: #C89B3C;
    }

    .div1 {
        height: 100vh;
        background-image: url('hero_c1.jpg');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        padding-left: 20px;
        margin-top: 100px;
        max-height: 500px;
    }

    .div1-uc {
        height: 100vh;
        background-image: url('uc.jpg');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        padding-left: 20px;
        margin-top: 100px;
    }

    .hero-content {
        margin-left: 200px;
        text-align: left;
        color: #000000;
    }

    @media (max-width: 768px) {
        .hero-content {
            margin-left: 20px;
            text-align: left;
        }
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 24px;
    }

    .hero-button {
        padding: 10px 20px;
        border: none;
        border-radius: 4px; /* Rounded corners */
        color: white;
        cursor: pointer;
        margin-right: 10px;
        margin-top: 20px; /* Added distance between text and buttons */
    }

    .gold {
        background-color: #C89B3C;
    }

    .red {
        background-color: #C94C4C;
    }

    .div2 {
        border-top: 1px solid #0B2A4A;
        border-bottom: 1px solid #C94C4C;
        padding: 20px;
    }

        .div2 table {
            width: 100%;
            text-align: center;
            table-layout: fixed;
        }

        .div2 td {
            padding: 10px;
        }

        .div2 span {
            color: #C94C4C;
        }

        .div2 img {
            width: 50px;
            height: 50px;
            vertical-align: middle; /* Aligns icon with text nicely */
        }

    @media (max-width: 768px) {
    }

    .div3 {
        padding: 20px;
    }

    .cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: center; /* Centers the grid items horizontally */
    }

    @media (min-width: 801px) {
        .cards-container {
            grid-template-columns: repeat(4, minmax(200px, 1fr)); /* Forces 4 columns */
        }
    }

    @media (max-width: 768px) {
        .cards-container {
            justify-items: center; /* Centers items within their grid cells */
        }
    }

    .card {
        width: 200px;
        height: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: none; /* Removed border for cleaner look */
        text-align: center;
        padding: 10px;
        box-sizing: border-box; /* Ensures padding doesn't exceed 200px */
    }

        .card img {
            width: 80px; /* Consistent icon size as recommended */
            height: 80px;
            margin-bottom: 10px; /* Space between icon and text */
        }

    .card-content {
        text-align: center;
        word-wrap: break-word; /* Ensures text wraps if too long */
    }

    .div4 {
        background-color: #0B2A4A;
        color: white;
        padding: 40px 20px;
        text-align: left;
    }

    .about-table {
        max-width: 800px;
        margin: 0 auto;
        width: 100%;
    }

        .about-table ul {
            list-style-type: disc;
            text-align: left;
            margin-left: 20px;
        }

    .about-button {
        background-color: #C89B3C;
        color: white;
        border: none;
        border-radius: 4px;
        padding: 10px 20px;
        cursor: pointer;
        margin-top: 20px; /* Added distance between text and button */
    }

    .div8 {
        background-color: white;
        color: #0A2A49;
        text-align: center;
        padding: 20px;
        border-top: 5px solid #C89B3C;
    }

    @media (max-width: 800px) {
        .about-table {
            width: 100%;
        }
    }

    /* Div 9 - Service Areas */
    .div9 {
        padding: 40px 20px;
        text-align: center;
        background-color: #F9F9F9; /* White background for clean look */
    }

        .div9 h2 {
            font-size: 32px;
            margin-bottom: 30px;
            color: #0B2A4A; /* Matching a darker theme color, adjustable as needed */
        }

    .areas-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive, max 4 per row */
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .area-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .area-card img {
            width: 100px;
            height: 100px;
            margin-bottom: 10px;
        }

        .area-card p {
            font-size: 16px;
            color: #333333;
        }

    @media (max-width: 768px) {
        .areas-container {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Smaller on mobile */
            gap: 20px;
        }

        .area-card img {
            width: 80px;
            height: 80px;
        }
    }


