/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-black: #0D0D0D;
    --primary-teal: #00B5AD;
    --primary-blue: #1E90FF;
    /* Secondary Colors */
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --light-teal: #7FDBDC;
    --dark-teal: #009A94;
    /* Text Colors */
    --text-dark: #222222;
    --text-light: #FFFFFF;
    --text-muted: #777777;
}

/* ===== GLOBAL STYLES ===== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    color: var(--text-dark);
    background-color: var(--white);
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Optional: Add subtle top border accent */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-teal), var(--primary-blue));
    z-index: 9999;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Content container styles */
.container-fluid,
main,
section,
#rev_slider_wrapper,
.full-width-parallax {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.centered-content {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
        padding: 0 15px;
        margin: 0 auto;
    }
}

/* ===== HEADER & NAVIGATION STYLES ===== */

header {
    background-color: var(--primary-black);
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.navbar {
    background-color: var(--primary-black) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0;
    margin-bottom: 0;
}

.navbar-brand span {
    color: var(--white);
    font-weight: 600;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    margin-left: auto !important;
}

.nav-item {
    margin: 0 10px;
    position: relative !important;
    float: none !important;
    display: block !important;
}

.nav-link {
    color: var(--white) !important;
    transition: all 0.3s ease;
    display: block !important;
    padding: 0.5rem 1rem !important;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-teal) !important;
    }

.navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
}

/* Navbar Background Change for mobile */
@media (max-width: 991.98px) {
    /* Ensure the navbar collapses properly */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0D0D0D; /* Your dark navbar color */
        padding: 10px;
        z-index: 999;
    }

    /* Fix the mobile menu items */
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        text-align: center;
    }

    .nav-item {
        margin: 8px 0;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Make the toggle button visible and working */
    .navbar-toggler {
        display: block;
        margin-left: auto;
    }

    /* Hide the expanded menu by default */
    .navbar-collapse:not(.show) {
        display: none !important;
    }
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    display: inline-block !important;
    width: 1.5em !important;
    height: 1.5em !important;
    vertical-align: middle !important;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    color: white;
}

    .navbar-toggler:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(0, 181, 173, 0.25);
    }
/* ===== BUTTON STYLES ===== */
/* Primary Button */
.btn-primary,
.btn-contribute,
.banner-cta,
.btn-donate {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,181,173,0.3);
    font-weight: 600;
    border-radius: 50px;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-primary:hover,
    .btn-contribute:hover,
    .banner-cta:hover,
    .btn-donate:hover {
        background-color: var(--dark-teal);
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0,181,173,0.4);
        text-decoration: none;
    }

/* Secondary Button */
.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
}

    .btn-secondary:hover {
        background-color: var(--primary-teal);
        color: var(--white);
        text-decoration: none;
    }

/* Shine effect for primary buttons */
.btn-contribute:before,
.btn-donate:before,
.banner-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn-contribute:hover:before,
.btn-donate:hover:before,
.banner-cta:hover:before {
    left: 100%;
}

/* Button Size Variants */
.btn-contribute {
    font-size: 18px;
    padding: 14px 40px;
}

.btn-donate {
    font-size: 18px;
    padding: 14px 40px;
}

.banner-cta {
    font-size: 18px;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .banner-cta:hover {
        background-color: var(--white);
        color: var(--primary-teal);
    }

/* Slider button */
.slider-btn {
    display: inline-block;
    background-color: var(--primary-teal);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

    .slider-btn:hover {
        background-color: var(--dark-teal);
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        color: var(--white);
        text-decoration: none;
    }

/* ===== SECTION STYLES ===== */
/* Common section styles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    margin-bottom: 30px;
}

    .section-title:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 60px;
        height: 3px;
        background-color: var(--primary-teal);
    }

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-teal), var(--primary-blue));
    margin: 0 auto 25px;
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

/* Content area with gradient */
.content-area {
    background: linear-gradient(to bottom, #f8f8f8, #ffffff);
    padding: 50px 0;
}

/* Section with dark background */
.section-dark {
    background-color: var(--primary-black);
    color: var(--white);
}

    .section-dark .section-title {
        color: var(--white);
    }

/* ===== SLIDER STYLES ===== */
.slider-heading {
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    background: linear-gradient(to right, rgba(13,13,13,0.6), rgba(13,13,13,0), rgba(13,13,13,0.6));
    padding: 10px 30px;
    border-left: 4px solid var(--primary-teal);
    border-right: 4px solid var(--primary-teal);
    text-transform: uppercase;
}

.tp-caption p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 500;
    letter-spacing: 1px;
    background-color: rgba(13, 13, 13, 0.4);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--white);
}

.slider-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-teal), transparent);
    margin: 0 auto;
}

