/* Modern Footer Aesthetics */
.modern-footer {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #f1f5f9;
    padding: 60px 20px 20px;
    font-family: 'DM Sans', 'Inter', 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.modern-footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-col {
    flex: 1 1 300px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #3b82f6;
    margin-top: 8px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-col:hover .footer-title::after {
    width: 80px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-col ul li i {
    color: #3b82f6;
    margin-top: 4px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.footer-col ul li:hover i {
    transform: scale(1.2);
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.footer-link {
    color: #3b82f6 !important;
}
.footer-link:hover {
    text-decoration: underline !important;
}

.why-choose-us li {
    color: #e2e8f0 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Modal Styling (Glassmorphism Effect) */
.policy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.policy-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.policy-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #1e293b;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    flex-direction: column;
}

.policy-modal-overlay.active .policy-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: none;
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.modal-body-scroll {
    overflow-y: auto;
    padding-right: 10px;
}

.modal-body-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-body-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.modal-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #475569;
}

.modal-text h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #1e293b;
}

.modal-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #475569;
    line-height: 1.6;
}

.modal-text ul li {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .footer-col {
        flex: 1 1 100%;
    }
    .policy-modal-content {
        padding: 30px 20px;
    }
}
