/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2c84e9;
    --dark-teal: #043142;
    --medium-teal: #0b4657;
    --light-teal: #125d6f;
    --bg-light: #f5f5f5;
    --bg-very-light: #eef0f0;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    
    /* Legacy support - using orange as primary */
    --primary-blue: #2c84e9;
    --secondary-blue: #125d6f;
    --light-blue: #eef0f0;
    --dark-blue: #043142;
    --green: #2c84e9;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - MiMa Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    box-shadow: none;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: white;
}

/* .navbar.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar.scroll-down {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
} */

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color:#2c84e9;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    text-transform: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color:#81b2e9;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #81b2e9;
}

.nav-donate {
    display: flex;
    align-items: center;
}

.nav-donate .btn-donate {
    background: rgb(44, 132, 233);
    color:white;
    padding: 10px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-donate .btn-donate:hover {
    background: var(--medium-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 49, 66, 0.4);
}

.social-icons {
    display: none;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide:nth-child(1) {
    /* background: linear-gradient(to bottom right, var(--dark-teal), var(--light-teal)); */
    background-color: var(--dark-teal);
    background-image: url('assets/rural\ youth.jpg');
}

.hero-slide:nth-child(2) {
    /* background: linear-gradient(to bottom right, var(--dark-teal), var(--light-teal)); */
    background-color: var(--dark-teal);
    background-image: url('assets/education\ for\ all.jpg');
}

.hero-slide:nth-child(3) {
    background: linear-gradient(to bottom right, var(--dark-teal), var(--light-teal));
    background-color: var(--dark-teal);
    background-image: url('assets/teen\ mothers.JPG');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, rgba(4, 49, 66, 0.85), rgba(18, 93, 111, 0.75));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #e08d1f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(246, 158, 47, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

 /* About Us Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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


.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-top: 1rem;
}

.about-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 4px;
    background: var(--primary-blue);
}
.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}
/* Donate CTA Section */
.donate-cta {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.donate-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.donate-icon {
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.donate-icon svg {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.donate-cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.donate-icon {
    color: var(--primary-blue);
}

.donate-cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Hope for Tomorrow at Work - LinkedIn Section */
.hope-at-work {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.section-title2 {
    font-size: 2.5rem;
    text-align:center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    padding-top: 1rem;
}

.section-title2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50;
    width: 300px;
    height: 4px;
    background: var(--primary-blue);
}
.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.info-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.user-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.user-info p {
    font-size: 14px;
    color: #737373;
}

.stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.stat-item .label {
    font-size: 12px;
    color: #737373;
}

.follow-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #3b82f6;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.follow-btn:hover {
    background-color: #2563eb;
}

.follow-link{
    color: white;
    text-decoration: none;
}

.linkedin-icon {
    width: 18px;
    height: 18px;
}

.linkedin-feed-widget {
    width: 100%;
    margin-top: 3rem;
}

/* Curator.io Widget Styling */
.linkedin-feed-widget .curator-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.linkedin-feed-widget .curator-feed-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.linkedin-feed-widget .curator-feed-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.linkedin-feed-widget .curator-feed-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.linkedin-feed-widget .curator-feed-item-content {
    padding: 1.5rem;
    text-align: left;
}

.linkedin-feed-widget .curator-feed-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.linkedin-feed-widget .curator-feed-item-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.linkedin-feed-widget .curator-feed-show-more {
    display: inline-block;
    margin-top: 2rem;
    text-align: center;
}

.linkedin-feed-widget .curator-feed-show-more button {
    background: var(--primary-blue);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.linkedin-feed-widget .curator-feed-show-more button:hover {
    background: #e08d1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 158, 47, 0.4);
}

.linkedin-embed-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.linkedin-embed-container iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.linkedin-link {
    text-align: center;
}

.linkedin-link p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.linkedin-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.linkedin-link a:hover {
    color: #e08d1f;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mv-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.mv-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mv-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* About page refinements */
.story-section .story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}

.story-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.photo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.photo-caption {
    padding: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.mission-vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.interactive-card {
    /* background: var(--primary-blue); */
    color: rgb(15, 14, 14);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interactive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(1, 164, 224, 0.15);
}

.mv-card-header {
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.mv-card-header h3 {
    margin: 0;
    color: white;
}

.mv-card-icon {
    font-size: 1.25rem;
    font-weight: 700;
    color:gray;
}

.mv-card-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-icon {
    color: var(--primary-blue);
}

.mv-card-body {
    margin-top: 0.75rem;
    display: none;
    color: white;
}

.interactive-card.active .mv-card-body {
    display: block;
}

.interactive-card.active .mv-card-icon {
    transform: rotate(45deg);
}

.journey-section {
    align-items: center;
    gap: 2rem;
}

.journey-section img {
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Core values layout */
.values-section {
    margin-top: 4rem;
}

.values-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.values-grid::-webkit-scrollbar {
    height: 6px;
}

.values-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;
}

.value-card {
    min-width: 240px;
    flex: 0 0 260px;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .values-grid {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .value-card {
        flex: 0 0 220px;
    }
}

/* Programs Preview */
.programs-preview {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    text-align:left;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    padding-top: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50;
    width: 300px;
    height: 4px;
    background: var(--primary-blue);
}
/* .title-with-line {
    position: relative;
    display: inline-block;
    padding-top: 1.25rem;
    color: var(--primary-blue);
}

/* .page-title-line::before, */
/* .title-with-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    transform: translateX(-50%);
    width: 140px;
    height: 4px;
    background: var(--primary-blue);
} */ 

.title-with-line {
    font-size: 2.5rem;
    text-align:left;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    padding-top: 1rem;
}

.title-with-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50;
    width: 200px;
    height: 4px;
    background: var(--primary-blue);
}

.page-title-line {
    color: white;
}
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.program-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 2rem;
}

.program-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Program detail cards (Key Focus Areas / Who We Serve) */
.program-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.program-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.program-info-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.program-info-card ul {
    list-style: disc;
    padding-left: 1.25rem;
    color: var(--text-light);
}

.program-info-card li + li {
    margin-top: 0.5rem;
}

.btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: #e08d1f;
}

/* Partners Carousel */
.partners {
    padding: 0px 0;
    background: white;
}

.partners .section-title {
    margin-bottom: 1.5rem;
}

.partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
}

.partners-track {
    display: flex;
    gap: 0;
    animation: scroll-partners-smooth 40s linear infinite;
    padding: 3rem 0;
    align-items: center;
}

.partner-item {
    flex: 0 0 calc(25%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    height: 180px;
    position: relative;
}

.partner-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 5px;
    background: #e08d1f;
}

.partner-item:last-child::after {
    display: block;
}

.partner-item:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.partner-item img {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-partners-smooth {
    0% {
        transform: translateX(0);
    }
    85% {
        transform: translateX(-100%);
    }
    95% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* @keyframes scroll-partners-smooth {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
} */

/* Impact Preview */
.impact-preview {
    padding: 80px 0;
    background: var(--bg-light);
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* .impact-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
} */
.impact-text h2 {
    font-size: 2.5rem;
    text-align:left;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    padding-top: 1rem;
}

.impact-text h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50;
    width: 300px;
    height: 4px;
    background: var(--primary-blue);
}
.impact-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.impact-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    display: none;
}

.footer-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo a {
    display: inline-block;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Page Styles */
.page-header {
    position: relative;
    padding: 140px 0 80px;
    color: white;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
    background: var(--dark-teal);
}

.page-header--with-image {
    background-size: cover;
    background-position: center;
}

.page-header--about {
    background-image: url('assets/About-Us.jpeg');
}

.page-header--programs {
    background-image: url('assets/coworker.jpg');
}

.page-header--team {
    background-image: url('assets/coworker.jpg');
}

.page-header--impact {
    background-image: url('assets/community-impact.jpg');
}

.page-header--donate {
    background-image: url('assets/donate.jpg');
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 49, 66, 0.8), rgba(18, 93, 111, 0.7));
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 760px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 4rem;
}

.content-container{
    display: flex;
    align-items: center;
    gap: 30px;
}

.content-section .image-container {
    flex: 1;
}

.content-section .image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section .text-container {
    flex: 1;
}
.content-section h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-section h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.text-container h2{
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.text-container p{
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Team Grid */

.title-with-line2 {
    font-size: 2.5rem;
    text-align:center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    padding-top: 1rem;
}

.title-with-line2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50;
    width: 300px;
    height: 4px;
    background: var(--primary-blue);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    /* border: 4px solid var(--light-blue); */
}

.team-member h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member .role {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-member a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.advisors-grid .team-member img {
    border-color: var(--primary-blue);
}

/* Contact form */
.contact-form {
    text-align: left;
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 1rem;
}

/* Support cards */
.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.support-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.support-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.support-card p {
    color: var(--text-light);
    margin: 0;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.story-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.story-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Goals Grid */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.goal-item {
    text-align: center;
    padding: 2rem;
}

.goal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.goal-item h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.goal-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Fade in animation */
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-wrapper {
        padding: 0.75rem 0;
    }

    .logo-image {
        height: 60px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 16px;
        transition: color 0.2s ease;
    }

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

    .nav-menu a.active::after {
        display: none;
    }

    .nav-donate {
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-donate .btn-donate {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Better touch targets */
    .btn,
    .btn-donate,
    .follow-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Hero Slider */
    .hero-slider {
        height: 100vh;
        min-height: 500px;
        margin-top: 0;
    }

    .hero-slide {
        background-attachment: scroll;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        text-align: center;
    }

    .slider-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    /* About Section */
    .about-section {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-content h2::before {
        width: 200px;
    }

    .about-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Page Header */
    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-title-line {
        font-size: 2rem;
    }

    /* Page Content */
    .page-content {
        padding: 60px 0;
    }

    .content-section {
        margin-bottom: 3rem;
    }

    .content-section h2,
    .title-with-line {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .title-with-line::before {
        width: 150px;
    }

    .title-with-line2::before {
        width: 200px;
        left: 50%;
        transform: translateX(-50%);
    }

    .content-section p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    /* Story Section */
    .story-section .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-photos {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .photo-card img {
        height: 200px;
    }

    /* Mission & Vision Cards */
    .mission-vision-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mv-card {
        padding: 1.25rem 1rem 0.75rem;
    }

    .mv-card-header h3 {
        font-size: 1.25rem;
    }

    /* Journey Section */
    .journey-section,
    .content-container {
        flex-direction: column;
        gap: 2rem;
    }

    .text-container h2 {
        font-size: 2rem;
    }

    .text-container p {
        font-size: 1rem;
    }

    /* Values Grid */
    .values-grid {
        flex-wrap: nowrap;
        gap: 1rem;
        padding-bottom: 0.5rem;
    }

    .value-card {
        min-width: 220px;
        flex: 0 0 220px;
    }

    /* Programs */
    .programs-preview {
        padding: 60px 0;
    }

    .section-title,
    .section-title2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .section-title::before,
    .section-title2::before {
        width: 200px;
        left: 0;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .program-content {
        padding: 1.5rem;
    }

    .program-content h3 {
        font-size: 1.25rem;
    }

    .program-info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .program-info-card {
        padding: 1.5rem 1.25rem;
    }

    /* Programs Page Specific */
    .content-section[id^="menstrual-health"],
    .content-section[id^="girls-education"],
    .content-section[id^="aysrh"] {
        padding: 2rem 1.5rem !important;
        margin-bottom: 3rem !important;
    }

    .content-section[id^="girls-education"] .programs-grid,
    .content-section[id^="menstrual-health"] .programs-grid,
    .content-section[id^="aysrh"] .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .content-section[id^="girls-education"] .program-image,
    .content-section[id^="menstrual-health"] .program-image,
    .content-section[id^="aysrh"] .program-image {
        order: -1;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .team-member img {
        width: 150px;
        height: 150px;
    }

    .team-member h3 {
        font-size: 1.25rem;
    }

    /* Impact */
    .impact-preview {
        padding: 60px 0;
    }

    .impact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .impact-image {
        order: -1;
    }

    .impact-text h2 {
        font-size: 2rem;
    }

    .impact-text h2::before {
        width: 200px;
        left: 0;
    }

    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 3rem 0;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-content {
        padding: 1.5rem;
    }

    /* Donate Page */
    .donate-cta {
        padding: 60px 0;
    }

    .donate-cta-content h2 {
        font-size: 2rem;
    }

    .donate-cta-content p {
        font-size: 1rem;
    }

    .support-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .support-card {
        padding: 1.5rem 1.25rem;
    }

    /* Contact Form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    /* Partners */
    .partner-item {
        flex: 0 0 120px;
        height: 100px;
        padding: 0.75rem;
    }

    .partner-item img {
        max-width: 90%;
        max-height: 90%;
    }

    .partners-track {
        gap: 1.5rem;
    }

    /* LinkedIn Section */
    .hope-at-work {
        padding: 60px 0;
    }

    .profile-container {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
    }

    .left-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .info-stats {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .follow-btn {
        width: 100%;
        justify-content: center;
    }

    .linkedin-embed-container iframe {
        height: 400px !important;
        width: 100% !important;
    }

    .linkedin-feed-widget .curator-feed {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Goals Grid */
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .goal-item {
        padding: 1.5rem;
    }

    /* MV Grid */
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mv-card {
        padding: 2rem 1.5rem;
    }

    .mv-title {
        font-size: 1.75rem;
    }

    .mv-text {
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .page-header h1,
    .page-title-line {
        font-size: 1.75rem;
    }

    .section-title,
    .section-title2,
    .title-with-line,
    .content-section h2 {
        font-size: 1.75rem;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .nav-menu {
        width: 100%;
        right: -100%;
    }

    .nav-menu.active {
        right: 0;
    }

    .partner-item {
        flex: 0 0 100px;
        height: 80px;
    }
}


