/* Color scheme (based on logos):
   Primary Orange: #f26722
   Teal: #008489 or #027b8a
   Dark Blue: #133268
*/

:root {
    --primary: #f26722;
    --teal: #027b8a;
    --dark-blue: #133268;
    --gray-bg: #f9f9f9;
    --text: #222;
    --white: #fff;
}

/* Reset and basic styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--gray-bg);
    color: var(--text);
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styles */
header {
    /*position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;*/
    background: var(--white);
    width: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    height: 60px;
    margin-right: 1rem;
}

.branding {
    flex: 1 1 auto;
}

    .branding h1 {
        color: var(--primary);
        font-size: 2rem;
    }

.tagline {
    color: var(--teal);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
}

footer {
    /*background-color: var(--white);
      color: var(--teal);*/
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 1rem 2rem;
    margin-top: 2rem;
}
/* Navigation styles */
/* --- MENU STYLES --- */

nav {
    position: relative;
}

.menu {
    list-style: none;
    gap: 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

    .menu li {
        position: relative;
    }

    /* Main links & submenu triggers */
    .menu a,
    .submenu-icon {
        display: block;
        font-size: 1.1rem;
        padding: 0.3rem 0.7rem;
        text-decoration: none;
        cursor: pointer;
        white-space: nowrap;
        border-radius: 4px;
        transition: background 0.2s, color 0.2s;
    }

/* Hide checkboxes (for toggling) */
#menu-toggle,
.has-submenu input[type="checkbox"] {
    display: none;
}

/* Submenu default (hidden) */
.menu .submenu {
    list-style: none;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background: var(--gray-bg);
    z-index: 100;
    padding: 0;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

    .menu .submenu li {
        width: 100%;
    }

        .menu .submenu li a {
            padding: 12px 20px;
        }

            .menu .submenu li a:hover,
            .menu li a:hover,
            .submenu-icon:hover {
                background: var(--primary);
                color: var(--white);
            }

.menu li.has-submenu:hover > .submenu,
.menu li.has-submenu:focus-within > .submenu {
    display: block;
}

/* Hamburger icon (hidden desktop) */
.menu-icon {
    display: none;
    padding: 15px 20px;
    cursor: pointer;
}

/* Submenu trigger icon (arrow) isn't shown on desktop,
   but label is clickable on mobile */
.submenu-icon {
    color: var(--dark-blue);
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    padding: 15px 20px;
}

/*Hyperlink*/
a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.2s;
}

    a:hover {
        color: var(--teal);
    }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Arial, sans-serif;
}

h2 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 2rem;
}

h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

h4 {
    color: var(--teal);
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h5 {
    color: var(--dark-blue);
    font-size: 1rem;
}

h6 {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
}

p {
    margin: 1rem 0;
    font-size: 1rem;
    color: var(--text);
}

/* Button styles */
button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.65rem 1.5rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    margin-right: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(242,103,34,0.12);
}

    button.primary:hover {
        background: var(--dark-blue);
    }

    button.secondary {
        background: var(--teal);
    }

        button.secondary:hover {
            background: var(--primary);
        }



/* Sections */
.quick-services {
    padding: 2rem 1rem;
    text-align: center;
}

    .section-title,
    .quick-services h2 {
        font-size: 2rem;
        color: var(--blue);
        font-weight: bold;
        margin-bottom: 2.5rem;
    }

/* === QUICK SERVICES GRID (Dynamic auto-center) === */
.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

    .quick-services-grid .service-preview {
        max-width: 300px;
        width: 100%;
        margin: 0 auto;
    }

.service-card,
.service-preview {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover,
    .service-preview:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }


.fun-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #f26722;
}

/* === Simple Responsive Grid System (Bootstrap-like) === */
.row {
    display: flex;
    flex-wrap: wrap;
    padding-top: 1rem !important;
}

[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* 12-column grid */
.col-1 {
    flex: 0 0 8.3333%;
    max-width: 8.3333%;
}

.col-2 {
    flex: 0 0 16.6666%;
    max-width: 16.6666%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

.col-5 {
    flex: 0 0 41.6666%;
    max-width: 41.6666%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-7 {
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
}

.col-8 {
    flex: 0 0 66.6666%;
    max-width: 66.6666%;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-10 {
    flex: 0 0 83.3333%;
    max-width: 83.3333%;
}

.col-11 {
    flex: 0 0 91.6666%;
    max-width: 91.6666%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}



.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

    .feature-list li {
        margin: 0.5rem 0;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

ul.feature-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 1rem;
}

.about-us .service-card {
    padding: 1.5rem;
    border: 1px solid var(--light-gray);
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
}

    .about-us .service-card h3 {
        margin-bottom: 0.75rem;
    }

/* Responsive (stack columns on mobile) */
/* Responsive Navigation */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .row {
        flex-direction: column;
        margin-right: 0;
        margin-left: 0;
    }

    [class*="col-"] {
        max-width: 100%;
        flex: 0 0 100%;
        padding-right: 0;
        padding-left: 0;
    }
}
/* Utility */
@media (max-width: 480px) {
    .branding h1 {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 0.95rem;
    }
}

@media (min-width: 801px) {
    .submenu-icon {
        /* On desktop, make arrow inherit color and pointer, look linky */
       
        padding: inherit;
    }
}

/* --- RESPONSIVE: MOBILE STYLES --- */
@media (max-width: 800px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #menu-toggle:checked + .menu-icon + .menu {
        display: flex;
    }

    .menu li {
        width: 100%;
    }

    .menu-icon {
        display: block;
    }
    /* Remove hover triggers on mobile */
    .menu li.has-submenu:hover > .submenu,
    .menu li.has-submenu:focus-within > .submenu {
        display: none;
    }

    /* Display the label (submenu-icon) as the menu item on mobile */
    .submenu-icon {
        display: block;
        width: 100%;
        padding: 15px 20px;
        border: none;
        outline: none;
    }

    /* Hide desktop link for parent */
    .has-submenu > a {
        display: none;
    }

    /* Submenu: shown if checked */
    .has-submenu .submenu {
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 0;
    }

    .has-submenu input[type="checkbox"]:checked + .submenu-icon + .submenu {
        display: block;
    }
}
