/* GLOBAL */
body {
    margin: 0;
    padding-top: 70px; /* space for sticky header */
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
    line-height: 1.6;
}

/* HEADER + NAV */
header {
    background: #111;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-sizing: border-box;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

nav.menu {
    display: flex;
    gap: 18px;
    flex-wrap: nowrap;
}

nav.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

nav.menu a:hover {
    color: #d32f2f;
}

/* MOBILE MENU */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

@media(max-width: 800px) {

    header {
        padding: 12px 15px;
    }

    nav.menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        display: none;
        padding: 20px 0;
        border-top: 1px solid #333;
    }

    nav.menu a {
        padding: 12px 0;
        text-align: center;
        font-size: 18px;
    }

    #menu-toggle:checked + .menu-icon + nav.menu {
        display: flex;
    }

    .menu-icon {
        display: block;
    }
}

/* HERO */
.hero {
    background: #d32f2f;
    color: #fff;
    padding: 0 40px 80px; /* NO top padding */
    text-align: center;
    margin-top: 0; /* remove white strip */
}

.hero h1 {
    font-size: 42px;
    margin-top: 0; /* remove default browser margin */
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* SECTIONS */
.section {
    padding: 60px 40px;
    background: #fff;
    margin-bottom: 20px;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-box {
    background: #f1f1f1;
    padding: 25px;
    border-radius: 6px;
    border-left: 5px solid #d32f2f;
}

/* ACCREDITATIONS */
.accreditations {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.accreditation-logo {
    height: 80px;
    width: auto;
    transition: transform 0.2s ease;
}

.accreditation-logo:hover {
    transform: scale(1.05);
}

/* FOOTER */
footer {
    background: #111;
    color: #fff;
    padding: 30px 40px;
    text-align: center;
    font-size: 14px;
}

/* BACK TO TOP BUTTON — SQUARE WITH ARROW */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    background: #111;
    border-radius: 4px;
    border: 1px solid #444;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: none;
    z-index: 999;
    text-decoration: none;
}

/* CSS arrow */
.back-to-top::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 10px solid #fff;
}

.back-to-top:hover {
    background: #333;
}

/* Show arrow when scrolling */
body.scrolled .back-to-top {
    display: block;
}

/* CONTACT FORM GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
    margin-top: 20px;
}

.contact-left,
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-left input,
.contact-right textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-right textarea {
    height: 220px; /* matches left column height */
    resize: vertical;
}

.contact-section .btn,
.contact-right .btn {
    width: 100%;
    margin-top: 10px;
}

/* MOBILE */
@media(max-width: 800px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-right textarea {
        height: 160px;
    }
}
