/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Final subpage cascade: keep other pages on the home.php flow */
.subpage .about-hero,
.subpage .blog-hero,
.subpage .scholarships-hero,
.subpage .contact-hero,
.subpage .team-hero,
.subpage .scholarship-hero,
.subpage .member-hero,
.subpage .article-header {
    min-height: 390px;
    padding: 86px 0 78px;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/fhero.jpg') right center/cover no-repeat;
}

.subpage .blog-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/student-library.jpg') right center/cover no-repeat;
}

.subpage .contact-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/bgcontact.jpg') right center/cover no-repeat;
}

.subpage .team-hero,
.subpage .member-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/sideaboutimg.jpg') right center/cover no-repeat;
}

.subpage .scholarships-hero,
.subpage .scholarship-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/bggraduation.jpg') right center/cover no-repeat;
}

.subpage .hero-content,
.subpage .article-header .container,
.subpage .member-hero-content {
    max-width: 680px;
    margin: 0;
    text-align: left;
}

.subpage .about-hero h1,
.subpage .blog-hero h1,
.subpage .scholarships-hero h1,
.subpage .contact-hero h1,
.subpage .team-hero h1,
.subpage .scholarship-hero h1,
.subpage .article-title,
.subpage .member-hero-info h1 {
    max-width: 12ch;
    color: var(--text-dark);
    font-size: 56px;
    line-height: 1.03;
    font-weight: 800;
    margin: 12px 0 18px;
    text-shadow: none;
}

.subpage .about-hero p,
.subpage .blog-hero p,
.subpage .scholarships-hero p,
.subpage .contact-hero p,
.subpage .team-hero p,
.subpage .scholarship-hero p,
.subpage .member-hero-role {
    max-width: 520px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    opacity: 1;
}

.subpage .content-card,
.subpage .stat-item,
.subpage .team-member,
.subpage .team-member-card,
.subpage .extended-member,
.subpage .value-card,
.subpage .scholarship-card,
.subpage .step-card,
.subpage .faq-item,
.subpage .blog-post,
.subpage .info-card,
.subpage .contact-socials,
.subpage .contact-form-section,
.subpage .details-card,
.subpage .sidebar-widget,
.subpage .sidebar-card,
.subpage .member-section,
.subpage .comments-section {
    border-radius: 8px;
    border: 1px solid #e5edf2;
    box-shadow: 0 12px 30px rgba(43, 34, 48, 0.08);
}

.subpage .btn-primary,
.subpage .primary-action,
.subpage .submit-btn,
.subpage .load-more-btn,
.subpage .newsletter-btn,
.subpage .join-btn,
.subpage .contact-member-btn,
.subpage .download-cv-btn,
.subpage .team-link-btn,
.subpage .premium-btn {
    border-radius: 6px;
    background: linear-gradient(135deg, var(--support-teal), var(--support-blue));
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.subpage .education-cta {
    min-height: 390px;
    padding: 78px 0;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.88), rgba(43,34,48,0.78)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.subpage .education-cta h2,
.subpage .education-cta h3 {
    color: #fff;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
}

.subpage .education-cta p {
    max-width: 680px;
    color: rgba(255,255,255,0.9);
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .subpage .about-hero,
    .subpage .blog-hero,
    .subpage .scholarships-hero,
    .subpage .contact-hero,
    .subpage .team-hero,
    .subpage .scholarship-hero,
    .subpage .member-hero,
    .subpage .article-header {
        min-height: auto;
        padding: 64px 0 54px;
    }

    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .article-title,
    .subpage .member-hero-info h1 {
        font-size: 40px;
    }
}

@media (max-width: 520px) {
    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .article-title,
    .subpage .member-hero-info h1 {
        font-size: 34px;
    }
}

/* About page corrections from visual QA */
.about-page .about-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        url('../images/sideaboutimg.jpg') right center/cover no-repeat;
}

.about-page .about-content,
.about-page .vmo-section,
.about-page .selection-criteria,
.about-page .team-section {
    padding: 72px 0;
}

.about-page .about-content .container {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: 72px;
    align-items: center;
}

.about-page .content-title {
    max-width: 12ch;
    font-size: 42px;
    line-height: 1.08;
}

.about-page .content-subtitle {
    font-size: 24px;
    margin-bottom: 22px;
}

.about-page .lead-text,
.about-page .support-text {
    max-width: 680px;
    font-size: 16px;
    line-height: 1.75;
}