/* Revolution Slider Navigation Styles */
.tp-leftarrow.tparrows,
.tp-rightarrow.tparrows {
    background-color: var(--primary-teal) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    opacity: 0 !important;
    transition: all 0.3s ease;
}

    .tp-leftarrow.tparrows:hover,
    .tp-rightarrow.tparrows:hover {
        background-color: var(--dark-teal) !important;
        opacity: 1 !important;
        transform: scale(1.1) !important;
    }

/* Hide Revolution Slider bullets/dots */
.tp-bullets,
.tp-bullets.hermes {
    display: none !important;
    visibility: hidden !important;
}

/* ===== INTRODUCTION SECTION ===== */
.intro-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    position: relative;
}

    .intro-section:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 10px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0));
    }

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.org-name {
    color: #0D0D0D;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 28px;
}

.org-fullname {
    color: #555555;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 20px;
}

.intro-tagline {
    color: var(--primary-teal);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

    .intro-tagline:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(to right, var(--primary-blue), var(--primary-teal));
    }

.intro-description {
    color: #333333;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.intro-cta {
    margin-top: 30px;
}

/* ===== BLOG BOXES SECTION ===== */
.blog-boxes-section {
    padding: 60px 0;
    background-color: #fafafa;
    background-image: linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.8) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: -1px -1px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.03);
    position: relative;
}

.blog-box {
    height: 100%;
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

    .blog-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.blog-box-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #0D0D0D;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

    .blog-box-title:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background-color: var(--primary-teal);
    }

.blog-box-text {
    color: #555555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-box-button {
    margin-top: auto;
}

.blog-box-image {
    height: 100%;
    overflow: hidden;
}

.image-link {
    display: block;
    height: 100%;
}

.image-container {
    height: 100%;
    overflow: hidden;
}

.blog-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-box-image:hover img {
    transform: scale(1.08);
}

/* ===== PARALLAX SECTION STYLES ===== */
.projects-section,
.full-width-parallax {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    color: var(--white);
    width: 100%;
    margin: 0;
    max-width: 100%;
}

.parallax-container {
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.parallax-background,
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

.parallax-bg {
    height: 150%;
    background-attachment: fixed;
}

.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 13, 13, 0.6);
    padding: 80px 0;
}

.projects-content {
    background-color: rgba(13, 13, 13, 0.75);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border-left: 4px solid var(--primary-teal);
    color: var(--white);
}

.project-description {
    margin-bottom: 30px;
}

    .project-description p {
        font-size: 18px;
        line-height: 1.8;
        color: #F5F5F5;
    }

    .project-description em {
        color: var(--primary-teal);
        font-style: normal;
        font-weight: 600;
    }

.project-cta {
    margin-top: 30px;
}

/* ===== TEAM MEMBERS SECTION ===== */
.team-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .team-member:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

.member-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

    .member-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.member-position {
    color: var(--primary-teal);
    font-size: 16px;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
}

    .social-link:hover {
        color: #fff;
        text-decoration: none;
    }

    .social-link:nth-child(1):hover {
        background-color: #0077B5; /* LinkedIn color */
    }

    .social-link:nth-child(2):hover {
        background-color: var(--primary-teal); /* Email (using your brand color) */
    }

/* ===== TRANSPARENCY SECTION ===== */
.transparency-image {
    height: 500px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f9f9f9;
    position: relative;
    padding: 30px;
}

@media (min-width: 992px) {
    .transparency-section .col-lg-6 {
        padding: 0 30px;
    }

    .transparency-image {
        background-position: 80% center;
    }
}

/* ===== MISSION & VISION SECTION ===== */
.mission-vision-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    background-image: linear-gradient(rgba(255,255,255,0.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.7) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
}

.mission-vision-card {
    height: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-teal);
}

    .mission-vision-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.card-header {
    padding: 25px 30px 0;
    background-color: transparent;
    border-bottom: none;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-teal), var(--primary-blue));
    margin-bottom: 15px;
}

.card-body {
    padding: 20px 30px 30px;
}

