/* Main Stylesheet for Changanassery Charity Online - CharityWorld Inspired */

:root {
    --primary-color: #44a036;
    /* Vibrant Green replacing CharityWorld Blue */
    --primary-hover: #388e3c;
    --secondary-color: #555a60;
    /* Logo Gray replacing CharityWorld Red/Blue */
    --secondary-hover: #44484b;
    --dark-bg: #1a1a1a;
    --header-bg: #ffffff;
    --charity-green: #44a036;
    --charity-green-hover: #388e3c;
    --accent-color: #f4f7f9;
    --text-color: #555a60;
    --light-gray: #f8f9fa;
    --white: #FFFFFF;


    --font-family-base: 'Open Sans', sans-serif;
    --font-family-heading: 'Montserrat', sans-serif;

    --gradient-hero: linear-gradient(135deg, rgba(68, 160, 54, 0.9), rgba(56, 142, 60, 0.8));

    /* Global Button Theme (As per user request) */
    --btn-charcoal: #343a40;
    --btn-charcoal-hover: #1d2124;
    --btn-gradient: linear-gradient(135deg, #44a036 0%, #2e6d25 100%);
}

body {
    font-family: var(--font-family-base);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.82rem;
    padding: 6px 0;
    white-space: nowrap;
    overflow: hidden;
}

.top-bar .container-fluid {
    flex-wrap: nowrap;
}

.top-bar a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-info-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-contact-link {
    color: #ffffff !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.top-contact-link i {
    color: #ffffff !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.top-contact-link:hover {
    color: #ffc107 !important;
}

.top-contact-link:hover i {
    color: #ffc107 !important;
}

/* Top bar social icon styling */
.top-bar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 50%;
    margin-left: 8px;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.top-bar .social-links a:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background-color: var(--header-bg);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-contact-card {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.header-contact-card i {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-right: 12px;
}

.header-contact-card .card-info h6 {
    margin: 0;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
}

.header-contact-card .card-info p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-bg);
}

