/* --- Base Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Arial', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    background: linear-gradient(135deg, #f0f4fa 0%, #eaf6fb 100%);
    color: #222;
    font-size: 17px;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    background: url('images/WhatsApp Image 2025-04-22 at 11.34.16_a45db2e9.jpg') center center/cover no-repeat;
    filter: blur(6px) brightness(0.92) saturate(1.1);
    opacity: 0.65;
    pointer-events: none;
}

header {
    background: #023e7d;
    color: #fff;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(2,62,125,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.08em;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
    border: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
    background: #1565c0;
    color: #fff;
    border-color: #90e0ef;
    outline: none;
}

main {
    padding: 2.5rem 0 80px 0;
    text-align: center;
    background: transparent;
}

/* --- Section Card Styles --- */
.section-card {
    border-radius: 22px;
    box-shadow: 0 6px 32px rgba(2,62,125,0.07);
    margin: 0 auto 40px auto;
    max-width: 950px;
    padding: 48px 32px 36px 32px;
    background: rgba(255,255,255,0.96); /* Solid white, very slightly transparent */
    position: relative;
    z-index: 1;
    transition: box-shadow 0.2s;
    /* Remove backdrop-filter for a solid box */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.section-card.alt-bg {
    background: #f3f6fa;
}

#home.section-card {
    position: relative;
    z-index: 1;
}

#home.section-card::before {
    content: none;
}

section h1, section h2 {
    color: #023e7d;
    font-weight: 700;
    margin-bottom: 0.5em;
    letter-spacing: 0.01em;
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, system-ui, sans-serif;
}

section h1 {
    font-size: 2.3em;
    font-weight: 700;
    letter-spacing: 0.01em;
}

section h2 {
    font-size: 1.7em;
    font-weight: 600;
}

p, li, label, input, textarea {
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, system-ui, sans-serif;
    font-weight: 400;
}

/* --- Wave Divider Styles --- */
.wave-divider {
    line-height: 0;
    height: 60px;
    overflow: hidden;
    background: transparent;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider.flip svg {
    transform: scaleY(-1);
}

/* --- Services Cards --- */
.services-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin-top: 28px;
}

