/* popup starts here */
.container8 {
    display: flex;
    max-width: 900px;
    margin: 50px auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.left-side {
    width: 40%;
    background: #fff4cc;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.left-side h2 {
    font-size: 24px;
    color: black;
}
.left-side span {
    color: #f4b400;
    font-weight: bold;
}
.right-side {
    width: 60%;
    padding: 30px;
    position: relative; /* Needed for close button */
}
.right-side h2 {
    font-size: 24px;
    color: black;
}
.highlight {
    color: #f4b400;
    font-weight: bold;
}
input, select, textarea {
    width: 98%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #FFCC00;
    border-radius: 5px;
}
.radio input{
    width: 20px;
}

.radio button{
    margin-top: 20px;
    display: inline-block;
}
.form-button {
    width: 100%;
    background: #f4b400;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}
label {
    margin: 10px 0;
}
.illustration {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

/* Popup Modal */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
}
.popup-content {
    background: white;
    padding: 20px;
    width: 50%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;

}

.p-close{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}
.pp-close{
    width: 50%;
    button{
        float: right;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px){
    .popup-content{
        width: 80%;
        height: auto;
    }
}
@media (max-width:905px){
    .left-side{
        display: none;
    }
    .container8 {
        width: 80%;
        height: auto;
    }
    .right-side{
        width: 100%;
        height: auto;
        padding: 10px 30px;
    }
}
@media screen and (max-width: 768px) {
    .popup-content {
        width: 90%;
        height: auto;
    }
    .container8 {
        width: 80%;
        height: auto;
    }
}