
:root {
    --primary: #046178;
    --secondary: #f5a623;
    --accent: #014a5c;
    --success: #27ae60;
    --danger: #e74c3c;
    --bg: #f9f9f9;
    --card-bg: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border: #e0e0e0;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary: #0588a6;
    --secondary: #f5a623;
    --accent: #03667d;
    --bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --border: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    transition: var(--transition);
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: var(--primary);
    color: white;
    padding: 0 2rem;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.logo img {
    height: 120px;
    width: auto;
    transition: var(--transition);
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.header-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a:hover {
    color: var(--secondary);
}

.hamburger {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    margin-left: 1.5rem;
}

/* Main Content */
.main {
    margin-top: 100px;
    padding: 2rem;
    min-height: calc(100vh - 180px);
}

/* Hero Section */
.hero {
    background:linear-gradient(180deg, #000000d1, #00ACC1), 
                url('https://tse2.mm.bing.net/th/id/OIP.VMtV3xqy96XWDqBW7LkOygHaEJ?pid=Api&P=0&h=180') center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-radius: 10px;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideUp 1s ease 0.2s forwards;
    opacity: 0;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 1s ease 0.4s forwards;
    opacity: 0;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.3);
}

.search-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: #e69500;
}

/* Scheme Categories */
.categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.category-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Scheme List */
.scheme-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.scheme-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    /* opacity: 0; */
    transform: translateY(20px);
}

.scheme-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease forwards;
}

.scheme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.scheme-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.scheme-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.scheme-card:hover .scheme-img img {
    transform: scale(1.05);
}

.scheme-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.scheme-content {
    padding: 1.5rem;
}

.scheme-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.scheme-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.scheme-features li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.scheme-features li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 0;
}

.apply-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.apply-btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* Stats Section */
.stats {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: 10px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 25%;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial.active {
    display: block;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* FAQ Section */
.faq {
    padding: 3rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

/* Contact Banner */
.contact-banner {
    background: linear-gradient(rgba(4, 97, 120, 0.9), rgba(4, 97, 120, 0.9)), 
                url('../assets/images/contact-bg.jpg') center/cover no-repeat;
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    color: white;
    margin-bottom: 3rem;
}

.contact-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-banner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: #e69500;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 1.5rem;
}

.copyright {
    font-size: 0.9rem;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: var(--box-shadow);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.fab:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e69500;
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.toggle-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.toggle-btn:hover {
    background-color: var(--accent);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-nav {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition);
        z-index: 999;
    }

    .header-nav.active {
        left: 0;
    }

    .header-nav a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .scheme-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 1rem;
        height: 80px;
    }

    .logo img {
        height: 90px;
    }

    .main {
        margin-top: 80px;
    }

    .hero {
        height: 350px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .scheme-list {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 80px;
        right: 20px;
    }

    .dark-mode-toggle {
        bottom: 20px;
        right: 20px;
    }

    .toggle-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