.about-page .content-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.about-page .primary-action,
.about-page .secondary-action,
.about-page .criteria-content .premium-btn,
.about-page .view-profile-btn,
.about-page .education-cta .premium-btn {
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

.about-page .primary-action,
.about-page .criteria-content .premium-btn,
.about-page .view-profile-btn,
.about-page .education-cta .premium-btn {
    padding: 12px 22px;
}

.about-page .secondary-action {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
}

.about-page .content-stats {
    gap: 18px;
}

.about-page .stat-item {
    padding: 24px 18px;
    border-radius: 8px;
    background: #fff;
}

.about-page .stat-item .stat-icon {
    font-size: 28px;
}

.about-page .stat-item .stat-number {
    font-size: 30px;
    line-height: 1.1;
}

.about-page .content-grid {
    gap: 30px;
    margin: 0;
}

.about-page .content-card {
    border-radius: 8px;
    padding: 34px 28px;
}

.about-page .selection-criteria {
    background: var(--surface-cool);
}

.about-page .selection-criteria::before {
    display: none;
}

.about-page .criteria-content h2,
.about-page .team-section .section-header h2 {
    font-size: 34px;
    line-height: 1.15;
}

.about-page .criteria-content h2::after,
.about-page .team-section .section-header h2::after {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.about-page .criteria-image,
.about-page .team-member-image {
    border-radius: 8px;
    background: #fff;
}

.about-page .criteria-image {
    min-height: 310px;
    box-shadow: 0 18px 45px rgba(43, 34, 48, 0.1);
}

.about-page .criteria-image img {
    display: block;
    border-radius: 8px;
    box-shadow: none;
}

.about-page .team-grid {
    gap: 30px;
    margin-top: 44px;
}

.about-page .team-member {
    border-radius: 8px;
}

.about-page .team-member-image {
    height: 220px;
}

.about-page .team-member-info {
    padding: 24px 22px 28px;
}

.about-page .team-member .position {
    letter-spacing: 0.04em;
}

.about-page .education-cta {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .about-page .about-content .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .about-page .content-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .about-page .about-content,
    .about-page .vmo-section,
    .about-page .selection-criteria,
    .about-page .team-section {
        padding: 56px 0;
    }

    .about-page .content-title,
    .about-page .criteria-content h2,
    .about-page .team-section .section-header h2 {
        font-size: 30px;
    }

    .about-page .content-actions,
    .about-page .content-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-page .content-actions {
        display: grid;
        max-width: 360px;
    }

    .about-page .primary-action,
    .about-page .criteria-content .premium-btn,
    .about-page .view-profile-btn,
    .about-page .education-cta .premium-btn {
        width: 100%;
        justify-content: center;
    }

    .about-page .criteria-image {
        min-height: 240px;
    }
}

@media (max-width: 520px) {
    .about-page .content-title,
    .about-page .criteria-content h2,
    .about-page .team-section .section-header h2 {
        font-size: 26px;
    }

    .about-page .content-stats {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Brand color pass - final cascade */
.home-page .hero .btn-primary,
.home-page .cta-action .btn,
.home-page .project-card .btn-primary,
.subpage .btn-primary,
.subpage .primary-action,
.subpage .submit-btn,
.subpage .load-more-btn,
.subpage .newsletter-btn,
.subpage .join-btn,
.subpage .contact-member-btn,
.subpage .download-cv-btn,
.subpage .team-link-btn,
.subpage .premium-btn,
.subpage .step-number,
.subpage .filter-btn.active,
.subpage .scholarship-badge,
.subpage .post-category,
.subpage .scholarships-cta,
.subpage .scholarship-cta,
.subpage .newsletter-section,
.subpage .join-team-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.home-page .hero-accent,
.home-page .hero .eyebrow,
.home-page .stats-content small,
.home-page .read-more,
.subpage .about-hero .hero-eyebrow,
.subpage .article-category,
.subpage .content-title .title-highlight,
.subpage .content-subtitle .hero-accent,
.subpage .read-more,
.subpage .member-role,
.subpage .detail-item span,
.subpage .contact-info-section a,
.subpage .member-details,
.subpage .category-link,
.subpage .tag-link,
.subpage .card-icon,
.subpage .stat-icon,
.subpage .info-icon,
.subpage .extended-icon,
.subpage .value-icon,
.subpage .criteria-item i,
.subpage .member-list i {
    color: var(--primary-color);
}

.home-page .hero-highlight,
.subpage .btn-outline,
.subpage .secondary-action {
    color: var(--primary-dark);
}

.home-page .hero .btn-outline,
.subpage .btn-outline,
.subpage .secondary-action {
    border-color: var(--primary-color);
}

.home-page .hero .btn-outline:hover,
.subpage .btn-outline:hover,
.subpage .secondary-action:hover {
    background: var(--primary-color);
    color: #fff;
}

.home-page .selection-criteria h3::after,
.home-page .section-header h2::after,
.home-page .stats-content h2::after,
.subpage .content-title .title-highlight::after,
.subpage .content-subtitle .hero-accent::after,
.subpage .section-header h2::after {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.subpage .education-cta {
    background:
        linear-gradient(90deg, rgba(var(--primary-dark-rgb), 0.9), rgba(var(--primary-rgb), 0.76)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.home-page .donate-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.home-page .hero-trust span,
.subpage .about-hero .hero-eyebrow,
.subpage .article-category {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.22);
}

.subpage .content-card:hover,
.subpage .stat-item:hover,
.subpage .team-member:hover,
.subpage .team-member-card:hover,
.subpage .extended-member:hover,
.subpage .value-card:hover,
.subpage .scholarship-card:hover,
.subpage .step-card:hover,
.subpage .faq-item:hover,
.subpage .blog-post:hover,
.subpage .info-card:hover {
    border-color: rgba(var(--primary-rgb), 0.34);
}

/* Brand color pass */
.home-page .hero .btn-primary,
.home-page .cta-action .btn,
.home-page .project-card .btn-primary,
.subpage .btn-primary,
.subpage .primary-action,
.subpage .submit-btn,
.subpage .load-more-btn,
.subpage .newsletter-btn,
.subpage .join-btn,
.subpage .contact-member-btn,
.subpage .download-cv-btn,
.subpage .team-link-btn,
.subpage .premium-btn,
.subpage .step-number,
.subpage .filter-btn.active,
.subpage .scholarship-badge,
.subpage .post-category,
.subpage .scholarships-cta,
.subpage .scholarship-cta,
.subpage .newsletter-section,
.subpage .join-team-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.home-page .hero-accent,
.home-page .hero .eyebrow,
.home-page .stats-content small,
.home-page .read-more,
.subpage .about-hero .hero-eyebrow,
.subpage .article-category,
.subpage .content-title .title-highlight,
.subpage .content-subtitle .hero-accent,
.subpage .read-more,
.subpage .member-role,
.subpage .detail-item span,
.subpage .contact-info-section a,
.subpage .member-details,
.subpage .category-link,
.subpage .tag-link,
.subpage .card-icon,
.subpage .stat-icon,
.subpage .info-icon,
.subpage .extended-icon,
.subpage .value-icon,
.subpage .criteria-item i,
.subpage .member-list i {
    color: var(--primary-color);
}

.home-page .hero-highlight,
.subpage .btn-outline,
.subpage .secondary-action {
    color: var(--primary-dark);
}

.home-page .hero .btn-outline,
.subpage .btn-outline,
.subpage .secondary-action {
    border-color: var(--primary-color);
}

.home-page .hero .btn-outline:hover,
.subpage .btn-outline:hover,
.subpage .secondary-action:hover {
    background: var(--primary-color);
    color: #fff;
}

.home-page .selection-criteria h3::after,
.home-page .section-header h2::after,
.home-page .stats-content h2::after,
.subpage .content-title .title-highlight::after,
.subpage .content-subtitle .hero-accent::after,
.subpage .section-header h2::after {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.home-page .info-stats,
.subpage .education-cta {
    background:
        linear-gradient(90deg, rgba(var(--primary-dark-rgb), 0.9), rgba(var(--primary-rgb), 0.76)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.home-page .info-stats {
    color: #fff;
}

.home-page .stats-content,
.home-page .stats-content h2,
.home-page .stats-content p,
.home-page .stats-content small {
    color: #fff;
}

.home-page .stat {
    border-top-color: var(--primary-color);
}

.home-page .stat-value {
    color: var(--primary-color);
}
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #d33b6a; /* brand magenta */
    --primary-dark: #7a1b56;
    --primary-rgb: 211, 59, 106;
    --primary-dark-rgb: 122, 27, 86;
    --secondary-color: #6b1f5b; /* complementary deep purple */
    --accent-color: #ff9a3c; /* donate / accent orange */
    --text-dark: #2b2230;
    --text-light: #6b5966;
    --bg-light: #fbf9fb;
    --bg-white: #ffffff;
    --border-color: #efe6ee;
    --support-teal: #0f766e;
    --support-blue: #2563eb;
    --support-gold: #f59e0b;
    --surface-cool: #f5f8fb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}   

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: visible;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    overflow: visible;
}

.navbar-brand img {
    height: 50px;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar nav {
    overflow: visible;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    position: relative;
    z-index: 1002;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s ease;
}

/* CTA in nav */
.nav-menu a.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(var(--primary-rgb),0.12);
}

.nav-menu a.cta-button:hover {
    transform: translateY(-2px);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .navbar .container {
        padding: 12px 15px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: min(82vw, 340px);
        height: 100vh;
        text-align: left;
        gap: 0;
        list-style: none;
        transition: transform 0.3s ease;
        transform: translateX(100%);
        box-shadow: -12px 0 30px rgba(0,0,0,0.16);
        overflow-y: auto;
        padding: 78px 0 24px;
        z-index: 1001;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        padding: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 16px 24px;
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        color: var(--primary-color);
        background-color: rgba(211, 59, 106, 0.05);
    }

    .nav-menu a.cta-button {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: white;
        margin: 18px 24px 0;
        padding: 12px 24px;
        border-radius: 20px;
        display: inline-block;
        box-shadow: 0 6px 18px rgba(var(--primary-rgb),0.12);
    }

    .nav-menu a.cta-button:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 10px 10px;
    }

    .navbar-brand img {
        height: 35px;
        max-width: 150px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .nav-menu {
        width: min(86vw, 320px);
        padding-top: 68px;
    }

    .nav-menu li {
        padding: 0;
    }

    .nav-menu a {
        padding: 14px 20px;
        font-size: 15px;
    }

    .nav-menu a.cta-button {
        margin: 16px 20px 0;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ===== HERO SECTION (Background Image Variant) ===== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    background-image: url('../images/fhero.jpg');
    align-items: center;
    color: #1b1420;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero .hero-overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* Overlay for readability and soft vignette to right */
/* .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.6) 45%, rgba(255,255,255,0.4) 65%, rgba(0,0,0,0.08) 100%);
    z-index: 1;
    pointer-events: none;
} */

/* Inner layout */
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text container */
.hero-left {
    max-width: 720px;
}

/* Eyebrow */
.hero .eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* Heading */
.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.hero h1 .hero-highlight,
.hero .hero-highlight { color: var(--primary-dark); }
.hero h1 { letter-spacing: 0; }

.hero-accent { color: var(--primary-color); }
.hero-highlight { color: var(--primary-dark); }

/* Description */
.hero .lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 620px;
    margin-bottom: 28px;
}

/* CTA buttons */
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 6px;
    padding: 12px 20px;
}

.hero .btn-outline {
    border-radius: 6px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

@media (max-width: 900px) {
    .hero {
        padding: 80px 20px;
        min-height: 460px;
    }

    .hero-left {
        max-width: 100%;
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 90px 20px;
        min-height: 480px;
        text-align: center;
        background-position: center center;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-left {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.25;
        margin-bottom: 18px;
    }

    .hero .eyebrow {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .hero .lead {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .hero-ctas {
        gap: 12px;
        justify-content: center;
    }

    .hero .btn-primary,
    .hero .btn-outline {
        padding: 11px 18px;
        font-size: 15px;
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.95) 100%);
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 70px 16px;
        min-height: 440px;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero .eyebrow {
        font-size: 13px;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }

    .hero .lead {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero .btn-primary,
    .hero .btn-outline {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 14px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .hero .eyebrow {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .hero .lead {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-ctas {
        gap: 8px;
        justify-content: flex-start;
    }

    .hero .btn-primary,
    .hero .btn-outline {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Outline button variant */
.btn-outline { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 10px 18px; border-radius: 8px; font-weight:600; }
.btn-outline:hover { background: var(--primary-color); color: white; transform: translateY(-2px); }

/* Fee card on hero */
.sr-only-feebox-removed { display:none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* Info Stats Section */
.info-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.info-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.stats-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat:hover::before {
    opacity: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-content small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

.stats-content h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.stats-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
    text-align: justify;
}

.stats-content .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    margin-right: 0;
    margin-bottom: 0;
}

/* Responsive for Info Stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .stats-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        justify-items: center;
    }

    .stat {
        max-width: 220px;
    }

    .stats-content h2 {
        font-size: 32px;
    }

    .stats-content .btn {
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .info-stats {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .stats-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat {
        padding: 20px 15px;
        max-width: 100%;
    }

    .stat-value {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stats-content small {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .stats-content h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .stats-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .stats-content .btn {
        margin-right: 8px;
        margin-bottom: 8px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .info-stats {
        padding: 50px 0;
    }

    .stats-grid {
        gap: 35px;
    }

    .stats-list {
        gap: 18px;
    }

    .stat {
        padding: 18px 12px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stats-content small {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .stats-content h2 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .stats-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .info-stats {
        padding: 40px 0;
    }

    .stats-grid {
        gap: 30px;
    }

    .stats-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat {
        padding: 16px 12px;
    }

    .stat-value {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .stats-content small {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .stats-content h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .stats-content h2::after {
        width: 50px;
    }

    .stats-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons .btn {
        padding: 12px 18px;
        font-size: 13px;
        min-height: 44px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .info-stats {
        padding: 35px 0;
    }

    .stats-grid {
        gap: 25px;
    }

    .stats-list {
        gap: 12px;
    }

    .stat {
        padding: 14px 10px;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 9px;
    }

    .stats-content h2 {
        font-size: 22px;
    }

    .stats-content p {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons .btn {
        padding: 10px 16px;
        font-size: 12px;
        min-height: 44px;
    }
}

/* Touch-friendly interactions for mobile */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
    .stat {
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .stats-content .btn {
        min-height: 48px;
    }
}

/* Selection Criteria Section */
.selection-criteria {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.selection-criteria h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 0.5px;
}

.selection-criteria h3 span {
    color: var(--primary-color);
}    

.selection-criteria h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.selection-criteria p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: justify;
}

.selection-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.selection-image img:hover {
    transform: scale(1.05);
}

/* Responsive for Selection Criteria */
@media (max-width: 768px) {
    .selection-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .selection-criteria h3 {
        font-size: 32px;
    }

    .selection-image img:hover {
        transform: none;
    }
}

/* button tweaks inside section */
.selection-criteria .btn-outline {
    font-size: 18px;
    padding: 14px 28px;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.selection-criteria .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Apply CTA Section */
.apply-cta {
    /* Background image set via PHP in head partial */
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.apply-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.cta-action .btn {
    font-size: 18px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 154, 60, 0.3);
    transition: all 0.3s ease;
}

.cta-action .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 154, 60, 0.4);
}

/* Responsive for Apply CTA */
@media (max-width: 768px) {
    .apply-cta {
        padding: 80px 20px;
    }

    .cta-text h3 {
        font-size: 28px;
    }

    .cta-text p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-action .btn {
        font-size: 16px;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .apply-cta {
        padding: 60px 16px;
    }

    .cta-text h3 {
        font-size: 24px;
    }

    .cta-text p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .cta-action .btn {
        font-size: 15px;
        padding: 14px 24px;
    }
}

/* Donate Banner Section */
.donate-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff6b35 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.donate-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.donate-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sponsor-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.donate-left h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.donate-left p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
    text-align: justify;
}

.donate-map img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.donate-map img:hover {
    transform: scale(1.05);
}

/* ===== Testimonial Slider ===== */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials .section-title {
    margin-bottom: 50px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 20px 30px;
    font-style: italic;
    color: var(--text-dark);
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    padding: 30px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.testimonial-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-text {
    flex: 1;
}

.testimonial-slide .quote {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.testimonial-slide .author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
}
.testimonial-slide .author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-controls button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-controls button:hover {
    background: var(--primary-dark);
}

/* Responsive for Donate Banner */
@media (max-width: 768px) {
    .donate-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .donate-left h3 {
        font-size: 28px;
    }

    .donate-map img:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .donate-banner {
        padding: 60px 0;
    }

    .donate-left h3 {
        font-size: 24px;
    }

    .donate-left p {
        font-size: 15px;
    }

    .donate-map {
        margin-top: 20px;
    }
}

/* Footer */
.footer-dark {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: white;
    padding: 70px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.footer-about h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--accent-color);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 16px;
}

.footer-about small {
    font-size: 12px;
    color: #888888;
}

.footer-links h5,
.footer-contact h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin: 0 0 12px 0;
}

.footer-contact a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(211, 59, 106, 0.2);
    color: var(--accent-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-4px);
}

/* Newsletter Section */
.footer-newsletter {
    background: rgba(211, 59, 106, 0.1);
    padding: 28px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.footer-newsletter h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    letter-spacing: 0.3px;
}

.footer-newsletter p {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 18px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: stretch;
}

.newsletter-input {
    flex: 1 1 auto;
    padding: 13px 16px;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.newsletter-input::placeholder {
    color: #999999;
    font-size: 13px;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(211, 59, 106, 0.2);
    background-color: white;
}

.newsletter-btn {
    padding: 13px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a81652 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 59, 106, 0.3);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-note {
    font-size: 11px;
    color: #999999;
    display: block;
    margin-top: 10px;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 30px;
    padding-bottom: 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-size: 12px;
    color: #888888;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .developer-credit a {
    color: #ff9638;
    font-weight: 800;
    text-decoration: none;
}

.footer-bottom .developer-credit a:hover {
    color: #fff;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
        padding: 0 16px;
    }

    .footer-dark {
        padding: 60px 0 30px;
        margin-top: 80px;
    }

    .footer-grid {
        gap: 40px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .footer-about h4 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .footer-about p {
        font-size: 14px;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .footer-links h5,
    .footer-contact h5,
    .footer-newsletter h5 {
        margin-bottom: 16px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .social-links {
        justify-content: flex-start;
        gap: 12px;
        margin-top: 16px;
        flex-wrap: wrap;
    }

    .footer-newsletter {
        margin-top: 0;
        background: rgba(211, 59, 106, 0.12);
        padding: 26px 20px;
        border-radius: 10px;
        border-left: 4px solid var(--primary-color);
    }

    .newsletter-form {
        display: flex;
        flex-direction: column;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }

    .newsletter-input {
        width: 100%;
        padding: 13px 15px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 6px;
        border: 1px solid #e0e0e0;
        box-sizing: border-box;
    }

    .newsletter-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 15px;
        min-height: 48px;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .footer-newsletter h5 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-newsletter p {
        font-size: 12px;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .newsletter-note {
        font-size: 10px;
        margin-top: 10px;
    }

    .footer-bottom {
        padding: 20px 16px 0;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .footer-dark {
        padding: 45px 0 25px;
        margin-top: 70px;
    }

    .footer-grid {
        gap: 0;
        padding: 0;
    }

    .footer-about {
        padding: 24px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
    }

    .footer-about h4 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .footer-about p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .footer-about small {
        font-size: 11px;
        display: block;
        margin-top: 8px;
    }

    .footer-links {
        padding: 24px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-links h5,
    .footer-contact h5,
    .footer-newsletter h5 {
        font-size: 16px;
        margin-bottom: 16px;
        font-weight: 600;
    }

    .footer-links ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
    }

    .footer-links a,
    .footer-contact a {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-contact {
        padding: 24px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-contact p {
        margin: 0 0 14px 0;
        font-size: 13px;
    }

    .social-links {
        gap: 12px;
        margin-top: 16px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .social-links a:active {
        transform: scale(0.95);
    }

    .footer-newsletter {
        background: rgba(211, 59, 106, 0.15);
        padding: 24px 16px;
        border-radius: 0;
        border-left: 4px solid var(--primary-color);
        margin-top: 0;
    }

    .footer-newsletter p {
        font-size: 12px;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .newsletter-form {
        display: flex;
        flex-direction: column;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
        display: flex;
    }

    .newsletter-input {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 5px;
        min-height: 44px;
        width: 100%;
        border: 1px solid #e0e0e0;
        box-sizing: border-box;
    }

    .newsletter-btn {
        padding: 12px 16px;
        border-radius: 5px;
        font-size: 14px;
        min-height: 44px;
        width: 100%;
        box-sizing: border-box;
    }

    .newsletter-note {
        margin-top: 10px;
        font-size: 9px;
        line-height: 1.3;
    }

    .footer-bottom {
        padding: 20px 16px 0;
        text-align: left;
        font-size: 11px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .footer-dark {
        padding: 40px 0 25px;
        margin-top: 60px;
    }

    .footer-grid {
        gap: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    /* Reorder sections: About, Newsletter, Links, Contact */
    .footer-about {
        order: 1;
        padding: 20px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-about h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-about p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .footer-about small {
        font-size: 10px;
        display: block;
        margin-top: 6px;
    }

    .footer-newsletter {
        order: 2;
        padding: 20px 14px;
        background: rgba(211, 59, 106, 0.12);
        border-radius: 0;
        border-left: 4px solid var(--primary-color);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-newsletter h5 {
        font-size: 14px;
        margin-bottom: 12px;
        font-weight: 600;
    }

    .footer-newsletter p {
        font-size: 11px;
        margin-bottom: 14px;
        line-height: 1.4;
    }

    .newsletter-form {
        display: flex;
        flex-direction: column;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
        display: flex;
    }

    .newsletter-input {
        padding: 12px 12px;
        font-size: 13px;
        border-radius: 5px;
        min-height: 44px;
        width: 100%;
        border: 1px solid #e0e0e0;
        box-sizing: border-box;
    }

    .newsletter-btn {
        padding: 12px 14px;
        border-radius: 5px;
        font-size: 13px;
        min-height: 44px;
        width: 100%;
        box-sizing: border-box;
    }

    .newsletter-note {
        font-size: 9px;
        margin-top: 10px;
        line-height: 1.4;
    }

    .footer-links {
        order: 3;
        padding: 20px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-links h5 {
        font-size: 14px;
        margin-bottom: 14px;
        font-weight: 600;
    }

    .footer-links ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
    }

    .footer-links a {
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-contact {
        order: 4;
        padding: 20px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-contact h5 {
        font-size: 14px;
        margin-bottom: 14px;
        font-weight: 600;
    }

    .footer-contact p {
        font-size: 12px;
        margin: 0 0 12px 0;
    }

    .footer-contact a {
        font-size: 12px;
    }

    .social-links {
        gap: 10px;
        margin-top: 14px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .social-links a:active {
        transform: scale(0.92);
    }

    .footer-bottom {
        padding: 20px 14px 0;
        font-size: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0;
    }
}

/* Blog Section */
.page-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.page-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.page-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.page-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 600px;
    margin: 0;
    text-align: justify;
}

.page-section .content-wrapper {
    max-width: 800px;
}

/* About Page Styles */

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--accent-color) 100%);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero .hero-eyebrow {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: block;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.about-hero .hero-accent {
    color: var(--accent-color);
    position: relative;
}

.about-hero .hero-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

.about-hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* About Content Section */
.about-content {
    background: var(--bg-white);
    padding: 100px 0;
}

.about-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.content-text {
    max-width: 100%;
}

.content-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.content-title .title-highlight {
    color: var(--primary-color);
    position: relative;
}

.content-title .title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.content-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.content-subtitle .hero-accent {
    color: var(--accent-color);
    position: relative;
}

.content-subtitle .hero-accent::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 154, 60, 0.6);
    border-radius: 2px;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.support-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.content-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.primary-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(211, 59, 106, 0.3);
    position: relative;
    overflow: hidden;
}

.primary-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.primary-action:hover::before {
    left: 100%;
}

.primary-action:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(211, 59, 106, 0.4);
}

.secondary-action {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.secondary-action::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.secondary-action:hover::after {
    width: 100%;
}

.content-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stat-item .stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Grid for Vision/Mission/Objectives */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.content-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 16px 16px 0 0;
}

.content-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.content-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 25px rgba(211, 59, 106, 0.3);
    position: relative;
}

.content-card .card-icon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.content-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
}

.content-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.content-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Selection Criteria Section */
.selection-criteria {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(255, 154, 60, 0.05) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.selection-criteria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="criteria-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="rgba(255,154,60,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23criteria-pattern)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.selection-criteria .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.criteria-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.criteria-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(211, 59, 106, 0.3);
}

.criteria-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.criteria-content .premium-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 35px rgba(211, 59, 106, 0.3);
    position: relative;
    overflow: hidden;
}

.criteria-content .premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.criteria-content .premium-btn:hover::before {
    left: 100%;
}

.criteria-content .premium-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(211, 59, 106, 0.4);
}

.criteria-image {
    position: relative;
    text-align: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
}

.criteria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.criteria-image img:hover {
    transform: scale(1.05);
}

/* Team Section */
.team-section {
    background: var(--bg-white);
    padding: 100px 0;
}

.team-section .section-header {
    margin-bottom: 60px;
}

.team-section .section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.team-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(211, 59, 106, 0.3);
}

.team-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.team-member:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.team-member-image {
    height: 250px;
    aspect-ratio: auto 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.1);
}

.team-member-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(211, 59, 106, 0.3);
}

.team-member-info {
    padding: 24px;
    text-align: center;
}

.team-member h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.team-member .position {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team-member p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.team-member-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 59, 106, 0.2);
}

.social-link:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(211, 59, 106, 0.4);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.view-profile-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 59, 106, 0.25);
    border: none;
    cursor: pointer;
}

.view-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 59, 106, 0.4);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.view-profile-btn:active {
    transform: translateY(0);
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 60px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero h2 {
        font-size: 1.4rem;
    }

    .about-hero .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-title {
        font-size: 2.5rem;
    }

    .content-subtitle {
        font-size: 1.5rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .support-text {
        font-size: 1rem;
    }

    .content-actions {
        align-items: center;
    }

    .primary-action {
        font-size: 1rem;
        padding: 14px 28px;
    }

    .content-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
        flex: 1;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .stat-item .stat-label {
        font-size: 0.9rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
    }

    .content-card {
        padding: 30px 20px;
    }

    .selection-criteria .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .criteria-content h2 {
        font-size: 2.2rem;
    }

    .criteria-content p {
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .team-member-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero h2 {
        font-size: 1.2rem;
    }

    .about-hero .hero-stats {
        gap: 1rem;
    }

    .hero-stat .stat-number {
        font-size: 2rem;
    }

    .hero-stat .stat-label {
        font-size: 0.8rem;
    }

    .content-title {
        font-size: 2rem;
    }

    .content-subtitle {
        font-size: 1.3rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    .support-text {
        font-size: 0.95rem;
    }

    .primary-action {
        font-size: 0.9rem;
        padding: 12px 24px;
    }

    .secondary-action {
        font-size: 0.9rem;
    }

    .content-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .stat-item .stat-label {
        font-size: 0.85rem;
    }

    .content-card .card-icon {
        width: 60px;
        height: 60px;
    }

    .content-card .card-icon i {
        font-size: 1.5rem;
    }

    .content-card h3 {
        font-size: 1.3rem;
    }

    .selection-criteria {
        padding: 60px 0;
    }

    .criteria-content h2 {
        font-size: 1.8rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member-image {
        height: 180px;
    }
}

/* Education CTA Section */
.education-cta {
    background: linear-gradient(135deg, #f8f5ff 0%, var(--bg-light) 50%, #fff5f8 100%);
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.education-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(211,59,106,0.08)"/><circle cx="35" cy="35" r="1" fill="rgba(211,59,106,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}

.education-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(211, 59, 106, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.education-cta .container {
    position: relative;
    z-index: 2;
}

.education-cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.education-cta h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(211, 59, 106, 0.3);
}

.education-cta p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.education-cta .premium-btn {
    display: inline-block;
    padding: 16px 42px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 35px rgba(211, 59, 106, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.education-cta .premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.education-cta .premium-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.education-cta .premium-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(211, 59, 106, 0.4);
    border-color: rgba(255,255,255,0.3);
}

.education-cta .premium-btn:hover::before {
    left: 100%;
}

.education-cta .premium-btn:hover::after {
    opacity: 1;
}

.education-cta .premium-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Responsive Education CTA */
@media (max-width: 768px) {
    .education-cta {
        padding: 80px 0;
    }

    .education-cta h2 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .education-cta p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .education-cta .premium-btn {
        padding: 14px 36px;
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .education-cta::after {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .education-cta {
        padding: 60px 0;
    }

    .education-cta h2 {
        font-size: 1.8rem;
    }

    .education-cta p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .education-cta .premium-btn {
        padding: 12px 32px;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::before {
    opacity: 1;
}

.blog-body {
    padding: 24px;
}

.blog-date {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.card-meta {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

.card-meta span {
    display: flex;
    align-items: center;
}

.card-meta span:before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--text-light);
    border-radius: 50%;
    margin-right: 8px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-18 {
    margin-top: 18px;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card {
        margin: 0 10px;
    }

    .page-section h2 {
        font-size: 28px;
    }

    .page-section h3 {
        font-size: 24px;
    }
}

/* Unique Styling for Making Education Accessible Section */
.page-section:nth-of-type(2) {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(211, 59, 106, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.page-section:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211, 59, 106, 0.03) 0%, transparent 50%);
    animation: gentle-float 8s ease-in-out infinite;
}

.page-section:nth-of-type(2)::after {
    content: '🎓';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    opacity: 0.1;
    animation: gentle-bounce 4s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.page-section:nth-of-type(2) .content-wrapper {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-section:nth-of-type(2) h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.1;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-section:nth-of-type(2) h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(211, 59, 106, 0.3);
}

.page-section:nth-of-type(2) p {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-section:nth-of-type(2) .btn {
    font-size: 18px;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(107, 31, 91, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.page-section:nth-of-type(2) .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.page-section:nth-of-type(2) .btn:hover::before {
    left: 100%;
}

.page-section:nth-of-type(2) .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(107, 31, 91, 0.4);
}

/* Responsive for Education Section */
@media (max-width: 768px) {
    .page-section:nth-of-type(2) h2 {
        font-size: 36px;
    }

    .page-section:nth-of-type(2) p {
        font-size: 18px;
    }

    .page-section:nth-of-type(2) .content-wrapper {
        padding: 40px 15px;
    }

    .page-section:nth-of-type(2)::after {
        font-size: 40px;
        top: 10px;
        right: 10px;
    }
}

/* Education Accessible Section */
.education-accessible {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(211, 59, 106, 0.08) 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.education-accessible::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(211,59,106,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(211,59,106,0.05)"/><circle cx="50" cy="50" r="2" fill="rgba(211,59,106,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.education-accessible .container {
    position: relative;
    z-index: 2;
}

.education-icon {
    margin-bottom: 2rem;
    animation: bounceIn 1s ease-out;
}

.education-icon i {
    font-size: 4rem;
    color: var(--primary-color);
    filter: drop-shadow(0 4px 8px rgba(211, 59, 106, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.education-accessible h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.education-accessible h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(211, 59, 106, 0.2);
}

.education-accessible p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.education-accessible .enhanced-btn {
    display: inline-block;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(211, 59, 106, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(211, 59, 106, 0.1);
    position: relative;
    overflow: hidden;
}

.education-accessible .enhanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 59, 106, 0.1), transparent);
    transition: left 0.6s;
}

.education-accessible .enhanced-btn:hover::before {
    left: 100%;
}

.education-accessible .enhanced-btn:hover {
    background: rgba(211, 59, 106, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(211, 59, 106, 0.2);
    color: var(--primary-dark);
}

/* Responsive Education Section */
@media (max-width: 768px) {
    .education-accessible {
        padding: 60px 0;
    }

    .education-accessible h2 {
        font-size: 2.2rem;
    }

    .education-accessible p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .education-icon i {
        font-size: 3rem;
    }

    .education-accessible .enhanced-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* Donation Widget Section */
.donate-widget {
    background-color: var(--bg-white);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
    text-align: justify;
}

/* Projects listing inside donate widget */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.project-card {
    background: linear-gradient(145deg, var(--bg-white) 0%, #f8f9fa 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(211, 59, 106, 0.15);
    border-color: var(--primary-color);
}

.project-card:hover::before {
    height: 8px;
    box-shadow: 0 0 20px rgba(211, 59, 106, 0.4);
}

.project-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
    position: relative;
}

.project-card h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.project-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-card p strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.donation-progress {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(211, 59, 106, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(211, 59, 106, 0.1);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-info .donated {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 15px;
}

.progress-info .target {
    color: var(--text-light);
    font-size: 13px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(211, 59, 106, 0.3);
}

.progress-percentage {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 12px;
}

.project-card .btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(211, 59, 106, 0.3);
    position: relative;
    overflow: hidden;
}

.project-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.project-card .btn:hover::before {
    left: 100%;
}

.project-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(211, 59, 106, 0.4);
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.donate-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.donate-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(211, 59, 106, 0.1);
}

.donate-box h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.donate-box p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.donate-box input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.donate-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211, 59, 106, 0.1);
}

.donate-options h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.amount-grid .btn {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.amount-grid .btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 59, 106, 0.3);
}

.donate-options .btn-primary {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 154, 60, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.contact-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info Section */
.contact-info-section h2,
.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 700;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.info-card {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    margin: 0;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Contact Socials */
.contact-socials {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-socials h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 59, 106, 0.2);
}

.social-icon:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(211, 59, 106, 0.4);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-form {
    display: grid;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(211, 59, 106, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 59, 106, 0.25);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 59, 106, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 60px 0 50px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 0.95rem;
    }

    .contact-content {
        padding: 40px 0;
    }

    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .contact-form-section {
        padding: 24px 16px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}


/* Responsive for Donation Widget */
@media (max-width: 768px) {
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .donate-box {
        padding: 30px 20px;
    }

    .donate-box h4 {
        font-size: 20px;
    }

    .amount-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .amount-grid .btn {
        padding: 14px 18px;
        font-size: 16px;
    }

    .donation-progress {
        margin-bottom: 20px;
        padding: 12px;
    }

    .progress-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .progress-bar {
        height: 6px;
    }

    .progress-info .donated {
        font-size: 14px;
    }

    .progress-info .target {
        font-size: 12px;
    }
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 154, 60, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.blog-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.blog-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.blog-content {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Blog Controls */
.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.blog-search {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
}

.blog-search i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.blog-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211, 59, 106, 0.1);
}

.blog-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.blog-post {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.post-image {
    position: relative;
    height: 200px;
    aspect-ratio: auto 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.1);
}

.post-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.post-date,
.post-author {
    color: var(--text-light);
}

.post-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    flex-grow: 1;
}

.post-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: fit-content;
}

.read-more:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* Load More Button */
.blog-load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 59, 106, 0.25);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 59, 106, 0.4);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 16px;
    font-weight: 700;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    padding: 14px 28px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 154, 60, 0.3);
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .blog-controls {
        flex-direction: column;
        gap: 20px;
    }

    .blog-search {
        min-width: 100%;
    }

    .blog-filters {
        width: 100%;
        justify-content: center;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-btn {
        width: 100%;
    }
}

/* Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 154, 60, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.team-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.team-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.team-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Team Intro Section */
.team-intro-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 700;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 700;
}

/* Single Scholarship Page Hero */
.scholarship-hero {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.scholarship-hero .hero-overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.scholarship-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.scholarship-hero h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.scholarship-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* Details grid on single scholarship */
.scholarship-details .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.details-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.details-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.apply-button-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

/* Selection Criteria on single scholarship */
.scholarship-selection-criteria {
    padding: 60px 0;
    background: var(--bg-light);
}

.scholarship-selection-criteria h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-dark);
}

.scholarship-selection-criteria .criteria-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.scholarship-selection-criteria .criteria-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-dark);
    font-size: 1rem;
}

.scholarship-selection-criteria .criteria-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--primary-color);
}

/* CTA bottom */
.scholarship-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.scholarship-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.scholarship-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.scholarship-cta .btn-primary {
    padding: 14px 36px;
    font-size: 1rem;
}

/* Core Team Section */
.core-team-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.team-member-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-member-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.member-image-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: var(--bg-light);
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member-card:hover .member-image {
    transform: scale(1.08);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 59, 106, 0.9), rgba(122, 27, 86, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .member-overlay {
    opacity: 1;
}

.member-socials {
    display: flex;
    gap: 20px;
}

.member-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* ===== SCHOLARSHIPS PAGE STYLES ===== */

/* Scholarships Hero */
.scholarships-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.scholarships-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 154, 60, 0.15);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.scholarships-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.scholarships-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.scholarships-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Scholarships Intro Section */
.scholarships-intro-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.scholarships-intro-section .intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.scholarships-intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 700;
}

.scholarships-intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(max(250px, 100%/4 - 20px), 1fr));
    gap: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Scholarships Offerings */
.scholarships-offerings {
    padding: 80px 0;
    background: var(--bg-white);
}

.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.scholarship-card {
    background: var(--bg-white);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.scholarship-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.scholarship-header {
    background: linear-gradient(135deg, rgba(211, 59, 106, 0.05), rgba(122, 27, 86, 0.05));
    padding: 28px 24px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.scholarship-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.scholarship-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.scholarship-content {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.scholarship-content > p:first-of-type {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.scholarship-details {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.detail-item span {
    color: var(--primary-color);
    font-weight: 600;
}

.scholarship-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: auto;
    margin-top: auto;
}

.scholarship-content .btn {
    align-self: flex-start;
    margin-top: 24px;
}

/* Selection Criteria Section */
.selection-criteria-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.selection-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.selection-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.criteria-intro {
    margin-bottom: 32px;
}

.criteria-intro p {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.criteria-list {
    display: grid;
    gap: 20px;
    margin-bottom: 36px;
}

.criteria-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    transform: translateX(8px);
}

.criteria-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.criteria-item span {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.selection-image {
    position: relative;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.selection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

/* Application Steps */
.application-steps {
    padding: 80px 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(211, 59, 106, 0.3);
}

.step-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 28px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Scholarships CTA Banner */
.scholarships-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scholarships-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 154, 60, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.scholarships-cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.scholarships-cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--accent-color);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: #ff7a1a;
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Scholarships Page */
@media (max-width: 1024px) {
    .scholarships-grid {
        grid-template-columns: 1fr;
    }

    .selection-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .selection-image {
        min-height: 300px;
    }

    .scholarships-hero h1 {
        font-size: 2.8rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .scholarships-hero {
        padding: 60px 20px;
        min-height: 260px;
    }

    .scholarships-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .scholarships-hero p {
        font-size: 1rem;
    }

    .scholarships-intro-section {
        padding: 60px 0;
    }

    .intro-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .scholarships-offerings {
        padding: 60px 0;
    }

    .scholarships-grid {
        gap: 30px;
    }

    .scholarship-header {
        flex-direction: column;
    }

    .selection-criteria-section {
        padding: 60px 0;
    }

    .selection-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .selection-content h2 {
        font-size: 2rem;
    }

    .selection-image {
        min-height: 250px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .scholarships-cta {
        padding: 60px 20px;
    }

    .scholarships-cta h2 {
        font-size: 2.2rem;
    }

    .scholarships-cta p {
        font-size: 1rem;
    }

    .cta-buttons {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .scholarships-hero {
        padding: 50px 15px;
        min-height: 240px;
    }

    .scholarships-hero h1 {
        font-size: 1.8rem;
    }

    .scholarships-hero p {
        font-size: 0.9rem;
    }

    .scholarships-intro-section {
        padding: 50px 0;
    }

    .scholarships-intro-section h2 {
        font-size: 1.8rem;
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

    .selection-content h2 {
        font-size: 1.8rem;
    }

    .selection-content > p {
        font-size: 0.95rem;
    }

    .criteria-intro p {
        font-size: 0.9rem;
    }

    .criteria-item span {
        font-size: 0.9rem;
    }

    .scholarship-content {
        padding: 20px 16px;
    }

    .scholarship-header {
        padding: 20px 16px;
    }

    .scholarship-header h3 {
        font-size: 1.1rem;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .step-card {
        padding: 32px 16px;
    }

    .faq-item {
        padding: 20px;
    }

    .scholarships-cta {
        padding: 50px 15px;
    }

    .scholarships-cta h2 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        width: 100%;
        padding: 12px 24px;
    }
}

.member-socials a:hover {
    background: var(--accent-color);
    transform: scale(1.2) translateY(-3px);
}

.member-info {
    padding: 32px 24px;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.member-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.member-details {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.member-details:hover {
    color: var(--accent-color);
    gap: 10px;
}

/* Extended Team Section */
.extended-team-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.extended-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.extended-member {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.extended-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.extended-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.extended-member h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.extended-member p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Values Section */
.team-values-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.value-card {
    background: linear-gradient(135deg, rgba(211, 59, 106, 0.05), rgba(255, 154, 60, 0.05));
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Join Team Section */
.join-team-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
}

.join-content {
    color: white;
}

.join-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.join-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.join-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 154, 60, 0.3);
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 154, 60, 0.4);
}

/* Responsive Team Page */
@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 2.5rem;
    }

    .team-hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .join-content h2 {
        font-size: 2rem;
    }

    .join-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-hero {
        padding: 60px 0 50px;
    }

    .team-hero h1 {
        font-size: 2rem;
    }

    .team-hero p {
        font-size: 0.95rem;
    }

    .team-intro-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .team-grid {
        gap: 20px;
    }

    .member-image-wrapper {
        height: 250px;
    }

    .member-info {
        padding: 20px 16px;
    }

    .member-info h3 {
        font-size: 1.3rem;
    }

    .extended-member {
        padding: 24px 16px;
    }

    .value-card {
        padding: 24px 16px;
    }

    .join-team-section {
        padding: 50px 0;
    }

    .join-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* Single Team Member Page */
.breadcrumb-section {
    padding: 24px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: var(--text-light);
}

.breadcrumb span:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* Member Hero Section */
.member-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.member-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 154, 60, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.member-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.member-hero-image {
    position: relative;
}

.member-hero-image img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.member-hero-info {
    color: white;
}

.member-hero-info h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0;
}

.member-hero-role {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 32px;
}

.member-hero-socials {
    display: flex;
    gap: 16px;
}

.member-hero-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.member-hero-socials a:hover {
    background: var(--accent-color);
    transform: scale(1.2) translateY(-3px);
}

/* Member Content Section */
.member-content {
    padding: 80px 0;
    background: var(--bg-light);
}

.member-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.member-main {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.member-section {
    margin-bottom: 48px;
}

.member-section:last-child {
    margin-bottom: 0;
}

.member-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.member-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-list li {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.member-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.member-list li span {
    flex: 1;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.expertise-tag {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(211, 59, 106, 0.1), rgba(255, 154, 60, 0.1));
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.achievements-list li i {
    color: var(--accent-color);
}

/* Contact Member Section */
.contact-member {
    background: linear-gradient(135deg, rgba(211, 59, 106, 0.05), rgba(255, 154, 60, 0.05));
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-member h2 {
    border-bottom-color: var(--accent-color);
}

.contact-member p {
    margin-bottom: 20px;
}

.contact-member-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 59, 106, 0.25);
}

.contact-member-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 59, 106, 0.4);
}

/* Member Sidebar */
.member-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.quick-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.download-cv-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 59, 106, 0.2);
}

.download-cv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 59, 106, 0.3);
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

/* Home page refinements */
.home-page .hero {
    min-height: 620px;
    background-position: center;
}

.home-page .hero .hero-overlay {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.84) 42%, rgba(255,255,255,0.38) 68%, rgba(0,0,0,0.16) 100%);
}

.home-page .hero-inner {
    grid-template-columns: minmax(0, 700px) 1fr;
}

.home-page .hero h1 {
    font-size: 64px;
    letter-spacing: 0;
}

.home-page .hero .lead {
    font-size: 18px;
    color: #493b4d;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-trust span {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 999px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
}

.home-page .info-stats {
    background: #fff;
}

.home-page .stats-list {
    align-items: stretch;
}

.home-page .stat {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(43, 34, 48, 0.08);
}

.home-page .stat-value {
    letter-spacing: 0;
}

.home-page .selection-criteria {
    background: linear-gradient(180deg, #fbf9fb 0%, #ffffff 100%);
}

.selection-copy {
    max-width: 620px;
}

.criteria-points {
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.criteria-points li {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 14px 12px 42px;
    position: relative;
}

.criteria-points li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    position: absolute;
    left: 18px;
    top: 19px;
}

.home-page .selection-image img,
.home-page .donate-map img {
    border-radius: 8px;
}

.home-page .donate-banner {
    background: linear-gradient(135deg, #6b1f5b 0%, #d33b6a 58%, #ff9a3c 100%);
}

.home-page .donate-left p,
.home-page .cta-text p,
.home-page .section-header p,
.home-page .page-section p {
    text-align: left;
}

.home-page .projects {
    background: #fbf9fb;
}

.home-page .project-card {
    border-radius: 8px;
    border-width: 1px;
    box-shadow: 0 12px 30px rgba(43, 34, 48, 0.08);
}

.home-page .project-card:hover {
    transform: translateY(-6px);
}

.home-page .project-card::before {
    border-radius: 8px 8px 0 0;
}

.home-page .education-cta {
    background:
        linear-gradient(90deg, rgba(43,34,48,0.88), rgba(122,27,86,0.76)),
        url('../images/student-library.jpg') center/cover no-repeat;
    color: #fff;
}

.home-page .education-cta .content-wrapper {
    max-width: 760px;
}

.home-page .education-cta h2,
.home-page .education-cta p {
    color: #fff;
    text-align: left;
}

.home-blog-section {
    background: #fff;
}

.home-page .blog-card {
    border-radius: 8px;
}

.home-page .blog-image {
    height: 220px;
}

.home-page .read-more::after {
    content: " ->";
}

@media (max-width: 768px) {
    .home-page .hero {
        min-height: 560px;
        text-align: left;
    }

    .home-page .hero .hero-overlay {
        background: rgba(255,255,255,0.9);
    }

    .home-page .hero-ctas {
        justify-content: flex-start;
    }

    .hero-trust {
        gap: 8px;
    }

    .selection-copy {
        max-width: none;
    }

    .home-page .donate-inner {
        gap: 32px;
    }

    .home-page .section-header p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home-page .hero {
        min-height: 520px;
    }

    .home-page .hero h1 {
        font-size: 34px;
    }

    .hero-trust span {
        font-size: 12px;
        padding: 7px 10px;
    }
}

/* Home color and mobile pass */
.home-page {
    background: var(--bg-white);
    overflow-x: hidden;
}

.home-page .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.home-page .hero .hero-overlay {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(245,248,251,0.88) 42%, rgba(245,248,251,0.52) 66%, rgba(15,118,110,0.18) 100%);
}

.home-page .hero-accent {
    color: var(--support-teal);
}

.home-page .hero-highlight {
    color: var(--primary-color);
}

.home-page .hero .eyebrow {
    color: var(--support-teal);
}

.home-page .hero .btn-primary,
.home-page .cta-action .btn,
.home-page .project-card .btn-primary {
    background: linear-gradient(135deg, var(--support-teal), var(--support-blue));
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.home-page .hero .btn-outline {
    border-color: var(--support-teal);
    color: var(--support-teal);
    background: rgba(255,255,255,0.78);
}

.home-page .hero .btn-outline:hover {
    background: var(--support-teal);
    color: #fff;
}

.home-page .hero-trust span:nth-child(1) {
    border-color: rgba(15, 118, 110, 0.26);
    color: var(--support-teal);
}

.home-page .hero-trust span:nth-child(2) {
    border-color: rgba(37, 99, 235, 0.22);
    color: var(--support-blue);
}

.home-page .hero-trust span:nth-child(3) {
    border-color: rgba(245, 158, 11, 0.34);
    color: #9a5b00;
}

.home-page .info-stats {
    background: linear-gradient(180deg, #ffffff 0%, var(--surface-cool) 100%);
}

.home-page .stat:nth-child(1) {
    border-top: 4px solid var(--support-teal);
}

.home-page .stat:nth-child(2) {
    border-top: 4px solid var(--support-blue);
}

.home-page .stat:nth-child(3) {
    border-top: 4px solid var(--support-gold);
}

.home-page .stat:nth-child(1) .stat-value {
    color: var(--support-teal);
}

.home-page .stat:nth-child(2) .stat-value {
    color: var(--support-blue);
}

.home-page .stat:nth-child(3) .stat-value {
    color: #9a5b00;
}

.home-page .selection-criteria {
    background: #fff;
}

.home-page .selection-criteria h3::after,
.home-page .section-header h2::after {
    background: linear-gradient(90deg, var(--support-teal), var(--support-gold));
}

.criteria-points li:nth-child(1)::before {
    background: var(--support-teal);
}

.criteria-points li:nth-child(2)::before {
    background: var(--support-blue);
}

.criteria-points li:nth-child(3)::before {
    background: var(--support-gold);
}

.home-page .donate-banner {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.96) 0%, rgba(37, 99, 235, 0.86) 55%, rgba(245, 158, 11, 0.9) 100%);
}

.home-page .projects {
    background: var(--surface-cool);
}

.home-page .project-card:nth-child(1)::before,
.home-page .project-card:nth-child(1) h4::after,
.home-page .project-card:nth-child(1) .progress-fill {
    background: var(--support-teal);
}

.home-page .project-card:nth-child(2)::before,
.home-page .project-card:nth-child(2) h4::after,
.home-page .project-card:nth-child(2) .progress-fill {
    background: var(--support-blue);
}

.home-page .project-card:nth-child(3)::before,
.home-page .project-card:nth-child(3) h4::after,
.home-page .project-card:nth-child(3) .progress-fill {
    background: var(--support-gold);
}

.home-page .project-card:nth-child(1) .donated {
    color: var(--support-teal);
}

.home-page .project-card:nth-child(2) .donated {
    color: var(--support-blue);
}

.home-page .project-card:nth-child(3) .donated {
    color: #9a5b00;
}

.home-page .education-cta {
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.9), rgba(43,34,48,0.72)),
        url('../images/student-library.jpg') center/cover no-repeat;
}

.home-page .blog-card {
    border-color: #e5edf2;
}

.home-page .read-more {
    color: var(--support-teal);
}

@media (max-width: 900px) {
    .home-page .hero {
        min-height: auto;
        padding: 88px 20px 72px;
    }

    .home-page .hero-inner,
    .home-page .stats-grid,
    .home-page .selection-grid,
    .home-page .donate-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-page .stats-grid,
    .home-page .selection-grid,
    .home-page .donate-inner {
        gap: 34px;
    }

    .home-page .selection-image,
    .home-page .donate-map {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .home-page .hero {
        padding: 72px 0 58px;
        background-position: 63% center;
    }

    .home-page .hero .hero-overlay {
        background: linear-gradient(90deg, rgba(255,255,255,0.94), rgba(245,248,251,0.88));
    }

    .home-page .hero h1 {
        font-size: 42px;
        line-height: 1.12;
        max-width: 12ch;
    }

    .home-page .hero .lead {
        font-size: 16px;
        line-height: 1.65;
        max-width: 32rem;
    }

    .home-page .hero-ctas,
    .home-page .action-buttons {
        display: grid;
        grid-template-columns: 1fr;
        width: auto;
        max-width: 360px;
    }

    .home-page .hero .btn,
    .home-page .action-buttons .btn,
    .home-page .cta-action .btn,
    .home-page .project-card .btn,
    .home-page .education-cta .btn {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-trust {
        max-width: 360px;
    }

    .hero-trust span {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }

    .hero-trust span:last-child {
        flex-basis: 100%;
    }

    .home-page .info-stats,
    .home-page .selection-criteria,
    .home-page .donate-widget,
    .home-page .page-section,
    .home-page .testimonials {
        padding: 56px 0;
    }

    .home-page .stats-grid,
    .home-page .selection-grid,
    .home-page .donate-inner {
        text-align: left;
    }

    .home-page .stats-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .home-page .stat {
        min-height: 0;
        padding: 16px 8px;
    }

    .home-page .stat-value {
        font-size: 18px;
        line-height: 1.2;
    }

    .home-page .stat-label {
        font-size: 10px;
        line-height: 1.25;
    }

    .home-page .stats-content h2,
    .home-page .selection-criteria h3,
    .home-page .donate-left h3,
    .home-page .cta-text h3,
    .home-page .education-cta h2,
    .home-page .section-header h2,
    .home-page .testimonials .section-title {
        font-size: 30px;
        line-height: 1.16;
    }

    .home-page .project-grid,
    .home-page .blog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .home-page .project-card,
    .home-page .blog-card {
        margin: 0;
    }

    .home-page .project-card {
        padding: 24px 20px;
    }

    .home-page .apply-cta {
        padding: 64px 0;
    }

    .home-page .cta-text p {
        margin-bottom: 26px;
    }

    .home-page .testimonial-content {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }
}

@media (max-width: 520px) {
    .home-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-page .hero {
        padding: 58px 0 50px;
    }

    .home-page .hero h1 {
        font-size: 34px;
        max-width: 11ch;
    }

    .home-page .hero .lead {
        font-size: 15px;
    }

    .home-page .hero-ctas,
    .home-page .action-buttons,
    .hero-trust {
        max-width: none;
    }

    .hero-trust {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-trust span {
        flex-basis: auto;
        text-align: center;
    }

    .home-page .stats-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .home-page .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 5px;
        min-height: 84px;
        padding: 12px 6px;
        border-radius: 10px;
        box-shadow: 0 10px 24px rgba(43, 34, 48, 0.08);
    }

    .home-page .stat:first-child {
        grid-column: auto;
        min-height: 84px;
    }

    .home-page .stat:nth-child(1) {
        background: linear-gradient(180deg, rgba(141, 91, 43, 0.14), #fffaf4 72%);
        border-color: rgba(141, 91, 43, 0.3);
    }

    .home-page .stat:nth-child(2) {
        background: linear-gradient(180deg, rgba(166, 111, 54, 0.14), #fffaf4 72%);
        border-color: rgba(166, 111, 54, 0.3);
    }

    .home-page .stat:nth-child(3) {
        background: linear-gradient(180deg, rgba(116, 74, 37, 0.16), #fff8ef 72%);
        border-color: rgba(116, 74, 37, 0.32);
    }

    .home-page .stat-value {
        margin: 0;
        font-size: 15px;
        line-height: 1.15;
    }

    .home-page .stat-label {
        font-size: 8px;
        line-height: 1.25;
        letter-spacing: 0.2px;
    }

    .criteria-points li {
        padding: 12px 12px 12px 36px;
    }

    .criteria-points li::before {
        left: 16px;
    }

    .home-page .selection-image img,
    .home-page .donate-map img,
    .home-page .blog-image {
        max-height: 260px;
        object-fit: cover;
    }

    .home-page .blog-image {
        height: 190px;
    }
}

@media (max-width: 380px) {
    .home-page .hero h1 {
        font-size: 30px;
    }

    .home-page .stats-content h2,
    .home-page .selection-criteria h3,
    .home-page .donate-left h3,
    .home-page .cta-text h3,
    .home-page .education-cta h2,
    .home-page .section-header h2,
    .home-page .testimonials .section-title {
        font-size: 26px;
    }

    .home-page .project-card {
        padding: 22px 16px;
    }

    .progress-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}

/* Screenshot-driven home polish */
.home-page .hero {
    min-height: 540px;
    padding: 86px 20px 78px;
}

.home-page .hero-left {
    max-width: 590px;
}

.home-page .hero h1 {
    max-width: 12ch;
    font-size: 56px;
    line-height: 1.03;
    margin-bottom: 18px;
}

.home-page .hero .lead {
    max-width: 520px;
    margin-bottom: 22px;
}

.home-page .hero .hero-overlay {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.93) 36%, rgba(245,248,251,0.72) 58%, rgba(245,248,251,0.18) 100%);
}

.home-page .info-stats {
    color: var(--text-dark);
    padding: 64px 0;
}

.home-page .info-stats::before {
    display: none;
}

.home-page .stats-grid {
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: 72px;
}

.home-page .stats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-page .stat {
    background: #fff;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-page .stat:nth-child(3) {
    grid-column: 1 / 2;
}

.home-page .stat-label {
    color: var(--text-light);
    opacity: 1;
}

.home-page .stats-content {
    color: var(--text-dark);
}

.home-page .stats-content small {
    color: var(--support-teal);
    opacity: 1;
}

.home-page .stats-content h2 {
    color: var(--text-dark);
    font-size: 38px;
}

.home-page .stats-content h2::after {
    background: var(--support-gold);
}

.home-page .stats-content p {
    color: var(--text-light);
    opacity: 1;
    max-width: 650px;
    text-align: left;
}

.home-page .selection-criteria {
    padding: 76px 0;
}

.home-page .selection-image img,
.home-page .donate-map img {
    box-shadow: 0 18px 45px rgba(43, 34, 48, 0.12);
}

.home-page .donate-banner {
    padding: 74px 0;
}

.home-page .apply-cta {
    padding: 86px 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(34, 21, 43, 0.9) 0%, rgba(49, 16, 78, 0.78) 46%, rgba(15, 76, 76, 0.72) 100%),
        url('../images/bggraduation.jpg') center 42%/cover no-repeat;
}

.home-page .apply-cta::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)),
        rgba(18, 13, 24, 0.14);
}

.home-page .apply-cta .cta-inner {
    max-width: 860px;
}

.home-page .apply-cta .cta-text h3 {
    color: #fff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.home-page .apply-cta .cta-text p {
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.home-page .apply-cta .cta-action .btn {
    box-shadow: 0 18px 44px rgba(18, 13, 24, 0.28);
}

.home-page .donate-widget {
    padding: 74px 0;
}

.home-page .section-header {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.home-page .section-header p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-page .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.home-page .project-card {
    padding: 28px 24px;
}

.home-page .education-cta {
    padding: 96px 0;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.88), rgba(43,34,48,0.78)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.home-page .education-cta .content-wrapper {
    margin-left: 0;
}

.home-page .home-blog-section {
    padding: 74px 0 82px;
}

.home-page .home-blog-section h3,
.home-page .testimonials .section-title {
    font-size: 34px;
    font-weight: 800;
}

.home-page .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.home-page .blog-card {
    box-shadow: 0 12px 30px rgba(43, 34, 48, 0.08);
}

.home-page .blog-header h2 {
    font-size: 18px;
}

.home-page .testimonials {
    padding: 82px 0;
    background: #fbf8fb;
}

.home-page .testimonial-slide {
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(43, 34, 48, 0.09);
}

.home-page .testimonial-photo {
    width: 72px;
    height: 72px;
}

.home-page .testimonial-slide .quote {
    font-size: 16px;
    text-align: left;
}

.home-page .slider-controls button {
    background: var(--primary-color);
}

@media (max-width: 1024px) {
    .home-page .hero h1 {
        font-size: 48px;
    }

    .home-page .stats-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .home-page .stats-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page .stat:nth-child(3) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .home-page .hero {
        min-height: auto;
        padding: 64px 0 54px;
    }

    .home-page .hero h1 {
        font-size: 40px;
        max-width: 11ch;
    }

    .home-page .project-grid,
    .home-page .blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-page .stat {
        min-height: 104px;
    }

    .home-page .stats-content h2,
    .home-page .selection-criteria h3,
    .home-page .donate-left h3,
    .home-page .cta-text h3,
    .home-page .education-cta h2,
    .home-page .home-blog-section h3,
    .home-page .testimonials .section-title {
        font-size: 30px;
    }

    .home-page .selection-criteria,
    .home-page .donate-banner,
    .home-page .donate-widget,
    .home-page .home-blog-section,
    .home-page .testimonials {
        padding: 56px 0;
    }

    .home-page .education-cta {
        padding: 68px 0;
    }

    .home-page .blog-image {
        height: 230px;
    }
}

@media (max-width: 520px) {
    .home-page .hero .hero-overlay {
        background: rgba(255,255,255,0.9);
    }

    .home-page .hero h1 {
        font-size: 34px;
        max-width: 12ch;
    }

    .home-page .hero .lead {
        font-size: 14px;
    }

    .home-page .stat {
        min-height: auto;
    }

    .home-page .testimonial-slide {
        padding: 24px 18px;
    }

    .home-page .testimonial-content {
        display: grid;
        justify-items: center;
    }

    .home-page .testimonial-slide .quote,
    .home-page .testimonial-slide .author {
        text-align: center;
    }
}

/* Final home alignment corrections */
.home-page .hero-trust {
    display: inline-flex;
    max-width: none;
}

.home-page .hero-trust span {
    min-width: 92px;
    text-align: center;
    white-space: nowrap;
}

.home-page .education-cta {
    display: flex;
    align-items: center;
}

.home-page .education-cta .content-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    width: 100%;
    box-sizing: border-box;
}

.home-page .education-cta h2,
.home-page .education-cta p {
    max-width: 620px;
}

.home-page .testimonial-slider {
    max-width: 760px;
}

.home-page .testimonial-slide {
    padding: 28px 34px;
}

.home-page .testimonial-content {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.home-page .testimonial-photo {
    width: 76px;
    height: 76px;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(43, 34, 48, 0.16);
}

.home-page .testimonial-text {
    min-width: 0;
}

.home-page .testimonial-slide .quote {
    margin-bottom: 10px;
}

.home-page .testimonial-slide .author {
    text-align: left;
}

@media (max-width: 768px) {
    .home-page .hero-trust {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: auto;
        max-width: 360px;
    }

    .home-page .hero-trust span {
        min-width: 0;
        white-space: normal;
    }

    .home-page .education-cta {
        background-position: center;
    }

    .home-page .education-cta .content-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 520px) {
    .home-page .hero-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page .hero-trust span {
        text-align: center;
    }

    .home-page .education-cta h2,
    .home-page .education-cta p {
        max-width: none;
    }

    .home-page .testimonial-content {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }

    .home-page .testimonial-slide .quote,
    .home-page .testimonial-slide .author {
        text-align: center;
    }
}

/* Education CTA text balance */
.home-page .education-cta {
    min-height: 460px;
}

.home-page .education-cta .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 760px;
    text-align: center;
}

.home-page .education-cta h2 {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 48px;
    line-height: 1.12;
}

.home-page .education-cta h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.home-page .education-cta p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 20px;
    line-height: 1.75;
}

.home-page .education-cta .premium-btn {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .home-page .education-cta {
        min-height: auto;
    }

    .home-page .education-cta h2 {
        font-size: 34px;
    }

    .home-page .education-cta p {
        font-size: 16px;
        line-height: 1.65;
    }
}

@media (max-width: 420px) {
    .home-page .education-cta h2 {
        font-size: 28px;
    }
}

/* Remove home footer gap after testimonials */
.home-page .testimonials {
    padding-bottom: 64px;
}

.home-page .footer-dark {
    margin-top: 0;
}

@media (max-width: 768px) {
    .home-page .testimonials {
        padding-bottom: 48px;
    }
}

/* Subpage alignment with home.php flow */
.subpage {
    background: var(--bg-white);
    overflow-x: hidden;
}

.subpage .about-hero,
.subpage .blog-hero,
.subpage .scholarships-hero,
.subpage .contact-hero,
.subpage .team-hero,
.subpage .scholarship-hero,
.subpage .member-hero,
.subpage .article-header {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    padding: 86px 0 78px;
    color: var(--text-dark);
    overflow: hidden;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/fhero.jpg') right center/cover no-repeat;
}

.subpage .blog-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/student-library.jpg') right center/cover no-repeat;
}

.subpage .contact-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/bgcontact.jpg') right center/cover no-repeat;
}

.subpage .team-hero,
.subpage .member-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/sideaboutimg.jpg') right center/cover no-repeat;
}

.subpage .scholarships-hero,
.subpage .scholarship-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/bggraduation.jpg') right center/cover no-repeat;
}

.subpage .about-hero::before,
.subpage .about-hero::after,
.subpage .blog-hero::before,
.subpage .contact-hero::before,
.subpage .team-hero::before,
.subpage .scholarships-hero::before,
.subpage .scholarship-hero .hero-overlay,
.subpage .member-hero .hero-overlay {
    display: none;
}

.subpage .hero-content,
.subpage .article-header .container,
.subpage .member-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0;
    text-align: left;
}

.subpage .about-hero .hero-eyebrow,
.subpage .article-category,
.subpage .scholarship-badge,
.subpage .post-category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--support-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.subpage .about-hero h1,
.subpage .blog-hero h1,
.subpage .scholarships-hero h1,
.subpage .contact-hero h1,
.subpage .team-hero h1,
.subpage .scholarship-hero h1,
.subpage .article-title,
.subpage .member-hero-info h1 {
    max-width: 12ch;
    color: var(--text-dark);
    font-size: 56px;
    line-height: 1.03;
    font-weight: 800;
    margin: 12px 0 18px;
    text-shadow: none;
    letter-spacing: 0;
}

.subpage .blog-hero p,
.subpage .about-hero p,
.subpage .scholarships-hero p,
.subpage .contact-hero p,
.subpage .team-hero p,
.subpage .scholarship-hero p,
.subpage .member-hero-role {
    max-width: 520px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    opacity: 1;
}

.subpage .about-content,
.subpage .blog-content,
.subpage .contact-content,
.subpage .team-intro-section,
.subpage .core-team-section,
.subpage .extended-team-section,
.subpage .team-values-section,
.subpage .scholarships-offerings,
.subpage .selection-criteria-section,
.subpage .application-steps,
.subpage .faq-section,
.subpage .article-content-section,
.subpage .member-content,
.subpage .scholarship-details,
.subpage .scholarship-selection-criteria {
    padding: 74px 0;
}

.subpage .blog-content,
.subpage .contact-content,
.subpage .team-intro-section,
.subpage .selection-criteria-section,
.subpage .application-steps,
.subpage .scholarship-selection-criteria {
    background: var(--surface-cool);
}

.subpage .about-content,
.subpage .core-team-section,
.subpage .scholarships-offerings,
.subpage .faq-section,
.subpage .article-content-section,
.subpage .member-content,
.subpage .scholarship-details {
    background: var(--bg-white);
}

.subpage .content-card,
.subpage .stat-item,
.subpage .team-member,
.subpage .team-member-card,
.subpage .extended-member,
.subpage .value-card,
.subpage .scholarship-card,
.subpage .step-card,
.subpage .faq-item,
.subpage .blog-post,
.subpage .info-card,
.subpage .contact-socials,
.subpage .contact-form-section,
.subpage .details-card,
.subpage .sidebar-widget,
.subpage .sidebar-card,
.subpage .member-section,
.subpage .comments-section {
    border-radius: 8px;
    border: 1px solid #e5edf2;
    box-shadow: 0 12px 30px rgba(43, 34, 48, 0.08);
}

.subpage .content-card:hover,
.subpage .stat-item:hover,
.subpage .team-member:hover,
.subpage .team-member-card:hover,
.subpage .extended-member:hover,
.subpage .value-card:hover,
.subpage .scholarship-card:hover,
.subpage .step-card:hover,
.subpage .faq-item:hover,
.subpage .blog-post:hover,
.subpage .info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.34);
    box-shadow: 0 18px 45px rgba(43, 34, 48, 0.12);
}

.subpage .section-title,
.subpage .section-header h2,
.subpage .intro-content h2,
.subpage .contact-info-section h2,
.subpage .contact-form-section h2,
.subpage .selection-content h2,
.subpage .content-title,
.subpage .content-subtitle {
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: 0;
}

.subpage .section-title,
.subpage .section-header h2 {
    font-size: 34px;
    margin-bottom: 44px;
}

.subpage .content-title .title-highlight,
.subpage .content-subtitle .hero-accent,
.subpage .read-more,
.subpage .member-role,
.subpage .detail-item span,
.subpage .contact-info-section a,
.subpage .member-details,
.subpage .category-link,
.subpage .tag-link {
    color: var(--support-teal);
}

.subpage .content-title .title-highlight::after,
.subpage .content-subtitle .hero-accent::after,
.subpage .section-header h2::after {
    background: linear-gradient(90deg, var(--support-teal), var(--support-gold));
}

.subpage .btn-primary,
.subpage .primary-action,
.subpage .submit-btn,
.subpage .load-more-btn,
.subpage .newsletter-btn,
.subpage .join-btn,
.subpage .contact-member-btn,
.subpage .download-cv-btn,
.subpage .team-link-btn,
.subpage .premium-btn {
    border-radius: 6px;
    background: linear-gradient(135deg, var(--support-teal), var(--support-blue));
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.subpage .btn-outline,
.subpage .secondary-action {
    border-color: var(--support-teal);
    color: var(--support-teal);
}

.subpage .btn-outline:hover,
.subpage .secondary-action:hover {
    background: var(--support-teal);
    color: #fff;
}

.subpage .card-icon,
.subpage .stat-icon,
.subpage .info-icon,
.subpage .extended-icon,
.subpage .value-icon,
.subpage .criteria-item i,
.subpage .member-list i,
.subpage .scholarship-selection-criteria .criteria-list li::before {
    color: var(--support-teal);
}

.subpage .team-member-card:nth-child(2) .member-overlay,
.subpage .scholarship-card:nth-child(2) .scholarship-header,
.subpage .step-card:nth-child(2) .step-number {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 118, 110, 0.08));
}

.subpage .step-number,
.subpage .filter-btn.active,
.subpage .scholarships-cta,
.subpage .scholarship-cta,
.subpage .newsletter-section,
.subpage .join-team-section,
.subpage .education-cta {
    background: linear-gradient(135deg, var(--support-teal), var(--support-blue));
}

.subpage .scholarships-cta::before {
    display: none;
}

.subpage .education-cta {
    min-height: 390px;
    display: flex;
    align-items: center;
    padding: 78px 0;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.88), rgba(43,34,48,0.78)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.subpage .education-cta::before,
.subpage .education-cta::after {
    display: none;
}

.subpage .education-cta .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.subpage .education-cta h2,
.subpage .education-cta h3 {
    max-width: 680px;
    color: #fff;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 18px;
}

.subpage .education-cta p {
    max-width: 680px;
    color: rgba(255,255,255,0.9);
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.subpage .selection-image,
.subpage .criteria-image,
.subpage .member-image-wrapper,
.subpage .post-image {
    border-radius: 8px;
}

.subpage .selection-image img,
.subpage .criteria-image img,
.subpage .post-image img,
.subpage .member-image,
.subpage .team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage .selection-image,
.subpage .criteria-image {
    box-shadow: 0 18px 45px rgba(43, 34, 48, 0.12);
}

.subpage .newsletter-form,
.subpage .contact-form,
.subpage .comment-form,
.subpage .sidebar-newsletter {
    gap: 14px;
}

.subpage input,
.subpage select,
.subpage textarea {
    border-radius: 6px;
    border-color: #dfe8ee;
}

.subpage input:focus,
.subpage select:focus,
.subpage textarea:focus {
    border-color: var(--support-teal);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.subpage .breadcrumb-section {
    background: var(--surface-cool);
    padding: 18px 0;
}

.subpage .breadcrumb a {
    color: var(--support-teal);
}

.subpage .footer-dark {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .subpage .about-content .container,
    .subpage .contact-wrapper,
    .subpage .selection-grid,
    .subpage .article-layout,
    .subpage .member-content .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }
}

@media (max-width: 768px) {
    .subpage .about-hero,
    .subpage .blog-hero,
    .subpage .scholarships-hero,
    .subpage .contact-hero,
    .subpage .team-hero,
    .subpage .scholarship-hero,
    .subpage .member-hero,
    .subpage .article-header {
        min-height: auto;
        padding: 64px 0 54px;
        background-position: 63% center;
    }

    .subpage .about-hero,
    .subpage .blog-hero,
    .subpage .scholarships-hero,
    .subpage .contact-hero,
    .subpage .team-hero,
    .subpage .scholarship-hero,
    .subpage .member-hero,
    .subpage .article-header {
        background-blend-mode: normal;
    }

    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .article-title,
    .subpage .member-hero-info h1 {
        font-size: 40px;
        max-width: 11ch;
    }

    .subpage .about-content,
    .subpage .blog-content,
    .subpage .contact-content,
    .subpage .team-intro-section,
    .subpage .core-team-section,
    .subpage .extended-team-section,
    .subpage .team-values-section,
    .subpage .scholarships-offerings,
    .subpage .selection-criteria-section,
    .subpage .application-steps,
    .subpage .faq-section,
    .subpage .article-content-section,
    .subpage .member-content,
    .subpage .scholarship-details,
    .subpage .scholarship-selection-criteria {
        padding: 56px 0;
    }

    .subpage .blog-grid,
    .subpage .team-grid,
    .subpage .scholarships-grid,
    .subpage .steps-grid,
    .subpage .faq-grid,
    .subpage .extended-team-grid,
    .subpage .values-grid,
    .subpage .info-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .subpage .section-title,
    .subpage .section-header h2,
    .subpage .intro-content h2,
    .subpage .selection-content h2,
    .subpage .content-title {
        font-size: 30px;
        line-height: 1.16;
    }

    .subpage .education-cta {
        min-height: auto;
        padding: 68px 0;
    }

    .subpage .education-cta h2,
    .subpage .education-cta h3 {
        font-size: 34px;
    }

    .subpage .education-cta p {
        font-size: 16px;
    }

    .subpage .btn,
    .subpage .premium-btn,
    .subpage .primary-action,
    .subpage .submit-btn,
    .subpage .load-more-btn,
    .subpage .newsletter-btn {
        width: 100%;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .subpage .about-hero,
    .subpage .blog-hero,
    .subpage .scholarships-hero,
    .subpage .contact-hero,
    .subpage .team-hero,
    .subpage .scholarship-hero,
    .subpage .member-hero,
    .subpage .article-header {
        padding: 58px 0 50px;
        background:
            linear-gradient(90deg, rgba(255,255,255,0.92), rgba(245,248,251,0.88)),
            url('../images/fhero.jpg') center/cover no-repeat;
    }

    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .article-title,
    .subpage .member-hero-info h1 {
        font-size: 34px;
        max-width: 12ch;
    }

    .subpage .content-card,
    .subpage .team-member-card,
    .subpage .scholarship-card,
    .subpage .blog-post,
    .subpage .info-card,
    .subpage .contact-form-section,
    .subpage .sidebar-widget,
    .subpage .sidebar-card,
    .subpage .member-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .subpage .education-cta h2,
    .subpage .education-cta h3 {
        font-size: 28px;
    }
}

@media (max-width: 520px) {
    .subpage .blog-hero {
        background:
            linear-gradient(90deg, rgba(255,255,255,0.92), rgba(245,248,251,0.88)),
            url('../images/student-library.jpg') center/cover no-repeat;
    }

    .subpage .contact-hero {
        background:
            linear-gradient(90deg, rgba(255,255,255,0.92), rgba(245,248,251,0.88)),
            url('../images/bgcontact.jpg') center/cover no-repeat;
    }

    .subpage .team-hero,
    .subpage .member-hero {
        background:
            linear-gradient(90deg, rgba(255,255,255,0.92), rgba(245,248,251,0.88)),
            url('../images/sideaboutimg.jpg') center/cover no-repeat;
    }

    .subpage .scholarships-hero,
    .subpage .scholarship-hero {
        background:
            linear-gradient(90deg, rgba(255,255,255,0.92), rgba(245,248,251,0.88)),
            url('../images/bggraduation.jpg') center/cover no-repeat;
    }
}

@media not all {
/* Shared subpage alignment with the current home design */
.subpage {
    background: var(--bg-white);
    overflow-x: hidden;
}
}

.subpage .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.subpage .about-hero,
.subpage .blog-hero,
.subpage .scholarships-hero,
.subpage .contact-hero,
.subpage .team-hero,
.subpage .scholarship-hero,
.subpage .member-hero,
.subpage .article-header {
    min-height: 340px;
    padding: 88px 20px 78px;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--text-dark);
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 42%, rgba(245,248,251,0.66) 64%, rgba(15,118,110,0.18) 100%),
        url('../images/student-library.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.subpage .about-hero,
.subpage .member-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 42%, rgba(245,248,251,0.62) 64%, rgba(15,118,110,0.18) 100%),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.subpage .contact-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 42%, rgba(245,248,251,0.66) 64%, rgba(15,118,110,0.18) 100%),
        url('../images/bgcontact.jpg') center/cover no-repeat;
}

.subpage .scholarships-hero,
.subpage .scholarship-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 42%, rgba(245,248,251,0.66) 64%, rgba(15,118,110,0.18) 100%),
        url('../images/bggraduation.jpg') center/cover no-repeat;
}

.subpage .team-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 42%, rgba(245,248,251,0.66) 64%, rgba(15,118,110,0.18) 100%),
        url('../images/aboutmissionbg.jpg') center/cover no-repeat;
}

.subpage .blog-hero,
.subpage .article-header {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 42%, rgba(245,248,251,0.66) 64%, rgba(15,118,110,0.18) 100%),
        url('../images/fhero.jpg') center/cover no-repeat;
}

.subpage .about-hero::before,
.subpage .about-hero::after,
.subpage .blog-hero::before,
.subpage .contact-hero::before,
.subpage .team-hero::before,
.subpage .scholarships-hero::before,
.subpage .scholarships-cta::before,
.subpage .scholarship-cta::before,
.subpage .scholarship-hero .hero-overlay,
.subpage .member-hero .hero-overlay,
.subpage .hero-overlay {
    display: none;
}

.subpage .about-hero .container,
.subpage .blog-hero .hero-content,
.subpage .contact-hero .hero-content,
.subpage .team-hero .hero-content,
.subpage .scholarships-hero .hero-content,
.subpage .scholarship-hero .hero-content,
.subpage .article-header .container,
.subpage .member-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0;
    text-align: left;
}

.subpage .hero-eyebrow,
.subpage .article-category,
.subpage .scholarship-badge,
.subpage .post-category {
    background: rgba(15, 118, 110, 0.1);
    color: var(--support-teal);
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.subpage .about-hero .hero-eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    color: var(--support-teal);
}

.subpage .about-hero h1,
.subpage .blog-hero h1,
.subpage .scholarships-hero h1,
.subpage .contact-hero h1,
.subpage .team-hero h1,
.subpage .scholarship-hero h1,
.subpage .member-hero h1,
.subpage .article-title {
    color: var(--text-dark);
    font-size: 56px;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: none;
    margin-bottom: 16px;
    max-width: 12ch;
}

.subpage .blog-hero p,
.subpage .scholarships-hero p,
.subpage .contact-hero p,
.subpage .team-hero p,
.subpage .scholarship-hero p,
.subpage .member-hero-role,
.subpage .article-author,
.subpage .article-meta {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    max-width: 540px;
    margin-left: 0;
    margin-right: 0;
}

.subpage .about-content,
.subpage .blog-content,
.subpage .contact-content,
.subpage .team-intro-section,
.subpage .core-team-section,
.subpage .extended-team-section,
.subpage .team-values-section,
.subpage .selection-criteria-section,
.subpage .scholarships-offerings,
.subpage .application-steps,
.subpage .faq-section,
.subpage .article-content-section,
.subpage .member-content,
.subpage .scholarship-details,
.subpage .scholarship-selection-criteria {
    padding: 74px 0;
}

.subpage .blog-content,
.subpage .contact-content,
.subpage .team-intro-section,
.subpage .selection-criteria-section,
.subpage .application-steps,
.subpage .scholarship-selection-criteria,
.subpage .member-content {
    background: var(--surface-cool);
}

.subpage .section-title,
.subpage .section-header h2,
.subpage .contact-info-section h2,
.subpage .contact-form-section h2,
.subpage .intro-content h2,
.subpage .selection-content h2,
.subpage .content-title,
.subpage .content-subtitle,
.subpage .newsletter-content h2,
.subpage .comments-title,
.subpage .member-section h2 {
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: 0;
}

.subpage .section-title,
.subpage .section-header h2 {
    font-size: 34px;
    margin-bottom: 34px;
}

.subpage .section-title::after,
.subpage .section-header h2::after,
.subpage .selection-content h2::after,
.subpage .contact-info-section h2::after,
.subpage .contact-form-section h2::after,
.subpage .member-section h2::after {
    content: '';
    display: block;
    width: 54px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--support-teal), var(--support-gold));
}

