/* ==========================================
   MAHAMARG MANAS SEWA FOUNDATION
   Global Stylesheet
========================================== */

/* ===== RESET ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    font-size:16px;
    line-height:1.7;

    color:#333;
    background:#ffffff;

}

/* ===== LINKS ===== */

a{

    color:inherit;
    text-decoration:none;

}

img{

    max-width:100%;
    display:block;

}

/* ===== CONTAINER ===== */

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

/* ===== SECTIONS ===== */

section{

    padding:80px 0;

}

/* ===== HEADINGS ===== */

h1{

    font-size:48px;
    font-weight:700;
    line-height:1.2;
    margin-bottom:20px;

}

h2{

    font-size:36px;
    font-weight:700;
    margin-bottom:20px;

}

h3{

    font-size:26px;
    font-weight:600;
    margin-bottom:15px;

}

p{

    margin-bottom:18px;

}

/* ===== BUTTONS ===== */

.btn{

    display:inline-block;

    padding:14px 32px;

    border-radius:6px;

    background:#0F6B4F;
    color:#ffffff;

    transition:.3s;

    font-weight:600;

}

.btn:hover{

    background:#094D39;

}

/* ===== HEADER ===== */

header{

    position:sticky;
    top:0;

    background:#ffffff;

    z-index:1000;

    box-shadow:0 2px 10px rgba(0,0,0,.06);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

/* ===== LOGO ===== */

.logo img{

    height:70px;

}

/* ===== NAVIGATION ===== */

nav ul{

    list-style:none;

    display:flex;

    gap:30px;

}

nav a{

    font-weight:500;

}

nav a:hover{

    color:#0F6B4F;

}

/* ===== DONATE BUTTON ===== */

.donate-btn{

    background:#D4AF37;

    color:#ffffff;

    padding:12px 24px;

    border-radius:6px;

    font-weight:600;

}

.donate-btn:hover{

    background:#B89022;

}

/* ===== FOOTER ===== */

footer{

    background:#12352D;

    color:#ffffff;

    text-align:center;

    padding:40px 0;

}

/* ===== RESPONSIVE ===== */

@media(max-width:768px){

    h1{

        font-size:36px;

    }

    h2{

        font-size:30px;

    }

    header .container{

        flex-direction:column;

        height:auto;

        padding:20px 0;

    }

    nav ul{

        flex-direction:column;

        align-items:center;

        gap:15px;

        margin:20px 0;

    }

}

/* ==========================================
   HERO SECTION
========================================== */

.hero{

    padding:100px 0;

}

.hero-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

}

.hero-content{

    flex:1;

}

.hero-image{

    flex:1;

}

.hero-image img{

    width:100%;
    border-radius:12px;

}

.hero-tag{

    display:inline-block;

    margin-bottom:20px;

    color:#0F6B4F;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:1px;

}

.hero h1{

    margin-bottom:25px;

}

