/* =========================================
   1. GLOBAL STYLES START
   ========================================= */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   STICKY HEADER OVERLAP FIX
   ========================================= */
html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 160px !important;
}

/* Custom Colors & Utilities */
.text-primary-custom {
    color: #2b7a78 !important;
}

.bg-primary-custom {
    background-color: #2b7a78 !important;
}

.btn-primary-custom {
    background-color: #2b7a78;
    color: white;
    transition: 0.3s;
}

.btn-primary-custom:hover {
    background-color: #17252A;
    color: white;
}

.btn-outline-primary-custom {
    color: #2b7a78;
    border-color: #2b7a78;
    transition: 0.3s;
}

.btn-outline-primary-custom:hover {
    background-color: #2b7a78;
    color: white;
}

.btn-donate {
    background-color: #ff6b5b;
    transition: 0.3s;
}

.btn-donate:hover {
    background-color: #e55a4b;
    color: white;
}

/* =========================================
   1. GLOBAL STYLES END
   ========================================= */


/* =========================================
   2. HEADER & NAVBAR START
   ========================================= */
.header-wrapper {
    z-index: 1050;
}

.vertical-divider {
    height: 50px;
    width: 3px;
    background-color: #2b7a78;
    border-radius: 2px;
}

.navbar-nav .nav-link {
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #2b7a78 !important;
}

.mobile-header-bar {
    height: 70px;
}

.mobile-sidebar {
    position: fixed;
    top: 70px;
    left: -300px;
    width: 260px;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    z-index: 1040;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
}

.mobile-sidebar.active {
    left: 0;
}

/* =========================================
   2. HEADER & NAVBAR END
   ========================================= */


/* =========================================
   3. HERO SECTION START
   ========================================= */
