/* ----------------------------------
   COLOR VARIABLES
---------------------------------- */
:root {
    --blue-primary: #0072CE;
    --blue-light: #4DB8FF;
    --green: #4CAF50;
    --text-dark: #1A1A1A;
    --bg-light: #F5F7FA;
}

/* ----------------------------------
   GLOBAL RESET
---------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* ----------------------------------
   HEADER
---------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    border-bottom: 3px solid var(--blue-primary);
    position: relative;
}

.logo {
    width: 180px;
    max-width: 40vw;
    height: auto;
    cursor: pointer;
}

/* ----------------------------------
   NAVIGATION (DESKTOP)
---------------------------------- */
.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--blue-primary);
    transition: 0.2s;
}

.nav a:hover {
    color: var(--green);
}

/* ----------------------------------
   HAMBURGER MENU (MOBILE)
---------------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--blue-primary);
    border-radius: 3px;
}

/* ----------------------------------
   MOBILE NAV MENU
---------------------------------- */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 40px;
        background: white;
        border: 2px solid var(--blue-primary);
        border-radius: 8px;
        padding: 15px 20px;
        width: 220px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 10px 0;
        font-size: 1rem;
    }
}

/* ----------------------------------
   HERO / BODY SECTION
---------------------------------- */
.bod {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(to bottom right, var(--blue-primary), var(--blue-light));
    color: white;
}

.bod h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.bod p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* CTA BUTTON */
.cta-btn {
    background: var(--green);
    padding: 14px 28px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: 0.2s;
}

.cta-btn:hover {
    background: #3e8e41;
}

/* ----------------------------------
   SERVICES SECTION
---------------------------------- */
.services {
    padding: 80px 40px;
    background: white;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    color: var(--blue-primary);
    margin-bottom: 10px;
}

.services-intro {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Grid Layout */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Service Cards */
.service-card {
    background: var(--bg-light);
    border-left: 5px solid var(--blue-primary);
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    transition: 0.2s;
}

.service-card h3 {
    color: var(--blue-primary);
    margin-bottom: 10px;
}

.service-card p {
    line-height: 1.5;
}

.service-card:hover {
    background: var(--blue-light);
    color: white;
    transform: translateY(-4px);
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-btn {
    display: inline-block;
    margin-top: 15px;
}

/* ----------------------------------
   FORMS
---------------------------------- */
.quote-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    padding: 12px;
    border: 2px solid var(--blue-primary);
    border-radius: 6px;
    font-size: 1rem;
}

#serviceSelect {
    height: 150px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--green);
}

.service-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.login-container {
    max-width: 420px;
    margin: 80px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.login-container h1 {
    margin-bottom: 20px;
    text-align: center;
}

.login-container label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.error-box {
    background: #ffefef;
    border-left: 4px solid #d9534f;
    padding: 10px 12px;
    margin-bottom: 18px;
    color: #a94442;
    border-radius: 4px;
}
