/* RESET & BASE STYLES */
:root {
    --primary-blue: #0A3D62;
    --secondary-blue: #3C6382;
    --accent-action: #E55039;
    --text-main: #2F3640;
    --text-muted: #718093;
    --bg-light: #F5F6FA;
    --bg-white: #FFFFFF;
    --border-color: #DCDDE1;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --border-radius: 4px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary-blue);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: 1.25rem;
}

/* LAYOUT */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* HEADER & NAVIGATION */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    list-style: none;
    min-width: 250px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-main);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-align: center;
    transition: background-color 0.2s, transform 0.1s;
    cursor: pointer;
    border: none;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--accent-action);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #c9402a;
    color: var(--bg-white);
    transform: translateY(-1px);
}

.header-cta {
    margin-left: 1rem;
}

/* HERO SECTION */
.hero {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 6rem 0;
}

.hero h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.hero-content {
    max-width: 800px;
}

.hero-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* TWO COLUMN LAYOUTS */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .two-col {
        grid-template-columns: 1fr 1fr;
    }
}

.content-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    width: 100%;
}

/* SERVICE GRID */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* CALLOUT BOXES */
.callout {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin: 2rem 0;
}

.callout-alert {
    border-left-color: var(--accent-action);
    background-color: #fff5f3;
}

/* FAQ ACCORDION */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* FOOTER */
footer {
    background-color: var(--text-main);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--border-color);
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* MOBILE NAV */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-wrapper.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border-color);
        margin-left: 1rem;
        display: block;
        padding-top: 1rem;
    }
    
    .header-cta {
        margin: 1rem 2rem;
        display: block;
        text-align: center;
    }
}

/* STICKY MOBILE CALL BAR */
.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-action);
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    z-index: 99;
}

@media (max-width: 767px) {
    .mobile-call-bar {
        display: block;
    }
    body {
        padding-bottom: 60px; /* Space for the sticky bar */
    }
}