.subpage .selection-content h2::after,
.subpage .contact-info-section h2::after,
.subpage .contact-form-section h2::after,
.subpage .member-section h2::after {
    margin-left: 0;
}

.subpage p,
.subpage .lead-text,
.subpage .support-text,
.subpage .intro-content p,
.subpage .selection-content > p,
.subpage .post-excerpt,
.subpage .faq-item p,
.subpage .step-card p,
.subpage .member-bio,
.subpage .member-section p {
    color: var(--text-light);
    line-height: 1.7;
    text-align: left;
}

.subpage .btn-primary,
.subpage .primary-action,
.subpage .submit-btn,
.subpage .load-more-btn,
.subpage .newsletter-btn,
.subpage .join-btn,
.subpage .contact-member-btn,
.subpage .download-cv-btn,
.subpage .team-link-btn,
.subpage .premium-btn {
    background: linear-gradient(135deg, var(--support-teal), var(--support-blue));
    color: #fff;
    border: none;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
    text-transform: none;
    letter-spacing: 0;
}

.subpage .btn-primary:hover,
.subpage .primary-action:hover,
.subpage .submit-btn:hover,
.subpage .load-more-btn:hover,
.subpage .newsletter-btn:hover,
.subpage .join-btn:hover,
.subpage .contact-member-btn:hover,
.subpage .download-cv-btn:hover,
.subpage .team-link-btn:hover,
.subpage .premium-btn:hover {
    background: linear-gradient(135deg, var(--support-blue), var(--support-teal));
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
}