.hero p{

    font-size:18px;

    color:#555;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

.btn-secondary{

    background:#ffffff;

    color:#0F6B4F;

    border:2px solid #0F6B4F;

}

.btn-secondary:hover{

    background:#0F6B4F;

    color:#ffffff;

}

@media(max-width:768px){

    .hero{

        padding:60px 0;

    }

    .hero-container{

        flex-direction:column-reverse;

        text-align:center;

    }

    .hero-buttons{

        justify-content:center;

        flex-wrap:wrap;

    }

}

/* ==========================================
   PURPOSE SECTION
========================================== */

.purpose{

    background:#f8faf8;

}

.section-heading{

    text-align:center;

    margin-bottom:50px;

}

.section-tag{

    display:inline-block;

    color:#0F6B4F;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:15px;

}

.section-heading h2{

    max-width:750px;

    margin:0 auto;

}

.purpose-content{

    max-width:900px;

    margin:0 auto;

    text-align:center;

}

.purpose-content p{

    font-size:18px;

    color:#555;

    margin-bottom:24px;

}

/* ==========================================
   AREAS OF SERVICE
========================================== */

.areas{

    background:#ffffff;

}

.areas-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.area-card{

    background:#ffffff;

    padding:35px;

    border-radius:12px;

    border:1px solid #e5e5e5;

    transition:.3s;

}

.area-card:hover{

    transform:translateY(-6px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.area-icon{

    font-size:42px;

    margin-bottom:20px;

}

.area-card h3{

    margin-bottom:15px;

}

.area-card p{

    color:#666;

    margin-bottom:20px;

}

.area-card a{

    color:#0F6B4F;

    font-weight:600;

}

.area-card a:hover{

    text-decoration:underline;

}

/* ==========================================
   IMPACT
========================================== */

.impact{

    background:#0F6B4F;

    color:#ffffff;

}

.impact .section-tag{

    color:#CFE9DD;

}

.impact .section-heading{

    text-align:center;

}

.impact .section-heading h2{

    color:#ffffff;

}

.section-description{

    max-width:700px;

    margin:20px auto 0;

    opacity:.9;

}

.impact-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.impact-card{

    text-align:center;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    border-radius:12px;

    padding:40px 20px;

}

.impact-card h3{

    font-size:48px;

    font-weight:700;

    margin-bottom:10px;

}

.impact-card p{

    margin:0;

    font-size:18px;

}

/* ==========================================
   PROJECTS
========================================== */

.projects{

    background:#ffffff;

}

.projects-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    margin-top:60px;

}

.project-card{

    background:#ffffff;

    border-radius:12px;

    overflow:hidden;

    border:1px solid #e8e8e8;

    transition:.3s;

}

.project-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.project-card img{

    width:100%;

    height:230px;

    object-fit:cover;

}

.project-content{

    padding:30px;

}

.project-content h3{

    margin-bottom:15px;

}

.project-content p{

    color:#666;

    margin-bottom:25px;

}

.project-link{

    color:#0F6B4F;

    font-weight:600;

}

.project-link:hover{

    text-decoration:underline;

}

.projects-button{

    text-align:center;

    margin-top:60px;

}

/* ==========================================
   STORIES
========================================== */

.stories{

    background:#f8faf8;

}

.stories-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));

    gap:35px;

    margin-top:60px;

}

.story-card{

    background:#ffffff;

    border-radius:12px;

    overflow:hidden;

    border:1px solid #e8e8e8;

    transition:.3s;

}

.story-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.story-card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.story-content{

    padding:30px;

}

.story-content h3{

    margin-bottom:15px;

}

.story-content p{

    color:#666;

    margin-bottom:25px;

}

.story-link{

    color:#0F6B4F;

    font-weight:600;

}

.story-link:hover{

    text-decoration:underline;

}

/* ==========================================
   GET INVOLVED
========================================== */

.involved{

    background:#ffffff;

}

.involved-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    margin-top:60px;

}

.involved-card{

    text-align:center;

    background:#f8faf8;

    padding:40px 30px;

    border-radius:12px;

    border:1px solid #e5e5e5;

    transition:.3s;

}

.involved-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.involved-icon{

    font-size:52px;

    margin-bottom:20px;

}

.involved-card h3{

    margin-bottom:15px;

}

.involved-card p{

    color:#666;

    margin-bottom:30px;

}

/* ==========================================
   NEWS
========================================== */

.news{

    background:#f8faf8;

}

.news-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    margin-top:60px;

}

.news-card{

    background:#ffffff;

    border:1px solid #e8e8e8;

    border-radius:12px;

    overflow:hidden;

    transition:.3s;

}

.news-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.news-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.news-content{

    padding:30px;

}

.news-date{

    display:inline-block;

    margin-bottom:12px;

    font-size:14px;

    color:#777;

    font-weight:500;

}

.news-content h3{

    margin-bottom:15px;

}

.news-content p{

    color:#666;

    margin-bottom:25px;

}

.news-link{

    color:#0F6B4F;

    font-weight:600;

}

.news-link:hover{

    text-decoration:underline;

}

