﻿* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #fff;
    color: #333;
}

/* HEADER */
.nav-bar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #3A7BD5;
    font-weight: 700;
    font-size: 1.3rem;
}

.menu-items {
    display: flex;
    gap: 20px;
}

    .menu-items a {
        text-decoration: none;
        color: #212121;
        font-weight: 500;
    }

/* MAIN CONTENT */
.main-content {
    max-width: 1000px;
    margin: 100px auto 40px auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-details, .contact-form {
    flex: 1 1 300px;
    padding: 20px;
}

h1, h2 {
    opacity: 0.64;
    font-weight: 400;
    letter-spacing: -0.05rem;
    margin: 0 0 15px 0;
}

p {
    opacity: 0.7;
    font-weight: 300;
    margin: 0 0 10px 0;
}

.contact-details a {
    color: #3A7BD5;
    text-decoration: none;
}

    .contact-details a:hover {
        text-decoration: underline;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .form-group input, .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-family: 'Roboto', sans-serif;
        font-size: 1rem;
    }

    .form-group textarea {
        resize: vertical;
    }

    .form-group button {
        background-color: #3A7BD5;
        color: white;
        border: none;
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .form-group button:hover {
            background-color: #2f6bb2;
        }

/* FOOTER */
.footer {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #757575;
}

    .footer a {
        color: #757575;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 25px;
    height: 20px;
    justify-content: space-between;
    margin-left: 10px;
}

    .burger div {
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .burger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active div:nth-child(2) {
        opacity: 0;
    }

    .burger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }


@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .contact-details, .contact-form {
        padding: 10px;
        flex: none; /* 🟢 Remove flex-grow/shrink on mobile */
    }

    .menu-items {
        position: fixed;
        top: 70px;
        right: -260px; /* Start hidden off-screen */
        width: 200px; /* Set desired width */
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }

        .menu-items a {
            text-align: right;
            font-size: 1.2rem;
        }

        .menu-items.active {
            right: 0; /* Slide in */
        }

    .burger {
        display: flex;
    }
}

.header-logo {
    height: 40px;
    margin-right: 10px;
}

.success-container {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.success-icon {
    font-size: 50px;
    color: green;
}

.success-text {
    font-size: 1.2rem;
    color: green;
}
