/* --- COMPACT DARK BLUE THEME STYLES --- */

/* Base Container (Dark Gradient Background) */
.subscribe-container {
    display: flex;
    justify-content: center;
    padding: 60px 20px;

    /* Dark Gradient: Matches a deep, modern blue/dark theme */
    background: linear-gradient(180deg, #10151f, #1a2230);

    font-family: Arial, sans-serif;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.subscribe-card {
    display: flex;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    /* Deep shadow */
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-card:hover {
    transform: translateY(-5px);
    /* Lift animation on hover */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

/* Dark Mode Background & Colors (Inner Card) */
.subscribe-card.compact-dark {
    background: linear-gradient(135deg, #2a3a4c, #1f2a38);
    /* Inner Card Blue-Dark Gradient */
    color: #e0e0e0;
}

.subscribe-card .content {
    flex: 3;
    padding: 30px;
    text-align: left;
}

.subscribe-card .headline {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4dc3ff;
    /* Primary Blue Accent Color */
    margin-bottom: 5px;
}

.subscribe-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #c0c0c0;
}

/* Form Layout */
.subscribe-form-layout {
    display: flex;
    gap: 10px;
}

#email-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #3a4a5c;
    border-radius: 6px;
    font-size: 0.9rem;
    background-color: #1f2a38;
    /* Darker Input background */
    color: white;
    transition: all 0.3s;
}

#email-input::placeholder {
    color: #8899ac;
}

#email-input:focus {
    background-color: #2a3a4c;
    border-color: #007bff;
    /* Bright Blue border on focus */
    outline: none;
}

#subscribe-btn {
    padding: 12px 25px;
    background-color: #007bff;
    /* Action Blue */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.1s;
    display: flex;
    align-items: center;
    gap: 8px;
}

#subscribe-btn:hover {
    background-color: #0056b3;
}

#subscribe-btn:active {
    transform: scale(0.98);
}

/* Action Area (Right Side - Button and Icon) */
.action-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0d121c;
    /* Almost Black/Very Dark Blue for contrast */
    padding: 20px;
    min-width: 150px;
}

.action-area .fa-bell {
    font-size: 3rem;
    color: #007bff;
    /* Icon Blue */
    margin-bottom: 15px;
    animation: pulse 1.5s infinite;
}

/* Explore Blogs Button */
.explore-btn {
    background-color: #4dc3ff;
    /* Lighter Blue Accent color */
    color: #1f2a38;
    /* Dark text for contrast */
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: background-color 0.3s;
}

.explore-btn:hover {
    background-color: #007bff;
    /* Darker on hover */
    color: white;
}

/* Status Message */
.status-message {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #4dc3ff;
    /* Blue text */
    font-weight: 500;
    min-height: 20px;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* 1. Popup Modal (Overlay) - आपके class 'popup-modal' का उपयोग */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* 90% Opacity के साथ गहरा काला ओवरले */
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    /* हल्का ब्लर इफ़ेक्ट */
    overflow: auto;
    /* Pop-up को केंद्र (center) में रखने के लिए */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    /* Fade out के लिए */
}

/* 2. Popup Content Box - आपके class 'popup-content' का उपयोग */
.popup-content {
    /* व्हाइट की जगह ब्लैक थीम */
    background-color: #1e1e1e;
    color: #f0f0f0;
    margin: 0;
    /* 'margin: 15% auto' हटा दिया ताकि flex सेंटरिंग काम करे */
    padding: 35px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    /* गहरा शैडो, सक्सेस के लिए हल्का ग्रीन/ब्लूिश */
    box-shadow: 0 10px 40px rgba(77, 195, 255, 0.25);
    /* Animation बनाए रखने के लिए */
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #333;
    /* हल्का बॉर्डर */
}

/* Icon Spot Style */
.popup-icon-spot {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
    animation: bounce 0.6s ease-out;
}

/* Heading - आपके class 'popup-content h2' का उपयोग */
.popup-content h2 {
    /* Blue Heading की जगह आकर्षक Cyan/Green कलर */
    color: #4dc3ff;
    font-size: 1.8rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Paragraph */
.popup-content p {
    color: #b0b0b0;
    /* Light gray text */
    margin-bottom: 25px;
}

/* Close Button (X) - आपके class 'popup-close' का उपयोग */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #888;
    font-size: 30px;
    font-weight: 300;
    /* For a lighter 'x' */
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.popup-close:hover {
    color: #4dc3ff;
    transform: rotate(90deg);
}

/* Action Button - आपके class 'popup-btn' का उपयोग */
.popup-btn {
    /* Blue Button की जगह शानदार Gradient */
    background: linear-gradient(45deg, #4dc3ff, #007bff);
    color: #1e1e1e;
    /* Dark text for contrast */
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.popup-btn:hover {
    background: linear-gradient(45deg, #007bff, #4dc3ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
}

/* Keyframe Animations - Existing animations are kept */
@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}



/* --- Media Query for responsiveness (Same as before) --- */
@media (max-width: 768px) {
    .subscribe-container {
        padding: 40px 10px;
    }

    .subscribe-card {
        flex-direction: column;
        max-width: 500px;
    }

    .subscribe-card .content {
        padding: 25px 20px;
    }

    .action-area {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 15px 20px;
        background: #0d121c;
    }

    .action-area .fa-bell {
        margin-bottom: 0;
        margin-right: 15px;
    }

    .subscribe-form-layout {
        flex-direction: column;
    }

    #email-input,
    #subscribe-btn {
        width: 100%;
    }
}