:root {
    --primary: #1a3a6c;
    --primary-light: #2a5699;
    --primary-dark: #0d2440;
    --secondary: #d4af37;
    --secondary-light: #e8c96a;
    --light: #f8f9fa;
    --light-alt: #eef2f7;
    --dark: #1e293b;
    
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
    --section-padding: 100px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
    letter-spacing: 0.5px;
}

.btn:hover,
.btn:focus {
    background: var(--secondary-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    outline: 3px solid var(--secondary-light);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-light);
    box-shadow: 0 8px 30px rgba(26, 58, 108, 0.3);
    outline: 3px solid var(--primary-light);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

section {
    padding: var(--section-padding);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    transition: var(--transition);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    transition: var(--transition);
}

.logo-text span {
    color: var(--secondary);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:focus {
    outline: 3px solid var(--secondary);
    outline-offset: 5px;
    border-radius: 3px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 4px;
}

.mobile-toggle:active,
.mobile-toggle:focus {
    background: rgba(26, 58, 108, 0.1);
    outline: 3px solid var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%), 
                url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    color: var(--white);
    padding: 200px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.15;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--secondary);
    border-radius: 3px;
}

.section-subtitle {
    color: var(--gray);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 25px;
    line-height: 1.6;

}

/* About Section */
.about {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--gray);
    font-size: 1.1rem;
}

.highlight {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 30px 0;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26,58,108,0.8) 0%, transparent 70%);
}
/* Initiatives Section */
.initiatives {
    background-color: var(--light-alt);
    position: relative;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.initiative-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--secondary);
    z-index: 1;
}

.initiative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 100%);
    opacity: 0.05;
    z-index: -1;
}

.initiative-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.initiative-icon {
    width: 90px;
    height: 90px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--secondary);
    font-size: 2.5rem;
    transition: var(--transition);
}

.initiative-card:hover .initiative-icon {
    transform: scale(1.1);
    background: var(--secondary);
    color: var(--white);
}

.initiative-title {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    margin-bottom: 20px;
    color: var(--primary);
}

.initiative-desc {
    color: var(--gray);
    font-size: 1.1rem;
}

.vision-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    margin-top: 60px;
    box-shadow: var(--shadow);
    text-align: center;
}

.vision-section h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 25px;
    color: var(--primary);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.vision-card {
    background: var(--light-alt);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--secondary);
}

.vision-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
}

/* Why NGI Section */
.why {
    background: var(--white);
}

.why-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.why-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-height: 500px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-text {
    flex: 1;
    min-width: 300px;
}

.why-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 25px;
    color: var(--primary);
}

.why-text p {
    margin-bottom: 25px;
    color: var(--gray);
    font-size: 1.1rem;
}

.mission-list {
    list-style: none;
    margin: 30px 0;
}

.mission-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--gray);
    font-size: 1.1rem;
}

.mission-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
}

