/* ============================================
   B&R Technology Solutions - Clean Modular Stylesheet
   ============================================ */

:root {
    --brand-dark: #071b39;
    --brand-blue: #0d3b66;
    --accent-gold:#e1b22c87;
    --text-main: #333333;
    --text-muted: #555555;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* =========================
   Base Styles
   ========================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-white);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid var(--accent-gold);
        outline-offset: 3px;
    }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   Header & Navigation Component
   ========================= */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #071b39;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    header .nav {
        height: 76px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    header .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 900;
        font-size: 1.5rem;
        color: #ffffff;
        flex-shrink: 0;
    }

        header .brand img {
            max-height: 40px;
            width: auto;
            object-fit: contain;
            display: block;
        }

        header .brand span {
            font-size: 20px;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.01em;
        }

    header .navlinks {
        display: flex;
        align-items: center;
        gap: 24px;
        font-size: 16px;
    }

        header .navlinks a {
            color: #ffffff;
            font-weight: 600;
            transition: color 0.2s ease;
        }

            header .navlinks a:hover {
                color: #faaa3a;
            }

/* =========================
   Hero Section Component
   ========================= */
section.hero {
    padding: 110px 0 90px;
    text-align: center;

    section.hero {
        padding: 110px 0 90px;
        text-align: center;
        background: radial-gradient(circle at 50% 0%, rgb(234, 99, 38, 0.06), transparent 50%), radial-gradient(circle at 80% 20%, rgba(196, 148, 58, 0.04), transparent 40%);
        }
}

    section.hero .eyebrow {
        display: inline-block;
        color: #613e33;
        background: #e2e5ef;
        border: 1px solid rgba(250, 170, 58, 0.3);
        padding: 7px 16px;
        border-radius: 100px;
        font-size: 0.80rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        margin-bottom: 20px;
    }

    section.hero h2 {
        font-size: clamp(38px, 6vw, 68px);
        line-height: 1.08;
        margin: 24px 0 20px;
        font-weight: 800;
        color: #071b39;
        letter-spacing: -0.02em;
    }

    section.hero .lead {
        font-size: 1.25rem;
        max-width: 760px;
        margin: 0 auto 36px;
        color: #555555;
        line-height: 1.7;
    }

    section.hero .buttons {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    section.hero .button {
        padding: 15px 28px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1.5px solid #e2e8f0;
        background: #071b39;
        color: #ffffff;
    }

        section.hero .button:hover {
            border-color: #333333;
            transform: translateY(-1px);
        }

        /* Independent Primary CTA Style: "Schedule Free Consultation" */
        section.hero .button.primary {
            background: linear-gradient( 135deg, #613e33, #f2a20b);
            color: #f8f9fa;
            border: none;
            box-shadow: 0 4px 16px rgba(184, 98, 58, 0.2);
        }
        
            section.hero .button.primary:hover {
                background: #e5952b;
                color: #071b39;
                transform: translateY(-2px);
                box-shadow: 0 8px 24px rgba(250, 170, 58, 0.35);
            }

/* =========================
   About Section Component
   ========================= */
section#about {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
    border-top: 1px solid #edf2f7;
}

    section#about .eyebrow {
        display: inline-block;
        color: #613e33;
        background: #e2e5ef;
        border: 1px solid rgba(250, 170, 58, 0.3);
        padding: 7px 16px;
        border-radius: 100px;
        font-size: 0.80rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        margin-bottom: 20px;
    }
        section#about .eyebrow:hover {
            background: #e9ba79;
            color: #071b39;
            transform: scale(1.05);
        }


    section#about h2 {
        font-size: clamp(28px, 3.8vw, 40px);
        line-height: 1.15;
        margin: 0 0 18px;
        font-weight: 700;
        color: #071b39;
    }

    section#about p {
        color: #415a77;
        margin-bottom: 16px;
    }


    section#about .stat-card {
        background: #f0f4f5;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 32px;
        box-shadow: 0 1px 3px rgba(7, 27, 57, 0.06);
    }

        section#about .stat-card h3 {
            font-size: 1.35rem;
            margin: 0 0 10px;
            font-weight: 700;
            color: #071b39;
        }

    section#about .list {
        padding-left: 22px;
        color: #555555;
        margin-top: 16px;
    }

        section#about .list li {
            margin: 10px 0;
            line-height: 1.7;
        }

            section#about .list li::marker {
                color: #faaa3a;
            }

