* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.hero {
    height: 100vh;
    
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 50px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%;
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-weight: bold;
    font-size: 24px;
    color: #333;
    padding: 5px 15px;
    border-radius: 8px;
}
.logo img {
    height: 40px;
    width: auto;
}
.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 50px;
    display: block;
}

.logo a:focus,
.logo a:active {
    outline: none;
    background: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-family: 'Serif', 'Times New Roman', serif;
}

/* Slider logic */
.slider-wrapper {
    position: relative;
    width: 500px;
    height:300px;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.card.active {
    opacity: 1;
}

.card h2 {
    font-size: 30px;
    margin-bottom: 10px;
    font-family: 'Serif', 'Times New Roman', serif;
}

.card p {
    font-size: 16px;
    margin-bottom: 20px;
     font-family: 'Serif', 'Times New Roman', serif;
}

.know-more {
    display: inline-block;
    padding: 10px 25px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
    font-family: 'Serif', 'Times New Roman', serif;
}

.know-more:hover {
    background: #333;
    color: white;
}
.card {
    pointer-events: none; /* disable all cards */
}

.card.active {
    pointer-events: auto; /* only active card clickable */
}
** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Background */
.about-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('background.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    padding: 60px 8%;
}

/* Layout */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    width: 100%;
}

/* Empty Side */
.about-image {
    /* left side empty */
}

/* Content Card */
.about-content {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    padding: 45px;
    border-radius: 20px;
    color: #000000;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Headings */
.about-content h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Text */
.about-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* List */
.about-content ul {
    margin-left: 20px;
}

.about-content ul li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        display: none;
    }

    .about-content {
        padding: 25px;
    }
}
/* Section Background */
.work-impact-section {
    padding: 80px 8%;
    background: #f1bf53; /* dark section for contrast */
}

/* Container */
.work-impact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Boxes */
.work-box {
    background: rgba(255, 255, 255, 0.9); /* FIXED */
    backdrop-filter: blur(12px);
    padding: 35px;
    border-radius: 20px;
    color: #000;
    border: 1px solid rgba(0,0,0,0.1);
}
/* FORCE About section text to white */
.about-content,
.about-content h1,
.about-content h2,
.about-content p,
.about-content li {
    color: #fff !important;
}

/* Headings */
.work-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.work-box h3 {
    font-size: 18px;
    margin-top: 15px;
}

/* Text */
.work-box p {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* List */
.work-box ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.work-box ul li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .work-impact-container {
        grid-template-columns: 1fr;
    }
}
/* SERVICES SECTION STYLING */
.services-section {
    padding: 80px 8%;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 64px;
    font-family: 'Serif', 'Times New Roman', serif;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Grid Layout */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Box Styling */
.service-box {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #ddd;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Keeps icon and text left-aligned */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Circular Icon Container */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #333; /* Dark background for the circle */
    color: #ffffff;
    border-radius: 50%; /* Makes it a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.service-box h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #222;
    font-family: 'Serif', 'Times New Roman', serif;
    font-weight: bold;
}

/* Descriptive Paragraph Styling */
.service-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    text-align: justify; /* Makes text look professional */
    margin: 0;
}

/* Hover Effects */
.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-box:hover .icon-circle {
    background-color: #ffcc33; /* Blue color on hover */
}

/* Hover Effect - Added a shadow for better depth */
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* STORY SECTION */
.story-section {
    padding: 80px 8%;
    background: linear-gradient(135deg, #ffcc33, #ffcc33);
    color: #000000;
    text-align: center;
    font-family: 'Serif', 'Times New Roman', serif;
}

.story-container {
    max-width: 800px;
    margin: auto;
}

.story-container h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-family: 'Serif', 'Times New Roman', serif;
}

.story-container p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.highlight {
    font-weight: bold; font-family: 'Serif', 'Times New Roman', serif;
    font-size: 18px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}
.highlight {
    font-style: italic; font-family: 'Serif', 'Times New Roman', serif;
}
/* HERO / BANNER SECTION */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust height as needed */
    background: url('Last.jpg') no-repeat center center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Dark overlay to make text pop */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust 0.5 for more/less darkness */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 64px;
    font-family: 'Serif', 'Times New Roman', serif; /* Matching the image font style */
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-buttons a {
    text-decoration: none;
    padding: 15px 35px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-donate {
    background: #ffcc33; /* The yellow/orange color from image */
    color: #000;
}

.btn-donate:hover {
    background: hsl(0, 0%, 100%);
}

.btn-discover {
    background: #ffffff; /* Dark button */
    color: #000000;
    border: 1px solid #333;
}

.btn-discover:hover {
    background: #ffcc33;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}
* {
    font-family: 'Playfair Display', serif;
    body {
    /* Increase text inside work section */
.work-box {
body {
    font-size: 25px !important;
}

/* Headings */
.work-box h1 {
    font-size: 58px;
}

/* Paragraph text */
.work-box p {
    font-size: 18px;
    line-height: 1.8;
}

/* Bullet points */
.work-box li {
    font-size: 18px;
    line-height: 1.8;
}

}
/* FOOTER */
.footer {
    background: #111;
    color: #fff;
    padding: 50px 8% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Boxes */
.footer-box h3 {
    margin-bottom: 15px;
}

.footer-box p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Links */
.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 8px;
}

.footer-box ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-box ul li a:hover {
    color: #ff7a00;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}/* DONATE PAGE */
.donate-page {
    padding: 100px 8%;
    background: #f5f5f5;
}

.donate-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* IMAGE */
.donate-image img {
    width: 100%;
    border-radius: 15px;
}

/* CONTENT */
.donate-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.donate-content p {
    margin-bottom: 20px;
}

/* AMOUNT BUTTONS */
.amount-box {
    margin-bottom: 15px;
}

.amount-box button {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    background: #eee;
    border-radius: 20px;
    cursor: pointer;
}

.amount-box button:hover {
    background: #ff7a00;
    color: #fff;
}

/* INPUT */
.amount-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* MAIN BUTTON */
.main-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff7a00;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
    .donate-wrapper {
        grid-template-columns: 1fr;
    }
}
/* PAYMENT PAGE */
.payment-page {
    padding: 100px 8%;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
}

.payment-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    width: 400px;
}

.payment-box h2 {
    margin-bottom: 10px;
}

.amount-display {
    margin: 20px 0;
    font-size: 20px;
}

/* BUTTONS */
.payment-options {
    margin-bottom: 20px;
}

.pay-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    background: #eee;
    border-radius: 8px;
    cursor: pointer;
}

.pay-btn:hover {
    background: #ff7a00;
    color: #fff;
}

.main-pay-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff7a00;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}
/* hide checkbox */
#popup-toggle {
    display: none;
}

/* background overlay */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* 👈 bg visible */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* show popup */
#popup-toggle:checked ~ .popup {
    display: flex;
}