/* Team Section */
.team {
    background: var(--light-alt);
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.team-member {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 5px solid var(--secondary);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.member-image {
    height: 280px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 30px 25px;
}

.member-name {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    margin-bottom: 8px;
    color: var(--primary);
}

.member-position {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

.member-desc {
    color: var(--gray);
    font-size: 1rem;
}

.team-cta {
    text-align: center;
    margin-top: 60px;
}

.membership {
    background: var(--light-alt);
    padding: 80px 0;
}
.membership-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}
.membership-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.verification-section {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.search-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

#memberIdSearch {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
}
.member-details {
    background: var(--light-alt);
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 20px;
}
/* Impact Stories */
.stories {
    background: var(--white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.story-card {
    background: var(--light-alt);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    border-left: 4px solid var(--secondary);
}

.story-content {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-gray);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.author-details h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.author-details p {
    color: var(--secondary);
    font-weight: 600;
}

/* Programs Roadmap */
.roadmap {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlna0Q9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.15;
}

.roadmap .container {
    position: relative;
    z-index: 2;
}

.roadmap-steps {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.roadmap-step::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: -50px;
    left: 19px;
    width: 2px;
    background: var(--secondary);
}

.roadmap-step:last-child::before {
    display: none;
}

.step-date {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    flex-shrink: 0;
    margin-right: 30px;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 15px;
    color: var(--white);
}

.step-desc {
    margin-bottom: 15px;
    opacity: 0.9;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* FAQ Section */
.faq {
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background: var(--light-alt);
    padding: 20px 25px;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 25px;
    background: var(--white);
    color: var(--gray);
    display: none;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.faq-answer.active {
    display: block;
}

/* Media Hub Section */
        .media-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .media-item {
            background: var(--white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            text-align: center;
            padding: 40px 25px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .media-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        }

        .media-icon {
            width: 80px;
            height: 80px;
            background: rgba(212, 175, 55, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary);
            font-size: 2rem;
            margin-bottom: 25px;
            transition: var(--transition);
        }

        .media-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .media-item p {
            color: var(--gray);
            margin-bottom: 20px;
            flex-grow: 1;
        }

        /* Video Gallery Section */
        #video-section {
            background-color: var(--light-alt);
            padding: var(--section-padding);
            position: relative;
        }

        .video-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .video-item {
            background: var(--white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .video-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        }

        .video-thumbnail {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .video-item:hover .video-thumbnail img {
            transform: scale(1.05);
        }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary);
            font-size: 1.5rem;
            opacity: 0.9;
            transition: var(--transition);
        }

        .video-item:hover .play-icon {
            background: var(--secondary);
            color: var(--white);
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.1);
        }

        .video-info {
            padding: 20px;
        }

        .video-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--primary);
        }

        .video-description {
            color: var(--gray);
            font-size: 0.95rem;
        }

        /* Video Modal */
        .video-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .video-modal-content {
            width: 90%;
            max-width: 900px;
            position: relative;
        }

        .close-video-modal {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .close-video-modal:hover {
            color: var(--secondary);
        }

        .video-container {
            position: relative;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

/* Contact Section */
.contact {
    background: var(--white);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.contact-text p, .contact-text a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.contact-text a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(26, 58, 108, 0.08);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.3rem;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--dark);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.form-control {
    width: 100%;
    padding: 16px 22px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-family: 'Nunito', sans-serif;
    transition: var(--transition);
    background: var(--light-alt);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: var(--white);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Get Involved Section */
.get-involved {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.get-involved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.15;
}

.get-involved .container {
    position: relative;
    z-index: 2;
}

.get-involved h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 25px;
    color: var(--white);
}

.get-involved p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    opacity: 0.9;
    
}

/* Handbook section */
.handbook-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px; /* Reduced vertical padding for mobile */
    position: relative;
    overflow: hidden;
}

/* Existing pattern background - no changes needed */
.handbook-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
}

.handbook-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px; /* Added max-width for better large screen control */
    margin: 0 auto;
}

.handbook-section h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--white);
}

.handbook-section p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.3rem;
    opacity: 0.9;
}

/* HANDBOOK CONTAINER - MAJOR CHANGES HERE */
.handbook {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 30px;
    max-width: 900px; /* Increased max-width for better tablet layout */
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: center;
    justify-content: center;
}

.handbook-text {
    text-align: center; /* Center text on all devices */
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
}

.handbook-text h3 {
    margin-bottom: 20px; /* Increased spacing */
    color: var(--white);
}

.handbook-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 300px; /* Minimum width before wrapping */
    height: auto; /* Height should be auto for responsiveness */
    position: relative;
    margin: 20px 0;
}

.handbook-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Button container for better mobile stacking */
.buttons-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    gap: 15px;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-text {
    color: var(--white);
    margin-bottom: 25px;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.footer-about {
    color: var(--light-gray);
    margin-bottom: 30px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-5px);
}

.footer-links h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 25px;
    position: relative;
    color: var(--white);
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: clamp(0.85rem, 2vw, 1rem);
}

/* chatbot button */

.chatbot-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(26, 58, 108, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.chatbot-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1 );
    box-sizing: 0 8px 30px rgba(26, 58, 108, 0.7);
}

.chatbot-btn i {
    font-size: 30px;
}

.chatbot-btn .tooltip {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--secondary);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.chatbot-btn:hover .tooltip {
    opacity: 1;
    transform: translateY(-5px);
}

@keyframes pulse {
    0% { transform: scale(1); };
    50% { transform: scale(1.05); };
    100% { transform: scale(1); };
}
/* News Section */
.news {
    background: var(--light-alt);
}

.section-header.news-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    gap: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {    
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}

