/* Reset + Body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
    padding-top: 50px;
    /* Match navbar height */
}

/* Container */
.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 10px 0;
    box-sizing: border-box;
}

/* Navbar */
/* Base style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f36b10;
    color: white;
    z-index: 1000;
    transition: top 0.8s ease, opacity 0.5s ease;

}

/* Show navbar on scroll */
.navbar.visible {
    top: 0;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Navbar container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links li a:hover {
    text-decoration: underline;
}

/* Hero */
.hero {
    background: #e3eaff;
    padding: 20px 0;
    text-align: center;
}

h1,
h2,
h3 {
    color: #003366;
}

a {
    color: #007BFF;
    text-decoration: none;
}

/* Sections */
section {
    padding: 20px 0;
}

.custom-header {
    background-color: #f36b10;
    /* Orange background */
    color: white;
    padding: 20px 0;
}

.header-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section {
    flex: 0 0 auto;
}

.logo-img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0);
    padding: 5px;
}

.text-section {
    flex: 1;
    text-align: center;
}

.text-section h1 {
    margin: 0;
    font-size: 44px;
    /* Increased from 24px to 36px */
    font-weight: bold;
    color: white;
}

.text-section p {
    margin: 4px 0;
    font-size: 16px;
    /* Increased from 14px to 18px */
    color: white;
}

/* Leadership */

.leadership {
    padding: 60px 20px;
    background: #fdfdfd;
}