.subpage .btn-outline,
.subpage .secondary-action,
.subpage .read-more,
.subpage .member-details {
    color: var(--support-teal);
    border-color: var(--support-teal);
}

.subpage .btn-outline:hover {
    background: var(--support-teal);
    color: #fff;
}

.subpage .content-card,
.subpage .stat-item,
.subpage .team-member,
.subpage .team-member-card,
.subpage .extended-member,
.subpage .value-card,
.subpage .scholarship-card,
.subpage .step-card,
.subpage .faq-item,
.subpage .blog-post,
.subpage .info-card,
.subpage .contact-socials,
.subpage .contact-form-section,
.subpage .sidebar-widget,
.subpage .sidebar-card,
.subpage .member-section,
.subpage .details-card,
.subpage .comments-section {
    border-radius: 8px;
    border-color: #e5edf2;
    box-shadow: 0 12px 30px rgba(43, 34, 48, 0.08);
}

.subpage .content-card:hover,
.subpage .stat-item:hover,
.subpage .team-member:hover,
.subpage .team-member-card:hover,
.subpage .extended-member:hover,
.subpage .value-card:hover,
.subpage .scholarship-card:hover,
.subpage .step-card:hover,
.subpage .faq-item:hover,
.subpage .blog-post:hover,
.subpage .info-card:hover {
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 16px 38px rgba(43, 34, 48, 0.11);
    transform: translateY(-6px);
}

