/* ========================================= */
/* GLOBAL RESET */
/* ========================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ========================================= */
/* ROOT VARIABLES */
/* ========================================= */

:root{

    --primary-orange: #d96b10;
    --deep-orange: #b84f00;
    --golden-yellow: #f4b400;
    --light-yellow: #ffe7a3;

    --maroon: #5a0f0f;
    --dark-maroon: #3e0707;

    --green: #356b35;
    --light-green: #5b8c5b;

    --white: #ffffff;
    --off-white: #fff9f0;

    --dark-text: #222222;
    --light-text: #666666;

    --shadow: 0 10px 30px rgba(0,0,0,0.12);

    --transition: 0.4s ease;
}


/* ========================================= */
/* BODY */
/* ========================================= */

body{

    font-family: 'Poppins', sans-serif;
    background: var(--off-white);
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.7;
}


/* ========================================= */
/* CONTAINER */
/* ========================================= */

.container{

    width: 90%;
    max-width: 1300px;
    margin: auto;
}


/* ========================================= */
/* TOP BANNER */
/* ========================================= */

.top-banner{

    width: 100%;
    overflow: hidden;
    background: #fff;
}

.top-banner img{

    width: 100%;
    display: block;
}


/* ========================================= */
/* NAVBAR */
/* ========================================= */

