* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #faf9f7;
}

h1, h2, h3 h4{
    font-family: 'Playfair Display', serif;
}

.weekly-content h3{
    font-size: larger;
}

h4{
    font-size: small;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* NAVIGATION */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #8c6f3f;
}

/* BUTTON */
.btn-primary {
    background: #8c6f3f;
    border: 1px solid;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: white;
    color: #8c6f3f;
}


/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    transition: 0.4s;
}

/* HERO */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('Images/Homepage1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons a {
    margin-right: 25px;
}


/* SECTIONS */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: auto;
}


/* LIGHT SECTION */
.light-section {
    background: #f4f1eb;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: #8c6f3f;
}

/* CTA */
.cta {
    background: #8c6f3f;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.cta p {
    margin-bottom: 25px;
}


/* FOOTER */
footer {
    background: #111;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

footer a:hover {
    color: white;
}

/* MOBILE */
@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links a {
        margin: 15px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 34px;
    }
}

/* CREDIBILITY STRIP */
.credibility {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

/* STORY SECTION */
.story-section {
    text-align: center;
    max-width: 800px;
}

.story-section p {
    margin-bottom: 30px;
}

/* FOUNDER SECTION */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.founder-text h2 {
    margin-bottom: 20px;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
}
.founder-social{
    display: flex;
    flex-direction: row;   /* ensures horizontal */

    gap: 20px;             /* space between icons */
    margin-top: 20px;
}

.founder-social a{
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f4f1eb;
    color: #8c6f3f;
    font-size: 18px;
    transition: 0.3s;
}

.founder-social a:hover{
    background: #8c6f3f;
    color: white;
    transform: translateY(-3px);
}

.founder-video video{
    width: 100%;
    max-width: 300px;   /* controls video size */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto;
}

.founder-video-title{
    text-align: center;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 12px;
}


/* SECONDARY BUTTON */
.btn-secondary {
    display: inline-block;
    margin-top: 20px;
    border: 2px solid #8c6f3f;
    color: #8c6f3f;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #8c6f3f;
    color: white;
}

.form-navigation{
display:flex;
justify-content:center;
gap:20px;
margin-top: 20px;
flex-wrap:wrap;
}

.nav-btn{
padding:12px 25px;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.home-btn{
background:#222;
color:white;
}

.home-btn:hover{
background:#000;
}

.back-btn{
background:#e5e5e5;
color:#333;
}

.back-btn:hover{
background:#d4d4d4;
}

/* PREMIUM CTA BUTTON */
.cta-btn {
    background: white;
    color: #8c6f3f;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #6e552f;
    color: white;
    transform: translateY(-3px);
}

/* MOBILE IMPROVEMENTS */
@media (max-width: 768px) {

    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        height: auto;
        padding: 120px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons a {
        display: block;
        margin: 10px auto;
    }
}

/* PAGE HERO */
.page-hero {
    background: #111;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.page-hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

/* NARROW CONTAINER */
.narrow {
    max-width: 800px;
    margin: auto;
}

.center-title {
    text-align: center;
    margin-bottom: 30px;
}

.center-text {
    text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 28px;
    }
}

/* FOOTER */
footer {
    background: #111;
    color: white;
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: auto;
}

.footer-contact h3 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.social-icons {
    margin-bottom: 30px;
}

.social-icons a {
    display: inline-block;
    margin: 0 12px;
    font-size: 20px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #8c6f3f;
    transform: translateY(-3px);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
    margin: 5px 0;
}

/* DONATION BOX */
.donation-box {
    background: #f8f8f8;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bank-details {
    margin: 30px 0;
    font-size: 18px;
    line-height: 1.8;
}

.bank-details strong {
    color: #8c6f3f;
}

.donation-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ICONS IN IMPACT */
.icon {
    font-size: 30px;
    color: #8c6f3f;
    margin-bottom: 15px;
}




/* =============================== */
/*           MENTAINANCE           */

/* MAINTENANCE PAGE */
.maintenance-page {
    height: 100vh;
    background: linear-gradient(to bottom, #111, #1c1c1c);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.maintenance-box {
    max-width: 600px;
}

.maintenance-icon {
    font-size: 50px;
    color: #8c6f3f;
    margin-bottom: 25px;
    animation: floatIcon 3s ease-in-out infinite;
}

.maintenance-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 20px;
}

.maintenance-page p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.sub-text {
    margin-top: 10px;
    opacity: 0.7;
}

.maintenance-buttons {
    margin-top: 35px;
}

.btn-outline {
    display: inline-block;
    margin-left: 15px;
    padding: 12px 25px;
    border: 1px solid white;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #8c6f3f;
}

/* Subtle Floating Animation */
@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* Mobile */
@media (max-width: 768px) {
    .maintenance-page h1 {
        font-size: 24px;
    }

    .maintenance-buttons a {
        display: block;
        margin: 10px auto;
    }
}

/*           MENTAINANCE           */
/* =============================== */


/* TEAM GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.team-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.team-title {
    display: block;
    font-size: 14px;
    color: #8c6f3f;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}


.creator{
    text-align: center;
    font-size: x-small;
    font: bold;
}

.creator:hover {
  text-decoration: underline;
}


/* WEEKLY FEATURE */
.weekly-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.weekly-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.weekly-card:hover {
    transform: translateY(-6px);
}

.weekly-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.weekly-content {
    padding: 25px;
}

.post-date {
    display: block;
    font-size: 13px;
    color: #8c6f3f;
    margin-bottom: 10px;
}

/* Blog Grid */
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .weekly-grid {
        grid-template-columns: 1fr;
    }
}

/* PAGINATION */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.page-btn {
    background: none;
    border: 1px solid #8c6f3f;
    padding: 8px 14px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.page-btn.active,
.page-btn:hover {
    background: #8c6f3f;
    color: white;
}

/* READ MORE BUTTON */
.read-more-btn {
    background: none;
    border: none;
    color: #8c6f3f;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
    transition: 0.3s;
}

.read-more-btn:hover {
    color: #6e552f;
    text-decoration: underline;
}

.post-subtitle {
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
    margin-top: 4px;
    margin-bottom: 8px;
    font-family: 'Inter bold', sans-serif;
}

/* Scrolling text container */
.scrolling-text {
    position: fixed;
    background-color: black;
    overflow: hidden;
    white-space: nowrap;
    height: 40px;              /* controls total height */
    display: flex;
    align-items: center;       /* vertically center text */
    z-index: 2000; 
    width: 100%;
}

/* Text style */
.scrolling-text p {
    font-size: 0.85rem;        /* slightly smaller text */
    font-weight: 600;
    color: white;               
}

/* Wrapper that will scroll */
.scrolling-wrapper {
    display: inline-flex;
    gap: 40px;
    padding-left: 75%;
    animation: scrollText 50s linear infinite;
}

.scrolling-text:hover .scrolling-wrapper {
    animation-play-state: paused;
}

/* Scrolling animation */
@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.blog-datetime{
    margin-top: 12px;
    font-size: 14px;
    color: #8c6f3f;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ================= */
/* EVENT CARDS */
/* ================= */

.event-cards{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
margin-bottom:60px;

}

.event-card{

position:relative;
cursor:pointer;
border-radius:10px;
overflow:hidden;
}

.event-card img{

width:100%;
height:220px;
object-fit:cover;
transition:0.4s;

}

/* overlay */

.event-overlay{

position:absolute;
bottom:0;
left:0;
width:100%;
background:linear-gradient(transparent, rgba(0,0,0,0.8));
color:white;
padding:20px;

}

.event-overlay h3{

margin:0;
font-size:20px;

}

/* hover */

.event-card:hover img{

transform:scale(1.08);

}

/* ============================= */
/* GALLERY SECTION */
/* ============================= */

.gallery-section{
max-width:1200px;
margin:auto;
padding:80px 20px;
}

.gallery-section h1{
text-align:center;
margin-bottom:40px;
}

/* EVENT DROPDOWN */

.gallery-toggle{
width:100%;
background:none;
border:none;
font-size:22px;
font-weight:600;
padding:18px 0;
cursor:pointer;
display:flex;
justify-content:space-between;
align-items:center;
border-bottom:1px solid #ddd;
}

/* ============================= */
/* MASONRY IMAGE GRID */
/* ============================= */

.gallery-content{
display:none;
column-count:3;
column-gap:15px;
padding-top:20px;
}

.gallery-content img{
width:100%;
margin-bottom:15px;
border-radius:8px;
cursor:pointer;
transition:0.35s;
}

/* HOVER ZOOM */

.gallery-content img:hover{
transform:scale(1.05);
opacity:0.95;
}

/* RESPONSIVE */

@media(max-width:900px){
.gallery-content{
column-count:2;
}
}

@media(max-width:600px){
.gallery-content{
column-count:1;
}
}

/* ============================= */
/* LIGHTBOX */
/* ============================= */

.lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
justify-content:center;
align-items:center;
z-index:3000;
}

.lightbox-img{
max-width:90%;
max-height:85%;
border-radius:10px;
}

.close-lightbox{
position:absolute;
top:30px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;
}

/* ================= */
/* EVENT CARDS */
/* ================= */

.event-cards{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
margin-bottom:60px;

}

.event-card{

position:relative;
cursor:pointer;
border-radius:10px;
overflow:hidden;
}

.event-card img{

width:100%;
height:220px;
object-fit:cover;
transition:0.4s;

}

/* overlay */

.event-overlay{

position:absolute;
bottom:0;
left:0;
width:100%;
background:linear-gradient(transparent, rgba(0,0,0,0.8));
color:white;
padding:20px;

}

.event-overlay h3{

margin:0;
font-size:20px;

}

/* hover */

.event-card:hover img{

transform:scale(1.08);

}


/* ================= */
/* EVENT GALLERY */
/* ================= */

.event-gallery{

display:none;
column-count:3;
column-gap:15px;

}

.event-gallery img{

width:100%;
margin-bottom:15px;
border-radius:8px;
cursor:pointer;
transition:0.3s;

}

.event-gallery img:hover{

transform:scale(1.05);

}


/* responsive */

@media(max-width:900px){

.event-gallery{

column-count:2;

}

}

@media(max-width:600px){

.event-gallery{

column-count:1;

}

}


/* ================= */
/* LIGHTBOX */
/* ================= */

.lightbox{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
justify-content:center;
align-items:center;
z-index:3000;

}

.lightbox-img{

max-width:90%;
max-height:85%;

}

.close-lightbox{

position:absolute;
top:30px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;

}

.prev-lightbox,
.next-lightbox {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 4000;
    user-select: none;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    transition: background 0.3s;
}

.prev-lightbox:hover,
.next-lightbox:hover {
    background: rgba(0,0,0,0.6);
}

.prev-lightbox {
    left: 20px;
}

.next-lightbox {
    right: 20px;
}


.event-article{
    width: 100%;
    margin: 0;
    padding: 40px 60px;
    line-height: 1.8;
}

/* HEADER */

.event-header h1{
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.event-meta{
    font-size: 0.9rem;
    color: #777;
}


/* INTRO + VIDEO (L SHAPE) */

.event-intro{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.intro-text p{
    margin-bottom: 16px;
}

.intro-video video{
    width: 100%;
    border-radius: 8px;
}


/* BODY */

.event-body{
    margin-top: 60px;
}

.event-body h2{
    margin-top: 40px;
    margin-bottom: 15px;
}


/* IMAGES */

.event-image{
    margin: 25px 0;
}


.event-image img{
    width: 100%;
    max-width: 650px;   /* controls the max image size */
    border-radius: 8px;
    display: block;
    margin: 0 auto;     /* centers the image */
}

.event-image figcaption{
    font-size: 0.85rem;
    color: #777;
    margin-top: 6px;
    text-align: center;
}

/* CONCLUSION */

.event-conclusion{
    margin-top: 60px;
}


/* PREMIUM FOOTER */

.event-footer{
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.event-footer h3{
    margin-bottom: 20px;
}

.related-links{
    display: flex;
    gap: 20px;
}

.related-links a{
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.related-links a:hover{
    background: black;
    color: white;
}

.event-hero{
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.event-hero img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* dark overlay */

.event-hero-overlay{
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    padding: 20px;
}

/* subtle gradient */

.event-hero::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0)
    );
}

.event-hero h1{
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-subtitle{
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-meta{
    font-size: 0.9rem;
    opacity: 0.8;
}
.reading-progress{
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: #ff4da6;
    z-index: 9999;
}

.forms-hero{
max-width:900px;
margin:auto;
padding:60px 20px;
line-height:1.8;
}

.forms-hero h1{
font-size:2.5rem;
margin-bottom:20px;
}

.form-rules{
margin-top:20px;
}

.form-rules li{
margin-bottom:10px;
}

.forms-options{
padding:60px 20px;
text-align:center;
}

.form-cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
max-width:1000px;
margin:auto;
margin-top:30px;
}

.form-card{
padding:30px;
border-radius:10px;
background:#f7f7f7;
text-decoration:none;
color:#333;
transition:0.3s;
}

.form-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.form-card h3{
margin-bottom:10px;
}


/*--------------------------------//
            CHILD FORM
//-------------------------------*/
.application-header h1{
font-size:2.4rem;
margin-top:10px;
}

.application-subtitle{
margin-top:10px;
color:#555;
line-height:1.6;
}

.back-link{
text-decoration:none;
font-weight:600;
color:#333;
}

.back-link:hover{
text-decoration:underline;
}

.application-info ul{
margin-top:10px;
line-height:1.7;
}

.google-form iframe{
border-radius:10px;
}

.form-section{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

.application-header{
max-width:950px;
margin:auto;
padding:50px 20px 20px;
}

.application-info{
max-width:950px;
margin:auto;
padding:25px;
background:#f7f7f7;
border-radius:10px;
margin-top:20px;
}

.form-help{
max-width:900px;
margin:30px auto 10px;
text-align:center;
color:#555;
font-size:0.95rem;
}