* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #f0f0f0;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                linear-gradient(135deg, #667eea, #764ba2);
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-3px) scale(1.03);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* Sections */
.main-content {
    max-width: 1200px;
    margin: auto;
    padding: 4rem 20px;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* ✅ Section Image Responsive Fix */
.section img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem; /* center + spacing below */
    border-radius: 12px; /* thoda rounded look */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* optional soft shadow */
}


/* Adjust spacing for mobile */
@media (max-width: 768px) {
    .section {
        padding: 1rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .card {
        padding: 1.2rem;
    }
}





/* make grid items equal height and cards use flex layout */
/* ✅ Card grid layout fix for all devices */
/* ✅ Card grid responsive layout fix */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
}

/* Force 2 cards per row on mobile */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* For extra small devices (below 360px) — fallback to 1 per row */
@media (max-width: 360px) {
    .cards {
        grid-template-columns: 1fr;
    }
}


/* card: use flex column so button can be pushed to bottom reliably */
.card {
    background: white;
    padding: 2rem; /* padding all around */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* important */
    min-height: 260px; /* adjust if you want taller cards (e.g. 320px) */
    text-align: center;
}

/* headings & text */
.card h3 {
    color: #667eea;
    margin-bottom: 0.8rem;
}

.card p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 0.95rem;
}

/* button: push to bottom with auto margin */
.card .btn {
    margin-top: auto;
    display: inline-block;
    text-align: center;
}

/* hover effect */
.card:hover {
    transform: translateY(-5px);
}


.card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}


/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    color: #95a5a6;
}
.footer-section ul {
    list-style: none;      /* 🔥 removes the dots */
    padding: 0;            /* removes left spacing */
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;    /* optional spacing between links */
}



/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}













/* ======================
   🎉 WIN PAGE STYLES
====================== */
.win-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.popup {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease;
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 2;
}

.popup h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.popup p {
    color: #666;
    margin-bottom: 15px;
}

.code-box {
    background: #f0f4ff;
    border: 2px dashed #667eea;
    padding: 12px;
    margin: 10px 0;
    font-weight: bold;
    border-radius: 8px;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease, background 0.3s ease;
    margin-top: 10px;
}

.btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: fall 3s linear infinite;
    z-index: 1;
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}

@keyframes fall {
    0% {transform: translateY(0) rotate(0deg);}
    100% {transform: translateY(100vh) rotate(720deg);}
}






/* ===========================
   Lose Page Styles
=========================== */
.lose-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    color: white;
    text-align: center;
}

.lose-popup {
    max-width: 450px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.lose-content h2 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.lose-content p {
    color: #eee;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.lose-content .btn {
    background: #ff6b6b;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lose-content .btn:hover {
    transform: scale(1.05);
    background: #ff5252;
}

.sad {
    font-size: 4rem;
    animation: shake 1.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-6px); }
}

.ad-block {
    margin: 1.5rem 0;
}





/* Yojana CSS */
/**************/

/* =========================================================
   ✅ Yojana Page Scoped Styling (Safe, won't affect others)
   ========================================================= */
.yojana-page .yojana-hero {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.yojana-page .yojana-details h2 {
    color: #5b5fc7;
    margin-top: 2rem;
}

.yojana-page .table-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.yojana-page .table-section th,
.yojana-page .table-section td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

.yojana-page .table-section th {
    background: #667eea;
    color: #fff;
}

.yojana-page .highlight-box {
    background: #eef0ff;
    padding: 1rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.yojana-page .btn-center {
    text-align: center;
    margin-top: 1.5rem;
}

.yojana-page .btn-primary,
.yojana-page .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    margin: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.yojana-page .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.yojana-page .btn-secondary {
    border: 2px solid #667eea;
    color: #667eea;
    background: white;
}

.yojana-page .btn-primary:hover,
.yojana-page .btn-secondary:hover {
    transform: scale(1.05);
}

.yojana-page .helpline {
    background: #f8f8ff;
    padding: 1.2rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}





.yojana-page {
  margin: 40px 80px;   /* ⬆️ 40px top-bottom, 80px left-right */
}

@media (max-width: 1200px) {
  .yojana-page {
    margin: 35px 50px;
  }
}

@media (max-width: 768px) {
  .yojana-page {
    margin: 25px 20px;
  }
}

@media (max-width: 480px) {
  .yojana-page {
    margin: 20px 10px;
  }
}