.subpage .card-icon,
.subpage .stat-icon,
.subpage .info-icon,
.subpage .extended-icon,
.subpage .value-icon,
.subpage .criteria-item i,
.subpage .member-list i,
.subpage .author-avatar,
.subpage .author-avatar-large {
    color: var(--support-teal);
}

.subpage .step-number {
    background: linear-gradient(135deg, var(--support-teal), var(--support-blue));
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.2);
}

.subpage .scholarship-header,
.subpage .scholarship-details,
.subpage .filter-btn.active,
.subpage .newsletter-section,
.subpage .scholarships-cta,
.subpage .scholarship-cta,
.subpage .join-team-section,
.subpage .education-cta {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(37, 99, 235, 0.86));
}

.subpage .scholarship-header {
    background: #fff;
    border-bottom-color: #e5edf2;
}

.subpage .detail-item span,
.subpage .member-role,
.subpage .post-date,
.subpage .related-date,
.subpage .info-value {
    color: var(--support-teal);
}

.subpage .post-image,
.subpage .member-image-wrapper,
.subpage .team-member-image,
.subpage .selection-image,
.subpage .criteria-image {
    border-radius: 8px;
}

.subpage .post-image img,
.subpage .member-image,
.subpage .team-member-image img,
.subpage .selection-image img,
.subpage .criteria-image img,
.subpage .member-hero-image img {
    object-fit: cover;
}

.subpage .member-overlay {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.9), rgba(37, 99, 235, 0.86));
}

.subpage .education-cta {
    min-height: 390px;
    padding: 82px 0;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.88), rgba(43,34,48,0.78)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.subpage .education-cta::before,
.subpage .education-cta::after {
    display: none;
}

.subpage .education-cta .content-wrapper {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.subpage .education-cta h2,
.subpage .education-cta h3,
.subpage .education-cta p {
    color: #fff;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.subpage .education-cta h2,
.subpage .education-cta h3 {
    font-size: 46px;
    line-height: 1.12;
    font-weight: 800;
}

.subpage .education-cta p {
    max-width: 620px;
    font-size: 18px;
}

.subpage .education-cta .premium-btn {
    margin-top: 10px;
}

.subpage .breadcrumb-section {
    background: var(--surface-cool);
    padding: 18px 0;
}

.subpage .breadcrumb a {
    color: var(--support-teal);
}

.subpage .article-header {
    display: block;
}

.subpage .article-header .container {
    padding-top: 36px;
    padding-bottom: 22px;
}

.subpage .article-layout,
.subpage .member-content .container {
    align-items: start;
}

.subpage .article-body,
.subpage .member-main {
    min-width: 0;
}

.subpage .article-text {
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 8px;
    padding: 34px;
    box-shadow: 0 12px 30px rgba(43, 34, 48, 0.08);
}

@media (max-width: 1024px) {
    .subpage .about-content .container,
    .subpage .contact-wrapper,
    .subpage .selection-grid,
    .subpage .article-layout,
    .subpage .member-content .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .subpage .content-stats,
    .subpage .info-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        display: grid;
    }
}

@media (max-width: 768px) {
    .subpage .about-hero,
    .subpage .blog-hero,
    .subpage .scholarships-hero,
    .subpage .contact-hero,
    .subpage .team-hero,
    .subpage .scholarship-hero,
    .subpage .member-hero,
    .subpage .article-header {
        min-height: auto;
        padding: 64px 0 54px;
        background-position: center;
    }

    .subpage .about-hero .container,
    .subpage .blog-hero .hero-content,
    .subpage .contact-hero .hero-content,
    .subpage .team-hero .hero-content,
    .subpage .scholarships-hero .hero-content,
    .subpage .scholarship-hero .hero-content,
    .subpage .article-header .container,
    .subpage .member-hero-content {
        max-width: none;
        padding-left: 20px;
        padding-right: 20px;
    }

    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .member-hero h1,
    .subpage .article-title {
        font-size: 40px;
        max-width: 11ch;
    }

    .subpage .about-content,
    .subpage .blog-content,
    .subpage .contact-content,
    .subpage .team-intro-section,
    .subpage .core-team-section,
    .subpage .extended-team-section,
    .subpage .team-values-section,
    .subpage .selection-criteria-section,
    .subpage .scholarships-offerings,
    .subpage .application-steps,
    .subpage .faq-section,
    .subpage .article-content-section,
    .subpage .member-content,
    .subpage .scholarship-details,
    .subpage .scholarship-selection-criteria {
        padding: 56px 0;
    }

    .subpage .section-title,
    .subpage .section-header h2,
    .subpage .contact-info-section h2,
    .subpage .contact-form-section h2,
    .subpage .intro-content h2,
    .subpage .selection-content h2,
    .subpage .content-title,
    .subpage .content-subtitle {
        font-size: 30px;
        line-height: 1.16;
    }

    .subpage .blog-grid,
    .subpage .team-grid,
    .subpage .scholarships-grid,
    .subpage .steps-grid,
    .subpage .faq-grid,
    .subpage .extended-team-grid,
    .subpage .values-grid,
    .subpage .info-cards,
    .subpage .content-stats {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .subpage .btn,
    .subpage .primary-action,
    .subpage .submit-btn,
    .subpage .load-more-btn,
    .subpage .newsletter-btn,
    .subpage .join-btn,
    .subpage .contact-member-btn,
    .subpage .premium-btn {
        width: 100%;
        max-width: 360px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .subpage .newsletter-form,
    .subpage .content-actions,
    .subpage .cta-buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .subpage .article-text {
        padding: 24px 20px;
    }
}

@media (max-width: 520px) {
    .subpage .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .member-hero h1,
    .subpage .article-title {
        font-size: 34px;
        max-width: 12ch;
    }

    .subpage .section-title,
    .subpage .section-header h2,
    .subpage .contact-info-section h2,
    .subpage .contact-form-section h2,
    .subpage .intro-content h2,
    .subpage .selection-content h2,
    .subpage .content-title,
    .subpage .content-subtitle {
        font-size: 26px;
    }

    .subpage .scholarship-card,
    .subpage .team-member-card,
    .subpage .blog-post,
    .subpage .step-card,
    .subpage .faq-item,
    .subpage .info-card,
    .subpage .contact-form-section,
    .subpage .sidebar-widget,
    .subpage .sidebar-card,
    .subpage .member-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .subpage .post-content,
    .subpage .scholarship-content,
    .subpage .member-info {
        padding: 22px 18px;
    }

    .subpage .detail-item,
    .subpage .post-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* Final subpage cascade: keep other pages on the home.php flow */
.home-page .hero .btn-primary,
.home-page .cta-action .btn,
.home-page .project-card .btn-primary,
.subpage .btn-primary,
.subpage .primary-action,
.subpage .submit-btn,
.subpage .load-more-btn,
.subpage .newsletter-btn,
.subpage .join-btn,
.subpage .contact-member-btn,
.subpage .download-cv-btn,
.subpage .team-link-btn,
.subpage .premium-btn,
.subpage .step-number,
.subpage .filter-btn.active,
.subpage .scholarship-badge,
.subpage .post-category,
.subpage .scholarships-cta,
.subpage .scholarship-cta,
.subpage .newsletter-section,
.subpage .join-team-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.home-page .hero-accent,
.home-page .hero .eyebrow,
.home-page .stats-content small,
.home-page .read-more,
.subpage .about-hero .hero-eyebrow,
.subpage .article-category,
.subpage .content-title .title-highlight,
.subpage .content-subtitle .hero-accent,
.subpage .read-more,
.subpage .member-role,
.subpage .detail-item span,
.subpage .contact-info-section a,
.subpage .member-details,
.subpage .category-link,
.subpage .tag-link,
.subpage .card-icon,
.subpage .stat-icon,
.subpage .info-icon,
.subpage .extended-icon,
.subpage .value-icon,
.subpage .criteria-item i,
.subpage .member-list i {
    color: var(--primary-color);
}

.home-page .hero-highlight,
.subpage .btn-outline,
.subpage .secondary-action {
    color: var(--primary-dark);
}

.home-page .hero .btn-outline,
.subpage .btn-outline,
.subpage .secondary-action {
    border-color: var(--primary-color);
}

.home-page .hero .btn-outline:hover,
.subpage .btn-outline:hover,
.subpage .secondary-action:hover {
    background: var(--primary-color);
    color: #fff;
}

.home-page .selection-criteria h3::after,
.home-page .section-header h2::after,
.home-page .stats-content h2::after,
.subpage .content-title .title-highlight::after,
.subpage .content-subtitle .hero-accent::after,
.subpage .section-header h2::after {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.subpage .education-cta {
    background:
        linear-gradient(90deg, rgba(var(--primary-dark-rgb), 0.9), rgba(var(--primary-rgb), 0.76)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.home-page .donate-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.subpage .about-hero,
.subpage .blog-hero,
.subpage .scholarships-hero,
.subpage .contact-hero,
.subpage .team-hero,
.subpage .scholarship-hero,
.subpage .member-hero,
.subpage .article-header {
    min-height: 390px;
    padding: 86px 0 78px;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/fhero.jpg') right center/cover no-repeat;
}

.subpage .blog-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/student-library.jpg') right center/cover no-repeat;
}

.subpage .contact-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/bgcontact.jpg') right center/cover no-repeat;
}

.subpage .team-hero,
.subpage .member-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/sideaboutimg.jpg') right center/cover no-repeat;
}

.subpage .scholarships-hero,
.subpage .scholarship-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 39%, rgba(245,248,251,0.68) 63%, rgba(245,248,251,0.18) 100%),
        url('../images/bggraduation.jpg') right center/cover no-repeat;
}

.subpage .about-hero h1,
.subpage .blog-hero h1,
.subpage .scholarships-hero h1,
.subpage .contact-hero h1,
.subpage .team-hero h1,
.subpage .scholarship-hero h1,
.subpage .article-title,
.subpage .member-hero-info h1 {
    max-width: 12ch;
    color: var(--text-dark);
    font-size: 56px;
    line-height: 1.03;
    font-weight: 800;
    margin: 12px 0 18px;
    text-shadow: none;
}

@media (max-width: 768px) {
    .subpage .about-hero,
    .subpage .blog-hero,
    .subpage .scholarships-hero,
    .subpage .contact-hero,
    .subpage .team-hero,
    .subpage .scholarship-hero,
    .subpage .member-hero,
    .subpage .article-header {
        min-height: auto;
        padding: 64px 0 54px;
    }

    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .article-title,
    .subpage .member-hero-info h1 {
        font-size: 40px;
    }
}

@media (max-width: 520px) {
    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .article-title,
    .subpage .member-hero-info h1 {
        font-size: 34px;
    }
}

/* About page final overrides: keep about.php stable after the shared subpage cascade. */
.subpage.about-page .about-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        url('../images/sideaboutimg.jpg') right center/cover no-repeat;
}

.subpage.about-page .about-hero .hero-content {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}

.subpage.about-page .about-hero .hero-eyebrow,
.subpage.about-page .about-hero h1,
.subpage.about-page .about-hero p {
    max-width: 520px;
}

.subpage.about-page .about-content,
.subpage.about-page .vmo-section,
.subpage.about-page .selection-criteria,
.subpage.about-page .team-section {
    padding: 72px 0;
}

.subpage.about-page .about-content .container {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: 72px;
    align-items: center;
}

.subpage.about-page .content-text,
.subpage.about-page .content-title,
.subpage.about-page .content-subtitle,
.subpage.about-page .lead-text,
.subpage.about-page .support-text,
.subpage.about-page .criteria-content,
.subpage.about-page .criteria-content h2,
.subpage.about-page .criteria-content p {
    text-align: left;
}

.subpage.about-page .content-title {
    max-width: none;
    font-size: 42px;
    line-height: 1.18;
    margin-bottom: 14px;
}

.subpage.about-page .content-title .title-highlight,
.subpage.about-page .content-subtitle .hero-accent {
    display: inline-block;
    padding-bottom: 4px;
}

.subpage.about-page .content-title .title-highlight::after {
    bottom: 0;
    height: 3px;
}

.subpage.about-page .content-subtitle {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 22px;
}

.subpage.about-page .content-subtitle .hero-accent::after {
    bottom: 1px;
}

.subpage.about-page .lead-text,
.subpage.about-page .support-text {
    max-width: 680px;
    font-size: 16px;
    line-height: 1.75;
}

.subpage.about-page .content-actions {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 16px;
    max-width: none;
    margin: 0;
}

.subpage.about-page .secondary-action {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
}

.subpage.about-page .content-stats {
    display: grid;
    gap: 18px;
}

.subpage.about-page .stat-item {
    padding: 24px 18px;
    text-align: center;
}

.subpage.about-page .content-grid,
.subpage.about-page .team-grid {
    gap: 30px;
}

.subpage.about-page .content-grid {
    margin: 0;
}

.subpage.about-page .content-card,
.subpage.about-page .content-card h3,
.subpage.about-page .content-card p {
    text-align: center;
}

.subpage.about-page .selection-criteria {
    background: var(--surface-cool);
}

.subpage.about-page .selection-criteria::before {
    display: none;
}

.subpage.about-page .selection-criteria .container {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 64px;
    align-items: center;
}

.subpage.about-page .criteria-image {
    min-height: 310px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(43, 34, 48, 0.1);
}

.subpage.about-page .criteria-image img,
.subpage.about-page .team-member-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage.about-page .team-grid {
    margin-top: 44px;
}

.subpage.about-page .team-member-image {
    height: 220px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.subpage.about-page .team-member-info {
    padding: 24px 22px 28px;
    text-align: center;
}

.subpage.about-page .team-section .section-header,
.subpage.about-page .team-section .section-header h2,
.subpage.about-page .team-section .section-header p {
    text-align: center;
}

.subpage.about-page .team-section .section-header p {
    margin-left: auto;
    margin-right: auto;
}

.subpage.about-page .education-cta,
.subpage.about-page .education-cta .content-wrapper,
.subpage.about-page .education-cta h3,
.subpage.about-page .education-cta p {
    text-align: center;
}

@media (max-width: 1024px) {
    .subpage.about-page .about-content .container,
    .subpage.about-page .selection-criteria .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .subpage.about-page .content-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .subpage.about-page .about-content,
    .subpage.about-page .vmo-section,
    .subpage.about-page .selection-criteria,
    .subpage.about-page .team-section {
        padding: 56px 0;
    }

    .subpage.about-page .content-title,
    .subpage.about-page .criteria-content h2,
    .subpage.about-page .team-section .section-header h2 {
        font-size: 30px;
    }

    .subpage.about-page .content-actions,
    .subpage.about-page .content-stats {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .subpage.about-page .content-actions {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .subpage.about-page .content-text,
    .subpage.about-page .content-title,
    .subpage.about-page .content-subtitle,
    .subpage.about-page .lead-text,
    .subpage.about-page .support-text,
    .subpage.about-page .criteria-content,
    .subpage.about-page .criteria-content h2,
    .subpage.about-page .criteria-content p {
        text-align: left;
    }

    .subpage.about-page .primary-action,
    .subpage.about-page .criteria-content .premium-btn,
    .subpage.about-page .view-profile-btn,
    .subpage.about-page .education-cta .premium-btn {
        width: 100%;
        justify-content: center;
    }

    .subpage.about-page .criteria-image {
        min-height: 240px;
    }
}

@media (max-width: 520px) {
    .subpage.about-page .content-title,
    .subpage.about-page .criteria-content h2,
    .subpage.about-page .team-section .section-header h2 {
        font-size: 26px;
    }

    .subpage.about-page .content-title {
        line-height: 1.2;
    }
}

/* Scholarships page final overrides: align hero and body text after shared subpage rules. */
.subpage.scholarships-page .scholarships-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        url('../images/bggraduation.jpg') right center/cover no-repeat;
}

.subpage.scholarships-page .scholarships-hero .hero-content {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}

.subpage.scholarships-page .scholarships-hero h1,
.subpage.scholarships-page .scholarships-hero p {
    max-width: 520px;
    text-align: left;
}

.subpage.scholarships-page .scholarships-hero .hero-eyebrow {
    display: inline-flex;
    max-width: 520px;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.subpage.scholarships-page .scholarships-hero h1 {
    color: var(--text-dark);
    font-size: 56px;
    line-height: 1.03;
    margin: 12px 0 18px;
    text-shadow: none;
}

.subpage.scholarships-page .scholarships-hero p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    opacity: 1;
}

.subpage.scholarships-page .selection-criteria-section,
.subpage.scholarships-page .scholarships-offerings,
.subpage.scholarships-page .application-steps,
.subpage.scholarships-page .faq-section {
    padding: 74px 0;
}

.subpage.scholarships-page .selection-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 60px;
    align-items: center;
    text-align: left;
}

.subpage.scholarships-page .selection-content,
.subpage.scholarships-page .selection-content h2,
.subpage.scholarships-page .selection-content p,
.subpage.scholarships-page .criteria-intro,
.subpage.scholarships-page .criteria-intro p,
.subpage.scholarships-page .criteria-list,
.subpage.scholarships-page .criteria-item {
    text-align: left;
}

.subpage.scholarships-page .section-title,
.subpage.scholarships-page .scholarships-cta,
.subpage.scholarships-page .scholarships-cta h2,
.subpage.scholarships-page .scholarships-cta p {
    text-align: center;
}

.subpage.scholarships-page .scholarship-card,
.subpage.scholarships-page .step-card,
.subpage.scholarships-page .faq-item {
    text-align: left;
}

.subpage.scholarships-page .selection-image {
    border-radius: 8px;
    overflow: hidden;
}

.subpage.scholarships-page .selection-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .subpage.scholarships-page .selection-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .subpage.scholarships-page .scholarships-hero h1 {
        font-size: 40px;
    }

    .subpage.scholarships-page .selection-criteria-section,
    .subpage.scholarships-page .scholarships-offerings,
    .subpage.scholarships-page .application-steps,
    .subpage.scholarships-page .faq-section {
        padding: 56px 0;
    }

    .subpage.scholarships-page .selection-grid,
    .subpage.scholarships-page .selection-content,
    .subpage.scholarships-page .selection-content h2,
    .subpage.scholarships-page .selection-content p {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .subpage.scholarships-page .scholarships-hero h1 {
        font-size: 34px;
    }
}

/* Blog and Contact page final hero overrides: match the About page hero pattern. */
.subpage.blog-page .blog-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        url('../images/student-library.jpg') right center/cover no-repeat;
}

.subpage.contact-page .contact-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        url('../images/bgcontact.jpg') right center/cover no-repeat;
}

