* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    font-family: Arial, sans-serif;
    background-color: #fff;
    scroll-behavior: smooth;
}

/* Header */
header {
    background: linear-gradient(to right, #000428, #004e92);
    width: 100%;
    padding: 15px 20px;
    height: 100px;
    position: fixed;
    top: 0;
    z-index: 10000;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    margin-top: 80px;
}

.logo {
    position: absolute;
    left: 10px;
    top: 10px;
}

.logo-link {
    display: inline-block;
}

.logo-img {
    display: block;
    height: auto;
    max-width: 75px;
    cursor: pointer;
    pointer-events: auto;
}

/* Title */
.site-title {
    font-size: 25px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: #f8f8f8;
    /* White */
    text-shadow: 2px 2px 5px rgba(13, 165, 220, 0.438);
    position: relative;
    text-align: center;
    margin: 10px 0;
}

@media screen and (max-width: 600px) {
    .logo img {
        max-width: 70px;
        height: auto;
    }

    .site-title {
        font-size: 20px;
        font-weight: normal;
    }
}

/* Hamburger icon */
.hamburger {
    font-size: 30px;
    cursor: pointer;
    padding: 15px;
    display: block;
    background: #004e92;
    color: white;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    border-bottom-left-radius: 10px;
}

/* Side nav */
.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background: linear-gradient(to right, #000428, #004e92);
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 60px;
    font-family: 'Montserrat', sans-serif;
}

/* .side-nav.open {
    right: 0; 
    visibility: visible;
    opacity: 1;
    pointer-events: all;
} */

.side-nav a {
    padding: 10px 25px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
}

.side-nav a:hover {
    background-color: rgb(12, 57, 180);
}

.side-nav .closebtn {
    position: absolute;
    top: 10px;
    right: 5px;
    font-size: 30px;
    color: white;
}

.container {
    max-width: 1100px;
    margin: 100px auto 50px auto;
    /* Top margin for fixed header */
    padding: 0 20px;
}

/* --- HERO SECTION --- */
.contact-hero {
    background: linear-gradient(to right, rgba(0, 4, 40, 0.9), rgba(0, 78, 146, 0.8)),
        url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?q=80&w=2074&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: #f0f0f0;
}

/* --- CONTACT CARDS ROW --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 4px solid #004e92;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
}

.contact-card h3 {
    font-size: 22px;
    color: #004e92;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    font-size: 12px;
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    color: #d4af37;
    /* Gold */
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}

/* --- FORM & MAP SECTION --- */
.content-split {
    display: flex;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Left Side: Form */
.form-side {
    flex: 1;
}

.form-side h2 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
    /* Fixes padding width issues */
}

.submit-btn {
    background: linear-gradient(to right, #000428, #004e92);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* Right Side: Map */
.map-side {
    flex: 1;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
    /* Makes map look classy */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .container {
        margin-top: 80px;
        padding: 0 15px;
    }

    /* Hero */
    .contact-hero {
        padding: 40px 20px;
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    /* Form & Map Split */
    .content-split {
        flex-direction: column;
        padding: 20px;
    }

    .map-side {
        height: 300px;
    }
}

footer {
    background: linear-gradient(to right, #000428, #004e92);
    color: white;
    text-align: center;
    padding: 15px;
    height: 4em;
    font-size: 16px;
}

@media (max-width: 768px) {
    footer {
        font-size: 14px;
    }

}