.root {
    --accent: #ff7a00;
    --accent-2: #0b6efd;
    --muted: #6b7280;
    --bg: #f6f7fb;
    --card: #fff
}

* {
    box-sizing: border-box
}

body {
    font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    background: var(--bg);
    color: #1f2937;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased
}

.container {
    max-width: 1200px;
    margin: 1.25rem auto;
    padding: 1.25rem
}

.site-header {
    background: transparent;
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 50
}

.site-header .header-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    padding: .75rem;
    border-radius: 10px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.22)
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit
}

.logo {
    height: 48px
}

.site-nav {
    margin-left: auto;
    display: flex;
    gap: .25rem;
    align-items: center
}

.site-nav a {
    padding: .5rem .8rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600
}

.site-nav a.active,
.site-nav a:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    color: var(--accent-2);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.02)
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 1.35rem;
    cursor: pointer;
    padding: .25rem;
    border-radius: 8px
}

.hero {
    background: linear-gradient(180deg, #fff, #f1f5ff);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0
}

.hero h1 {
    margin: .25rem 0;
    font-size: 1.8rem
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 18px 60px rgba(11, 110, 253, 0.28)
}

.features {
    display: flex;
    gap: 1.25rem;
    margin: 1.5rem 0
}

.card {
    background: var(--card);
    padding: 1.25rem;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    transition: transform .18s ease, box-shadow .18s ease;
    margin: 1rem 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 90px rgba(15, 23, 42, 0.28)
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 0 0
}

.product {
    background: var(--card);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.03);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    transition: transform .18s ease, box-shadow .18s ease;
    margin: 0.75rem 0;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 90px rgba(15, 23, 42, 0.28)
}

/* Product-specific Add button (navy) */
.product .btn {
    background: #08224d;
    color: #fff;
    border-radius: 8px;
    padding: .5rem .9rem;
    box-shadow: 0 12px 30px rgba(8, 34, 77, 0.22)
}

.product .btn:hover {
    background: #061a3a;
    box-shadow: 0 18px 44px rgba(8, 34, 77, 0.28)
}

