:root {
    --primary-color: #0F172A;
    /* Deep Navy */
    --secondary-color: #0EA5E9;
    /* Bright Sky Blue */
    --accent-color: #38BDF8;
    /* Lighter Cyan */
    --text-color: #334155;
    /* Slate 700 */
    --bg-light: #F8FAFC;
    /* Slate 50 */
    --bg-dark: #1e293b;
    /* Dark Slate */
    --white: #ffffff;
    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    /* Ensure no bullets */
}

.nav-menu a {
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.cta-btn {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--primary-color);
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
/* Header Navigation */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin-bottom: 1.5rem;
    }

    .nav-link {
        color: var(--text-color);
        /* Dark text on white mobile menu */
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Floating CTA Sidebar */
.floating-cta {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    /* Hidden by default */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.floating-cta.visible {
    transform: translateY(-50%) translateX(0);
}

.cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0f172a;
    /* Updated to user requested color */
    color: var(--white);
    width: 80px;
    height: 80px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-item:last-child {
    border-bottom: none;
}

.cta-item:hover {
    width: 90px;
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-item i {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.cta-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    .floating-cta {
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        flex-direction: row;
    }

    .cta-item {
        width: 100%;
        height: 60px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: row;
        gap: 10px;
    }

    .cta-item:hover {
        width: 100%;
    }

    .cta-item i {
        margin-bottom: 0;
        font-size: 1.2rem;
    }
}

/* ---------------------------------------------------- */
/* Quote Modal Styles                                   */
/* ---------------------------------------------------- */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    /* Dark blue overlay */
    backdrop-filter: blur(5px);
    overflow: auto;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #94a3b8;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-blue);
    text-decoration: none;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Modal Form Specifics */
.modal-content .form-group {
    margin-bottom: 1rem;
}

.modal-content .form-control,
.modal-content .form-select {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    width: 100%;
    /* Fix: Ensure full width */
    display: block;
    border-radius: 8px;
    color: var(--text-color);
}

.modal-content .form-control:focus,
.modal-content .form-select:focus {
    background-color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.modal-content .btn-primary {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 576px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .close-modal {
        top: 10px;
        right: 15px;
    }
}