header{

    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar{

    background: var(--maroon);
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 14px 5%;
    box-shadow: var(--shadow);
}

.mobile-logo{

    color: var(--white);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links{

    display: flex;
    gap: 22px;
    list-style: none;
}

.nav-links li a{

    text-decoration: none;
    color: var(--white);

    font-size: 0.95rem;
    font-weight: 500;

    transition: var(--transition);
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active{

    color: var(--golden-yellow);
}

.nav-links li a::after{

    content: '';
    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: var(--golden-yellow);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after{

    width: 100%;
}

.menu-toggle{

    display: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}


/* ========================================= */
/* HERO SECTION */
/* ========================================= */

.hero{

    position: relative;
    min-height: 90vh;

    background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('images/gurukul-bg.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 80px 20px;
}

.hero-content{

    max-width: 900px;
    color: white;
}

.hero-content h1{

    font-size: 4rem;
    font-family: 'Cinzel', serif;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-content p{

    font-size: 1.15rem;
    margin-bottom: 35px;
    color: #f2f2f2;
}


/* ========================================= */
/* BUTTONS */
/* ========================================= */

.hero-buttons{

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.submit-btn{

    display: inline-block;
    padding: 14px 32px;

    border-radius: 50px;

    text-decoration: none;
    font-weight: 600;

    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.primary-btn{

    background: var(--golden-yellow);
    color: var(--dark-text);
}

.primary-btn:hover{

    background: white;
    transform: translateY(-4px);
}

.secondary-btn{

    border: 2px solid white;
    color: white;
}

.secondary-btn:hover{

    background: white;
    color: var(--maroon);
}

.submit-btn{

    background: var(--maroon);
    color: white;
    margin-top: 10px;
}

.submit-btn:hover{

    background: var(--primary-orange);
}


/* ========================================= */
/* PAGE HERO */
/* ========================================= */

.page-hero{

    position: relative;
    min-height: 55vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;
}

.page-hero::before{

    content: '';

    position: absolute;
    inset: 0;

    background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('images/page-bg.jpg');

    background-size: cover;
    background-position: center;
}

.page-hero-content{

    position: relative;
    z-index: 2;
    color: white;
    max-width: 850px;
    padding: 20px;
}

.page-hero-content h1{

    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.page-hero-content p{

    font-size: 1.1rem;
    color: #f0f0f0;
}


/* ========================================= */
/* GENERAL SECTIONS */
/* ========================================= */

.section{

    padding: 90px 0;
}

.section-heading{

    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2{

    font-size: 2.7rem;
    color: var(--maroon);
    margin-bottom: 20px;

    font-family: 'Cinzel', serif;
}

.section-heading p{

    max-width: 850px;
    margin: auto;
    color: var(--light-text);
    font-size: 1.05rem;
}


/* ========================================= */
/* GRID LAYOUTS */
/* ========================================= */

.cards-grid,
.subjects-grid,
.training-grid,
.contribution-grid,
.community-grid,
.volunteer-grid,
.contact-options-grid,
.stats-grid,
.leaders-grid{

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 30px;
}


/* ========================================= */
/* CARDS */
/* ========================================= */

.info-card,
.subject-card,
.training-card,
.contribution-card,
.community-card,
.volunteer-card,
.contact-option-card,
.stat-box,
.leader-card,
.contact-info-card,
.contact-form-card,
.bank-card,
.qr-card,
.donation-card,
.razorpay-card{

    background: white;
    padding: 35px;
    border-radius: 20px;

    box-shadow: var(--shadow);

    transition: var(--transition);
}

.info-card:hover,
.subject-card:hover,
.training-card:hover,
.contribution-card:hover,
.community-card:hover,
.volunteer-card:hover,
.contact-option-card:hover,
.stat-box:hover,
.leader-card:hover,
.bank-card:hover,
.qr-card:hover,
.donation-card:hover,
.razorpay-card:hover{

    transform: translateY(-8px);
}

.info-card h3,
.subject-card h3,
.training-card h3,
.contribution-card h3,
.community-card h3,
.volunteer-card h3,
.contact-option-card h3,
.bank-card h3,
.qr-card h3,
.donation-card h3,
.razorpay-card h3{

    color: var(--maroon);
    margin-bottom: 15px;
}


/* ========================================= */
/* SUBJECT ICONS */
/* ========================================= */

.subject-icon{

    font-size: 3rem;
    margin-bottom: 20px;
}


/* ========================================= */
/* VISION SECTION */
/* ========================================= */

.vision-section{

    background:
    linear-gradient(135deg,
    rgba(217,107,16,0.08),
    rgba(244,180,0,0.08));
}


/* ========================================= */
/* LEADERS */
/* ========================================= */

.leader-card{

    text-align: center;
}

.leader-card img{

    width: 180px;
    height: 180px;

    object-fit: cover;

    border-radius: 50%;
    margin-bottom: 20px;

    border: 6px solid var(--golden-yellow);
}

.leader-card h3{

    color: var(--maroon);
    margin-bottom: 10px;
}

.leader-card h4{

    color: var(--primary-orange);
    margin-bottom: 18px;
}


/* ========================================= */
/* STATS */
/* ========================================= */

.stat-box{

    text-align: center;
}

.stat-box h3{

    font-size: 3rem;
    color: var(--primary-orange);
}

.stat-box p{

    margin-top: 10px;
    color: var(--light-text);
}


/* ========================================= */
/* DONATION SECTION */
/* ========================================= */

.bank-details-wrapper{

    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
}

.bank-info{

    margin-top: 25px;
}

.bank-row{

    margin-bottom: 20px;
}

.bank-row span{

    display: block;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 5px;
}

.bank-row p{

    color: var(--light-text);
}

.qr-card img{

    width: 250px;
    max-width: 100%;
    display: block;
    margin: 30px auto 0;
}

.razorpay-placeholder{

    margin-top: 25px;
    border: 2px dashed var(--primary-orange);

    padding: 50px;
    border-radius: 15px;

    text-align: center;
    background: #fffaf2;
}


/* ========================================= */
/* CONTACT PAGE */
/* ========================================= */

.contact-page-grid{

    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 40px;
}

.contact-details{

    margin-top: 30px;
}

.contact-item{

    margin-bottom: 30px;
}

.contact-item h3{

    color: var(--maroon);
    margin-bottom: 10px;
}

.contact-item a{

    color: var(--primary-orange);
    text-decoration: none;
}


/* ========================================= */
/* FORMS */
/* ========================================= */

.form-group{

    margin-bottom: 22px;
}

.form-group label{

    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select{

    width: 100%;
    padding: 14px 16px;

    border-radius: 12px;
    border: 1px solid #ddd;

    font-size: 1rem;
    font-family: inherit;

    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{

    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(217,107,16,0.15);
}


/* ========================================= */
/* MAP */
/* ========================================= */

.map-placeholder{

    background: white;
    padding: 80px 30px;

    border-radius: 20px;
    text-align: center;

    box-shadow: var(--shadow);
}


/* ========================================= */
/* POLICY PAGES */
/* ========================================= */

.policy-container{

    background: white;
    padding: 50px;

    border-radius: 20px;
    box-shadow: var(--shadow);
}

.policy-block{

    margin-bottom: 40px;
}

.policy-block:last-child{

    margin-bottom: 0;
}

.policy-block h2{

    color: var(--maroon);
    margin-bottom: 18px;

    font-size: 1.7rem;
}

.policy-block p{

    color: var(--light-text);
    margin-bottom: 15px;
}

.policy-block ul{

    padding-left: 22px;
}

.policy-block ul li{

    margin-bottom: 10px;
    color: var(--light-text);
}


/* ========================================= */
/* CONTACT STRIP */
/* ========================================= */

.contact-strip{

    background:
    linear-gradient(135deg,
    var(--maroon),
    var(--dark-maroon));

    padding: 70px 0;
    color: white;
}

.contact-strip-content{

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-strip-content h2{

    margin-bottom: 15px;
    font-size: 2.2rem;
}

.contact-numbers{

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-numbers a{

    color: var(--golden-yellow);
    text-decoration: none;

    font-size: 1.2rem;
    font-weight: 600;
}


/* ========================================= */
/* FOOTER */
/* ========================================= */

footer{

    background: #1a1a1a;
    color: #cccccc;

    padding-top: 80px;
}

.footer-grid{

    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 40px;
}

.footer-box h3{

    color: white;
    margin-bottom: 20px;
}

.footer-box ul{

    list-style: none;
}

.footer-box ul li{

    margin-bottom: 12px;
}

.footer-box ul li a{

    text-decoration: none;
    color: #cccccc;
    transition: var(--transition);
}

.footer-box ul li a:hover{

    color: var(--golden-yellow);
}

.footer-bottom{

    text-align: center;
    padding: 25px;
    margin-top: 60px;

    border-top: 1px solid rgba(255,255,255,0.08);
}


/* ========================================= */
/* ANIMATIONS */
/* ========================================= */

.reveal{

    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.reveal.active{

    opacity: 1;
    transform: translateY(0);
}


/* ========================================= */
/* RESPONSIVE DESIGN */
/* ========================================= */

@media(max-width: 1100px){

    .nav-links{

        position: absolute;
        top: 100%;
        left: 0;

        background: var(--maroon);

        width: 100%;
        flex-direction: column;

        padding: 30px;

        display: none;
    }

    .nav-links.active{

        display: flex;
    }

    .menu-toggle{

        display: block;
    }
}


@media(max-width: 768px){

    .hero-content h1{

        font-size: 2.7rem;
    }

    .page-hero-content h1{

        font-size: 2.5rem;
    }

    .section-heading h2{

        font-size: 2.1rem;
    }

    .contact-strip-content{

        flex-direction: column;
        text-align: center;
    }

    .policy-container{

        padding: 35px 25px;
    }
}


@media(max-width: 500px){

    .hero{

        min-height: 80vh;
    }

    .hero-content h1{

        font-size: 2.2rem;
    }

    .hero-content p{

        font-size: 1rem;
    }

    .page-hero-content h1{

        font-size: 2rem;
    }

    .section{

        padding: 70px 0;
    }

    .navbar{

        padding: 14px 20px;
    }

    .mobile-logo{

        font-size: 0.95rem;
    }
}