.card {
    background-color: #fff;
    border: 1.5px solid #e0e7ef;
    border-radius: 12px;
    padding: 28px 18px 22px 18px;
    text-align: center;
    width: 260px;
    box-shadow: 0 4px 16px rgba(2,62,125,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card h3 {
    color: #1565c0;
    margin-bottom: 0.5em;
    font-size: 1.18em;
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, system-ui, sans-serif;
}

.card:hover,
.card:focus-within {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 24px rgba(2,62,125,0.13);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, #90e0ef 0%, #caf0f8 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    filter: blur(18px);
    transform: scale(1.18);
}

.card:hover::before,
.card:focus-within::before {
    opacity: 0.18;
    transform: scale(1.25);
}

/* --- Button Styles --- */
.btn,
.button,
.contact-btn {
    display: inline-block;
    background: linear-gradient(90deg, #023e7d 0%, #1565c0 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 14px 38px;
    font-size: 1.13em;
    font-weight: 600;
    cursor: pointer;
    margin: 24px auto 0 auto;
    transition: background 0.28s cubic-bezier(.4,0,.2,1), box-shadow 0.28s cubic-bezier(.4,0,.2,1), transform 0.18s;
    box-shadow: 0 2px 8px rgba(2,62,125,0.07);
    letter-spacing: 0.01em;
    text-decoration: none;
    outline: none;
}

.btn:hover,
.btn:focus,
.button:hover,
.button:focus,
.contact-btn:hover,
.contact-btn:focus {
    background: linear-gradient(90deg, #1565c0 0%, #48cae4 100%);
    box-shadow: 0 6px 24px rgba(2,62,125,0.13);
    transform: translateY(-2px) scale(1.03);
    color: #fff;
    text-decoration: none;
}

/* --- Our Work Gallery --- */
#our-work p {
    max-width: 600px;
    margin: 0 auto 32px auto;
    color: #555;
}

.work-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.work-item img {
    width: 290px;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(2,62,125,0.09);
    transition: transform 0.18s, box-shadow 0.18s;
    background: #e0e7ef;
}

.work-item img:hover,
.work-item img:focus {
    transform: scale(1.045);
    box-shadow: 0 8px 24px rgba(2,62,125,0.16);
    outline: 2px solid #90e0ef;
}

/* --- Contact Section --- */
#contact {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(2,62,125,0.09);
    max-width: 540px;
    margin: 56px auto 36px auto;
    padding: 38px 28px 28px 28px;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.social-icon {
    display: inline-block;
    margin: 0 12px;
    vertical-align: middle;
}

.social-icon img {
    width: 38px;
    height: 38px;
    transition: transform 0.18s, filter 0.18s;
    filter: grayscale(0.2) brightness(0.98);
}

.social-icon img:hover,
.social-icon img:focus {
    transform: scale(1.18) rotate(-6deg);
    filter: none;
}

.contact-info {
    margin-top: 10px;
    text-align: center;
    font-size: 1.08em;
}

.contact-info a {
    color: #023e7d;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover,
.contact-info a:focus {
    text-decoration: underline;
    color: #1565c0;
}

/* --- Footer --- */
footer {
    background: #023e7d;
    color: #fff;
    text-align: center;
    padding: 20px 0 18px 0;
    font-size: 1.08em;
    position: relative;
    width: 100%;
    margin-top: 0;
    box-shadow: 0 -2px 12px rgba(2,62,125,0.04);
}

/* --- Inquiry Form --- */
.inquiry-form-block {
    margin-top: 32px;
    background: #f9f9f9;
    border-radius: 14px;
    padding: 28px 18px 18px 18px;
    box-shadow: 0 2px 12px rgba(2,62,125,0.04);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.inquiry-form h3 {
    margin-top: 0;
    color: #023e7d;
    font-size: 1.18em;
    font-weight: 600;
}

.inquiry-form .form-group {
    margin-bottom: 18px;
    text-align: left;
}

.inquiry-form label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.01em;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #b0c4de;
    border-radius: 7px;
    font-size: 1.05em;
    background: #fff;
    resize: vertical;
    box-sizing: border-box;
    margin-top: 2px;
    margin-bottom: 2px;
    transition: border 0.18s, box-shadow 0.18s;
    font-family: inherit;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: #1565c0;
    outline: none;
    box-shadow: 0 0 0 2px #90e0ef55;
}

.inquiry-form button[type="submit"] {
    background: linear-gradient(90deg, #023e7d 0%, #1565c0 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 34px;
    font-size: 1.08em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px rgba(2,62,125,0.07);
    letter-spacing: 0.01em;
}

.inquiry-form button[type="submit"]:hover,
.inquiry-form button[type="submit"]:focus {
    background: linear-gradient(90deg, #1565c0 0%, #48cae4 100%);
    box-shadow: 0 4px 16px rgba(2,62,125,0.13);
}

.inquiry-form .form-note {
    font-size: 0.98em;
    color: #888;
    margin-top: 12px;
    text-align: center;
}

/* --- Map Card Styles --- */
#areas.section-card.alt-bg {
    background: #f4faff;
}

.map-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(2,62,125,0.08);
    padding: 18px 12px 12px 12px;
    margin: 0 auto 32px auto;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-card iframe {
    width: 100% !important;
    min-height: 320px;
    height: 45vw;
    max-height: 500px;
    border: 0;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(2,62,125,0.06);
}

/* --- Areas List --- */
.areas-list ul {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(2,62,125,0.06);
    padding: 18px 22px;
    margin: 0;
    min-width: 140px;
    font-size: 1em;
    list-style: none;
}

.areas-list ul li {
    margin-bottom: 7px;
    color: #1565c0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.areas-list ul li:last-child {
    margin-bottom: 0;
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .section-card, .section-card.alt-bg {
        max-width: 99vw;
    }
}

@media (max-width: 950px) {
    .work-gallery {
        gap: 16px;
    }
    .work-item img {
        width: 220px;
        height: 130px;
    }
    .section-card, .section-card.alt-bg {
        padding: 32px 10px 20px 10px;
    }
}

@media (max-width: 800px) {
    .services-cards {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .card {
        width: 95%;
        min-width: 0;
        max-width: 400px;
    }
    .section-card, .section-card.alt-bg {
        padding: 22px 4vw 14px 4vw;
    }
    .work-gallery {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .work-item img {
        width: 95vw;
        max-width: 340px;
        height: 180px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }
    header {
        padding: 0.3rem 0;
    }
    .nav-links {
        gap: 0.5rem;
        flex-direction: column;
        align-items: flex-start;
        background: #023e7d;
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        display: none;
        padding: 1rem 0.5rem;
        z-index: 200;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 2em;
        margin-left: auto;
        margin-right: 1rem;
        cursor: pointer;
    }
    .section-card, .section-card.alt-bg {
        padding: 12px 2vw 8px 2vw;
    }
    #contact {
        padding: 14px 4vw 10px 4vw;
        max-width: 99vw;
    }
    .social-icon img {
        width: 28px;
        height: 28px;
    }
    .inquiry-form-block {
        padding: 10px 2vw 6px 2vw;
        max-width: 99vw;
    }
    .inquiry-form input,
    .inquiry-form textarea {
        font-size: 1em;
    }
    .areas-list ul {
        padding: 10px 8px;
        font-size: 0.98em;
    }
    .map-card iframe {
        min-height: 180px;
        height: 60vw;
        max-height: 260px;
    }
}

@media (max-width: 420px) {
    .card {
        padding: 10px;
    }
    .work-item img {
        width: 98vw;
        max-width: 99vw;
        height: 120px;
    }
    .areas-list ul {
        min-width: 90px;
        font-size: 0.93em;
    }
}

/* --- Sticky Footer for Small Screens --- */
@media (max-width: 600px) {
    footer {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 100;
        box-shadow: 0 -2px 12px rgba(2,62,125,0.09);
        padding: 12px 0 10px 0;
        font-size: 1em;
    }
}

/* --- Hamburger Menu Button --- */
.nav-toggle {
    display: none;
}

@media (max-width: 600px) {
    .nav-toggle {
        display: block;
    }
}