.leader-row {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.leader-row.reverse {
    flex-direction: row-reverse;
}

.leader-block {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.leader-block.reverse {
    flex-direction: row-reverse;
}

.leader-img {
    position: relative;
    flex: 1 px;
    margin: 10px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.leader-img img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.leader-img:hover img {
    transform: scale(1.05);
}

.leader-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(102, 56, 0, 0.8);
    color: #fff;
    width: 100%;
    padding: 1px;
    text-align: center;
}

.leader-text {
    flex: 2;
    padding: 0 20px;
}

.leader-overlay h3 {
    margin: 0;
    font-size: 20px;
    color: #ffcc00;
}

.leader-text h3 {
    color: #003366;
    font-size: 24px;
    margin-bottom: 10px;
}

.leader-overlay p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #ffcc00;
}

.leader-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {

    .leader-row,
    .leader-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .leader-text {
        padding: 20px 0 0;
    }

    .leader-overlay {
        font-size: 90%;
    }
}


/* FOOTER STYLING */
.main-footer {
    background-color: #003366;
    color: #ffffff;
    padding: 40px 20px 10px;
    font-size: 14px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-grid>div {
    flex: 1 1 250px;
}

.main-footer h4 {
    font-size: 18px;
    color: #ffcc00;
    margin-bottom: 15px;
}

.footer-about p,
.footer-contact p,
.footer-links ul {
    color: #ddd;
    margin: 0 0 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contact a {
    color: #ffcc00;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #555;
    margin-top: 20px;
    padding-top: 15px;
    font-size: 13px;
    color: #bbb;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact,
    .footer-about,
    .footer-links {
        margin-bottom: 20px;
    }
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 12px;
    color: #ffcc00;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/*About section*/

.enhanced-about {
    background: url('../images/about-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 60px 20px;
    color: #333;
    position: relative;
    z-index: 1;
}

.enhanced-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.88);
    /* white overlay for readability */
    z-index: -1;
}

.section-title {
    background: #ff6600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin: 0 auto 30px;
}

.section-titles {
    background: #3ca41d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;

}


.about-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-text {
    flex: 1 1 45%;
    font-size: 16px;
    line-height: 1.8;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.about-text ul {
    padding-left: 20px;
    margin-top: 10px;
}

.about-text ul li {
    margin-bottom: 10px;
    list-style: disc;
}

.hindi-text {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
}

/*paragraph animation*/
[data-aos] {
    transition-property: opacity, transform;
}

/*css for donate button*/
.donate-btn {
    background-color: #ffcc00;
    color: #003366;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.donate-btn:hover {
    background-color: #ffaa00;
    color: white;
}

/*Donate page
.donate-section {
    padding: 60px 20px;
    text-align: center;
    color: rgb(89, 89, 89);
    position: relative;
    z-index: 1;
}*/

/*start code*/

.donate-section {
    background: linear-gradient(135deg, #003366 20%, #004080 80%);
    padding: 80px 20px;
    color: #fff;
    text-align: center;
}

.donate-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.donate-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.donate-card {
    background: #ffffff;
    color: #333;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.donate-card h3 {
    margin-top: 20px;
    color: #003366;
}

.donate-details {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    line-height: 1.8;
}

.qr-box {
    margin: 20px 0;
}

.qr-box img {
    width: 180px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #1ebd5a;
}

.thank-you {
    margin-top: 40px;
    font-style: italic;
    color: #ffcc00;
}

/*end code*/



#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
}

#textParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.donate-wrapper::before {
    content: "";
    background: url('../images/logo.png') no-repeat center center;
    background-size: 250px;
    opacity: 0.08;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.donate-wrapper {
    position: relative;
    z-index: 1;
}

.donate-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

.donate-section ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.donate-section img {
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Whatsapp button */
.whatsapp-nav {
    background-color: #25D366;
    color: white;
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-nav:hover {
    background-color: #1ebd5a;
    color: #fff;
}

.nav-links i.fab.fa-whatsapp {
    font-size: 16px;
}

/*donation page whatsapp*/
.donate-help {
    margin-top: 30px;
    text-align: center;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.whatsapp-btn i {
    margin-right: 8px;
}

.whatsapp-btn:hover {
    background-color: #1ebd5a;
}

/*sabha logo*/
.donate-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
}


/*Mobile View*/
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    html {
        font-size: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    nav.navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-links li a {
        padding: 10px 0;
        display: block;
        width: 100%;
    }

    .leader-block,
    .leader-block.reverse {
        flex-direction: column !important;
        text-align: center;
    }

    .leader-image img {
        max-width: 80%;
        margin: auto;
    }

    .donate-card {
        padding: 20px;
    }

    .donate-details {
        text-align: left;
        font-size: 15px;
    }

    .qr-box img {
        width: 140px;
    }

    .whatsapp-btn {
        font-size: 15px;
        padding: 10px 16px;
    }

    footer .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-about,
    .footer-links,
    .footer-contact {
        margin-bottom: 20px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 15px;
        font-size: 13px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: #ccc;
    }

    .social-icons {
        margin-top: 20px;
    }

    .social-icons a {
        font-size: 30px;
        color: #25D366;
        margin: 0 10px;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .social-icons a:hover {
        transform: scale(1.2);
    }

    .footer-links ul {
        list-style: none;
        padding: 0;
    }

    .footer-links ul li {
        margin-bottom: 10px;
    }

    .footer-links ul li a {
        color: #ffffff;
        text-decoration: none;
        display: inline-block;
        padding: 6px 12px;
        border-radius: 6px;
        transition: background 0.3s ease;
        background-color: rgba(255, 255, 255, 0.05);
    }

    .footer-links ul li a:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .main-footer {
        background: linear-gradient(to right, #002244, #003366);
        color: #ffffff;
        padding: 50px 20px 20px;
        font-size: 15px;
        text-align: center;
    }

    .main-footer h4 {
        color: #ffcc00;
        margin-bottom: 10px;
        font-size: 18px;
    }

        .footer-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
        }
    
        @media (max-width: 768px) {
            .footer-grid {
                flex-direction: column;
                text-align: center;
                align-items: center;
                gap: 20px;
            }
    
            .footer-about,
            .footer-links,
            .footer-contact {
                width: 100%;
                max-width: 300px;
            }
        }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        margin-bottom: 30px;
    }

    .donate-title {
        font-size: 26px;
    }

    .donate-subtitle {
        font-size: 16px;
    }

    .navbar {
        padding: 10px 0;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Hamburger Menu */

    .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        transition: transform 0.3s ease;
        margin-right: 10px;
        /* ✅ Add this for spacing */
        padding: 8px;
        /* Optional: adds tap-friendly area */
    }

    .hamburger span {
        width: 26px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    /* Animation when menu is open */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hamburger {
        display: flex;
    }

    /*Mobile centre Logo*/
    .logo-section {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }

    /*end code*/

    .nav-links {
        position: absolute;
        top: 60px;
        /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        background: #003366;
        flex-direction: column;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li {
        width: 90%;
        text-align: center;
        margin: 10px 0;
    }

    .nav-links li a {
        display: block;
        padding: 12px;
        width: 85%;
        font-size: 16px;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li a:hover {
        background-color: #004080;
    }
}

/* Loader */
/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-logo img {
    width: 120px;
    animation: zoomInOut 1.8s ease-in-out infinite;
}

@keyframes zoomInOut {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/*floating donate and whatsapp*/
.floating-donate,
.floating-whatsapp {
    position: fixed;
    bottom: 80px;
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 22px;
    line-height: 45px;
    border-radius: 50%;
    color: white;
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-donate {
    right: 20px;
    background: #ffaa00;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp {
    right: 80px;
    background: #25D366;
    font-size: 20px;
}

.floating-donate:hover,
.floating-whatsapp:hover {
    transform: scale(1.1);
}

@media (min-width: 769px) {

    .floating-donate,
    .floating-whatsapp {
        display: none;
    }
}

/* Back to Top Button */

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #ffaa00;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    line-height: 45px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#scrollToTopBtn:hover {
    background-color: #74a501;
}
/*
@media (min-width: 769px) {
    #scrollToTopBtn {
        display: none;
    }
}*/