﻿/* ====== GLOBAL RESET & BASE ====== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    background: #020617; /* very dark blue background */
    color: #0f172a;
}

/* Generic links */
a {
    color: #38bdf8;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* ====== HEADER (HOME + SUBPAGES) ====== */

header {
    background: radial-gradient(circle at top left, #facc15, #0f172a 50%, #020617 90%);
    color: #f9fafb;
    padding: 18px 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

    /* Home header uses .brand */
    header .brand {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    /* Subpage headers (just h1 + p directly in header) */
    header > h1,
    header > p {
        max-width: 1100px;
        margin: 0 auto;
    }

    header h1 {
        font-size: 1.7rem;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    header p {
        margin-top: 3px;
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* Contact info on right (home header) */
    header .brand > div:last-child p {
        margin: 0;
        text-align: right;
        font-size: 0.9rem;
    }

/* ====== HOME PAGE HERO ====== */

.hero {
    background: linear-gradient(135deg, #020617, #0f172a);
    padding: 40px 16px 36px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.3fr);
    gap: 26px;
    align-items: center;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f9fafb;
}

.hero p {
    margin-bottom: 10px;
    color: #e5e7eb;
}

.hero-callout {
    font-weight: 600;
    color: #facc15;
}

.hero .buttons {
    margin-top: 12px;
}

/* ====== BUTTONS ====== */

.btn {
    display: inline-block;
    padding: 10px 18px;
    margin-right: 10px;
    margin-top: 8px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease, color 0.1s ease;
}

.btn-primary {
    background: #facc15;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.6);
}

    .btn-primary:hover {
        background: #eab308;
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(250, 204, 21, 0.75);
    }

.btn-secondary {
    background: transparent;
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.7);
}

    .btn-secondary:hover {
        background: rgba(15, 23, 42, 0.7);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.9);
    }

/* ====== HERO RIGHT BOX (SLIDESHOW) ====== */

.hero-box {
    background: #020617;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(30, 64, 175, 0.7);
}

    .hero-box img {
        width: 100%;
        height: auto;
        border-radius: 14px;
        display: block;
        object-fit: cover;
        max-height: 320px;
    }

/* ====== HOME SECTIONS (ABOUT / AREAS / CONTACT / SERVICES) ====== */

section {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 16px;
}

    section h3 {
        margin-bottom: 10px;
        font-size: 1.4rem;
        color: #1f4b7a;
    }

/* Card-style wrappers for blocks on dark background */
.about,
.areas,
.contact {
    background: #f9fafb;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
    font-size: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

    .about p,
    .areas p,
    .contact p {
        color: #111827;
    }

    .about ul,
    .contact ul {
        margin-top: 6px;
        padding-left: 20px;
    }

    .contact strong {
        color: #1d4ed8;
    }

/* Services grid on home */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.service-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 16px 16px 14px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.85);
    font-size: 0.95rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(148, 163, 184, 0.7);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}

    .service-card h4 {
        margin-bottom: 6px;
        font-size: 1.05rem;
        color: #0f172a;
        font-weight: 600;
    }

    .service-card p {
        font-size: 0.9rem;
        color: #4b5563;
    }

    .service-card::after {
        content: "→";
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1rem;
        color: rgba(148, 163, 184, 0.95);
        transition: transform 0.12s ease, color 0.12s ease;
    }

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
        border-color: #facc15;
        background-color: #fefce8;
    }

        .service-card:hover::after {
            transform: translate(5px, -50%);
            color: #facc15;
        }

/* Disclaimer on home contact card */
.disclaimer {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #6b7280;
}

/* ====== SUBPAGE LAYOUT (SERVICE DETAIL PAGES) ====== */

main {
    max-width: 900px;
    margin: 26px auto;
    background: #f9fafb;
    border-radius: 18px;
    padding: 22px 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

    main h2 {
        margin-top: 0;
        color: #0f172a;
        font-size: 1.5rem;
    }

    main h3 {
        margin-top: 16px;
        margin-bottom: 6px;
        color: #111827;
        font-size: 1.05rem;
    }

.back-link {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #38bdf8;
}

    .back-link:hover {
        text-decoration: underline;
    }

main p {
    margin-bottom: 8px;
    color: #374151;
}

main ul {
    padding-left: 20px;
    margin-bottom: 4px;
}

main .disclaimer {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ====== FOOTER ====== */

footer {
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    padding: 16px;
    margin-top: 10px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 850px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    header .brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

        header .brand > div:last-child p {
            text-align: left;
        }
}
