/* Newsletter Section */
.newsletter-section {
    background: var(--gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-btn {
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.newsletter-btn:hover {
    background: #000;
    transform: translateY(-10%);
}

.newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.newsletter-modal {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 350px;
    text-align: left;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.newsletter-modal input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.newsletter-actions button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.subscribe-btn {
    background: #2563EB;
    color: #fff;
}

.unsubscribe-btn {
    background: #EF4444;
    color: #fff;
}

.close-btn {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 20px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Main Footer */
.main-footer {
    background: #1a1a2e;
    padding: 80px 0 30px;
    position: relative;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.footer-about {
    color: #b8bcc8;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.footer-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #b8bcc8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #b8bcc8;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    /* color: var(--primary-color); */
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text {
    line-height: 1.5;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.payment-icon {
    width: 50px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Copyright */
.copyright-section {
    background: #0f0f1e;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
}

.copyright-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.copyright-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.copyright-links a:hover {
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-title {
        font-size: 2rem;
    }

    .copyright-links {
        justify-content: center;
        margin-top: 15px;
    }

    .main-content h1 {
        font-size: 2rem;
    }
}

/* Overlay */
.policy-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* When Active */
.policy-overlay.active {
    display: flex;
    opacity: 1;
}

/* Modal Box */
.policy-modal {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    width: 85%;
    max-width: 950px;
    height: 85vh;
    padding: 40px;
    border-radius: 20px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    opacity: 0;
    animation: modalFade 0.35s ease forwards;
}

/* Animation */
@keyframes modalFade {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Headings */
.policy-modal h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
    border-bottom: 2px solid #2563EB;
    padding-bottom: 10px;
}

/* Paragraph */
.policy-modal p {
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 15px;
    color: #4B5563;
}

/* Close Button */
.close-btn {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 26px;
    font-weight: bold;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #EF4444;
    transform: rotate(90deg);
}

/* Scrollbar Styling */
.policy-modal::-webkit-scrollbar {
    width: 8px;
}

.policy-modal::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.policy-modal::-webkit-scrollbar-thumb {
    background: #2563EB;
    border-radius: 10px;
}

.policy-modal::-webkit-scrollbar-thumb:hover {
    background: #1E40AF;
}