/* =========================
   Services Section Component
   ========================= */
section#services {
    padding: 90px 0;
    background-color: #ffffff;
    border-top: 1px solid #edf2f7;
}

    section#services .section-intro {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 52px;
    }

        section#services .section-intro .eyebrow {
            display: inline-block;
            color: #613e33;
            background: #e2e5ef;
            border: 1px solid rgba(250, 170, 58, 0.3);
            padding: 7px 16px;
            border-radius: 100px;
            font-size: 0.80rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            margin-bottom: 20px;
        }

        section#services .section-intro h2 {
            font-size: clamp(28px, 3.8vw, 44px);
            line-height: 1.15;
            margin: 0 0 18px;
            font-weight: 700;
            color: #071b39;
        }

        section#services .section-intro p {
            font-size: 1.1rem;
            margin-top: 8px;
            color: #555555;
        }

    section#services .card.service-card {
        background: #fffdfd;
        border: 1px solid #bbd1ed;
        border-radius: 16px;
        padding: 32px;
        transition: all 0.3s ease;
        box-shadow: 0 1px 3px rgba(7, 27, 57, 0.06);
        display: block;
    }

        section#services .card.service-card:hover {
            border-color: rgba(250, 170, 58, 0.4);
            box-shadow: 0 4px 16px rgba(7, 27, 57, 0.08);
            transform: translateY(-3px);
        }

        section#services .card.service-card h3 {
            font-size: 1.35rem;
            margin: 0 0 10px;
            font-weight: 700;
            color: #071b39;
        }

        section#services .card.service-card p {
            font-size: 0.95rem;
            line-height: 1.7;
            color: #555555;
            margin: 0;
        }

    section#services .service-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background: #ffffff;
        color: #613e33;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
        transition: all 0.3s ease;
    }

    section#services .card.service-card:hover .service-icon {
        background: #e9ba79;
        color: #071b39;
        transform: scale(1.05);
    }

/* =========================
   FAQ Section Component
   ========================= */
section#faq {
    padding: 90px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #edf2f7;
}

    section#faq .content {
        max-width: 800px;
        margin: 0 auto;
    }

    section#faq .eyebrow {
        display: inline-block;
        color: #613e33;
        background: #e2e5ef;
        border: 1px solid rgba(250, 170, 58, 0.3);
        padding: 7px 16px;
        border-radius: 100px;
        font-size: 0.80rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        margin-bottom: 25px;
    }

    section#faq .faq-item {
        background-color: #ffffff;
        margin-bottom: 10px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        overflow: hidden;
    }

        section#faq .faq-item summary {
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            list-style: none;
            position: relative;
            padding: 1.25rem 3rem 1.25rem 1.5rem;
            color: #071b39;
        }

            section#faq .faq-item summary::-webkit-details-marker {
                display: none;
            }

            section#faq .faq-item summary::after {
                content: '+';
                position: absolute;
                right: 1.5rem;
                top: 50%;
                transform: translateY(-50%);
                font-size: 1.75rem;
                font-weight: 300;
                color: #555555;
            }

        section#faq .faq-item[open] summary::after {
            content: '−';
        }

        section#faq .faq-item p {
            margin: 0;
            padding: 0 1.5rem 1.25rem 1.5rem;
            line-height: 1.6;
            color: #555555;
            animation: fadeIn 0.3s ease-in-out;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Contact Section Component
   ========================= */