/* Navbar */
.navbar {
    background-color: #4CAF50 !important;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 700;
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 15px 20px !important;
    transition: background-color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Navbar Styling */
.navbar {
    transition: all 0.3s ease;
    background-color: #ffffff !important;
}

.navbar-nav .nav-link {
    color: #333333 !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Active Nav Underline */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Dropdown on Hover for Desktop */
@media (min-width: 992px) {
    .navbar-nav-modern .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(10px);
    }
}

.dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Premium Page Hero / Inner Banner */
.inner-hero,
.inner-hero-v2 {
    position: relative;
    padding: 80px 0 60px;
    background-color: var(--dark-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s ease;
}

.inner-hero::before,
.inner-hero-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.inner-hero .container,
.inner-hero-v2 .container {
    position: relative;
    z-index: 2;
}

.inner-hero h1,
.inner-hero-v2 h1 {
    font-family: var(--font-family-heading);
    font-weight: 800;
    font-size: 3.5rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.inner-hero p,
.inner-hero-v2 p,
.inner-hero .lead,
.inner-hero-v2 .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Breadcrumbs Premium */
.breadcrumb-premium {
    display: inline-flex;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
    list-style: none;
    align-items: center;
    justify-content: center;
}

.breadcrumb-premium li {
    display: flex;
    align-items: center;
}

.breadcrumb-premium li a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.breadcrumb-premium li a:hover {
    color: var(--primary-color) !important;
}

.breadcrumb-premium .breadcrumb-separator {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.7rem;
}

.breadcrumb-premium li.active {
    color: #ffc107 !important;
    /* Gold for readability and accent */
    font-weight: 700;
}

.banner-overlay-green {
    background: linear-gradient(135deg, rgba(68, 160, 54, 0.85) 0%, rgba(46, 109, 37, 0.7) 100%) !important;
}

/* Member Cards */
.member-card {
    border: none;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.member-img-wrapper {
    position: relative;
    padding-top: 100%;
    /* Square */
    overflow: hidden;
}

.member-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-img-wrapper img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.member-info p {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.nav-btn-donate:hover {
    background-color: var(--secondary-hover) !important;
    transform: translateY(-1px);
}

.nav-btn-donate.active::after {
    display: none !important;
}


.btn-charity-green {
    background-color: var(--primary-color);
    color: #fff !important;
    border-radius: 4px;
    padding: 0.6rem 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-charity-green:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(68, 160, 54, 0.3);
}

/* Green Premium Button (Contact Form) */
.btn-green-premium {
    background: linear-gradient(45deg, #44a036, #66bb6a) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 40px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px !important;
    /* Pill shape for "latest" design */
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(68, 160, 54, 0.2);
}

.btn-green-premium:hover {
    background: linear-gradient(45deg, #3d8f30, #44a036) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(68, 160, 54, 0.4);
    color: #fff !important;
}

/* Floating Label & Form Enhancements */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: #44a036 !important;
    font-weight: 600;
}

.form-control:focus {
    border-color: #44a036 !important;
    box-shadow: 0 0 0 0.25rem rgba(68, 160, 54, 0.15) !important;
}

.form-floating>label {
    padding-left: 1.25rem;
    color: #6c757d;
}

.form-floating>.form-control {
    padding-left: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-charity-green {
    background-color: #44a036 !important;
    color: #fff;
}

.text-charity-green {
    color: #44a036 !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section h1 span {
    color: var(--secondary-color);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Buttons */
.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
}

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

/* Feature/Scheme Cards */
.feature-card {
    border: 1px solid #eee;
    background: var(--white);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    /* Blue top border */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-card .icon-circle {
    color: var(--primary-color);
    background: var(--accent-color);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-circle {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: #212529;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
}

footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

footer ul li i {
    color: var(--white) !important;
}

/* Social Icons */
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: #000;
}

/* Utilities */
.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

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

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

.bg-primary-subtle {
    background-color: #e8f5e9 !important;
    color: var(--primary-color) !important;
}

.bg-secondary-subtle {
    background-color: #e3f2fd !important;
    color: var(--secondary-color) !important;
}

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

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

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

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base Carousel Styles */
.hero-carousel {
    min-height: 350px;
    background-color: transparent;
}

.hero-carousel .carousel {
    min-height: 350px;
}

.hero-carousel .carousel-item {
    position: relative;
    min-height: 350px;
}

.hero-carousel .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-carousel .carousel-caption {
    z-index: 2;
    bottom: 20%;
}

.gallery-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.feature-card .card-body {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color) !important;
}

.feature-card:hover .card-title,
.feature-card:hover .card-text,
.feature-card:hover h3,
.feature-card:hover p,
.feature-card:hover .icon-circle i {
    color: var(--white) !important;
    opacity: 1 !important;
}

.feature-card:hover .icon-circle {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.feature-card:hover .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.feature-card:hover .btn-hover-outline:hover {
    background-color: transparent !important;
    border-color: var(--white) !important;
    color: var(--white) !important;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Page Specifics */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery Overlay */
.gallery-item {
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.separator-green {
    width: 60px;
    height: 3px;
    background-color: #44a036;
    margin: 20px 0;
}

.opacity-90 {
    opacity: 0.9;
}


/* Fix button hover text color retention */
.btn-light.text-primary:hover {
    color: 0d6efd !important;
    color: var(--bs-primary, #0d6efd) !important;
}

.btn-light.text-secondary:hover {
    color: 6c757d !important;
    color: var(--bs-secondary, #6c757d) !important;
}

.btn-light.text-warning:hover {
    color: ffc107 !important;
    color: var(--bs-warning, #ffc107) !important;
}

.btn-light.text-danger:hover {
    color: dc3545 !important;
    color: var(--bs-danger, var(--secondary-color)) !important;
}

.btn-light.text-info:hover {
    color: 0dcaf0 !important;
    color: var(--bs-info, #0dcaf0) !important;
}

.btn-light.text-success:hover {
    color: 198754 !important;
    color: var(--bs-success, #198754) !important;
}

.btn-light.text-dark:hover {
    color: 212529 !important;
}

/* Custom Button Hover Effect (Solid -> Outline) */
.btn-hover-outline {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    /* Maintain size */
}

/* Primary */
.btn-hover-outline.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Secondary */
.btn-hover-outline.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Charity Red / Danger */
.btn-hover-outline.btn-charity-red:hover,
.btn-hover-outline.btn-danger:hover,
.btn-hover-outline.btn-donate:hover {
    background-color: transparent !important;
    border-color: var(--charity-red) !important;
    color: var(--charity-red) !important;
    box-shadow: none;
}

/* Warning */
.btn-hover-outline.btn-warning:hover {
    background-color: transparent;
    border-color: #ffc107;
    color: #ffc107;
}

/* Success */
.btn-hover-outline.btn-success:hover {
    background-color: transparent;
    border-color: #198754;
    color: #198754;
}

/* Info */
.btn-hover-outline.btn-info:hover {
    background-color: transparent;
    border-color: #0dcaf0;
    color: #0dcaf0;
}

/* Global Title Unification Style */
.main-title-premium {
    font-family: 'Montserrat', sans-serif;
    color: #212529 !important;
    /* Matches 'text-dark' script */
    font-weight: 800 !important;
    font-size: 2rem !important;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem !important;
    line-height: 1.2;
}

/* Card-Level Title Style (Green) */
.service-title,
.news-card-title-premium,
.blog-h-title {
    font-family: 'Montserrat', sans-serif !important;
    color: #44a036 !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .main-title-premium {
        font-size: 1.75rem !important;
    }
}

/* Force Red Button Hover */
.btn-danger:hover {
    background-color: var(--charity-red-hover) !important;
    border-color: var(--charity-red-hover) !important;
    color: #fff !important;
}

/* Global Pill Button Style */
.btn-charcoal-pill {
    background-color: var(--btn-charcoal) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.btn-charcoal-pill:hover {
    background-color: var(--btn-charcoal-hover) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.btn-charcoal-pill i {
    transition: transform 0.3s ease;
}

.btn-charcoal-pill:hover i {
    transform: translateX(4px);
}

/* Premium Gradient Button */
.btn-premium-gradient {
    background: var(--btn-gradient) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(68, 160, 54, 0.2);
}

.btn-premium-gradient:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 75, 135, 0.3);
    filter: brightness(1.1);
    color: #ffffff !important;
}

.btn-premium-gradient i {
    transition: transform 0.3s ease;
}

.btn-premium-gradient:hover i {
    transform: translateX(5px);
}

/* Green Pill Button (Brand Primary) */
.btn-green-pill {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(68, 160, 54, 0.15);
}

.btn-green-pill:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(68, 160, 54, 0.25);
    color: #ffffff !important;
}

.btn-green-pill i {
    transition: transform 0.3s ease;
}

.btn-green-pill:hover i {
    transform: translateX(4px);
}

/* Accessibility & Readability Fixes */
.card {
    background-color: var(--white) !important;
    color: var(--text-color) !important;
}

.card-body,
.form-label {
    color: var(--text-color) !important;
}

/* Input Fields - High Visibility Borders */
.form-control,
.form-select {
    background-color: #fff !important;
    color: var(--text-color) !important;
    border: 1px solid #7abaff !important;
    /* Visible Light Blue Border */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: #fff !important;
    color: var(--text-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 75, 135, 0.25) !important;
}

/* Headings - Default to Primary Color but allow overrides */
h1:not(.text-white),
h2:not(.text-white),
h3:not(.text-white),
h4:not(.text-white),
h5:not(.text-white),
h6:not(.text-white) {
    color: var(--primary-color) !important;
}

/* Specific fix for page-hero titles to ensure they stay white */
.page-hero h1,
.page-hero p,
.text-white {
    color: #fff !important;
}

/* ---------------------------------------------------------
   MODERN LEFT-LOGO NAVIGATION (PREMIUM)
   --------------------------------------------------------- */

.navbar {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    min-height: 90px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    margin: 15px auto;
    width: 94%;
    border-radius: 100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 5px 40px !important;
    min-height: 70px;
}

.navbar-brand-modern .main-logo {
    height: 70px;
    width: auto;
    transition: all 0.5s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

.navbar.scrolled .navbar-brand-modern .main-logo {
    height: 50px;
}

.navbar-brand-modern:hover .main-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 25px rgba(11, 63, 169, 0.1));
}

.navbar-nav-modern {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Morphing Bubble Links */
.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #333 !important;
    padding: 12px 20px !important;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 50px;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
    height: 100%;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Fixed Floating Donate Button */
.fixed-donate-pill {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    background: var(--btn-gradient);
    color: #fff !important;
    padding: 15px 30px;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    box-shadow: 0 20px 40px rgba(68, 160, 54, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.fixed-donate-pill:hover {
    background: var(--btn-gradient);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 30px 60px rgba(68, 160, 54, 0.4);
    filter: brightness(1.1);
    color: #fff !important;
}

.fixed-donate-pill i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.fixed-donate-pill:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 30px 60px rgba(85, 90, 96, 0.4);
    color: #fff !important;
}

/* Fullscreen Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav-list .nav-link {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.mobile-overlay.active .mobile-nav-list .nav-link {
    opacity: 1;
    transform: translateY(0);
}

.overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
}

/* Ensure links are readable */
a {
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

/* Text Gold/Yellow Override */
.text-gold,
.text-warning {
    color: var(--secondary-color) !important;
}

.text-red {
    color: var(--secondary-color) !important;
}

/* Fix Beneficiary button hover state */
.btn-outline-danger:hover {
    color: #fff !important;
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* New Service Card Style (Image + Title + Description) */
/* ---------------------------------------------------------
   MODERN PREMIUM DESIGN TOKENS
   --------------------------------------------------------- */

/* Ambient Shadows */
.shadow-ambient {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08) !important;
}

.shadow-premium-hover:hover {
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-5px);
}

/* Glassmorphism Pill */
.modern-glass-pill {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Background Texture */
.bg-dot-pattern {
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 25px 25px;
}

/* Introduction Overlap Layout */
.intro-media-container {
    position: relative;
    padding: 20px;
}

.intro-media-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    background: #f8f9fa;
    border-radius: 20px;
    z-index: -1;
    transition: all 0.5s ease;
}

.intro-media-container:hover::before {
    transform: translate(-10px, -10px) scale(1.05);
    background: #eef2f7;
}

/* Service Card Modernization */
.service-card-v2 {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 75, 135, 0.12) !important;
}

.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.service-card-v2:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 2.5rem 2rem;
    text-align: center;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    color: #212529 !important;
    font-weight: 700 !important;
    font-size: 1.25rem;
    /* Keeping card titles proportionally readable but in the same style */
}

/* Premium Hover Utilities */
.hover-shadow-lg {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-shadow-lg:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 75, 135, 0.08) !important;
}

.hover-shadow-lg:hover img {
    transform: scale(1.05);
}

font-weight: 700;
font-size: 1.25rem;
margin-bottom: 1rem;
color: #1a1a1a;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Mobile Submenu Styles */
.mobile-submenu .nav-link {
    font-size: 1.1rem !important;
    opacity: 0.85;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: 10px;
}

.mobile-dropdown i {
    transition: transform 0.3s ease;
}


/* Slick Equal Height Fix */
.services-carousel .slick-track {
    display: flex !important;
}

.services-carousel .slick-slide {
    height: inherit !important;
    display: flex !important;
    justify-content: center;
}

.services-carousel .slick-slide>div {
    display: flex !important;
    width: 100%;
}

/* Read More Link Style */
.read-more-link {
    color: var(--secondary-color) !important;
    /* Brand Red */
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

.read-more-link:hover {
    color: var(--secondary-hover) !important;
    letter-spacing: 2px;
    border-bottom-color: var(--secondary-hover);
}

/* Slick Slider Custom Controls */
.slick-dots li button:before {
    font-size: 10px;
    color: var(--secondary-color);
    opacity: 0.3;
}

.slick-dots li.slick-active button:before {
    color: var(--secondary-color);
    opacity: 1;
}

.slick-prev:before,
.slick-next:before {
    color: var(--secondary-color);
    font-size: 24px;
}

.mx-n2 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Professional Redesign Styles */
.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Hero Slider Enhancements */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.glass-box {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    animation-duration: 1.2s;
}

/* Stats Section */
.stat-item h2 {
    color: var(--secondary-color);
    /* Professional Grey for stats */
    font-family: 'Montserrat', sans-serif;
}

/* News Card V3 (Professional & Structured) */
.news-card-v3 {
    border-radius: 12px;
    border: none !important;
    background: #fff;
}

.news-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-v3-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.news-card-v3:hover .news-v3-img {
    transform: scale(1.1);
}

.news-v3-date-strip {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(85, 90, 96, 0.2);
    z-index: 2;
}

.news-v3-date-strip .day {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.news-v3-date-strip .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
}

.news-label {
    letter-spacing: 1.5px;
    font-size: 0.7rem;
}

.news-link-v3 {
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link-v3:hover {
    letter-spacing: 0.5px;
    color: var(--secondary-hover) !important;
}

/* Blog Horizontal Card (Storytelling & Magazine Style) */
.blog-horizontal-card {
    border: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 75, 135, 0.1) !important;
}

.blog-h-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-horizontal-card:hover .blog-h-img {
    transform: scale(1.05);
}

.blog-h-title {
    color: #212529 !important;
    transition: color 0.3s ease;
}

.blog-horizontal-card:hover .blog-h-title {
    color: var(--secondary-color) !important;
}

.read-story-btn {
    color: #0b3fa9;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.read-story-btn:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.bg-primary-subtle {
    background-color: rgba(11, 63, 169, 0.1) !important;
}


.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Utility: Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Founder Spotlight */
.bg-gradient-dark {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.founder-img-wrapper {
    overflow: hidden;
}

.about-experience-tag {
    border-left: 5px solid rgba(255, 255, 255, 0.2);
}

/* Additional Professional Adjustments */
.text-justify {
    text-align: justify;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-90 {
    opacity: 0.9;
}

@media (max-width: 768px) {

    .hero-carousel,
    .hero-carousel .carousel,
    .hero-carousel .carousel-item,
    .hero-carousel .carousel-item img {
        min-height: 350px !important;
        height: 350px !important;
    }

    .glass-box {
        background: rgba(0, 0, 0, 0.7) !important;
        backdrop-filter: none !important;
        padding: 20px !important;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Blog & News Listing Premium Styles */
.blog-horizontal-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-horizontal-card:hover {
    border-color: var(--primary-color);
}

.featured-img-wrapper {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12) !important;
}

.article-rich-text p {
    margin-bottom: 1.8rem;
    color: #444;
}

.btn-white {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid #ffffff;
}

.btn-white:hover {
    background-color: #f8f9fa;
    color: var(--primary-hover);
}

/* ---------------------------------------------------------
   PREMIUM NAVIGATION & TOP BAR (FIXED CLUTTER)
   --------------------------------------------------------- */

.top-bar {
    background: linear-gradient(90deg, #44a036 0%, #388e3c 100%);
    padding: 12px 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-info-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.top-info-item i {
    color: #cad1d8;
    margin-right: 8px;
    font-size: 0.9rem;
}

.top-info-item span.font-italic {
    font-style: italic;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 15px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.social-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Hero Slider 350px & Zoom */
.hero-slider-img {
    height: 350px !important;
    object-fit: cover;
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.carousel-item {
    overflow: hidden;
    /* For zoom animation */
}

.navbar-nav-modern .nav-link:hover::after {
    width: 30px;
}

/* Premium Donate Button */
.nav-donate-btn {
    background: linear-gradient(135deg, #3282c1 0%, #2a6da3 100%);
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 28px !important;
    margin-left: 20px;
    box-shadow: 0 10px 20px rgba(50, 130, 193, 0.2);
    transition: all 0.3s ease !important;
    border: none;
}

.nav-donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(50, 130, 193, 0.3);
    background: linear-gradient(135deg, #2a6da3 0%, #215a8a 100%);
    color: #fff !important;
}

.nav-donate-btn::after {
    display: none !important;
}

/* Navbar Dropdowns */
.dropdown-menu {
    border-radius: 12px !important;
    padding: 15px !important;
    margin-top: 10px !important;
    animation: fadeInSlide 0.3s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: var(--secondary-color);
    padding-left: 20px;
}

.news-listing-section .news-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-listing-section .news-card:hover {
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.1) !important;
}

.page-header {
    background: linear-gradient(135deg, #1a1a1a, #333);
}

.page-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
}

.ls-2 {
    letter-spacing: 2px !important;
}

.rotate-15 {
    transform: rotate(15deg);
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

/* Article Sidebar Customizations */
.news-sidebar-box {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hover-danger:hover {
    color: var(--charity-red) !important;
}

/* Gallery Slider Enhancements */
.gallery-slider-section {
    padding-bottom: 80px !important;
}

.gallery-item-v2 {
    position: relative;
    cursor: grab;
    background: #f8f9fa;
    height: 350px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-item-v2 img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item-v2:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item-v2:hover .gallery-item-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item-v2:hover .overlay-content {
    transform: translateY(0);
}

.shadow-hover:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Custom Slick Dots for Gallery */
.gallery-main-slider .slick-dots {
    bottom: -45px;
}

.gallery-main-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--charity-red);
    opacity: 0.25;
}

.gallery-main-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--charity-red);
}

/* Slick Arrows Styling */
.slick-prev:before,
.slick-next:before {
    color: var(--primary-color);
    font-size: 25px;
}

.slick-prev {
    left: -35px;
    z-index: 5;
}

.slick-next {
    right: -35px;
    z-index: 5;
}

@media (max-width: 992px) {
    height: 300px;
}
}

/* Mission & Vision Redesign */
.mission-vision-box {
    background: rgba(40, 167, 69, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    color: #fff;
}

@media (max-width: 768px) {
    .mission-vision-box {
        padding: 2rem 1.5rem;
    }
}

.separator-white-v2 {
    width: 60px;
    height: 2px;
    background: #fff;
}

.mission-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.vision-img-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.vision-img-card:hover {
    transform: translateY(-5px);
}

.vision-img-card img {
    border-radius: 8px;
    width: 100%;
}

/* Multi-Media Hub Styles */
.media-hub-section {
    padding-bottom: 80px !important;
}

.gallery-card-v3 {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 350px;
    cursor: zoom-in;
}

.gallery-card-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card-v3:hover img {
    transform: scale(1.1);
}

.video-card-v3 {
    position: relative;
    cursor: pointer;
    background: #000;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-card-v3:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-card-v3:hover .video-thumb-img {
    opacity: 0.6;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.video-card-v3:hover .play-btn {
    transform: scale(1.1);
    background: #fff;
    color: var(--secondary-color);
}

.press-card-v3 {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 400px;
    overflow: hidden;
}

.press-card-v3:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.press-img-wrapper {
    height: 300px;
    overflow: hidden;
    background: #f8f9fa;
}

.press-card-v3 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

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

.press-content-v3 {
    padding: 1.5rem;
    background: #fff;
}

/* Tabbed Media Hub Styles */
.media-tabs-wrapper {
    margin-bottom: 3rem;
}

.media-nav-pills {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    border: none;
}

.media-tab-btn {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #495057;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.media-tab-btn:hover {
    background: #fff;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.1);
}

.media-tab-btn.active {
    background: var(--secondary-color) !important;
    color: #fff !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.2);
}

.media-tab-btn i {
    font-size: 1rem;
}

.tab-content-wrapper {
    min-height: 450px;
}

.tab-pane.fade {
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .media-nav-pills {
        gap: 0.75rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
    }

    .media-tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

/* Premium Charcoal Pill Button (User Dedicated Color: #5f5f60) */
.btn-charcoal-pill {
    background: #333333 !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-charcoal-pill:hover {
    background: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
}

 / *   P r e m i u m   G r e e n   P i l l   B u t t o n   ( A s   p e r   u s e r   r e q u e s t   i m a g e )   * / 

/* Premium Green Pill Button (Section CTAs) */
.btn-green-pill {
    background: linear-gradient(135deg, #44a036 0%, #2e6d25 100%) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(68, 160, 54, 0.2) !important;
}

.btn-green-pill:hover {
    background: linear-gradient(135deg, #2e6d25 0%, #1a4d1d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(68, 160, 54, 0.4) !important;
    color: #fff !important;
}

/* News Title Refinement - Charity Green as per latest image request */
.news-card-premium {
    background: #fff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-premium:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

.news-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.news-img-v4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-premium:hover .news-img-v4 {
    transform: scale(1.1);
}

.news-card-premium .news-card-img-wrapper .news-date-badge-premium {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ca1111 !important; /* Vibrant Red Force */
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(214, 48, 49, 0.4) !important;
    z-index: 5;
    text-align: center;
    min-width: 60px;
}

.news-date-badge-premium span.display-6 {
    font-size: 1.35rem !important;
    font-weight: 800;
}

.news-date-badge-premium span.small {
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card-title-premium {
    transition: color 0.3s ease;
    line-height: 1.4;
    font-weight: 700;
    color: #000 !important; /* Set to Black */
    font-size: 1.05rem !important; /* Reduced Size */
}

.news-card-premium:hover .news-card-title-premium {
    color: #333 !important;
}

.news-card-body-premium {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.news-card-footer-premium {
    margin-top: auto;
}

.btn-news-pill {
    background: #4b4b4b !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-news-pill:hover {
    background: #2d3436 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: #fff !important;
}

       . f o r m - l a b e l - c h a r i t y    {
                   f o n t - w e i g h t :    7 0 0 ;
                   c o l o r :    # 3 3 3 ;
                   m a r g i n - b o t t o m :    0 . 5 r e m ;
                   f o n t - s i z e :    0 . 9 r e m ;
                   l e t t e r - s p a c i n g :    0 . 5 p x ;
           
    }

         . i n p u t - g r o u p - t e x t - g r e e n    {
                   b a c k g r o u n d - c o l o r :    # 4 4 a 0 3 6    ! i m p o r t a n t ;
                   c o l o r :    # f f f f f f    ! i m p o r t a n t ;
                   b o r d e r - c o l o r :    # 4 4 a 0 3 6    ! i m p o r t a n t ;
                   b o r d e r - r a d i u s :    0 . 5 r e m   0   0   0 . 5 r e m    ! i m p o r t a n t ;
           
    }

         . b t n - o u t l i n e - c h a r i t y - g r e e n    {
                   c o l o r :    # 4 4 a 0 3 6    ! i m p o r t a n t ;
                   b o r d e r :    2 p x   s o l i d   # 4 4 a 0 3 6    ! i m p o r t a n t ;
                   b a c k g r o u n d :    t r a n s p a r e n t    ! i m p o r t a n t ;
                   f o n t - w e i g h t :    7 0 0    ! i m p o r t a n t ;
                   b o r d e r - r a d i u s :    5 0 p x    ! i m p o r t a n t ;
                   t r a n s i t i o n :    a l l   0 . 3 s   e a s e    ! i m p o r t a n t ;
           
    }

         . b t n - o u t l i n e - c h a r i t y - g r e e n : h o v e r    {
                   b a c k g r o u n d :    # 4 4 a 0 3 6    ! i m p o r t a n t ;
                   c o l o r :    # f f f f f f    ! i m p o r t a n t ;
                   t r a n s f o r m :    t r a n s l a t e Y ( - 2 p x )    ! i m p o r t a n t ;
           
    }

         . f o r m - c a r d - p r e m i u m    {
                   b o r d e r :    n o n e    ! i m p o r t a n t ;
                   b o r d e r - r a d i u s :    2 0 p x    ! i m p o r t a n t ;
                   b o x - s h a d o w :    0   1 5 p x   4 0 p x   r g b a ( 0 ,    0 ,    0 ,    0 . 0 8 )    ! i m p o r t a n t ;
                   o v e r f l o w :    h i d d e n    ! i m p o r t a n t ;
           
    }

         . f o r m - h e a d e r - p r e m i u m    {
                   b a c k g r o u n d :    l i n e a r - g r a d i e n t ( 1 3 5 d e g ,    # 4 4 a 0 3 6   0 % ,    # 2 e 6 d 2 5   1 0 0 % )    ! i m p o r t a n t ;
                   p a d d i n g :    2 . 5 r e m   2 r e m    ! i m p o r t a n t ;
                   c o l o r :    # f f f f f f    ! i m p o r t a n t ;
           
    }

             / *   G r e e n   P r e m i u m   B u t t o n   ( C o n t a c t   F o r m )   * /   . b t n - g r e e n - p r e m i u m    {
                   b a c k g r o u n d - c o l o r :    # 4 C A F 5 0    ! i m p o r t a n t ;
                   c o l o r :    # f f f f f f    ! i m p o r t a n t ;
                   b o r d e r :    n o n e    ! i m p o r t a n t ;
                   p a d d i n g :    1 2 p x   3 5 p x    ! i m p o r t a n t ;
                   f o n t - w e i g h t :    7 0 0    ! i m p o r t a n t ;
                   t e x t - t r a n s f o r m :    u p p e r c a s e ;
                   t r a n s i t i o n :    a l l   0 . 3 s   e a s e ;
                   b o r d e r - r a d i u s :    4 p x    ! i m p o r t a n t ;
                   f o n t - s i z e :    0 . 9 r e m ;
           
    }

         . b t n - g r e e n - p r e m i u m : h o v e r    {
                   b a c k g r o u n d - c o l o r :    # 4 5 a 0 4 9    ! i m p o r t a n t ;
                   t r a n s f o r m :    t r a n s l a t e Y ( - 2 p x ) ;
                   b o x - s h a d o w :    0   4 p x   8 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 1 ) ;
           
    }

           