:root {
    --primary: #5b1830;
    --primary-dark: #3d1020;
    --gold: #c89b3c;
    --green: #315b3b;

    --cream: #faf7f1;
    --light: #ffffff;
    --dark: #1d1d1d;
    --text: #666666;
    --border: #e9e4dc;

    --font-body: 'DM Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --transition: all 0.3s ease;
}


/* =========================
   GENERAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: var(--font-body);

    color: var(--text);

    background: var(--light);

    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);

    color: var(--dark);

    line-height: 1.25;
}

a {
    text-decoration: none;

    transition: var(--transition);
}

a:hover {
    text-decoration: none;
}


/* =========================
   TOP BAR
========================= */

.top-bar {
    background: var(--primary);

    color: rgba(255,255,255,0.85);

    font-size: 13px;

    padding: 9px 0;
}

.top-bar-inner {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.top-contact {
    display: flex;

    gap: 25px;
}

.top-contact span {
    display: inline-flex;

    align-items: center;

    gap: 8px;
}

.top-contact i {
    color: var(--gold);
}

.top-social {
    display: flex;

    gap: 14px;
}

.top-social a {
    color: #fff;

    font-size: 13px;
}

.top-social a:hover {
    color: var(--gold);
}


/* =========================
   HEADER
========================= */

.site-header {
    background: #fff;

    position: relative;

    z-index: 1000;

    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
}

.navbar {
    padding: 16px 0;
}

.navbar-brand {
    display: flex;

    align-items: center;

    gap: 11px;
}

.brand-mark {
    width: 47px;

    height: 47px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--gold);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;
}

.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.brand-name {
    font-family: var(--font-heading);

    font-size: 23px;

    font-weight: 700;

    color: var(--primary);
}

.brand-subtitle {
    font-size: 9px;

    letter-spacing: 4px;

    color: var(--gold);

    font-weight: 700;

    margin-top: 5px;
}


/* =========================
   NAVIGATION
========================= */

.navbar-nav {
    align-items: center;
}

.nav-link {
    color: var(--dark) !important;

    font-size: 14px;

    font-weight: 600;

    padding: 10px 14px !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-donate {
    background: var(--primary);

    color: #fff !important;

    padding: 11px 22px !important;

    border-radius: 4px;
}

.nav-donate:hover {
    background: var(--primary-dark);

    color: #fff !important;
}

.dropdown-menu {
    border: 0;

    border-radius: 0;

    box-shadow: 0 12px 35px rgba(0,0,0,0.1);

    padding: 10px;
}

.dropdown-item {
    font-size: 14px;

    padding: 9px 15px;
}

.dropdown-item:hover {
    background: var(--cream);

    color: var(--primary);
}


/* =========================
   HERO
========================= */

.hero-section {
    min-height: 690px;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        url('../images/students/hero.webp');

    background-size: cover;

    background-position: center;

    color: #fff;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(40, 10, 20, 0.88) 0%,
            rgba(40, 10, 20, 0.62) 45%,
            rgba(40, 10, 20, 0.18) 100%
        );
}

.hero-content {
    position: relative;

    max-width: 680px;

    padding: 100px 0;
}