section#contact {
    padding: 90px 0;
    background-color: #ffffff;
    border-top: 1px solid #edf2f7;
}

    section#contact .eyebrow {
        display: inline-block;
        color: #613e33;
        background: #e2e5ef;
        border: 1px solid rgba(250, 170, 58, 0.3);
        padding: 7px 16px;
        border-radius: 100px;
        font-size: 0.80rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        margin-bottom: 20px;
    }

    section#contact h2 {
        font-size: clamp(28px, 3.8vw, 44px);
        line-height: 1.15;
        margin: 0 0 18px;
        font-weight: 700;
        color: #071b39;
    }

    section#contact p {
        color: #555555;
    }

    section#contact .form-note {
        font-size: 0.85rem;
        color: #777777;
        margin-top: 16px;
        font-style: italic;
    }

    section#contact .card.form-card {
        padding: 36px;
        position: sticky;
        top: 100px;
        background: #dbe1e3;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(7, 27, 57, 0.08);
    }

        section#contact .card.form-card h3 {
            font-size: 1.35rem;
            margin: 0 0 10px;
            font-weight: 700;
            color: #071b39;
        }

    section#contact .form-intro {
        font-size: 0.95rem;
        color: #555555;
        margin-bottom: 6px;
    }

    section#contact .contact-form {
        margin-top: 20px;
    }

    section#contact .form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    section#contact .field {
        margin-bottom: 18px;
    }

        section#contact .field label {
            display: block;
            color: #071b39;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 8px;
        }

        section#contact .field .required {
            color: #c92a2a;
        }

        section#contact .field input,
        section#contact .field select,
        section#contact .field textarea {
            box-sizing: border-box;
            width: 100%;
            background: #ffffff;
            border: 1.5px solid #e2e8f0;
            border-radius: 8px;
            padding: 13px 16px;
            color: #333333;
            font-family: inherit;
            font-size: 0.95rem;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
        }

            section#contact .field input::placeholder,
            section#contact .field textarea::placeholder {
                color: #777777;
            }

            section#contact .field input:focus,
            section#contact .field select:focus,
            section#contact .field textarea:focus {
                border-color: #faaa3a;
                background: #ffffff;
                box-shadow: 0 0 0 4px rgba(250, 170, 58, 0.1);
            }

        section#contact .field textarea {
            resize: vertical;
            min-height: 120px;
        }

    /* Independent Form Submit Button Style: "Send Message" */
    section#contact .form-submit {
        width: 100%;
        margin-top: 8px;
        justify-content: center;
        background: linear-gradient( 135deg, #613e33, #f2a20b);
        color: #f8f9fa;
        border: none;
        box-shadow: 0 4px 16px rgba(184, 98, 58, 0.2);
        border: none;
        padding: 15px 28px;
        border-radius: 8px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(13, 59, 102, 0.25);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

        section#contact .form-submit:hover {
            
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(7, 27, 57, 0.35);
        }

    section#contact .form-success {
        margin-top: 16px;
        padding: 14px 18px;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        color: #2b8a3e;
        background: rgba(43, 138, 62, 0.08);
        border: 1px solid rgba(43, 138, 62, 0.2);
    }

    section#contact .form-error {
        margin-top: 16px;
        padding: 14px 18px;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        color: #c92a2a;
        background: rgba(201, 42, 42, 0.08);
        border: 1px solid rgba(201, 42, 42, 0.2);
    }

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* =========================
   Footer Component
   ========================= */
footer {
    padding: 30px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #071b39;
    color: #ffffff;
}

    footer .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 48px;
    }

    footer .footer-title {
        color: #ffffff;
        font-weight: 900;
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    footer p,
    footer .footer-bottom p {
        color: #ffffff;
        opacity: 1;
        margin-top: 0;
    }

    footer .footer-links {
        list-style: none;
        padding: 0;
    }

        footer .footer-links li {
            margin: 5px 0;
        }

        footer .footer-links a {
            color: #ffffff;
            font-size: 0.9rem;
            transition: color 0.2s;
        }

            footer .footer-links a:hover {
                color: #faaa3a;
            }

    footer .footer-bottom {
        text-align: center;
        margin-top: 30px;
        padding-top: 15px;
        border-top: 1px solid rgba(250, 170, 58, 0.3);
        color: #ffffff;
        font-size: 14px;
        font-weight: 500;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        letter-spacing: 0.02em;
    }

/* =========================
   Utility Grids
   ========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

/* =========================
   Responsive Breakpoints
   ========================= */
@media (max-width: 900px) {
    header .navlinks {
        display: none;
    }

    .grid,
    .grid2,
    footer .footer-grid {
        grid-template-columns: 1fr;
    }

    section.hero {
        padding: 60px 0 40px;
    }

    section#about,
    section#services,
    section#faq,
    section#contact {
        padding: 50px 0;
    }

        section#contact .card.form-card {
            position: static;
        }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    header .nav {
        height: 64px;
    }

    header .brand span {
        font-size: 1rem;
    }

    section#contact .form-grid {
        grid-template-columns: 1fr;
    }

    section#services .card.service-card,
    section#about .stat-card,
    section#contact .card.form-card {
        padding: 24px;
    }

    section.hero .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    section.hero .button {
        justify-content: center;
    }
}
