/* POPupform */

.popup-form-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-form-content {
    background: #fff8e1;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    font-family: Arial, sans-serif;
}

.popup-form-content h2 {
    margin-bottom: 20px;
    color: #ff6f00;
}

.popup-form-content input {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.popup-form-content button[type="submit"] {
    width: 100%;
    background: #ff6f00;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
}


/* Downside form */
.smart-head-form {
    font-family: 'Poppins', sans-serif;
    background-color: #fff3e0;
    padding: 30px;
    margin-top: 50px;
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.smart-head-form h2 {
    color: #ef6c00;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.smart-head-form form {
    display: flex;
    flex-direction: column;
}

.smart-head-form input {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.smart-head-form button {
    background-color: #ef6c00;
    color: white;
    padding: 10px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.required {
    color: red;
    font-weight: bold;
}
.registration-container {
    display: flex;
    max-width: 950px;
    margin: 50px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif;
}

.form-section, .social-section {
    flex: 1;
    padding: 40px 30px;
}

.form-section {
    background-color: #fef6f8; /* Light pink-orange */
}

.form-section h2 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #b85c8d; /* Deep mauve */
}

.form-section input,
.form-section select {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #b85c8d; /* Muted purple */
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background-color: #993a6e;
}

.social-section {
    background-color: #f8e9ff; /* Light lavender-purple */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.social-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.social-section h3 {
    font-size: 16px;
    color: #4b2e59;
}

.social-icons a img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: transform 0.2s;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

/* --------------------- */
/* 📱 Mobile Phones */
/* --------------------- */
@media (max-width: 767px) {
    .registration-container {
        flex-direction: column;
        margin: 20px 10px;
        box-shadow: none;
    }

    .form-section,
    .social-section {
        padding: 25px 20px;
    }

    .form-section h2 {
        font-size: 20px;
    }

    .social-icons a img {
        width: 36px;
        height: 36px;
        margin: 0 6px;
    }

    .social-section h3 {
        font-size: 15px;
    }
}

/* --------------------- */
/* 💻 Tablets */
/* --------------------- */
@media (min-width: 768px) and (max-width: 991px) {
    .registration-container {
        flex-direction: column;
        max-width: 700px;
    }

    .form-section,
    .social-section {
        padding: 35px 25px;
    }

    .social-icons a img {
        width: 38px;
        height: 38px;
    }
}

/* --------------------- */
/* 🖥 Small Desktops */
/* --------------------- */
@media (min-width: 992px) and (max-width: 1199px) {
    .registration-container {
        max-width: 850px;
    }
}

.submit-btn.loading {
    background-color: #ccc !important;
    color: #555;
    cursor: not-allowed;
    font-weight: bold;
}