.hero-eyebrow {
    display: inline-block;

    color: var(--gold);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.hero-content h1 {
    color: #fff;

    font-size: clamp(48px, 6vw, 76px);

    margin-bottom: 25px;
}

.hero-content h1 span {
    color: #f0d28a;
}

.hero-content p {
    font-size: 19px;

    max-width: 570px;

    color: rgba(255,255,255,0.9);

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;
}

.btn-primary-custom {
    background: var(--gold);

    color: #fff;

    padding: 13px 25px;

    font-weight: 700;

    border-radius: 4px;
}

.btn-primary-custom:hover {
    background: #b28631;

    color: #fff;
}

.btn-primary-custom i {
    margin-left: 8px;
}

.btn-outline-light-custom {
    border: 1px solid rgba(255,255,255,0.65);

    color: #fff;

    padding: 13px 25px;

    font-weight: 600;

    border-radius: 4px;
}

.btn-outline-light-custom:hover {
    background: #fff;

    color: var(--primary);
}

.hero-scroll {
    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    color: rgba(255,255,255,0.75);

    font-size: 11px;

    letter-spacing: 1px;
}

.hero-scroll i {
    margin-top: 6px;
}


/* =========================
   SECTIONS
========================= */

.intro-section,
.pillars-section {
    padding: 110px 0;
}

.intro-section {
    background: var(--cream);
}

.section-eyebrow {
    display: inline-block;

    color: var(--gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.section-heading h2 {
    font-size: 45px;

    margin-bottom: 20px;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading p {
    max-width: 650px;

    margin-left: auto;

    margin-right: auto;
}

.lead-text {
    font-size: 18px;

    color: #444;

    line-height: 1.8;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 15px;

    color: var(--primary);

    font-weight: 700;
}

.text-link:hover {
    color: var(--gold);
}


/* =========================
   PILLARS
========================= */

.pillars-section {
    background: #fff;
}

.pillar-card {
    height: 100%;

    padding: 35px 28px;

    background: #fff;

    border: 1px solid var(--border);

    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-8px);

    border-color: transparent;

    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.pillar-icon {
    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: var(--cream);

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

    margin-bottom: 22px;
}

.pillar-card h3 {
    font-size: 24px;

    margin-bottom: 15px;
}

.pillar-card p {
    font-size: 14px;

    margin-bottom: 20px;
}

.pillar-card a {
    color: var(--primary);

    font-size: 13px;

    font-weight: 700;
}

.pillar-card a i {
    margin-left: 5px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: #24151b;

    color: rgba(255,255,255,0.7);

    padding: 80px 0 0;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}

.footer-brand-icon {
    width: 46px;

    height: 46px;

    background: var(--gold);

    color: #fff;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;
}

.footer-brand h4 {
    color: #fff;

    margin: 0;

    font-size: 23px;
}

.footer-brand span {
    font-size: 9px;

    letter-spacing: 3px;

    color: var(--gold);
}

.footer-description {
    font-size: 14px;

    max-width: 330px;
}

.footer-social {
    display: flex;

    gap: 10px;

    margin-top: 20px;
}

.footer-social a {
    width: 36px;

    height: 36px;

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    font-size: 13px;
}

.footer-social a:hover {
    background: var(--gold);

    border-color: var(--gold);
}

.footer-title {
    color: #fff;

    font-family: var(--font-body);

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 22px;
}

.footer-links {
    list-style: none;

    padding: 0;

    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.65);

    font-size: 14px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    list-style: none;

    padding: 0;

    margin: 0;
}

.footer-contact li {
    display: flex;

    gap: 13px;

    margin-bottom: 20px;
}

.footer-contact > li > i {
    color: var(--gold);

    margin-top: 5px;
}

.footer-contact span {
    display: block;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: rgba(255,255,255,0.4);

    margin-bottom: 3px;
}

.footer-contact a,
.footer-contact p {
    color: rgba(255,255,255,0.75);

    font-size: 13px;

    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);

    margin-top: 60px;

    padding: 22px 0;
}

.footer-bottom p {
    margin: 0;

    font-size: 12px;
}


/* =========================
   BACK TO TOP
========================= */

.back-to-top {
    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 43px;

    height: 43px;

    background: var(--primary);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    opacity: 0;

    visibility: hidden;

    z-index: 999;

    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.back-to-top.show {
    opacity: 1;

    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold);

    color: #fff;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {

    .top-contact span:nth-child(2) {
        display: none;
    }

    .top-social {
        display: none;
    }

    .navbar {
        padding: 13px 0;
    }

    .navbar-collapse {
        margin-top: 15px;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .nav-donate {
        display: inline-block;

        margin-top: 8px;
    }

    .hero-section {
        min-height: 620px;
    }

    .hero-content {
        padding: 80px 0;
    }

    .intro-section,
    .pillars-section {
        padding: 80px 0;
    }

    .section-heading h2 {
        font-size: 38px;
    }

}


@media (max-width: 575px) {

    .top-bar {
        display: none;
    }

    .brand-name {
        font-size: 20px;
    }

    .brand-mark {
        width: 40px;

        height: 40px;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .intro-section,
    .pillars-section {
        padding: 65px 0;
    }

}

/* =====================================================
   IMPACT STATISTICS
===================================================== */

.impact-section {
    background: var(--primary);
    padding: 65px 0;
    color: #fff;
}

.impact-item {
    padding: 10px 15px;
}

.impact-icon {
    color: var(--gold);
    font-size: 23px;
    margin-bottom: 12px;
}

.impact-number {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 43px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.impact-label {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =====================================================
   FOUNDER
===================================================== */

.founder-section {
    padding: 115px 0;
    background: var(--cream);
}

.founder-image-wrap {
    position: relative;
    max-width: 480px;
}

.founder-image {
    width: 100%;
    display: block;
}

.founder-image-wrap::after {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 80%;
    height: 80%;
    border: 2px solid var(--gold);
    z-index: 0;
}

.founder-image {
    position: relative;
    z-index: 1;
}

.founder-badge {
    position: absolute;
    right: -30px;
    bottom: 35px;
    z-index: 2;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background: var(--primary);
    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.founder-badge span {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--gold);
    line-height: 1;
}

.founder-badge small {
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-top: 6px;
}

.founder-title {
    font-size: 46px;
    margin-bottom: 25px;
}

.founder-title span {
    color: var(--primary);
}

.btn-dark-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: var(--primary);
    color: #fff;

    padding: 13px 25px;

    font-size: 13px;
    font-weight: 700;

    border-radius: 4px;

    margin-top: 12px;
}

.btn-dark-custom:hover {
    background: var(--primary-dark);
    color: #fff;
}


/* =====================================================
   SCHOOLS
===================================================== */

.schools-section {
    padding: 110px 0;
    background: #fff;
}

.school-card {
    height: 100%;
    background: #fff;

    border: 1px solid var(--border);

    transition: var(--transition);
}

.school-card:hover {
    transform: translateY(-6px);
    border-color: transparent;

    box-shadow: 0 20px 50px rgba(0,0,0,0.09);
}

.school-image {
    height: 310px;
    position: relative;
    overflow: hidden;
}

.school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.6s ease;
}

.school-card:hover .school-image img {
    transform: scale(1.05);
}

.school-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;

    padding: 35px 25px 18px;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.72)
    );
}

.school-overlay span {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.school-content {
    padding: 30px;
}

.school-content h3 {
    font-size: 27px;
    margin-bottom: 13px;
}

.school-content p {
    font-size: 14px;
}

.school-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.school-content li {
    font-size: 13px;
    margin-bottom: 8px;
}

.school-content li i {
    color: var(--gold);
    margin-right: 8px;
}

.school-content > a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.school-content > a i {
    margin-left: 6px;
}

.schools-link {
    margin-top: 25px;
}


/* =====================================================
   EDUCATION FUND
===================================================== */

.education-fund-section {
    position: relative;

    padding: 105px 0;

    background-image:
        url('../images/students/education-fund.jpg');

    background-size: cover;
    background-position: center;

    color: #fff;
}

.education-fund-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(47, 14, 27, 0.96),
            rgba(67, 22, 36, 0.82)
        );
}

