/* Variables */
:root {
    --primary-teal: #005d6e;
    --primary-teal-dark: #004653;
    --accent-gold: #d0923f;
    --bg-cream: #f9f8f4;
    --text-dark: #2c3e50;
    --border-color: #e5e5e5;
}

/* Global Rules */
body {
    overflow-y: hidden;
}

/* Typography Custom Classes */
.font-montserrat {
    font-family: 'Montserrat', sans-serif !important;
}

.font-serif {
    font-family: 'Times New Roman', Times, serif !important;
}

.font-opensans {
    font-family: 'Open Sans', sans-serif !important;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

h1,
.h1 {
    font-size: 42px !important;
}

h2,
.h2 {
    font-size: 34px !important;
}

h3,
.h3 {
    font-size: 28px !important;
}

h4,
.h4 {
    font-size: 24px !important;
}

h5,
.h5 {
    font-size: 20px !important;
}

h6,
.h6 {
    font-size: 17px !important;
}

p {
    font-size: 16px !important;
    line-height: 1.5;
}

h5,
.h5 {
    font-size: 20px !important;
}

h6,
.h6 {
    font-size: 17px !important;
}

p {
    font-size: 16px !important;
}

.fs-4 {
    font-size: 26px !important;
}

.fs-5 {
    font-size: 22px !important;
}

.fs-6 {
    font-size: 18px !important;
}

.fs-7 {
    font-size: 16px !important;
}

.fs-8 {
    font-size: 14px !important;
}

html,
body {
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
}

/* Colors */
.text-teal {
    color: var(--primary-teal) !important;
}

.bg-teal {
    background-color: var(--primary-teal) !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.bg-gold {
    background-color: var(--accent-gold) !important;
}

.bg-light-cream {
    background-color: var(--bg-cream) !important;
}

.btn-teal {
    background-color: var(--primary-teal);
    color: white;
    border: 1px solid var(--primary-teal);
    transition: all 0.3s ease;
}

.btn-teal:hover {
    background-color: var(--primary-teal-dark);
    color: white;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #b87d32;
    color: white;
}

/* Header & Nav */


.custom-nav .nav-link {
    color: var(--primary-teal);
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif !important;
}

.custom-nav .nav-link:hover,
.custom-nav .nav-link.active {
    color: var(--primary-teal);
    border-bottom: 2px solid var(--primary-teal);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
}

/* Core Values in Hero */
.value-item img {
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.value-item:hover img {
    transform: translateY(-5px);
}

/* Fundraiser Section */
.section-title-line::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.donor-card {
    border-top: 5px solid var(--accent-gold);
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
}

.w-45 {
    width: 47%;
}

/* Timeline */
.timeline-item {
    z-index: 2;
}

.icon-circle {
    transition: all 0.3s ease;
}

.timeline-item:hover .icon-circle {
    transform: scale(1.1);
    background-color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
}

/* Programmes Cards */
.programme-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color) !important;
}

.programme-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-teal) !important;
}

.programme-card img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.programme-card:hover img {
    transform: scale(1.05);
}

.img-wrapper {
    overflow: hidden;
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-teal) !important;
    color: white !important;
    border-color: var(--primary-teal) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .donor-card {
        margin-top: 0 !important;
    }

    .timeline-wrapper {
        padding-bottom: 20px;
    }

    .navbar {
        position: static !important;
    }

    .navbar-collapse {
        background-color: white;
        padding: 16px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        width: auto;
        z-index: 1000;
        border: 1px solid var(--border-color);
        margin-top: 10px;
    }
}

/* Hover dropdowns for desktop */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Extracted Semantic Classes */
.logo-img {
    max-height: 100px;
    object-fit: contain;
}

.custom-dropdown-menu {
    border-top-color: #dee2e600 !important;
}

.custom-dropdown-menu .dropdown-item {
    font-size: 15px;
    font-weight: 700 !important;
}

.hero-bg {
    background: url('../images/banner.png') right center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fundraiser-card-left {
    background-color: #fcfbf7;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.fundraiser-title {
    font-weight: 800 !important;
    letter-spacing: 0.5px;
}

.stat-label {
    font-size: 13px;
    letter-spacing: 0.5px;
}

.progress-track {
    height: 14px;
    background-color: #eadecd;
}

/* General utility replacements */
.text-dark {
    color: var(--text-dark) !important;
}

.text-teal {
    color: var(--primary-teal) !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.text-teal-dark {
    color: var(--primary-teal-dark) !important;
}

/* Component Typography */
.btn {
    font-weight: 700 !important;
}

.hero-content p {
    font-size: 22px !important;
    font-weight: 500 !important;
}

.hero-content h1 {
    font-weight: 800 !important;
}

.stat-box h2 {
    font-weight: 800 !important;
}

.fundraiser-card-left p {
    font-weight: 500 !important;
}

.timeline-item p,
.programme-card p {
    font-size: 14px !important;
}

.text-teal-dark {
    color: var(--primary-teal-dark) !important;
}

.text-dark-gray {
    color: #333 !important;
}

.donor-subtitle {
    letter-spacing: 0.5px;
    font-size: 16px;
    font-weight: 500;
}

.donor-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700 !important;
}

.donor-text {
    font-size: 17px;
    color: #f0f0f0 !important;
}

.donor-divider {
    border-top: 1px solid var(--accent-gold);
    opacity: 0.6;
    margin: 24px 0;
}

.donor-payment-text {
    font-size: 16px;
}

.pledge-box-outline {
    border: 1px solid var(--accent-gold);
    flex: 1;
    min-width: 140px;
}

.pledge-period {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.donor-footer-text {
    font-size: 16px;
    color: #f0f0f0 !important;
    font-weight: 500;
}

.timeline-card {
    background: radial-gradient(circle, #fdfcf9 0%, #f4efe6 100%);
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.timeline-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.timeline-title-line {
    height: 1px;
    width: 40px;
    background-color: var(--accent-gold);
}

.timeline-line {
    top: 45px;
    left: 10%;
    width: 80% !important;
    z-index: 0;
    border-top: 2px dashed var(--accent-gold);
    opacity: 0.8;
}

.timeline-line::before,
.timeline-line::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 40px;
    border-top: 2px solid var(--accent-gold);
}

.timeline-line::before {
    right: 100%;
    margin-right: 55px;
}

.timeline-line::after {
    left: 100%;
    margin-left: 55px;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border: 4px solid white;
    z-index: 2;
    transition: all 0.3s ease;
}

.icon-circle i {
    font-size: 38px;
}

.volunteer-icon-wrapper {
    margin-bottom: -1px;
}

.bg-banner-cream {
    background-color: #fcfbf7;
}

.donate-banner-card {
    background: url('../images/donate-bg.png') center/cover no-repeat, #fdfcf9;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.donate-divider {
    position: absolute;
    right: 0;
    top: 5%;
    height: 90%;
    border-right: 1px solid var(--accent-gold);
    opacity: 0.4;
}

.footer-gradient {
    background: linear-gradient(135deg, #fcfbf7 0%, #f3eee3 100%);
}

.icon-lg {
    width: 80px;
    height: 80px;
}

.banner-heart-icon {
    top: 0px;
    margin-top: -5px;
}

.social-icon-btn {
    width: 25px;
    height: 25px;
}

.footer-calligraphy {
    object-fit: contain;
}