.news-button{

    text-align:center;

    margin-top:60px;

}

/* ==========================================
   GALLERY
========================================== */

.gallery{

    background:#ffffff;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

    margin-top:60px;

}

.gallery-grid img{

    width:100%;

    height:250px;

    object-fit:cover;

    border-radius:12px;

    transition:.3s;

    cursor:pointer;

}

.gallery-grid img:hover{

    transform:scale(1.03);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.gallery-button{

    margin-top:60px;

    text-align:center;

}

/* ==========================================
   CALL TO ACTION
========================================== */

.cta{

    background:linear-gradient(135deg,#0F6B4F,#184C3A);

    color:#ffffff;

    text-align:center;

}

.cta-content{

    max-width:800px;

    margin:auto;

}

.cta .section-tag{

    color:#CFE9DD;

}

.cta h2{

    color:#ffffff;

    margin:20px 0;

}

.cta p{

    font-size:18px;

    line-height:1.8;

    opacity:.95;

    margin-bottom:40px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.cta .btn{

    min-width:220px;

}

.cta .btn-secondary{

    background:#ffffff;

    color:#0F6B4F;

    border:2px solid #ffffff;

}

.cta .btn-secondary:hover{

    background:transparent;

    color:#ffffff;

}

/* ==========================================
   PAGE HEADER
========================================== */

.page-header{

    background:#0F6B4F;

    color:#ffffff;

    text-align:center;

    padding:80px 0;

}

.page-header h1{

    color:#ffffff;

    margin-bottom:20px;

}

.page-header p{

    max-width:750px;

    margin:auto;

    font-size:18px;

    opacity:.95;

}


/* ==========================================
   DONATION FORM
========================================== */

.donation-form{

    padding:80px 0;

    background:#f8faf8;

}

.donation-form form{

    background:#ffffff;

    padding:50px;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.donation-form h2{

    margin-top:40px;

    margin-bottom:25px;

    padding-bottom:10px;

    border-bottom:2px solid #eeeeee;

}

.donation-form h2:first-child{

    margin-top:0;

}


/* ==========================================
   FORM GRID
========================================== */

.form-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-bottom:25px;

}

.form-group{

    display:flex;

    flex-direction:column;

}

.form-group label{

    margin-bottom:8px;

    font-weight:600;

    color:#333333;

}


/* ==========================================
   INPUTS
========================================== */

.form-group input,

.form-group select,

.form-group textarea{

    width:100%;

    padding:14px;

    border:1px solid #cccccc;

    border-radius:6px;

    font-size:16px;

    font-family:inherit;

    transition:.3s;

}

.form-group textarea{

    resize:vertical;

}

.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus{

    outline:none;

    border-color:#0F6B4F;

    box-shadow:0 0 6px rgba(15,107,79,.2);

}


/* ==========================================
   PAYMENT BOX
========================================== */

.payment-box{

    display:grid;

    grid-template-columns:300px 1fr;

    gap:40px;

    align-items:center;

    background:#f4f7f4;

    border:1px solid #dddddd;

    border-radius:10px;

    padding:35px;

    margin:30px 0;

}

.payment-qr{

    text-align:center;

}

.payment-qr img{

    width:250px;

    margin:auto;

}

.payment-details h3{

    margin-bottom:20px;

}

.payment-details p{

    margin-bottom:12px;

}


/* ==========================================
   CHECKBOX
========================================== */

.form-group input[type="checkbox"]{

    width:auto;

    margin-right:10px;

}

.form-group label:has(input[type="checkbox"]){

    display:flex;

    align-items:flex-start;

    font-weight:400;

    line-height:1.6;

}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.donation-form button{

    margin-top:20px;

}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:768px){

    .donation-form form{

        padding:30px 20px;

    }

    .form-grid{

        grid-template-columns:1fr;

    }

    .payment-box{

        grid-template-columns:1fr;

        text-align:center;

    }

    .payment-qr img{

        width:220px;

    }

}