.news-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.news-link {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.news-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

.news-cta {
    text-align: center;
    margin-top: 50px;
}

.carousel-section{
    background: var(--white);
    padding: 80px 0;
}
.carousel-container{
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 500px;
}
.carousel{
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}
.carousel-slide{
    min-width: 100%;
    height: 100%;
    position: relative;
}
.carousel-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-content{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px;
}
.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}
.carousel-btn{
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-btn:hover{
    background: var(--primary);
}
.carousel-dot{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active{
    background: var(--secondary);
    transform: scale(1.2);
}

ol, ul {
    padding-left: 30px;
}

/* Media Gallery Section */
        .gallery-section {
            background: var(--light-alt);
            padding: 80px 0;
        }
        
        .gallery-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .gallery-item {
            border-radius: var(--radius);
            overflow: hidden;
            height: 300px;
            position: relative;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .gallery-item:hover img {
            transform: scale(1.05);
        }
        
        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 15px;
            transform: translateY(100%);
            transition: var(--transition);
        }
        
        .gallery-item:hover .gallery-caption {
            transform: translateY(0);
        }
        
        .gallery-nav {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }
        
        .gallery-btn {
            background: var(--primary);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .gallery-btn:hover {
            background: var(--primary-light);
            transform: translateY(-3px);
        }

/* Responsive Design */
@media (max-width: 1100px) {
    :root {
        --section-padding: 90px 0;
    }
    .carousel-container {
        height: 450px;
    }
}

@media (max-width: 1024px) {
    /* Add this new breakpoint for tablet landscape */
    .handbook {
        max-width: 800px;
    }
    
    .handbook-text h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero {
        padding: 180px 0 100px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    .carousel-container{
        height: 400px;
    }
    .gallery-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Add handbook adjustments */
    .handbook {
        max-width: 700px;
        flex-direction: column;
    }
    
    .handbook-image {
        margin-top: 20px;
        height: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .chatbot-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .chatbot-btn i {
        font-size: 25px;
    }

    .chatbot-btn .tooltip {
        top: -45%;
        font-size: 0.9rem;
    }
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 25px 0;
    }
    
    .hero {
        padding: 160px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .section-header.news-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .roadmap-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-date {
        margin-bottom: 20px;
    }
    
    .roadmap-step::before {
        left: 19px;
        top: 70px;
        bottom: -50px;
    }
    .carousel-container {
        height: 350px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .handbook-section {
        padding: 60px 15px;
    }
    
    .handbook-section h2 {
        font-size: 2.2rem;
    }
    
    .handbook-section p {
        font-size: 1.1rem;
    }
    
    .handbook {
        padding: 20px;
        margin: 30px auto;
        width: 90%; /* Added for better mobile fit */
    }
    
    .handbook-text, 
    .handbook-image {
        min-width: 100%;
    }
    
    .handbook-text h3 {
        font-size: 1.4rem;
        margin-bottom: 15px; /* Added spacing */
    }
    
    /* Add button container styling */
    .buttons-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .header-container {
        padding: 8px 0;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .about-image,
    .why-image {
        height: 300px;
    }
    
    .initiative-card {
        padding: 30px 20px;
    }
    
    .contact-info, 
    .contact-form {
        padding: 30px;
    }
    
    .handbook {
        padding: 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    .carousel-container {
        height: 300px;
    }
    .slide-content{
        padding: 20px;
    }
    .slide-content h3 {
        font-size: 1.4rem;
    }
    
    /* Button adjustments */
    .btn, .btn-large {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Donation Details Section */
.donation-details {
    background: linear-gradient(135deg, #1a3a6c 0%, #0d2440 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.donation-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-align: center;
    color: var(--white);
}

.donation-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--secondary);
    border-radius: 3px;
}

.donation-subtitle {
    color: var(--white);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 25px;
    line-height: 1.6;

}

.donation-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.15;
}

.donation-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.donation-info {
    flex: 1;
    min-width: 300px;
}

.donation-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.donation-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: var(--dark);
}

.donation-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.donation-card p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.account-details {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 20px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    font-size: 1.8rem;
    margin-right: 20px;
    color: var(--secondary);
    width: 40px;
    text-align: center;
}

.detail-item div {
    flex: 1;
}

.detail-item span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.detail-item strong {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
}

.donation-note {
    background: rgba(212, 175, 55, 0.2);
    border-left: 4px solid var(--secondary);
    padding: 15px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    display: flex;
    gap: 15px;
}

.donation-note i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.donation-note p {
    margin: 0;
    font-size: 1rem;
}

.donation-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.image-container {
    position: relative;
    height: 100%;
}

.donation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
    color: white;
}

.image-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .donation-card {
        padding: 30px;
    }
    
    .detail-item {
        padding: 10px;
    }
    
    .detail-item i {
        font-size: 1.5rem;
        margin-right: 15px;
    }
    
    .detail-item strong {
        font-size: 1.1rem;
    }
}
@media (max-width: 400px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 14px 30px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .carousel-container {
        height: 250px;
    }
    
    /* Handbook fine-tuning */
    .handbook-section p {
        font-size: 1rem;
    }
    
    .handbook {
        padding: 15px;
    }
}