/* === FINAL CSS CODE (COPY AND PASTE EVERYTHING) === */

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.stage {
    position: relative; /* <--- YEH SAHI HAI */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Use vh for full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.button-container {
    position: absolute;
    bottom: 50px;
    display: flex;
    gap: 20px;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
}

/* === REALISTIC BUTTON STYLES (UPDATED CODE) === */
.btn {
    padding: 15px 30px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
                0 1px 3px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 
                0 3px 6px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}

.btn-blue { background: linear-gradient(to bottom, #007bff, #0056b3); }
.btn-red { background: linear-gradient(to bottom, #e04452, #c82333); }
.btn-green { background: linear-gradient(to bottom, #28a745, #1e7e34); }
.btn-orange { background: linear-gradient(to bottom, #fd7e14, #e96d08); }
/* =================================================== */

.main-image {
    width: 80%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.stage2-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.stage2-images img {
    width: 40%;
    max-width: 250px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

#stage3 .button-container {
    bottom: 100px;
}

.form-container { background: rgba(255, 255, 255, 0.95); padding: 40px; border-radius: 20px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); max-width: 500px; width: 90%; text-align: center; backdrop-filter: blur(5px); }
.form-container h2 { margin-top: 0; color: #007bff; font-weight: 700; margin-bottom: 30px; }
.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; color: #555; }
.form-group select { width: 100%; padding: 12px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 1em; background-color: #f9f9f9; transition: border-color 0.3s ease; box-sizing: border-box; }
.form-group select:focus { border-color: #007bff; outline: none; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.radio-group label { background-color: #e9ecef; padding: 10px 20px; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; font-weight: 500; color: #555; flex-grow: 1; text-align: center; }
.radio-group input[type="radio"]:checked + label { background-color: #007bff; color: white; box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3); }
.radio-group input[type="radio"] { display: none; }
.form-submit-btn { width: 100%; padding: 15px; border: none; border-radius: 30px; background: linear-gradient(45deg, #28a745, #218838); color: white; font-size: 1.3em; font-weight: 700; cursor: pointer; transition: all 0.3s ease; margin-top: 20px; box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3); text-decoration: none; display: inline-block; }
.form-submit-btn:hover { transform: translateY(-3px); box-shadow: 0 7px 25px rgba(40, 167, 69, 0.4); }

.connecting-content { text-align: center; background: rgba(255, 255, 255, 0.9); padding: 40px; border-radius: 20px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); max-width: 700px; width: 90%; display: flex; flex-direction: column; align-items: center; backdrop-filter: blur(5px); }
.connecting-text { font-size: 3em; font-weight: 700; color: #007bff; margin-bottom: 30px; letter-spacing: 2px; }
.connecting-images { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; width: 100%; flex-wrap: wrap; }
.connecting-images img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 5px solid #007bff; box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4); animation: pulseBorder 1.5s infinite alternate ease-in-out; }
@keyframes pulseBorder { from { border-color: #007bff; } to { border-color: #6c5ce7; } }
.call-ui-elements { display: flex; align-items: center; gap: 30px; margin-top: 20px; }
.call-timer { font-size: 1.5em; color: #555; font-weight: 500; }
.hangup-btn { background-color: #dc3545; color: white; border: none; border-radius: 50%; width: 60px; height: 60px; font-size: 2em; display: flex; justify-content: center; align-items: center; cursor: not-allowed; box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4); animation: ringShake 2s infinite ease-in-out; }
@keyframes ringShake { 0%, 100% { transform: rotate(0deg); } 10% { transform: rotate(-10deg); } 20% { transform: rotate(10deg); } 30% { transform: rotate(-8deg); } 40% { transform: rotate(8deg); } 50% { transform: rotate(-5deg); } 60% { transform: rotate(5deg); } 70% { transform: rotate(-2deg); } 80% { transform: rotate(2deg); } 90% { transform: rotate(0deg); } }

.loader-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 9999; backdrop-filter: blur(5px); visibility: hidden; opacity: 0; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; }
.loader-overlay.show { visibility: visible; opacity: 1; }
.spinner { border: 8px solid #f3f3f3; border-top: 8px solid #3498db; border-radius: 50%; width: 60px; height: 60px; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* === MOBILE RESPONSIVE FIXES (UPDATED CODE) === */
@media (max-width: 768px) {
    .button-container { flex-direction: column; gap: 15px; bottom: 30px; align-items: center; }
    .btn { width: 80vw; max-width: 300px; font-size: 1em; padding: 15px 20px; /* Padding for mobile */ }
    .overlay { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(0, 0, 0, 0.6); }
    
    .main-image {
        width: 90%;
        max-width: 400px;
        margin-bottom: 25px;
    }

    .stage2-images { flex-direction: column; align-items: center; width: 100%; gap: 20px; }
    .stage2-images img {
        width: 85%;
        max-width: 300px;
        height: auto;
    }
    
    .form-container { padding: 20px; }
    .connecting-text { font-size: 2em; }
    .connecting-images { gap: 10px; }
    .connecting-images img { width: 100px; height: 100px; }
    .call-timer { font-size: 1.2em; }
    .hangup-btn { width: 50px; height: 50px; }
}

/* === ARTICLE SECTION STYLES (ADD THIS AT THE VERY END OF YOUR CSS FILE) === */

.article-section {
    padding: 60px 20px;
    background-color: #f4f4f4; /* Light grey background for the whole section */
}

.article-container {
    background: rgba(255, 255, 255, 0.7); /* White glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    
    color: #000000; /* Black font */
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    text-align: left;
    box-sizing: border-box;
}
.article-container h2 {
    color: #000;
    font-size: 1.8em;
    margin-top: 0;
    line-height: 1.3;
}
.article-container p {
    font-size: 1em;
    line-height: 1.7;
}
.article-container a {
    color: #0056b3;
    font-weight: 700;
    text-decoration: none;
}
.article-container a:hover {
    text-decoration: underline;
}

.ad-header {
    /* Yeh header ko page ke top par rakhega */
    padding: 10px 0;
    position: relative; /* Sticky ya normal, dono ke liye theek hai */
    z-index: 100;
    
    /* --- The Frosted Glass Effect --- */
    background-color: rgba(255, 255, 255, 0.2); /* Halki safed, transparent layer */
    -webkit-backdrop-filter: blur(10px); /* Blur effect (for Safari) */
    backdrop-filter: blur(10px); /* Blur effect */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Halki si shadow */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Niche halki si line */
}

.ad-header-content {
    /* Ad ko center mein rakhega */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px; /* Ad ke liye kam se kam jagah */
}

@media (min-width: 336px) {
    .ad-header-content {
        min-height: 280px; /* Bade ad ke liye jagah */
    }
}