.card-text {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

    .card-text em {
        font-style: italic;
        color: #333;
    }

/* ===== REFERRAL SECTION ===== */
.referral-section {
    padding: 80px 0;
    background-color: #f2f2f2;
    position: relative;
}

.referral-card {
    height: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .referral-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .referral-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background-color: var(--primary-teal);
    }

.referral-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.referral-intro {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.referral-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

    .referral-list li {
        display: flex;
        margin-bottom: 20px;
        align-items: flex-start;
    }

.check-icon {
    color: var(--primary-teal);
    font-size: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.referral-text {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

    .referral-text strong {
        color: #333;
        font-weight: 600;
    }

.invisible-placeholder {
    height: 20px;
    visibility: hidden;
}

.referral-cta {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
}

/* ===== DONATION BANNER ===== */
.donation-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('/images/banner.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin: 0 0 60px 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.banner-title {
    font-size: 54px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

    .banner-title:after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--primary-teal);
    }

.banner-subtitle {
    font-size: 22px;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    max-width: 800px;
    letter-spacing: 0.5px;
    margin-top: 20px;
}

/* ===== FOOTER STYLES ===== */
footer {
    background-color: var(--primary-black);
    color: var(--white);
    width: 100%;
    margin: 0;
    padding: 60px 0 20px;
}

    footer a {
        color: var(--primary-teal);
    }

        footer a:hover {
            color: var(--light-teal);
            text-decoration: none;
        }

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background-color: var(--primary-teal);
}

.footer-text {
    color: #CCCCCC;
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info a {
    color: var(--light-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .contact-info a:hover {
        color: var(--primary-teal);
        text-decoration: none;
    }

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #CCCCCC;
        text-decoration: none;
        transition: all 0.3s ease;
        display: block;
    }

        .footer-links a:hover {
            color: var(--primary-teal);
            padding-left: 5px;
        }

    .footer-links i {
        margin-right: 8px;
        font-size: 12px;
        color: var(--primary-teal);
    }

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1A1A1A;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background-color: var(--primary-teal);
        transform: translateY(-3px);
    }

.social-img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 40px;
    padding-top: 20px;
}

.copyright-text {
    color: #888888;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
/* For footer */
@media (max-width: 767px) {
    .footer-area {
        padding: 40px 0 10px;
    }

    .footer-heading {
        margin-top: 20px;
    }

    /* Banner */
    .banner-title {
        font-size: 40px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    .banner-cta {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Intro section */
    .intro-tagline {
        font-size: 30px;
    }

    .intro-description {
        font-size: 16px;
    }

    .btn-donate {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Team section */
    .section-title {
        font-size: 30px;
    }

    .member-image {
        height: 250px;
    }

    /* Blog section */
    .blog-boxes-section {
        padding: 40px 0;
    }

    .blog-box-title {
        font-size: 22px;
    }

    /* Referral section */
    .referral-section {
        padding: 60px 0;
    }

    .referral-card {
        padding: 25px;
    }

    /* Mission and vision section */
    .mission-vision-section {
        padding: 60px 0;
    }
}

@media (max-width: 991px) {
    .team-member,
    .mission-vision-card,
    .referral-card,
    .blog-box {
        margin-bottom: 30px;
    }

    .blog-box-image {
        height: 300px;
    }

    .card-title {
        font-size: 24px;
    }
}

/* Fallback for browsers that don't support fixed background-attachment */
@media (max-width: 767px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* Responsive text scaling for Revolution Slider */
@media (max-width: 768px) {
    .tp-caption h1,
    .tp-caption h2,
    .slider-heading {
        font-size: 24px !important;
        line-height: 28px !important;
        padding: 8px 15px !important;
        letter-spacing: 1px !important;
    }

    .tp-caption p {
        font-size: 14px !important;
        line-height: 18px !important;
        padding: 6px 12px !important;
    }

    .slider-btn {
        font-size: 14px !important;
        padding: 8px 20px !important;
    }
}

@media (max-width: 480px) {
    .tp-caption h1,
    .tp-caption h2,
    .slider-heading {
        font-size: 20px !important;
        line-height: 24px !important;
        padding: 6px 12px !important;
        letter-spacing: 0.5px !important;
    }

    .tp-caption p {
        font-size: 12px !important;
        line-height: 16px !important;
        padding: 4px 8px !important;
    }

    .slider-btn {
        font-size: 12px !important;
        padding: 6px 16px !important;
    }
}