.hero-section {
    position: relative;
    height: 95vh;
    min-height: 550px;
    background: url('images/banner-hero.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(23, 37, 42, 0.85) 0%, rgba(23, 37, 42, 0.3) 100%);
    z-index: 1;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-shadow-sm {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 60vh;
    }

    .hero-section .display-4 {
        font-size: 2.2rem;
    }
}

/* =========================================
   3. HERO SECTION END
   ========================================= */


/* =========================================
   4. LEFT COLUMN COMPONENTS (MAIN) START
   ========================================= */
.program-card {
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    background-color: #e9ecef !important;
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Horizontal News Cards */
.news-horizontal-card {
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.news-horizontal-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.news-title-link {
    transition: color 0.2s;
}

.news-title-link:hover {
    color: #2b7a78 !important;
}

/* Trainings Horizontal Card */
.training-card {
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.training-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* =========================================
   4. LEFT COLUMN COMPONENTS (MAIN) END
   ========================================= */


/* =========================================
   5. RIGHT COLUMN COMPONENTS (SIDEBAR) START
   ========================================= */
.sidebar-card {
    border-radius: 12px;
    overflow: hidden;
}

/* Notice Board Scrolling Area */
.notice-scroll-area {
    height: 350px;
    overflow-y: auto;
    background-color: #fcfcfc;
}

.notice-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.notice-scroll-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notice-scroll-area::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.notice-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #2b7a78;
}

.notice-link {
    transition: color 0.2s;
}

.notice-link:hover {
    color: #2b7a78 !important;
}

/* Sidebar Videos */
.sidebar-video-item {
    transition: transform 0.2s ease;
}

.sidebar-video-item:hover {
    transform: translateX(5px);
}

.video-link-title {
    transition: color 0.2s;
}

.video-link-title:hover {
    color: #2b7a78 !important;
}

/* =========================================
   5. RIGHT COLUMN COMPONENTS (SIDEBAR) END
   ========================================= */


/* =========================================
   6. FOOTER START
   ========================================= */
footer .btn-outline-light:hover {
    background-color: #ff6b5b;
    border-color: #ff6b5b;
    color: white;
}

/* =========================================
   6. FOOTER END
   ========================================= */





/* =========================================
   About Page Custom Styles
   ========================================= */





/* =========================================
   GLOBAL UTILITIES & VARIABLES
   ========================================= */
:root {
    --primary-teal: #2b7a78;
    --dark-teal: #17252A;
    --coral: #ff6b5b;
    --warning-gold: #ffc107;
    --info-blue: #17a2b8;
    --purple: #6f42c1;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.lh-relaxed {
    line-height: 1.75;
}

/* =========================================
   COLOR HELPERS
   ========================================= */
.text-primary-custom {
    color: var(--primary-teal) !important;
}

.text-coral {
    color: var(--coral) !important;
}

.text-warning-custom {
    color: #d4a017 !important;
}

.text-info-custom {
    color: var(--info-blue) !important;
}

.text-purple-custom {
    color: var(--purple) !important;
}

.bg-primary-custom {
    background-color: var(--primary-teal) !important;
}

.bg-dark-teal {
    background-color: var(--dark-teal) !important;
}

.bg-teal-soft {
    background-color: rgba(43, 122, 120, 0.1) !important;
}

.bg-coral-soft {
    background-color: rgba(255, 107, 91, 0.1) !important;
}

.bg-gold-soft {
    background-color: rgba(212, 160, 23, 0.1) !important;
}

.bg-blue-soft {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

.bg-purple-soft {
    background-color: rgba(111, 66, 193, 0.1) !important;
}

/* =========================================
   SPACING
   ========================================= */
.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

/* =========================================
   HERO BANNER
   ========================================= */
.about-hero {
    background: linear-gradient(rgba(23, 37, 42, 0.88), rgba(23, 37, 42, 0.88)),
        url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=1920&q=80') center/cover;
    min-height: 60vh;
    position: relative;
}

.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* =========================================
   INTRO SECTION
   ========================================= */
.about-intro-img {
    transition: transform 0.4s ease;
}

.about-intro-img:hover {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    padding: 1.5rem 2rem;
    z-index: 10;
    text-align: center;
    min-width: 140px;
}

/* =========================================
   PILLAR CARDS
   ========================================= */
.pillar-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.pillar-card:nth-child(1) {
    border-top-color: var(--primary-teal);
}

.pillar-card:nth-child(2) {
    border-top-color: var(--coral);
}

.pillar-card:nth-child(3) {
    border-top-color: #d4a017;
}

.pillar-card:nth-child(4) {
    border-top-color: var(--info-blue);
}

/* =========================================
   ICON CIRCLES
   ========================================= */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.icon-circle-sm {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-sm {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-xs {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   VISION CARD
   ========================================= */
.vision-card {
    position: relative;
    overflow: hidden;
}

/* =========================================
   VALUE CARDS
   ========================================= */
.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(43, 122, 120, 0.15);
}

/* =========================================
   FOUNDER SECTION
   ========================================= */
.founder-img-wrapper {
    position: relative;
    display: inline-block;
}

.founder-img {
    max-width: 340px;
    width: 100%;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.founder-img:hover {
    transform: scale(1.02);
}

.founder-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-teal);
    border-radius: 16px;
    z-index: 1;
    transition: all 0.3s ease;
}

.founder-img-wrapper:hover::after {
    bottom: -15px;
    right: -15px;
    border-color: var(--coral);
}

.founder-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    white-space: nowrap;
}

.founder-quote-card {
    transition: box-shadow 0.3s ease;
}

.founder-quote-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

.founder-text p {
    position: relative;
    padding-left: 0;
}

/* =========================================
   METHOD CARDS
   ========================================= */
.method-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(43, 122, 120, 0.1);
}

.method-card-sm {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card-sm:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* =========================================
   TEAM / FOUNDING MEMBER CARDS
   ========================================= */
.team-card {
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.member-avatar {
    width: 55px;
    height: 55px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.team-card:hover .member-avatar {
    transform: scale(1.1);
}

/* =========================================
   LEGEND CARDS
   ========================================= */
.legend-card {
    border-radius: 14px;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.legend-card:hover {
    transform: translateY(-6px);
    border-color: var(--warning-gold) !important;
    background-color: rgba(255, 193, 7, 0.05) !important;
}

.legend-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.legend-card:hover .legend-icon {
    transform: scale(1.1);
    background-color: rgba(255, 193, 7, 0.1);
}

/* =========================================
   PARTNER & NETWORK CARDS
   ========================================= */
.partner-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid transparent;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff !important;
    border-color: rgba(43, 122, 120, 0.15);
}

.network-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.network-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff !important;
    border-color: rgba(43, 122, 120, 0.15);
}

/* =========================================
   MAP CARDS
   ========================================= */
.map-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
}

.map-placeholder {
    border: 2px dashed rgba(43, 122, 120, 0.15);
    transition: border-color 0.3s ease;
}

.map-card:hover .map-placeholder {
    border-color: rgba(43, 122, 120, 0.3);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary-custom {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #236563;
    border-color: #236563;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 122, 120, 0.25);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero .container {
    animation: fadeInUp 0.8s ease-out;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
    .about-hero {
        min-height: 50vh;
        padding: 60px 0 !important;
    }

    .experience-badge {
        right: 10px;
        bottom: -15px;
        padding: 1rem 1.25rem;
        min-width: 120px;
    }

    .experience-badge .display-5 {
        font-size: 1.75rem;
    }

    .founder-badge {
        font-size: 0.85rem;
        padding: 0.75rem 1rem !important;
    }

    .founder-img-wrapper::after {
        display: none;
    }

    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* =========================================
   SCROLLBAR STYLING (Optional)
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #236563;
}









/* =========================================
    About Page Custom Styles End
   ========================================= */


/* =========================================
   MEDIA & NEWS PAGE SPECIFIC STYLES
   ========================================= */

/* Top Banner Background */
.media-banner {
    background: linear-gradient(rgba(23, 37, 42, 0.8), rgba(23, 37, 42, 0.9)), url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 80px 0;
}

/* Vertical News Card Hover Effects */
.news-card-vertical {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-vertical:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
}

/* Make sure text doesn't overflow */
.news-card-vertical .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Standard property for compatibility */
    line-clamp: 3;
    /* Limit excerpt to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================
   MEDIA & NEWS PAGE SPECIFIC STYLES END
   ========================================= */