/* small white box */
.popup-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 260px; /* 👈 small box */
    text-align: center;
    position: relative;
}

/* close */
.close-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 20px;
    cursor: pointer;
}

/* inputs */
.input-field {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* button */
.pay-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: orange;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
}
/* CONTACT SECTION STYLE */
.contact-section {
    padding: 100px 10%;
    background: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #333;
}

/* GRID LAYOUT */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

/* CARDS STYLE */
.contact-box {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-5px);
}

.contact-box .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-box h3 {
    margin-bottom: 10px;
    color: #222;
}

.contact-box p {
    color: #666;
    line-height: 1.6;
}

/* FORM STYLE */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-form {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box; /* padding  */
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #ff9800; /* Orange color */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.contact-form button:hover {
    background: #e68a00;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 5%;
    }
}
/* GALLERY PAGE SECTION */
.gallery-page {
    padding: 80px 8% 60px;
    text-align: center;
}

/* Page Title & Description */
.gallery-page h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

p.gallery-desc {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 17px;
    line-height: 1.6;
}

/* GRID SYSTEM - Ensures 3 columns and equal row heights */
.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    /* This is critical: it forces all items in a row to have the same height */
    align-items: stretch !important; 
}

/* INDIVIDUAL ITEM BOX */
.gallery-item {
    display: flex;
    flex-direction: column; /* Vertical stack: Image on top, info on bottom */
    background: #fff;
    border-radius: 10px;
    text-align: center;
    height: 100%; /* Makes the box fill the grid space fully */
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px !important;
}

/* TEXT AREA - This part fixes the alignment */
.gallery-info {
    flex-grow: 1; /* Forces this area to expand to fill empty space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Keeps text at the top of the info area */
    padding: 5px;
}

.gallery-info h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 8px 0 !important;
    line-height: 1.2;
    /* Keeps titles aligned even if one is 1 line and another is 2 */
    min-height: 44px; 
}

.gallery-info p {
    font-size: 14px;
    color: #666;
    margin: 0 !important;
    line-height: 1.4;
    padding-bottom: 15px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
/* HOVER */
.gallery-item img:hover {
    transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
.gallery-page {
    background: #f5f5f5 !important;
}
/* DONATION SECTION */
.donation-box {
    background: #ffedd5; /* orange color */
    padding: 60px 8%;
}

.donation-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* LEFT SIDE */
.donation-left {
    flex: 1;
    min-width: 300px;
}

.donation-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.donation-left p {
    font-size: 18px;
    line-height: 1.7;
}

/* RIGHT SIDE */
.donation-right {
    flex: 1;
    min-width: 300px;
    background: rgb(255, 253, 253);
    padding: 25px;
    border-radius: 10px;
}

.donation-right h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.donation-right p {
    margin-bottom: 8px;
    font-size: 16px;
}

/* MOBILE */
@media (max-width: 768px) {
    .donation-container {
        flex-direction: column;
    }
}
/* FULL SECTION */
.donate-page {
    padding: 100px 8%;
}

/* WRAPPER */
.donate-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* IMAGE SIDE */
.donate-image {
    width: 50%;
}

.donate-image img {
    width: 100%;
    height: 400px;   /* control size */
    object-fit: cover;
    border-radius: 15px;
}

/* CONTENT SIDE */
.donate-content {
    width: 50%;
    overflow: hidden;
    position: relative;
}

/* SLIDER */
.slider {
    display: flex;
    width: 200%;
    transition: 0.5s ease;
}

/* EACH SLIDE */
.slide {
    width: 50%;
    padding: 20px;
}

/* FIX TEXT WIDTH */
.slide h1,
.slide h2,
.slide p {
    max-width: 500px;
}

/* BUTTON */
.main-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: orange;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

/* HIDE CHECKBOX */
#slideToggle {
    display: none;
}

/* SLIDE EFFECT */
#slideToggle:checked ~ .slider {
    transform: translateX(-50%);
}
/* DONATE BUTTON STYLE */
.donate-btn {
    background: orange;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

/* HOVER EFFECT */
.donate-btn:hover {
    background: #e69500;
}