.subpage.blog-page .blog-hero .hero-content,
.subpage.contact-page .contact-hero .hero-content {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}

.subpage.blog-page .blog-hero .hero-eyebrow,
.subpage.contact-page .contact-hero .hero-eyebrow {
    display: inline-flex;
    max-width: 520px;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.subpage.blog-page .blog-hero h1,
.subpage.blog-page .blog-hero p,
.subpage.contact-page .contact-hero h1,
.subpage.contact-page .contact-hero p {
    max-width: 520px;
    text-align: left;
}

.subpage.blog-page .blog-hero h1,
.subpage.contact-page .contact-hero h1 {
    color: var(--text-dark);
    font-size: 56px;
    line-height: 1.03;
    margin: 12px 0 18px;
    text-shadow: none;
}

.subpage.blog-page .blog-hero p,
.subpage.contact-page .contact-hero p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    opacity: 1;
}

.subpage.blog-page .blog-content,
.subpage.contact-page .contact-content {
    padding: 74px 0;
}

.subpage.blog-page .blog-post,
.subpage.blog-page .post-content,
.subpage.blog-page .post-title,
.subpage.blog-page .post-excerpt,
.subpage.contact-page .contact-info-section,
.subpage.contact-page .contact-info-section h2,
.subpage.contact-page .contact-form-section,
.subpage.contact-page .contact-form-section h2,
.subpage.contact-page .contact-form,
.subpage.contact-page .form-group {
    text-align: left;
}

.subpage.contact-page .info-card,
.subpage.contact-page .contact-socials {
    text-align: center;
}

@media (max-width: 768px) {
    .subpage.blog-page .blog-hero h1,
    .subpage.contact-page .contact-hero h1 {
        font-size: 40px;
    }

    .subpage.blog-page .blog-content,
    .subpage.contact-page .contact-content {
        padding: 56px 0;
    }
}

@media (max-width: 520px) {
    .subpage.blog-page .blog-hero h1,
    .subpage.contact-page .contact-hero h1 {
        font-size: 34px;
    }
}

.subpage.blog-page .newsletter-section {
    padding: 72px 0;
    background: #f7fafc;
    color: var(--text-dark);
}

.subpage.blog-page .newsletter-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.subpage.blog-page .newsletter-content h2 {
    color: var(--text-dark);
    font-size: 34px;
    line-height: 1.16;
    margin-bottom: 16px;
}

.subpage.blog-page .newsletter-content p {
    color: var(--text-light);
    margin: 0 auto 28px;
    max-width: 560px;
    text-align: center;
}

.subpage.blog-page .newsletter-section .newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
}

.subpage.blog-page .newsletter-section input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    background: #fff;
    color: var(--text-dark);
}

.subpage.blog-page .newsletter-section .newsletter-btn {
    width: 100%;
    min-height: 50px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff8a32 0%, #ff9a3c 100%);
    color: #fff;
    box-shadow: 0 12px 26px rgba(255, 138, 50, 0.22);
}

/* Final layout polish: remove footer gaps and keep scholarship card detail boxes readable. */
.footer-dark {
    margin-top: 0;
}

.subpage.scholarships-page .scholarships-cta {
    margin-bottom: 0;
}

.subpage.scholarships-page .scholarship-card .scholarship-details {
    display: grid;
    gap: 0;
    margin: 22px 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe8ee;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--text-dark);
}

.subpage.scholarships-page .scholarship-card .detail-item {
    display: grid;
    grid-template-columns: minmax(98px, 0.72fr) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid #e5edf2;
    color: var(--text-dark);
}

.subpage.scholarships-page .scholarship-card .detail-item:last-child {
    border-bottom: 0;
}

.subpage.scholarships-page .scholarship-card .detail-item strong {
    color: #2b2230;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.subpage.scholarships-page .scholarship-card .detail-item span {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.subpage.scholarships-page .scholarship-card .scholarship-content {
    display: flex;
    flex-direction: column;
}

.subpage.scholarships-page .scholarship-card .scholarship-description {
    margin-top: 0;
    margin-bottom: 0;
}

.subpage.scholarships-page .step-card .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.22);
}

@media (max-width: 520px) {
    .subpage.scholarships-page .scholarship-card .detail-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .subpage.scholarships-page .scholarship-card .detail-item span {
        text-align: left;
    }
}

/* Single page final overrides: article, scholarship detail, and team profile pages. */
.subpage.single-blog-page .article-header,
.subpage.single-scholarship-page .scholarship-hero,
.subpage.single-team-page .member-hero {
    min-height: 390px;
    padding: 86px 0 78px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        url('../images/bggraduation.jpg') right center/cover no-repeat;
    color: var(--text-dark);
}

.subpage.single-blog-page .article-header {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        var(--article-feature-image, url('../images/student-library.jpg')) right center/cover no-repeat;
}

.subpage.single-team-page .member-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        url('../images/sideaboutimg.jpg') right center/cover no-repeat;
}

.subpage.single-blog-page .article-header .container,
.subpage.single-scholarship-page .scholarship-hero .hero-content,
.subpage.single-team-page .member-hero .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}

.subpage.single-scholarship-page .scholarship-hero .hero-eyebrow,
.subpage.single-team-page .member-hero .hero-eyebrow,
.subpage.single-blog-page .article-category {
    display: inline-flex;
    max-width: 520px;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.subpage.single-blog-page .article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-light);
    text-align: left;
}

.subpage.single-blog-page .article-title,
.subpage.single-scholarship-page .scholarship-hero h1,
.subpage.single-team-page .member-hero-info h1 {
    max-width: 620px;
    color: var(--text-dark);
    font-size: 56px;
    line-height: 1.03;
    margin: 12px 0 18px;
    text-align: left;
    text-shadow: none;
}

.subpage.single-scholarship-page .scholarship-hero p,
.subpage.single-team-page .member-hero-role,
.subpage.single-blog-page .article-author {
    max-width: 560px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    text-align: left;
    opacity: 1;
}

.subpage.single-team-page .member-hero-content {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 52px;
    align-items: center;
    max-width: none;
    margin: 0;
}

.subpage.single-team-page .member-hero-image img {
    width: 100%;
    max-width: 360px;
    height: 430px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(43, 34, 48, 0.14);
}

.subpage.single-team-page .member-hero-info {
    color: var(--text-dark);
    text-align: left;
}

.subpage.single-team-page .member-hero-socials {
    justify-content: flex-start;
    margin-top: 24px;
}

.subpage.single-team-page .member-hero-socials a {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
}

.subpage.single-blog-page .article-content-section,
.subpage.single-scholarship-page .scholarship-details,
.subpage.single-scholarship-page .scholarship-selection-criteria,
.subpage.single-team-page .member-content {
    padding: 74px 0;
}

.subpage.single-blog-page .article-layout,
.subpage.single-team-page .member-content .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
    align-items: start;
}

.subpage.single-blog-page .article-body,
.subpage.single-blog-page .article-sidebar {
    min-width: 0;
}

.subpage.single-blog-page .article-sidebar {
    display: grid;
    gap: 20px;
}

.subpage.single-blog-page .article-text p,
.subpage.single-blog-page .sidebar-widget,
.subpage.single-team-page .member-section,
.subpage.single-team-page .sidebar-card,
.subpage.single-scholarship-page .details-card,
.subpage.single-scholarship-page .criteria-list li {
    text-align: left;
}

.subpage.single-blog-page .article-text,
.subpage.single-blog-page .comments-section,
.subpage.single-blog-page .sidebar-widget,
.subpage.single-team-page .member-section,
.subpage.single-team-page .sidebar-card,
.subpage.single-scholarship-page .details-card {
    border-radius: 8px;
    border: 1px solid #e5edf2;
    background: #fff;
    box-shadow: 0 12px 30px rgba(43, 34, 48, 0.08);
}

.subpage.single-blog-page .article-text,
.subpage.single-blog-page .comments-section,
.subpage.single-blog-page .sidebar-widget {
    padding: 26px;
}

.subpage.single-blog-page .article-text p {
    margin: 0 0 16px;
}

.subpage.single-blog-page .article-text p:last-child {
    margin-bottom: 0;
}

.subpage.single-blog-page .article-engagement {
    margin: 20px 0;
}

.subpage.single-blog-page .engagement-actions,
.subpage.single-blog-page .share-section,
.subpage.single-blog-page .share-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.subpage.single-blog-page .like-btn,
.subpage.single-blog-page .share-link {
    min-height: 38px;
    border: 1px solid #e5edf2;
    border-radius: 6px;
    background: #fff;
    color: var(--primary-color);
}

.subpage.single-blog-page .like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.subpage.single-blog-page .share-link {
    display: inline-flex;
    width: 38px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.subpage.single-blog-page .comment-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.subpage.single-blog-page .comment-form {
    display: grid;
    gap: 14px;
}

.subpage.single-blog-page .comment-form input,
.subpage.single-blog-page .comment-form textarea,
.subpage.single-blog-page .sidebar-newsletter input {
    width: 100%;
}

.subpage.single-blog-page .related-list,
.subpage.single-blog-page .categories-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.subpage.single-blog-page .related-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
}

.subpage.single-blog-page .related-image {
    width: 86px;
    aspect-ratio: 1.15;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface-cool);
}

.subpage.single-blog-page .related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage.single-blog-page .related-content h5 {
    margin: 0 0 6px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.35;
}

.subpage.single-blog-page .related-date {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
}

.subpage.single-blog-page .author-bio-content {
    display: grid;
    gap: 10px;
}

.subpage.single-blog-page .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subpage.single-blog-page .tag-link,
.subpage.single-blog-page .category-link {
    color: var(--primary-color);
    text-decoration: none;
}

.subpage.single-blog-page .tag-link {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.08);
    font-size: 12px;
    font-weight: 700;
}

.subpage.single-blog-page .sidebar-newsletter {
    display: grid;
    gap: 12px;
}

.subpage.single-blog-page .newsletter-signup p {
    margin: 0 0 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.subpage.single-blog-page .sidebar-newsletter input {
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    background: #fff;
    color: var(--text-dark);
}

.subpage.single-blog-page .sidebar-newsletter .btn {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.18);
}

.subpage.single-scholarship-page .scholarship-details {
    background: var(--bg-white);
}

.subpage.single-scholarship-page .details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.subpage.single-scholarship-page .details-card {
    padding: 28px 22px;
}

.subpage.single-scholarship-page .details-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.subpage.single-scholarship-page .details-card p {
    color: var(--primary-color);
    font-weight: 800;
    margin: 0;
}

.subpage.single-scholarship-page .scholarship-selection-criteria {
    background: var(--surface-cool);
}

.subpage.single-scholarship-page .scholarship-selection-criteria h2 {
    color: var(--text-dark);
}

.subpage.single-scholarship-page .criteria-list {
    max-width: 760px;
    margin: 0 auto;
}

.subpage.single-scholarship-page .scholarship-cta {
    margin-bottom: 0;
    padding: 74px 0;
}

@media (max-width: 1024px) {
    .subpage.single-team-page .member-hero-content,
    .subpage.single-blog-page .article-layout,
    .subpage.single-team-page .member-content .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .subpage.single-scholarship-page .details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .subpage.single-blog-page .article-header,
    .subpage.single-scholarship-page .scholarship-hero,
    .subpage.single-team-page .member-hero {
        min-height: auto;
        padding: 64px 0 54px;
    }

    .subpage.single-blog-page .article-title,
    .subpage.single-scholarship-page .scholarship-hero h1,
    .subpage.single-team-page .member-hero-info h1 {
        font-size: 40px;
    }

    .subpage.single-blog-page .article-content-section,
    .subpage.single-scholarship-page .scholarship-details,
    .subpage.single-scholarship-page .scholarship-selection-criteria,
    .subpage.single-team-page .member-content,
    .subpage.single-scholarship-page .scholarship-cta {
        padding: 56px 0;
    }

    .subpage.single-blog-page .comment-form .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .subpage.single-blog-page .article-title,
    .subpage.single-scholarship-page .scholarship-hero h1,
    .subpage.single-team-page .member-hero-info h1 {
        font-size: 34px;
    }

    .subpage.single-scholarship-page .details-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Single blog article polish. */
.subpage.single-blog-page .article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.subpage.single-blog-page .article-back-link:hover {
    color: var(--primary-color);
}

.subpage.single-blog-page .article-summary {
    max-width: 660px;
    margin: 0 0 24px;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.75;
}

.subpage.single-blog-page .author-info {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.subpage.single-blog-page .author-avatar,
.subpage.single-blog-page .author-avatar-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--support-teal);
    font-size: 24px;
}

.subpage.single-blog-page .author-avatar-large {
    width: 58px;
    height: 58px;
    font-size: 34px;
}

.subpage.single-blog-page .author-name,
.subpage.single-blog-page .author-role {
    display: block;
}

.subpage.single-blog-page .author-name {
    color: var(--text-dark);
    font-weight: 800;
}

.subpage.single-blog-page .author-role {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
}

.subpage.single-blog-page .article-featured-image {
    padding: 46px 0 0;
    background: #fff;
}

.subpage.single-blog-page .article-featured-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(43, 34, 48, 0.12);
}

.subpage.single-blog-page .article-info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.subpage.single-blog-page .article-info-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid #e5edf2;
    border-radius: 999px;
    background: #fff;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 800;
}

.subpage.single-blog-page .article-text {
    padding: 34px;
}

.subpage.single-blog-page .article-text p {
    color: #344252;
    font-size: 18px;
    line-height: 1.85;
}

