#contact-section label {
    position: absolute;
    left: 18px;
    top: 12px;
    color: #1c2d63;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s ease;
    /* background: #ffffff; */
    padding: 4px 6px;
}


#contact-section input:focus+label,
#contact-section input:valid+label,
#contact-section textarea:focus+label,
#contact-section textarea:valid+label {
    top: -12px;
    left: 15px;
    font-size: 0.8rem;
    color: #2f4fc5;
}

#contact-section input:focus,
#contact-section textarea:focus {
    border-color: #2f4fc5;
    box-shadow: 0 0 10px rgba(47, 79, 197, 0.3);
}

/* Animation delay and smooth entry */
.animate {
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.6s ease;
}



/* --- Footer --- */
.footer {
    background-color: #a00411;
    padding: 0px 5%;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    /* Changed from --color-white */
    text-decoration: none;
    margin-bottom: 20px;
    margin-top: 1.2em;
    display: inline-block;
}

.footer-links {
    margin-bottom: 30px;
}

.legal-links a,
.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-links a:hover,
.footer-links a:hover {
    color: var(--color-primary);
}

.legal-links {
    margin-bottom: 30px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #2f4fc5;
    transform: translateY(-3px);
}

.social-links a i {
    width: 34px;
    color: white;
    height: 24px;
}



.footer p {
    color: white;
    font-size: 0.9rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-links {
        display: flex;

    }
}


/* --- Terms & Policy Section --- */
.terms-section,
.policy-section {
    padding: 80px 20px;
    /* max-width: 800px; */
    margin: 0 auto;
}


.terms-banner-section,
.policy-banner-section {
    position: relative;
    z-index: 9;
}

/* 🔹 Dark Overlay for Readable Text */
.policy-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.514); */
    /* black transparent overlay */
    z-index: 1;
    /* video ke upar, content ke neeche */
}

/* 🔹 Hero Content */
.policy-section .container {
    position: relative;
    z-index: 2;
    /* content sabse upar rahe */
}


/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-content {
    background-color: #fff;
    margin: 5% auto;
    /* Adjust vertical position */
    padding: 40px 40px 10px 40px;
    border-radius: 20px;
    width: 90%;
    /* height: 90%; */
    max-width: 700px;
    position: relative;
    top: -7%;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 5px solid #f89c1b;
}

.popup-overlay.show {
    display: block;
    opacity: 1;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top:  10px;
    cursor: pointer;
}

.close-btn:hover {
    color: #f89c1b;
}

.popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.popup-header h2 {
    font-size: 28px;
    font-weight: 700;
}

/* Input Styles */
.inputDetail {
    position: relative;
    margin-bottom: 20px;
}

.inputDetail input,
.inputDetail textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
    outline: none;
    transition: 0.3s;
}

.inputDetail textarea {
    height: 120px;
    resize: none;
}

.inputDetail input:focus,
.inputDetail textarea:focus {
    border-color: #f89c1b;
    background: #fff;
}

/* Floating Label Animation */
.inputDetail label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #888;
    pointer-events: none;
    transition: 0.3s;
}

.inputDetail input:focus~label,
.inputDetail input:valid~label,
.inputDetail textarea:focus~label,
.inputDetail textarea:valid~label {
    top: -10px;
    left: 15px;
    font-size: 12px;
    color: #f89c1b;
    background: #fff;
    padding: 0 5px;
}

/* Decorative Shape */
/* .popup-shape {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    opacity: 0.5;
    z-index: -1;
} */

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 15% auto;
        padding: 25px;
    }

    .popup-shape {
        display: none;
    }
}