.education-fund-section .container {
    position: relative;
    z-index: 1;
}

.light-eyebrow {
    color: var(--gold);
}

.education-fund-section h2 {
    color: #fff;
    font-size: 52px;
    margin-bottom: 22px;
}

.education-fund-section h2 span {
    color: #f0d28a;
}

.fund-intro {
    max-width: 650px;

    font-size: 18px;

    color: rgba(255,255,255,0.82);

    margin-bottom: 30px;
}

.fund-support-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
    max-width: 650px;
}

.fund-support-list span {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

.fund-support-list i {
    color: var(--gold);
    margin-right: 7px;
}

.fund-target-card {
    background: #fff;
    color: var(--dark);

    padding: 38px 35px;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.fund-target-card > span {
    display: block;

    color: var(--gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.fund-target-card > strong {
    display: block;

    color: var(--primary);

    font-family: var(--font-heading);

    font-size: 52px;

    line-height: 1;

    margin-bottom: 18px;
}

.fund-target-card p {
    font-size: 14px;
    margin-bottom: 25px;
}

.fund-target-card p strong {
    color: var(--primary);
}

.btn-gold-full {
    width: 100%;

    background: var(--gold);
    color: #fff;

    padding: 13px 20px;

    font-size: 13px;
    font-weight: 700;

    border-radius: 4px;
}

.btn-gold-full:hover {
    background: #b28631;
    color: #fff;
}

.btn-gold-full i {
    margin-left: 7px;
}

.fund-secondary-link {
    display: inline-block;

    margin-top: 17px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;
}


/* =====================================================
   SPORTS
===================================================== */

.sports-section {
    padding: 115px 0;
    background: var(--cream);
}

.sports-image-wrap {
    position: relative;

    margin-left: 20px;
}

.sports-image-wrap::before {
    content: "";

    position: absolute;

    width: 80%;
    height: 80%;

    right: -18px;
    bottom: -18px;

    border: 2px solid var(--gold);

    z-index: 0;
}

.sports-image-wrap img {
    width: 100%;

    position: relative;

    z-index: 1;
}

.sports-image-caption {
    position: absolute;

    left: 25px;
    bottom: 25px;

    z-index: 2;

    display: flex;
    align-items: center;
    gap: 10px;

    background: var(--primary);

    color: #fff;

    padding: 12px 18px;

    font-size: 12px;
    font-weight: 600;
}

.sports-image-caption i {
    color: var(--gold);
}

.sports-title {
    font-size: 45px;
    margin-bottom: 22px;
}

.sports-title span {
    color: var(--primary);
}

.sports-programs {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin: 25px 0;
}

.sports-programs div {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 13px;
    font-weight: 600;

    color: var(--dark);
}

.sports-programs i {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #fff;

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =====================================================
   INSPIRATION
===================================================== */

.inspiration-section {
    padding: 110px 0;

    background:
        linear-gradient(
            rgba(91, 24, 48, 0.96),
            rgba(61, 16, 32, 0.97)
        );

    color: #fff;

    text-align: center;
}

.inspiration-content {
    max-width: 850px;
    margin: 0 auto;
}

.inspiration-section .section-eyebrow {
    color: var(--gold);
}

.quote-mark {
    font-size: 25px;
    color: var(--gold);
    margin-bottom: 15px;
}

.inspiration-section h2 {
    color: #fff;
    font-size: 48px;
    margin-bottom: 25px;
}

.inspiration-section h2 span {
    color: #f0d28a;
}

.inspiration-section p {
    max-width: 760px;
    margin: 0 auto;

    font-size: 17px;
    line-height: 1.9;

    color: rgba(255,255,255,0.78);
}

.inspiration-names {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 40px;

    margin-top: 40px;

    padding-top: 30px;

    border-top: 1px solid rgba(255,255,255,0.15);
}

.inspiration-names span {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 18px;
}

.inspiration-names small {
    display: block;

    font-family: var(--font-body);

    color: rgba(255,255,255,0.5);

    font-size: 10px;

    letter-spacing: 1px;

    margin-top: 4px;
}


/* =====================================================
   GALLERY
===================================================== */

.gallery-section {
    padding: 110px 0;
    background: #fff;
}

.gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 35px;
}

.gallery-heading h2 {
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;

    grid-template-columns: 1.4fr 1fr 1fr;

    grid-template-rows: 240px 240px;

    gap: 12px;
}

.gallery-item {
    position: relative;

    display: block;

    overflow: hidden;

    background: #ddd;
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        transparent 50%,
        rgba(0,0,0,0.7)
    );
}

.gallery-caption {
    position: absolute;

    left: 20px;
    bottom: 18px;

    z-index: 2;
}

.gallery-caption span {
    color: #fff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =====================================================
   FINAL CTA
===================================================== */

.final-cta-section {
    padding: 105px 0;

    background: var(--cream);

    text-align: center;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 52px;
    margin-bottom: 18px;
}

.final-cta-content h2 span {
    color: var(--primary);
}

.final-cta-content p {
    font-size: 17px;
    margin-bottom: 30px;
}

.final-cta-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}

.btn-outline-dark-custom {
    border: 1px solid var(--primary);

    color: var(--primary);

    padding: 13px 24px;

    font-size: 13px;

    font-weight: 700;

    border-radius: 4px;
}

.btn-outline-dark-custom:hover {
    background: var(--primary);
    color: #fff;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .founder-section,
    .schools-section,
    .sports-section,
    .gallery-section {
        padding: 80px 0;
    }

    .founder-image-wrap {
        margin: 0 auto;
    }

    .founder-title,
    .sports-title {
        font-size: 38px;
    }

    .education-fund-section h2,
    .inspiration-section h2,
    .final-cta-content h2 {
        font-size: 40px;
    }

    .sports-image-wrap {
        margin-left: 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 250px 250px;
    }

    .gallery-item:first-child {
        grid-row: span 2;
    }

}


@media (max-width: 575px) {

    .impact-section {
        padding: 50px 0;
    }

    .impact-number {
        font-size: 32px;
    }

    .impact-label {
        font-size: 9px;
    }

    .founder-badge {
        right: 5px;
        bottom: 20px;

        width: 105px;
        height: 105px;
    }

    .founder-badge span {
        font-size: 32px;
    }

    .founder-title,
    .sports-title {
        font-size: 34px;
    }

    .education-fund-section h2,
    .inspiration-section h2,
    .final-cta-content h2 {
        font-size: 34px;
    }

    .fund-target-card > strong {
        font-size: 43px;
    }

    .sports-programs {
        grid-template-columns: 1fr;
    }

    .gallery-heading {
        display: block;
    }

    .gallery-heading .text-link {
        margin-top: 15px;
    }

    .gallery-grid {
        display: grid;

        grid-template-columns: 1fr;

        grid-template-rows: repeat(5, 230px);
    }

    .gallery-item:first-child {
        grid-row: span 1;
    }

    .final-cta-buttons {
        flex-direction: column;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }

}