@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* ===== Navigation Bar ===== */
.navbar {
    height: 110px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.nav-logo {
    height: 100px;
    width: auto;
}

.logo {
    background-image: url("logo.png");
    background-size: cover;
    height: 100px;
    width: 100px;
}

.tags a {
    margin: 0 15px;
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.border:hover {
    border: 2.5px solid rgb(130, 106, 251);
    border-radius: 8px;
    background-color: rgb(130, 106, 251);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: black;
    cursor: pointer;
    padding: 10px;
}

/* ===== Form Styling ===== */
.form-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgb(130, 106, 251);
}

.container {
    position: relative;
    max-width: 700px;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.container header {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.container .form {
    margin-top: 30px;
}

.form .input-box {
    width: 100%;
    margin-top: 20px;
}

.input-box label {
    color: #333;
}

.form :where(.input-box input, .select-box) {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

.input-box input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.form .gender-box {
    margin-top: 20px;
}

.gender-box h3 {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.form :where(.gender-option, .gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}

.form :where(.gender-option, .gender) {
    row-gap: 15px;
}

.form .gender {
    column-gap: 5px;
}

.form :where(.gender input, .gender label) {
    cursor: pointer;
}

.column {
    margin-top: 15px;
}

.select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}

.form button {
    height: 55px;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    border: none;
    margin-top: 30px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: rgb(130, 106, 251);
}

.form button:hover {
    background-color: rgb(88, 56, 250);
}

/* ===== Modal Styling ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 0px 10px #00000033;
}

.modal-icon {
    font-size: 50px;
    color: green;
    margin-bottom: 10px;
}

.modal-content h2 {
    margin: 0;
    color: #333;
}

.modal-content p {
    color: #666;
    margin-top: 10px;
}

#close-modal {
    margin-top: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#close-modal:hover {
    background-color: #45a049;
}

/* ===== Footer Styling ===== */
.contact-us {
    width: 100%;
    height: 100px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.contact-us-msg-left h4 {
    color: whitesmoke;
    font-size: 1.2rem;
    font-weight: 300;
}

.contact-us-msg-right i {
    font-size: 1.8rem;
    color: whitesmoke;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.contact-us-msg-right i:hover {
    color: #00999c;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .navbar {
        height: auto;
        flex-direction: column;
        padding: 10px;
    }
    
    .nav-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .tags {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0,0,0,0.9);
        padding: 20px;
        margin-top: 10px;
    }
    
    .tags.active {
        display: flex;
    }
    
    .tags a {
        margin: 5px 0;
        padding: 10px;
        text-align: center;
        color: white;
    }
    
    .contact-us {
        height: auto;
        padding: 15px 0;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-us-msg-left {
        margin-left: 0;
        width: 100%;
    }
    
    .contact-us-msg-right {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
}