.subpage.single-blog-page .like-btn:hover,
.subpage.single-blog-page .like-btn.liked,
.subpage.single-blog-page .share-link:hover {
    border-color: rgba(15, 118, 110, 0.28);
    background: rgba(15, 118, 110, 0.08);
    color: var(--support-teal);
}

.subpage.single-blog-page .share-label {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 800;
}

.subpage.single-blog-page .article-next-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 24px 0;
    padding: 28px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.92), rgba(43, 34, 48, 0.82)),
        url('../images/bggraduation.jpg') center/cover no-repeat;
    color: #fff;
}

.subpage.single-blog-page .article-next-step span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.subpage.single-blog-page .article-next-step h2 {
    max-width: 560px;
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.18;
}

.subpage.single-blog-page .article-next-step .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.subpage.single-blog-page .sidebar-widget h4,
.subpage.single-blog-page .comments-title {
    margin: 0 0 18px;
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.3;
}

.subpage.single-blog-page .author-bio-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.65;
}

.subpage.single-blog-page .related-item {
    padding: 8px;
    border-radius: 8px;
}

.subpage.single-blog-page .related-item:hover {
    background: var(--surface-cool);
}

@media (max-width: 768px) {
    .subpage.single-blog-page .article-featured-image {
        padding-top: 28px;
    }

    .subpage.single-blog-page .article-text {
        padding: 24px;
    }

    .subpage.single-blog-page .article-text p {
        font-size: 16px;
        line-height: 1.8;
    }

    .subpage.single-blog-page .article-next-step {
        align-items: flex-start;
        flex-direction: column;
    }

    .subpage.single-blog-page .article-next-step .btn {
        width: 100%;
    }
}

/* Single team page polish: remove nested card feel and normalize sidebar controls. */
.subpage.single-team-page .member-main {
    display: grid;
    gap: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.subpage.single-team-page .member-section {
    margin: 0;
    padding: 30px;
}

.subpage.single-team-page .member-section h2 {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 14px;
    border-bottom: 0;
}

.subpage.single-team-page .member-section h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--support-teal), var(--support-gold));
}

.subpage.single-team-page .member-section p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.75;
}

.subpage.single-team-page .member-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.subpage.single-team-page .member-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

.subpage.single-team-page .member-list i {
    width: 18px;
    margin-top: 3px;
    color: var(--primary-color);
    text-align: center;
}

.subpage.single-team-page .expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subpage.single-team-page .expertise-tag {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(var(--primary-rgb), 0.24);
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
}

.subpage.single-team-page .contact-member {
    background: #fff;
}

.subpage.single-team-page .contact-member-btn,
.subpage.single-team-page .download-cv-btn,
.subpage.single-team-page .team-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.2);
}

.subpage.single-team-page .contact-member-btn:hover,
.subpage.single-team-page .download-cv-btn:hover,
.subpage.single-team-page .team-link-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.subpage.single-team-page .member-sidebar {
    display: grid;
    align-content: start;
    gap: 22px;
}

.subpage.single-team-page .member-sidebar .sidebar-card {
    margin: 0;
    padding: 26px 22px;
}

.subpage.single-team-page .member-sidebar .sidebar-card h3 {
    margin: 0 0 18px;
    color: var(--text-dark);
    font-size: 18px;
}

.subpage.single-team-page .sidebar-card p {
    margin: 0 0 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.subpage.single-team-page .sidebar-card p:last-child {
    margin-bottom: 0;
}

.subpage.single-team-page .sidebar-card a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.subpage.single-team-page .related-members {
    display: grid;
    gap: 12px;
}

.subpage.single-team-page .related-member {
    display: grid;
    gap: 3px;
    padding: 12px 0;
    border-bottom: 1px solid #e5edf2;
}

.subpage.single-team-page .related-member:last-child {
    border-bottom: 0;
}

.subpage.single-team-page .related-member strong {
    color: var(--text-dark);
}

.subpage.single-team-page .related-member span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.subpage.team-page .secondary-profile-btn {
    margin-left: 8px;
    background: #eef3f6;
    color: var(--text-dark);
}

.subpage.single-team-page .quick-info {
    display: grid;
    gap: 16px;
}

.subpage.single-team-page .info-label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.subpage.single-team-page .info-value {
    color: var(--support-teal);
    font-weight: 800;
    line-height: 1.4;
}

.subpage.single-team-page .download-cv-btn,
.subpage.single-team-page .team-link-btn {
    width: 100%;
}

.subpage.single-team-page .share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 38px);
    gap: 10px;
}

.subpage.single-team-page .share-btn {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    text-decoration: none;
}

.subpage.single-team-page .share-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .subpage.single-team-page .member-section {
        padding: 24px;
    }
}

/* Single scholarship page polish: clean criteria icons and CTA contrast. */
.subpage.single-scholarship-page .scholarship-details {
    padding-bottom: 86px;
}

.subpage.single-scholarship-page .details-card {
    position: relative;
    min-height: 150px;
    padding: 30px 26px;
    overflow: hidden;
}

.subpage.single-scholarship-page .details-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--support-teal), var(--support-gold));
}

.subpage.single-scholarship-page .details-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.subpage.single-scholarship-page .details-card p {
    max-width: 220px;
    color: var(--primary-color);
    font-size: 17px;
    line-height: 1.55;
}

.subpage.single-scholarship-page .apply-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.subpage.single-scholarship-page .scholarship-selection-criteria {
    padding: 78px 0;
}

.subpage.single-scholarship-page .scholarship-selection-criteria h2 {
    margin: 0 0 34px;
    text-align: center;
}

.subpage.single-scholarship-page .scholarship-selection-criteria h2::after {
    content: '';
    display: block;
    width: 58px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--support-teal), var(--support-gold));
}

.subpage.single-scholarship-page .criteria-list {
    display: grid;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.subpage.single-scholarship-page .criteria-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid #e5edf2;
    border-radius: 8px;
    background: #fff;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.6;
    box-shadow: 0 10px 24px rgba(43, 34, 48, 0.06);
}

.subpage.single-scholarship-page .criteria-list li::before {
    content: none;
}

.subpage.single-scholarship-page .criteria-list li i {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--support-teal);
    font-size: 13px;
}

.subpage.single-scholarship-page .scholarship-cta {
    padding: 82px 0;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.9), rgba(43, 34, 48, 0.82)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.subpage.single-scholarship-page .scholarship-cta .cta-inner {
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.subpage.single-scholarship-page .scholarship-cta h2 {
    margin: 0;
    color: #fff;
    font-size: 42px;
    line-height: 1.15;
}

.subpage.single-scholarship-page .scholarship-cta p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
}

.subpage.single-scholarship-page .scholarship-cta .btn {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .subpage.single-scholarship-page .details-card {
        min-height: 0;
    }

    .subpage.single-scholarship-page .scholarship-cta h2 {
        font-size: 34px;
    }
}

/* Contact page polish: align content cards and form with the updated subpage system. */
.subpage.contact-page .contact-content {
    padding: 78px 0;
    background: var(--surface-cool);
}

.subpage.contact-page .contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 54px;
    align-items: start;
}

.subpage.contact-page .contact-info-section h2,
.subpage.contact-page .contact-form-section h2 {
    margin: 0 0 30px;
    color: var(--text-dark);
    font-size: 32px;
    line-height: 1.15;
}

.subpage.contact-page .info-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.subpage.contact-page .info-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    gap: 14px;
    min-height: 146px;
    padding: 24px;
    text-align: center;
}

.subpage.contact-page .info-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 22px;
    grid-row: auto;
}

.subpage.contact-page .info-card h3 {
    grid-column: 1;
    margin: 0;
    color: var(--text-dark);
    font-size: 17px;
    line-height: 1.3;
}

.subpage.contact-page .info-card p {
    grid-column: 1;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 100%;
    text-wrap: balance;
}

.subpage.contact-page .info-card a {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
}

.subpage.contact-page .info-card p,
.subpage.contact-page .info-card a {
    font-size: 15px;
}

.subpage.contact-page .contact-socials {
    padding: 26px;
    text-align: left;
}

.subpage.contact-page .contact-socials h3 {
    margin: 0 0 18px;
    color: var(--text-dark);
    font-size: 18px;
}

.subpage.contact-page .social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.subpage.contact-page .social-icon {
    width: 42px;
    height: 42px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 16px;
    box-shadow: none;
}

.subpage.contact-page .social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.subpage.contact-page .contact-form-section {
    padding: 42px;
}

.subpage.contact-page .contact-form {
    gap: 18px;
}

.subpage.contact-page .form-group label {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 800;
}

.subpage.contact-page .form-group input,
.subpage.contact-page .form-group select,
.subpage.contact-page .form-group textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    background: #fff;
}

.subpage.contact-page .form-group textarea {
    min-height: 150px;
}

.subpage.contact-page .submit-btn {
    min-height: 50px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    font-weight: 800;
}

.subpage.contact-page .education-cta {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .subpage.contact-page .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .subpage.contact-page .info-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .subpage.contact-page .info-card {
        min-height: 0;
    }

    .subpage.contact-page .contact-form-section {
        padding: 28px 22px;
    }
}

/* Scholarships page final reset: prevent old section styles from overlapping/repeating visually. */
.subpage.scholarships-page {
    display: block;
    overflow: hidden;
    background: #fff;
    isolation: isolate;
}

.subpage.scholarships-page > section {
    position: relative;
    z-index: 1;
    display: block;
    clear: both;
    width: 100%;
    margin: 0;
    overflow: visible;
}

.subpage.scholarships-page .scholarships-hero {
    min-height: 390px;
    padding: 86px 0 78px;
    overflow: hidden;
}

.subpage.scholarships-page .scholarships-hero::before,
.subpage.scholarships-page .scholarships-cta::before {
    content: none;
}

.subpage.scholarships-page .selection-criteria-section,
.subpage.scholarships-page .application-steps {
    background: var(--surface-cool);
}

.subpage.scholarships-page .scholarships-offerings,
.subpage.scholarships-page .faq-section {
    background: #fff;
}

.subpage.scholarships-page .selection-grid {
    align-items: center;
}

.subpage.scholarships-page .selection-image {
    min-height: 0;
    aspect-ratio: 1.35;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(43, 34, 48, 0.12);
}

.subpage.scholarships-page .selection-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage.scholarships-page .scholarships-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.subpage.scholarships-page .scholarship-card {
    min-width: 0;
    border: 1px solid #e5edf2;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(43, 34, 48, 0.08);
}

.subpage.scholarships-page .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.subpage.scholarships-page .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.subpage.scholarships-page .faq-item {
    border-left: 0;
    border: 1px solid #e5edf2;
    background: #fff;
}

.subpage.scholarships-page .scholarships-cta {
    z-index: 2;
    padding: 82px 0;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.9), rgba(43, 34, 48, 0.82)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
}

.subpage.scholarships-page .scholarships-cta h2,
.subpage.scholarships-page .scholarships-cta p {
    color: #fff;
}

.subpage.scholarships-page .scholarships-cta p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.subpage.scholarships-page .scholarships-cta .cta-buttons {
    margin-top: 28px;
}

.subpage.scholarships-page .scholarships-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border: 0;
}

.subpage.scholarships-page .scholarships-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.subpage.scholarships-page .scholarships-cta .btn-outline:hover {
    background: #fff;
    color: var(--text-dark);
}

.subpage.scholarships-page + .footer-dark,
.footer-dark {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .subpage.scholarships-page .scholarships-grid,
    .subpage.scholarships-page .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .subpage.scholarships-page .scholarships-hero {
        min-height: auto;
        padding: 64px 0 54px;
    }

    .subpage.scholarships-page .scholarships-grid,
    .subpage.scholarships-page .steps-grid,
    .subpage.scholarships-page .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Shared pre-footer CTA treatment across subpages. */
.subpage .education-cta,
.subpage .scholarships-cta,
.subpage .scholarship-cta,
.subpage .join-team-section {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 82px 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.9), rgba(43, 34, 48, 0.82)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
    color: #fff;
}

.subpage .education-cta::before,
.subpage .education-cta::after,
.subpage .scholarships-cta::before,
.subpage .scholarship-cta::before,
.subpage .join-team-section::before {
    content: none;
    display: none;
}

.subpage .education-cta .container,
.subpage .scholarships-cta .container,
.subpage .scholarship-cta .container,
.subpage .join-team-section .container {
    position: relative;
    z-index: 1;
}

.subpage .education-cta .content-wrapper,
.subpage .scholarships-cta .cta-inner,
.subpage .scholarship-cta .cta-inner,
.subpage .join-team-section .join-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.subpage .education-cta h2,
.subpage .education-cta h3,
.subpage .scholarships-cta h2,
.subpage .scholarship-cta h2,
.subpage .join-team-section h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 46px;
    line-height: 1.12;
    text-align: center;
}

.subpage .education-cta p,
.subpage .scholarships-cta p,
.subpage .scholarship-cta p,
.subpage .join-team-section p {
    max-width: 720px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

.subpage .education-cta .premium-btn,
.subpage .scholarships-cta .btn-primary,
.subpage .scholarship-cta .btn-primary,
.subpage .join-team-section .join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.22);
}

.subpage .scholarships-cta .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.subpage .scholarships-cta .btn-outline:hover {
    background: #fff;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .subpage .education-cta,
    .subpage .scholarships-cta,
    .subpage .scholarship-cta,
    .subpage .join-team-section {
        padding: 64px 0;
    }
}

/* MVC integration helpers */
.form-alert { max-width: 1200px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 8px; font-weight: 800; }
.form-alert.success { background: rgba(15, 118, 110, 0.12); color: var(--support-teal); border: 1px solid rgba(15, 118, 110, 0.24); }
.form-alert.error { background: rgba(var(--primary-rgb), 0.1); color: var(--primary-color); border: 1px solid rgba(var(--primary-rgb), 0.24); }

/* Auth pages use the same public visual system as the home/template pages. */
.auth-page {
    min-height: 100vh;
    margin: 0;
    background: var(--surface-cool);
    color: var(--text-dark);
    font-family: 'Manrope', sans-serif;
}

.auth-page .auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 1.05fr);
}

.auth-page .auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(15, 76, 76, 0.9), rgba(43, 34, 48, 0.82)),
        url('../images/sideaboutimg.jpg') center/cover no-repeat;
    color: #fff;
}

.auth-page .auth-brand,
.auth-page .mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: 800;
}

.auth-page .auth-brand {
    color: #fff;
    font-size: 22px;
}

.auth-page .auth-brand img,
.auth-page .mobile-brand img {
    height: auto;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    padding: 6px;
}

.auth-page .auth-brand img { width: 54px; }
.auth-page .mobile-brand img { width: 44px; }
.auth-page .mobile-brand {
    display: none;
    margin-bottom: 26px;
    color: var(--text-dark);
}

.auth-page .auth-copy {
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.auth-page .auth-pill,
.auth-page .panel-header .eyebrow {
    display: inline-flex;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-page .auth-pill {
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.auth-page .auth-copy h1 {
    max-width: 11ch;
    margin: 0 0 18px;
    color: #fff;
    font-size: 68px;
    line-height: 1.02;
    font-weight: 800;
}

.auth-page .auth-copy p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.7;
}

.auth-page .auth-footnote {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.auth-page .auth-panel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 251, 0.92)),
        url('../images/bgcontact.jpg') right center/cover no-repeat;
}

.auth-page .auth-panel {
    width: min(100%, 500px);
    padding: 42px;
    border: 1px solid #e5edf2;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(43, 34, 48, 0.14);
}

.auth-page .panel-header {
    margin-bottom: 28px;
}

.auth-page .panel-header .eyebrow {
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.auth-page .panel-header h2 {
    margin: 0 0 10px;
    color: var(--text-dark);
    font-size: 38px;
    line-height: 1.1;
    font-weight: 800;
}

.auth-page .panel-header p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.auth-page .role-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px;
    border: 1px solid #e5edf2;
    border-radius: 8px;
    background: var(--surface-cool);
}

.auth-page .role-switch a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.auth-page .role-switch a.active {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(43, 34, 48, 0.08);
}

.auth-page .alert-error {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(var(--primary-rgb), 0.22);
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-dark);
    line-height: 1.5;
    font-size: 14px;
    font-weight: 700;
}

.auth-page .auth-form {
    display: grid;
    gap: 16px;
}

.auth-page .auth-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 800;
}

.auth-page .auth-input-wrap {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 52px;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.auth-page .auth-input-wrap.single {
    grid-template-columns: 44px minmax(0, 1fr);
}

.auth-page .auth-input-wrap i,
.auth-page .toggle-password {
    color: var(--primary-color);
    text-align: center;
}

.auth-page .toggle-password {
    width: 44px;
    height: 52px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
}

.auth-page .auth-input-wrap input {
    width: 100%;
    height: 52px;
    border: 0;
    outline: 0;
    color: var(--text-dark);
    font: inherit;
    background: transparent;
}

.auth-page .auth-input-wrap:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.auth-page .auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 8px;
    flex-wrap: wrap;
}

.auth-page .remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
}

.auth-page .remember input {
    accent-color: var(--primary-color);
}

.auth-page .forgot-link,
.auth-page .signup-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.auth-page .forgot-link:hover,
.auth-page .signup-link:hover {
    text-decoration: underline;
}

.auth-page .auth-submit {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.24);
}

.auth-page .auth-submit:hover {
    transform: translateY(-1px);
}

.auth-page .panel-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.auth-page .admin-note {
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--support-teal);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 980px) {
    .auth-page .auth-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-page .auth-visual {
        display: none;
    }

    .auth-page .auth-panel-wrap {
        min-height: 100vh;
    }

    .auth-page .mobile-brand {
        display: inline-flex;
    }
}

@media (max-width: 560px) {
    .auth-page .auth-panel-wrap {
        padding: 22px 14px;
    }

    .auth-page .auth-panel {
        padding: 28px 20px;
    }

    .auth-page .panel-header h2 {
        font-size: 32px;
    }

    .auth-page .role-switch {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Register page extensions for shared auth layout. */
.auth-page .register-shell {
    grid-template-columns: minmax(400px, 0.82fr) minmax(520px, 1.18fr);
}

.auth-page .register-panel {
    width: min(100%, 680px);
}

.auth-page .register-form {
    gap: 15px;
}

.auth-page .auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-page .alert-success {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 118, 110, 0.22);
    border-radius: 8px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--support-teal);
    line-height: 1.5;
    font-size: 14px;
    font-weight: 700;
}

.auth-page .terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

.auth-page .terms-row input {
    margin-top: 3px;
    accent-color: var(--primary-color);
}

.auth-page .terms-row a {
    color: var(--primary-color);
    font-weight: 800;
    text-decoration: none;
}

.auth-page .terms-row a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .auth-page .register-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .auth-page .auth-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.subpage.team-page .team-hero {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 40%, rgba(245,248,251,0.66) 62%, rgba(245,248,251,0.18) 100%),
        url('../images/sideaboutimg.jpg') right center/cover no-repeat;
}

.subpage.team-page .team-hero .hero-content {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}

.subpage.team-page .team-hero .hero-eyebrow,
.subpage.team-page .team-hero h1,
.subpage.team-page .team-hero p {
    max-width: 520px;
}

.subpage.team-page .team-section {
    padding: 78px 0 82px;
}

.subpage.team-page .team-section .section-header {
    max-width: 660px;
    margin: 0 auto 42px;
    text-align: center;
}

.subpage.team-page .team-section .section-header h2 {
    margin-bottom: 18px;
}

.subpage.team-page .team-section .section-header p {
    margin-top: 0;
}

.subpage.team-page .team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
    gap: 34px 40px;
    margin-top: 0;
}

.subpage.team-page .team-member {
    width: 100%;
}

