/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

body {
    margin: 0;
    background: #0d0d0d;
    color: #f1f1f1;
}

/* ======================== Header ======================== */
header {
    background: linear-gradient(90deg, #111, #1c1c1c);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

header img {
    height: 50px;
    max-width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #f1f1f1;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff9800;
}

/* Hamburger Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-top: 10px;
}

.menu-toggle span {
    background: #f1f1f1;
    height: 3px;
    width: 25px;
    margin: 4px auto;
    border-radius: 2px;
    transition: 0.3s;
}

/* ======================== General Sections ======================== */
.section {
    padding: 60px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, #141414, #1f1f1f);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    border-radius: 12px;
    flex-wrap: wrap;
}

.section img {
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
}

.section-text {
    flex: 1;
    padding: 20px;
    min-width: 250px;
}

.section-text h2 {
    margin-bottom: 15px;
    color: #ff9800;
}

.section-text h4 {
    margin-bottom: 12px;
    color: #ff9800;
}

/* ======================== Quick Links ======================== */
.quick-links {
    text-align: center;
    padding: 40px 10%;
    background: #111;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.quick-links h3 {
    margin-bottom: 20px;
    color: #ff9800;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-links ul li {
    margin: 10px 15px;
}

.quick-links ul li a {
    text-decoration: none;
    color: #f1f1f1;
    font-weight: bold;
    transition: color 0.3s;
}

.quick-links ul li a:hover {
    color: #ff9800;
}

/* ================================ Contact Us Section Styling ================================= */
#contact {
    margin: 60px auto;
    max-width: 1200px;
    padding: 20px;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-card {
    flex: 1;
    background: #0d1417;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.contact-card h2 {
    color: #ff9800;
    margin-bottom: 15px;
    font-size: 24px;
}

.contact-card p {
    color: #f1f1f1;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Form Styling */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

/* Labels */
#contact label {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: left;
}

/* Inputs & Textarea */
#contact input,
#contact textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 15px;
    background: #1a1f23;
    color: #fff;
    transition: border 0.3s ease, background 0.3s ease;
}

#contact input:focus,
#contact textarea:focus {
    border: 1px solid #ff4d4d;
    outline: none;
    background: #22292d;
}

/* Button */
#contact button {
    background: #ff4d4d;
    color: #fff;
    padding: 12px 18px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

#contact button:hover {
    background: #e63939;
    transform: scale(1.05);
}

/* Map Styling */
.map-container {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ================================ Popup Notification ================================= */
#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0d1417;
    border: 2px solid #ff4d4d;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
    animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    20% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
}

/* ================================ Responsive Design ================================= */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header img {
        height: 40px;
        margin-bottom: 10px;
    }

    /* Hamburger visible */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav ul {
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 100px;
        right: 50%;
        transform: translateX(50%);
        width: 200px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
        display: none;
        z-index: 1000;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    .section {
        flex-direction: column;
        text-align: center;
    }

    .section img {
        margin-top: 20px;
        max-width: 200px;
    }

    /* Contact page responsive - stack vertically on small screens */
    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-card {
        width: 100%;
    }

    .map-container {
        height: 300px;
    }
}