.product-img {
    height: 220px;
    display: block;
    background: linear-gradient(180deg, #fbfdff, #f6f8ff);
    border-radius: 8px;
    overflow: hidden
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.price {
    font-weight: 800;
    color: var(--accent-2);
    margin-top: .5rem;
    text-shadow: none;
    box-shadow: none
}

.contact-form {
    display: grid;
    gap: .9rem;
    max-width: 600px
}

/* Center contact form within the page */
.contact-page .contact-form {
    margin: 0 auto;
    width: 100%;
    max-width: 640px;
}

@media (max-width:600px) {
    .contact-page .contact-form { padding: 0 .5rem }
}

/* Card style for the contact form */
.contact-page .contact-form {
    background: #fff;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(15,23,42,0.06);
}

/* Ensure contact form button is high-contrast and visible */
.contact-page .contact-form .btn {
    background: var(--accent-2);
    color: #fff !important;
    padding: .75rem 1rem;
    border-radius: 10px;
    border: 0;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 14px 40px rgba(11,110,253,0.14);
}

.contact-page .contact-form .btn:hover {
    background: #0549b3;
}

/* Very specific rule to override any conflicting button styles on contact page */
body .contact-page .contact-form button.btn,
body .contact-page .contact-form a.btn {
    background: #08224d !important;
    color: #ffffff !important;
    border: 0 !important;
}

.contact-form label {
    display: block;
    font-size: .95rem
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .7rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff
}

.notice.success {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    padding: .75rem;
    border-radius: 8px
}

.site-footer {
    padding: 1.5rem 0;
    margin-top: 2.5rem;
    text-align: center;
    color: var(--muted)
}

@media (max-width:900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .features {
        flex-direction: column
    }
}

/* Mobile adjustments */
@media (max-width:600px) {
    .grid {
        grid-template-columns: 1fr
    }

    /* place hamburger at top-right of header */
    .nav-toggle {
        display: inline-block;
        position: absolute;
        right: 14px;
        top: 12px;
        padding: .25rem;
        background: rgba(255, 255, 255, 0.7);
        border: 0
    }

    .site-header {
        position: sticky;
        top: 0
    }

    /* mobile menu: overlay full viewport under the header */
    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 64px;
        background: linear-gradient(180deg, #fff, #fbfbff);
        padding: 1.25rem;
        display: none;
        flex-direction: column;
        border-radius: 0;
        box-shadow: 0 48px 140px rgba(2, 6, 23, 0.38);
        z-index: 60
    }

    .site-nav.open {
        display: flex
    }

    .site-nav a {
        padding: .9rem 1rem;
        border-radius: 8px;
        margin-bottom: .35rem
    }
}

@media (max-width:420px) {
    .product-img {
        height: 160px
    }
}

/* Slideshow styles for welcome page */
.slideshow {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    width: 100%;
    max-width: 100vw;
    /* border: solid red 5px; */
    min-height: 320px
}

.slides {
    display: flex;

    transition: transform .6s ease
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    color: #fff;
    position: relative;
    min-height: 320px;
}

/* slide background images (use existing files in img/) */
.slide--one {
    background-image: url('../img/bg-img-2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.slide--one {
    background-attachment: scroll
}

.slide--two {
    background-image: url('../img/bg-img-3.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.slide--three {
    background-image: url('../img/bg-img-2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

/* overlay removed - slides will show images at full brightness per user request */

.slide .inner {
    padding: 2rem
}

.slide .inner {
    max-width: 920px;
    text-align: center
}

.slide h1 {
    font-size: 2rem;
    margin: 0 0 .5rem;
    text-shadow: 0 14px 48px rgba(0, 0, 0, 0.32)
}

.slide p {
    opacity: .95;
    font-size: 1.05rem;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.22)
}

.slide.btn {
    margin-top: 1rem
}

/* Removed gradient fallbacks so the declared background-image is used */

.slideshow-controls {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 38px;
    display: flex;
    gap: .5rem
}

.dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.dot.active {
    background: #fff;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32)
}

@media (min-width:900px) {
    .slideshow {
        min-height: 460px
    }

    .slide {
        min-height: 460px;
        padding: 5rem 1rem
    }
}

@media (min-width:1200px) {
    .slideshow {
        min-height: 560px
    }

    .slide {
        min-height: 560px;
        padding: 6rem 1rem
    }
}

/* Estimator styles */
.estimator {
    display: grid;
    gap: .6rem;
    max-width: 560px
}

.estimator label {
    display: flex;
    flex-direction: column;
    font-size: .95rem
}

/* Info icon and tooltip for estimator */
.info-icon {
    display: inline-block;
    position: relative;
    margin-left: .35em;
    cursor: pointer;
}
.info-icon svg {
    vertical-align: middle;
}
.info-icon .tooltip {
    display: none;
    position: absolute;
    left: 110%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #08224d;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.12);
    padding: .5em .9em;
    font-size: .92em;
    min-width: 180px;
    z-index: 10;
    border: 1px solid #e3e8f0;
}
.info-icon:focus .tooltip,
.info-icon:hover .tooltip {
    display: block;
}

/* Company Info Section Styles */
.company-info {
    padding: 3rem 0;
    text-align: center;
}

.company-info h1 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.company-info h2 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-block {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.info-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
}

.company-info .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: left;
}

.info-card p {
    color: var(--text);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .company-info h1 {
        font-size: 1.75rem;
    }
    
    .info-block p {
        font-size: 1rem;
    }
}

.estimator input,
.estimator select {
    padding: .6rem;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff
}

/* Ensure estimator Calculate button is visible */
.estimator .btn, .estimator button.btn {
    background: #08224d !important;
    color: #fff !important;
    border: 0 !important;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(8,34,77,0.12);
}
.estimator .btn:hover, .estimator button.btn:hover {
    background: #0549b3 !important;
}

.est-results {
    background: rgba(255, 255, 255, 0.9);
    padding: .75rem;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.04)
}