/* Give team photos a consistent frame and show the complete image on desktop. */
@media (min-width: 761px) {
    .subpage.about-page .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
        justify-content: center;
        gap: 32px;
    }

    .subpage.team-page .team-member,
    .subpage.about-page .team-member {
        max-width: 380px;
        margin-inline: auto;
        border-radius: 14px;
        border: 1px solid rgba(43, 34, 48, 0.09);
        box-shadow: 0 12px 34px rgba(43, 34, 48, 0.1);
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .subpage.team-page .team-member:hover,
    .subpage.about-page .team-member:hover {
        transform: translateY(-5px);
        border-color: rgba(180, 41, 103, 0.24);
        box-shadow: 0 20px 46px rgba(43, 34, 48, 0.15);
    }

    .subpage.team-page .team-member-image,
    .subpage.about-page .team-member-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        background: #181418;
        border-radius: 14px 14px 0 0;
    }

    .subpage.team-page .team-member-image img,
    .subpage.about-page .team-member-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .subpage.team-page .team-member:hover .team-member-image img,
    .subpage.about-page .team-member:hover .team-member-image img {
        transform: none;
    }

    .subpage.team-page .team-member-info,
    .subpage.about-page .team-member-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 205px;
        padding: 22px 24px 24px;
        border-top: 3px solid var(--primary-color);
        background: #fff;
    }

    .subpage.team-page .team-member-info h4,
    .subpage.about-page .team-member-info h4 {
        margin: 0 0 10px;
        color: #211a25;
        font-size: 1.32rem;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -0.015em;
    }

    .subpage.team-page .team-member-info .position,
    .subpage.about-page .team-member-info .position {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 0 15px;
        padding: 5px 11px;
        border-radius: 999px;
        background: rgba(180, 41, 103, 0.08);
        color: #a22461;
        font-size: 0.75rem;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: 0.08em;
    }

    .subpage.team-page .team-member-info p,
    .subpage.about-page .team-member-info p {
        margin-bottom: 16px;
        max-width: 32ch;
        color: #665d69;
        font-size: 0.94rem;
        font-weight: 400;
        line-height: 1.55;
        text-align: center;
    }

    .subpage.team-page .team-member-info .view-profile-btn,
    .subpage.about-page .team-member-info .view-profile-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 150px;
        min-height: 46px;
        margin-top: auto;
        padding: 11px 24px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--primary-color), #812064);
        box-shadow: 0 8px 20px rgba(180, 41, 103, 0.2);
    }
}

@media (max-width: 760px) {
    .subpage.team-page .team-section {
        padding: 58px 0 62px;
    }

    .subpage.team-page .team-grid {
        grid-template-columns: minmax(0, 360px);
        gap: 28px;
    }
}

/* Home donation popout. */
.home-page button.btn,
.home-page button.premium-btn {
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.donation-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.donation-modal.is-open {
    display: flex;
}

.donation-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 20, 27, 0.62);
    backdrop-filter: blur(5px);
}

.donation-modal-panel {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 44px);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(12, 20, 27, 0.25);
}

.donation-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-dark);
    cursor: pointer;
}

.donation-account-card {
    padding: 38px;
    background:
        linear-gradient(135deg, rgba(15, 76, 76, 0.95), rgba(43, 34, 48, 0.86)),
        url('../images/student-library.jpg') center/cover no-repeat;
    color: #fff;
}

.donation-modal-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.donation-account-card h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 34px;
    line-height: 1.12;
}

.donation-account-card p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.account-details {
    display: grid;
    gap: 14px;
}

.account-details > div {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.account-details span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.account-details strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
}

.account-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.copy-account-btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: var(--primary-color);
    font-weight: 900;
    cursor: pointer;
}

.donation-info-form {
    display: grid;
    gap: 16px;
    padding: 38px;
}

.donation-info-form .form-group {
    display: grid;
    gap: 8px;
}

.donation-info-form label {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 900;
}

.donation-info-form input,
.donation-info-form input[type="file"],
.donation-info-form select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dfe8ee;
    border-radius: 6px;
    background: #fff;
    color: var(--text-dark);
    font: inherit;
}

.donation-info-form input[type="file"] {
    padding: 10px;
}

.donation-upload-help {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.5;
}

.donation-info-form input:focus,
.donation-info-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.donation-info-form input[readonly] {
    background: var(--surface-cool);
    color: var(--text-light);
}

.donation-submit-btn {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
}

.donation-form-note {
    min-height: 20px;
    margin: 0;
    color: var(--support-teal);
    font-size: 13px;
    font-weight: 800;
}

body.donation-modal-open {
    overflow: hidden;
}

/* Projects listing page */
.projects-page .projects-list-hero {
    position: relative;
    background: linear-gradient(135deg, #203040 0%, #168a84 62%, #ff9638 100%);
    color: #fff;
    padding: 104px 0 58px;
    overflow: hidden;
}

.projects-page .projects-list-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 24, 35, 0.74), rgba(12, 24, 35, 0.3)),
        url('../images/selection_citeria.jpg') center/cover;
    opacity: 0.22;
}

.projects-page .projects-list-hero .container {
    position: relative;
    z-index: 1;
}

.projects-page .projects-list-hero h1 {
    max-width: 820px;
    margin: 8px 0 12px;
    color: #fff;
    font-size: 3.6rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.projects-page .projects-list-hero .subtitle {
    max-width: 760px;
    color: rgba(255,255,255,0.88);
    font-size: 1.08rem;
    line-height: 1.7;
}

.projects-page .section-kicker {
    display: inline-flex;
    color: #ffe0bd;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.projects-page .projects-list-shell {
    padding: 64px 0 86px;
    background: linear-gradient(180deg, #f7fbfb 0%, #fff 46%, #f9fbfc 100%);
}

.projects-page .projects-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.projects-page .project-list-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid rgba(22, 138, 132, 0.14);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(24, 34, 45, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.projects-page .project-list-card:hover {
    transform: translateY(-3px);
    border-color: rgba(22, 138, 132, 0.28);
    box-shadow: 0 22px 46px rgba(24, 34, 45, 0.12);
}

.projects-page .project-list-media {
    position: relative;
    display: block;
    height: 236px;
    min-height: 236px;
    background: linear-gradient(135deg, #203040, #168a84);
    overflow: hidden;
}

.projects-page .project-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.projects-page .project-list-card:hover .project-list-media img {
    transform: scale(1.035);
}

.projects-page .project-list-media-fallback {
    width: 100%;
    height: 100%;
    min-height: 236px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.92);
    font-size: 3rem;
    background:
        linear-gradient(135deg, rgba(32, 48, 64, 0.86), rgba(22, 138, 132, 0.86)),
        radial-gradient(circle at 20% 20%, rgba(255, 150, 56, 0.34), transparent 34%);
}

.projects-page .category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.92);
    color: #1d3557;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.projects-page .project-list-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    flex: 1 1 auto;
}

.projects-page .project-list-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.projects-page .project-list-heading h2 {
    color: #203040;
    font-size: 1.85rem;
    line-height: 1.18;
    margin: 4px 0 12px;
    letter-spacing: 0;
}

.projects-page .project-list-kicker {
    color: #168a84;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.projects-page .project-description {
    color: #5f6b76;
    line-height: 1.7;
    margin-bottom: 18px;
    min-height: 78px;
}

.projects-page .project-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.projects-page .project-list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 6px;
    background: #f4f8fa;
    color: #52616d;
    font-size: 0.82rem;
    font-weight: 700;
}

.projects-page .project-list-meta i {
    color: #168a84;
}

.projects-page .project-progress-summary {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 10px;
}

.projects-page .project-progress-summary strong,
.projects-page .project-progress-summary span {
    display: block;
}

.projects-page .project-progress-summary strong {
    color: #203040;
    font-size: 1.15rem;
}

.projects-page .project-progress-summary span {
    color: #6b7682;
    font-size: 0.9rem;
}

.projects-page .project-progress-percent {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 34px;
    border-radius: 999px;
    background: #eef8f6;
    color: #0f6f5f !important;
    font-weight: 800;
}

.projects-page .project-list-card .progress-bar {
    height: 9px;
    background: #edf1f3;
    border-radius: 999px;
    overflow: hidden;
}

.projects-page .project-list-card .progress {
    height: 100%;
    background: linear-gradient(90deg, #168a84, #ff9638);
    border-radius: inherit;
}

.projects-page .project-list-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #edf1f3;
}

.projects-page .project-remaining {
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
    min-width: 0;
}

.projects-page .project-remaining span,
.projects-page .project-remaining strong {
    display: block;
}

.projects-page .project-remaining span {
    color: #6b7682;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.projects-page .project-remaining strong {
    color: #203040;
    font-size: 1.05rem;
    margin-top: 4px;
}

.projects-page .project-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #168a84;
    font-weight: 800;
    text-decoration: none;
}

.projects-page .project-text-link:hover {
    color: #0f6f5f;
    text-decoration: none;
}

.projects-page .project-donate-btn {
    min-width: 138px;
    justify-content: center;
}

.projects-page .projects-empty-state {
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(24, 34, 45, 0.08);
}

.projects-page .projects-empty-state i {
    color: #168a84;
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.projects-page .projects-empty-state h2 {
    color: #203040;
    margin-bottom: 8px;
}

.projects-page .projects-empty-state p {
    color: #6b7682;
}

@media (max-width: 980px) {
    .projects-page .projects-list {
        grid-template-columns: 1fr;
    }

    .projects-page .project-list-media {
        min-height: 240px;
        height: 260px;
    }

    .projects-page .project-list-content {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .projects-page .projects-list-hero {
        padding: 52px 0 34px;
    }

    .projects-page .projects-list-shell {
        padding: 28px 0 48px;
    }

    .projects-page .project-list-media {
        min-height: 210px;
        height: 210px;
    }

    .projects-page .project-list-content {
        padding: 20px;
        gap: 20px;
    }

    .projects-page .project-description {
        min-height: 0;
    }

    .projects-page .project-progress-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .projects-page .project-list-aside {
        grid-template-columns: 1fr;
    }

    .projects-page .project-list-aside .btn {
        width: 100%;
    }
}

/* Project detail page */
.project-detail-page .project-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    background: linear-gradient(135deg, #203040 0%, #168a84 64%, #ff9638 100%);
    color: #fff;
}

.project-detail-page .project-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 24, 35, 0.76), rgba(12, 24, 35, 0.28)),
        url('../images/aboutmissionbg.jpg') center/cover;
    opacity: 0.22;
}

.project-detail-page .project-detail-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 42px;
    align-items: center;
}

.project-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.86);
    font-weight: 800;
    text-decoration: none;
}

.project-back-link:hover {
    color: #fff;
    text-decoration: none;
}

.project-detail-copy h1 {
    max-width: 820px;
    margin: 10px 0 16px;
    color: #fff;
    font-size: 4rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.project-detail-copy p {
    max-width: 780px;
    color: rgba(255,255,255,0.9);
    font-size: 1.08rem;
    line-height: 1.75;
}

.project-detail-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 20px;
}

.project-detail-stats div {
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.project-detail-stats strong,
.project-detail-stats span {
    display: block;
}

.project-detail-stats strong {
    color: #fff;
    font-size: 1.15rem;
}

.project-detail-stats span {
    margin-top: 4px;
    color: rgba(255,255,255,0.74);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.project-detail-progress {
    margin-bottom: 24px;
}

.project-detail-progress .progress-bar {
    height: 10px;
    background: rgba(255,255,255,0.24);
    border-radius: 999px;
    overflow: hidden;
}

.project-detail-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9638, #fff1d6);
    border-radius: inherit;
}

.project-detail-progress span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.82);
    font-size: 0.92rem;
    font-weight: 800;
}

.project-detail-donate {
    min-width: 190px;
    justify-content: center;
}

.project-detail-media {
    min-height: 430px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0,0,0,0.28);
    background: rgba(255,255,255,0.12);
}

.project-detail-media img,
.project-detail-media-fallback {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-detail-media-fallback {
    color: rgba(255,255,255,0.92);
    font-size: 4rem;
    background:
        linear-gradient(135deg, rgba(32, 48, 64, 0.86), rgba(22, 138, 132, 0.86)),
        radial-gradient(circle at 20% 20%, rgba(255, 150, 56, 0.34), transparent 34%);
}

.project-detail-body {
    padding: 68px 0 86px;
    background: linear-gradient(180deg, #f7fbfb 0%, #fff 52%, #f9fbfc 100%);
}

.project-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 28px;
    align-items: start;
}

.project-detail-main {
    display: grid;
    gap: 22px;
}

.project-detail-panel,
.project-side-card {
    background: #fff;
    border: 1px solid rgba(22, 138, 132, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(24, 34, 45, 0.08);
}

.project-detail-panel {
    padding: 30px;
}

.project-detail-panel h2,
.project-side-card h3 {
    margin-bottom: 16px;
    color: #203040;
    letter-spacing: 0;
}

.project-detail-panel h2 {
    font-size: 1.8rem;
}

.project-rich-text {
    color: #5f6b76;
    font-size: 1rem;
    line-height: 1.85;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.project-info-grid div {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
}

.project-info-grid i {
    color: #168a84;
    font-size: 1.1rem;
}

.project-info-grid span {
    color: #6b7682;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.project-info-grid strong {
    color: #203040;
    font-size: 0.98rem;
}

.project-detail-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 20px;
}

.project-side-card {
    padding: 24px;
}

.project-side-card .donors-list {
    display: grid;
    gap: 12px;
}

.project-side-card .donor-item {
    padding: 14px;
    border: 1px solid #e6eef2;
    border-radius: 8px;
    background: #f8fafc;
}

.project-side-card .donor-info {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.project-side-card .donor-name {
    color: #203040;
    font-weight: 900;
}

.project-side-card .donor-amount {
    color: #168a84;
    font-weight: 900;
}

.project-side-card .donor-message {
    margin: 8px 0;
    color: #5f6b76;
    font-style: italic;
}

.project-side-card .donor-date,
.project-side-card .no-donors {
    color: #6b7682;
    font-size: 0.9rem;
}

.project-side-card .share-buttons {
    display: grid;
    gap: 10px;
}

.project-side-card .share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.project-side-card .share-btn.twitter { background: #111827; }
.project-side-card .share-btn.facebook { background: #1877f2; }
.project-side-card .share-btn.whatsapp { background: #25d366; }

.project-side-card .share-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.blog-empty-state {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 64px 24px;
    border: 1px solid rgba(22, 138, 132, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
    box-shadow: 0 18px 42px rgba(24, 34, 45, 0.08);
    text-align: center;
}

.blog-empty-state i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(22, 138, 132, 0.1);
    color: #168a84;
    font-size: 1.6rem;
}

.blog-empty-state h2 {
    margin: 4px 0 0;
    color: #203040;
    font-size: 1.8rem;
    letter-spacing: 0;
}

.blog-empty-state p {
    max-width: 520px;
    margin: 0;
    color: #5f6b76;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .project-detail-page .project-detail-hero-grid,
    .project-detail-layout {
        grid-template-columns: 1fr;
    }

    .project-detail-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .project-detail-page .project-detail-hero {
        padding: 56px 0 42px;
    }

    .project-detail-stats,
    .project-info-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-media,
    .project-detail-media img,
    .project-detail-media-fallback {
        min-height: 260px;
    }

    .project-detail-panel,
    .project-side-card {
        padding: 20px;
    }
}

@media (max-width: 760px) {
    .donation-modal {
        align-items: flex-start;
        padding: 14px;
    }

    .donation-modal-panel {
        grid-template-columns: minmax(0, 1fr);
        max-height: calc(100vh - 28px);
    }

    .donation-account-card,
    .donation-info-form {
        padding: 26px;
    }

    .donation-account-card h2 {
        font-size: 28px;
    }
}

@media (max-width: 980px) {
    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .member-hero h1,
    .subpage .article-title,
    .projects-page .projects-list-hero h1,
    .project-detail-copy h1 {
        font-size: 42px;
    }

    .subpage .education-cta h2,
    .subpage .education-cta h3,
    .subpage .scholarships-cta h2,
    .subpage .scholarship-cta h2,
    .subpage .join-team-section h2 {
        font-size: 36px;
    }

    .projects-page .project-list-heading h2,
    .project-detail-panel h2,
    .blog-empty-state h2 {
        font-size: 1.55rem;
    }

    .auth-page .auth-copy h1 {
        font-size: 48px;
    }
}

@media (max-width: 560px) {
    .subpage .about-hero h1,
    .subpage .blog-hero h1,
    .subpage .scholarships-hero h1,
    .subpage .contact-hero h1,
    .subpage .team-hero h1,
    .subpage .scholarship-hero h1,
    .subpage .member-hero h1,
    .subpage .article-title,
    .projects-page .projects-list-hero h1,
    .project-detail-copy h1 {
        font-size: 34px;
    }

    .subpage .education-cta h2,
    .subpage .education-cta h3,
    .subpage .scholarships-cta h2,
    .subpage .scholarship-cta h2,
    .subpage .join-team-section h2 {
        font-size: 30px;
    }

    .projects-page .project-list-heading h2,
    .project-detail-panel h2,
    .blog-empty-state h2 {
        font-size: 1.35rem;
    }

    .auth-page .auth-copy h1 {
        font-size: 36px;
    }
}

/* Home responsive rhythm and footer typography */
.home-page + .footer-dark {
    margin-top: 0;
}

.home-page .info-stats,
.home-page .selection-criteria,
.home-page .donate-widget,
.home-page .home-blog-section,
.home-page .testimonials {
    padding-top: 72px;
    padding-bottom: 72px;
}

.home-page .donate-banner,
.home-page .apply-cta,
.home-page .education-cta {
    margin-top: 0;
    margin-bottom: 0;
}

.home-page .selection-criteria + .donate-banner,
.home-page .donate-banner + .apply-cta,
.home-page .apply-cta + .donate-widget,
.home-page .donate-widget + .education-cta,
.home-page .education-cta + .home-blog-section,
.home-page .home-blog-section + .testimonials {
    margin-top: 0;
}

.footer-dark {
    font-size: 15px;
}

.footer-about h4 {
    font-size: 22px;
    line-height: 1.2;
}

.footer-links h5,
.footer-contact h5,
.footer-newsletter h5 {
    font-size: 17px;
    line-height: 1.25;
}

.footer-about p,
.footer-links a,
.footer-contact a,
.footer-contact p,
.footer-newsletter p {
    font-size: 14px;
    line-height: 1.65;
}

.footer-bottom,
.footer-bottom p,
.footer-bottom .developer-credit {
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .home-page .info-stats,
    .home-page .selection-criteria,
    .home-page .donate-widget,
    .home-page .home-blog-section,
    .home-page .testimonials {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .home-page .donate-banner,
    .home-page .apply-cta,
    .home-page .education-cta {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .home-page .testimonials {
        padding-bottom: 44px;
    }

    .home-page + .footer-dark {
        padding-top: 44px;
    }

    .footer-about h4 {
        font-size: 20px;
    }

    .footer-links h5,
    .footer-contact h5,
    .footer-newsletter h5 {
        font-size: 16px;
    }

    .footer-about p,
    .footer-links a,
    .footer-contact a,
    .footer-contact p,
    .footer-newsletter p {
        font-size: 13px;
    }

    .footer-bottom,
    .footer-bottom p,
    .footer-bottom .developer-credit {
        font-size: 12px;
    }
}

@media (max-width: 520px) {
    .home-page .info-stats,
    .home-page .selection-criteria,
    .home-page .donate-widget,
    .home-page .home-blog-section,
    .home-page .testimonials {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .home-page .donate-banner,
    .home-page .apply-cta,
    .home-page .education-cta {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .home-page .section-header {
        margin-bottom: 22px;
    }

    .home-page + .footer-dark {
        padding-top: 38px;
    }

    .footer-about,
    .footer-links,
    .footer-contact,
    .footer-newsletter {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .footer-about h4 {
        font-size: 18px;
    }

    .footer-links h5,
    .footer-contact h5,
    .footer-newsletter h5 {
        font-size: 15px;
    }

    .footer-about p,
    .footer-links a,
    .footer-contact a,
    .footer-contact p,
    .footer-newsletter p,
    .newsletter-input,
    .newsletter-btn {
        font-size: 13px;
    }

    .newsletter-note,
    .footer-about small {
        font-size: 11px;
    }

    .footer-bottom,
    .footer-bottom p,
    .footer-bottom .developer-credit {
        font-size: 11px;
        text-align: left;
    }
}

