* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
     padding-top: 90px;
}

/* Navigation Bar */
.navbar {
    background: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    margin: 0 auto;
    padding: 10px 20px 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo - Left Side */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 80px;
    width: 150px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.logo a:hover .logo-img {
    transform: scale(1.1);
    filter: drop-shadow(2px 2px 8px rgba(255, 215, 0, 0.5));
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;

    /* ⭐ ADDED → Ensures menu stays right */
    margin-left: auto;
}

.nav-item {
    position: relative;
}

/* Dropdown Menu for Home1 */
.home-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a2e;
    list-style: none;
    padding: 10px 0;
    margin: 5px 0 0 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1001;
}

.home-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-link:hover {
    background: transparent;
    color: #ffd700;
    padding-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    display: block;
    border-radius: 25px;
    background: transparent;
}

.nav-link:hover {
    background: transparent;
    color: #ffd700;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-container {
        height: auto;
        padding: 10px 20px;
    }

    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 70px;
        width: 70px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #1a1a2e;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-link {
        width: 100%;
        padding: 15px 20px;
        margin: 5px 20px;
        border-radius: 10px;
    }

    .nav-link:hover {
        background: transparent;
        color: #ffd700;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .home-dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-link {
        padding: 10px 40px;
        font-size: 14px;
    }
}

/*section for service page*/
/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f9fafb;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ========== REVEAL ANIMATION ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.nav-logo img {
    width: 140px;        /* bigger size for mobile */
    height: auto;
}

@media (min-width: 768px) {
    .nav-logo img {
        width: 180px;    /* normal size for tablet+ */
    }
}

@media (min-width: 1024px) {
    .nav-logo img {
        width: 200px;    /* normal size for desktop */
    }
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

.hero-content {
    position: relative;
    max-width: 700px;
    text-align: center;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255,255,255,0.25);
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.accent {
    background: linear-gradient(90deg, #00B5FF, #0093D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* HERO Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    font-size: 15px;
}

.btn.primary {
    background: linear-gradient(135deg, #00B5FF, #0080C0);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 255, 0.4);
    text-decoration: none;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 180, 255, 0.55);
}

.btn.ghost {
    border: 2px solid #fff;
    color: #05f729;
    backdrop-filter: blur(6px);
}

.btn.ghost:hover {
    background: #fff;
    color: #000;
}

/* ========== FLOATING STATS ========== */
.stat-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: absolute;
    bottom: -40px;
    width: 90%;
    max-width: 900px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat .num {
    font-size: 28px;
    font-weight: 800;
    color: #0078D7;
}

.stat p {
    color: #555;
    font-size: 14px;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 120px 0 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #00B5FF, #0080C0);
    padding: 18px 25px;
    border-radius: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.pill {
    display: inline-block;
    padding: 8px 16px;
    background: #D9F0FF;
    color: #0078D7;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.about-content .lead {
    color: #444;
    margin-bottom: 15px;
}

.checklist {
    margin: 20px 0;
}

.checklist li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    color: #444;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #0078D7;
    font-weight: bold;
}

.btn.dark {
    background: #1f2937;
    color: #fff;
}

.btn.dark:hover {
    background: #111827;
}

/* ========== CAUSES SECTION ========== */
.causes {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head .badge {
    padding: 8px 18px;
    background: #D9F0FF;
    color: #0078D7;
    border-radius: 20px;
    font-weight: 600;
}

.section-head h2 {
    font-size: 34px;
    margin: 12px 0;
}

.cause-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cause-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.cause-card:hover {
    transform: translateY(-8px);
}

.cause-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 18px;
}

.cat {
    padding: 5px 12px;
    background: #FFE8E8;
    color: #FF4A4A;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card-body h3 {
    margin-top: 10px;
    font-size: 18px;
}

.progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 20px;
    margin-top: 10px;
}

.progress .bar {
    height: 100%;
    background: linear-gradient(90deg, #00B5FF, #0080C0);
    width: var(--pct);
    border-radius: 20px;
}

.meta {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 13px;
}
.btn {
    text-decoration: none;
}

.btn.small {
    text-decoration: none;
    padding: 6px 12px;
}

.btn:hover,
.btn.small:hover {
    text-decoration: none;
}


/* ========== CTA SECTION ========== */
.cta {
    background: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 16px;
    margin-top: 80px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta p {
    color: #666;
    margin-bottom: 20px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========== MODAL ========== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-inner {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

.video {
    padding: 50px;
    border: 2px dashed #0078D7;
    border-radius: 12px;
    font-size: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    .stat-box {
        grid-template-columns: repeat(2,1fr);
        bottom: -60px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .cause-grid {
        grid-template-columns: 1fr;
    }
}

/*footer*/

.site-footer {
    background: linear-gradient(135deg, #0a0f24, #111b3b);
    color: #d9e4ff;
    padding: 70px 20px 35px;
    font-family: "Poppins", sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* BRAND SECTION */
.footer-brand {
    flex: 1.6;
    min-width: 280px;
}

.footer-logo {
    width: 170px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b8c7e8;
    margin-bottom: 20px;
}

/* SUBSCRIBE SECTION */
.footer-subscribe {
    margin-top: 25px;
}

.subscribe-label {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 50px;
    border: 1px solid #39466a;
    background: #1a2547;
    color: white;
    outline: none;
    transition: 0.3s;
}

.subscribe-input:focus {
    border-color: #6c92ff;
}

.subscribe-button {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #5e2bff, #3d94ff);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
    font-weight: 600;
}

.subscribe-button:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, #3a20ff, #2d7aff);
}

.subscribe-hint {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #93a3c7;
}

/* LINKS SECTION */
.footer-columns {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 35px;
    min-width: 250px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.15rem;
    position: relative;
}

.footer-column h3::after {
    content: "";
    width: 35px;
    height: 3px;
    background: #3b82ff;
    display: block;
    margin-top: 5px;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #b5c6e4;
    text-decoration: none;
    transition: 0.25s;
}

.footer-column a:hover {
    color: #fff;
    padding-left: 6px;
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 45px;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom-left p {
    margin: 0;
    color: #92a3ca;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.footer-legal a {
    color: #b7cbff;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #fff;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1b2647;
    padding: 10px;
    transition: 0.3s;
    filter: grayscale(30%);
}

.social-icon:hover {
    transform: scale(1.15);
    background: #3b82ff;
    filter: grayscale(0%);
    box-shadow: 0px 0px 12px rgba(59, 130, 255, 0.6);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-columns {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-button {
        width: 100%;
    }

    .footer-columns {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}
