:root {
    --primary: #90CAF9;
    /* Light Sky Blue */
    --primary-hover: #64B5F6;
    /* Medium Sky Blue */
    --primary-glow: rgba(144, 202, 249, 0.25);
    --secondary: #fff8f0;
    /* Soft Warm Cream */
    --secondary-dark: #fef0dc;
    /* Pale Gold Cream */
    --dark: #1a1a1a;
    /* Deep Off-Black Charcoal */
    --dark-muted: #666666;
    /* Muted Gray */
    --light: #f9f5f0;
    /* Very Light Cream Gray */
    --white: #FFFFFF;
    --accent: #f6a623;
    /* Warm Gold Accent */
    --green: #2d6a4f;
    /* Deep Forest Green */
    
    --text: var(--dark);
    --text-muted: var(--dark-muted);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    --radius-lg: 24px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    padding-top: 85px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    transition: var(--transition);
    position: relative;
    padding-bottom: 6px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #068688 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #068688;
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 5px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 24px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    font-size: 1.5rem;
}

.logo img {
    height: 75px;
    margin-right: 10px;
}

.logo1 img {
    height: 200px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #068688;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #068688 !important;
    border-color: #068688 !important;
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--dark) !important;
    border-color: var(--dark) !important;
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(6, 134, 136, 0.3) !important;
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark) !important;
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-outline-secondary {
    background: transparent;
    border-color: var(--secondary-dark);
    color: var(--dark) !important;
}

.btn-outline-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-accent {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--white) !important;
}

.btn-accent:hover {
    background: var(--dark) !important;
    border-color: var(--dark) !important;
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(246, 166, 35, 0.35) !important;
}

.btn-outline-accent {
    background: transparent !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.btn-outline-accent:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(246, 166, 35, 0.35) !important;
}

/* Hero */
.hero {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
}

/* Impact Stats */
.impact-stats {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-item .value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

/* Program/Content Cards */
.card,
.program-card,
.report-card {
    background: #068688 !important;
    color: var(--white) !important;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6, .card p,
.program-card h1, .program-card h2, .program-card h3, .program-card p,
.report-card h1, .report-card h2, .report-card h3, .report-card p {
    color: var(--white) !important;
}

.card:hover,
.program-card:hover,
.report-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 53, 60, 0.1);
}

.program-card i,
.card i {
    font-size: 3rem;
    color: var(--white) !important;
    margin-bottom: 25px;
    display: inline-block;
}

/* Custom shadow utilities */
.shadow-coursehub {
    box-shadow: 0 10px 40px rgba(30, 53, 60, 0.06);
}

/* Bootstrap Utility Overrides */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--dark) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.transition-up {
    transition: var(--transition);
}

.transition-up:hover {
    transform: translateY(-10px);
}

/* Strategic Pillars Focus Cards */
.focus-card {
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    position: relative;
    overflow: hidden;
    background: #068688 !important;
}

.focus-card h1, .focus-card h2, .focus-card h3, .focus-card h4, .focus-card h5, .focus-card h6, .focus-card p {
    color: var(--white) !important;
}



.focus-card .focus-icon-box {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transition: var(--transition);
}

.focus-card .focus-icon-box i {
    color: var(--white) !important;
    transition: var(--transition);
}

.focus-card:hover .focus-icon-box {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Accent top border on hover using a pseudo-element */
.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: var(--transition);
    opacity: 0;
}

.focus-card-orange::before {
    background-color: #E69728;
}
.focus-card-red::before {
    background-color: var(--primary);
}
.focus-card-blue::before {
    background-color: #0A3B66;
}
.focus-card-dark::before {
    background-color: var(--dark);
}

.focus-card:hover::before {
    opacity: 1;
}

/* Hover effects with colored glow shadow matching theme color */
.focus-card-orange:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(230, 151, 40, 0.25) !important;
    box-shadow: 0 20px 40px rgba(230, 151, 40, 0.12), 0 5px 15px rgba(230, 151, 40, 0.04) !important;
}

.focus-card-red:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(232, 40, 26, 0.25) !important;
    box-shadow: 0 20px 40px rgba(232, 40, 26, 0.12), 0 5px 15px rgba(232, 40, 26, 0.04) !important;
}

.focus-card-blue:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(10, 59, 102, 0.25) !important;
    box-shadow: 0 20px 40px rgba(10, 59, 102, 0.12), 0 5px 15px rgba(10, 59, 102, 0.04) !important;
}

.focus-card-dark:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(26, 26, 26, 0.25) !important;
    box-shadow: 0 20px 40px rgba(26, 26, 26, 0.12), 0 5px 15px rgba(26, 26, 26, 0.04) !important;
}

/* Icon box styling and rotation */
.focus-icon-box {
    transition: var(--transition);
}
.focus-card:hover .focus-icon-box {
    transform: scale(1.1) rotate(6deg);
}
.focus-card .focus-icon-box i {
    margin-bottom: 0 !important;
}

/* Title transition to color match on card hover */
.focus-title {
    transition: var(--transition);
}
.focus-card-orange:hover .focus-title {
    color: #E69728 !important;
}
.focus-card-red:hover .focus-title {
    color: var(--primary) !important;
}
.focus-card-blue:hover .focus-title {
    color: #0A3B66 !important;
}
.focus-card-dark:hover .focus-title {
    color: var(--primary) !important;
}

/* Support link and arrow animations */
.focus-link {
    transition: var(--transition);
    position: relative;
}

.focus-card-orange:hover .focus-link {
    color: #E69728 !important;
}
.focus-card-red:hover .focus-link {
    color: var(--primary) !important;
}
.focus-card-blue:hover .focus-link {
    color: #0A3B66 !important;
}
.focus-card-dark:hover .focus-link {
    color: var(--primary) !important;
}

.focus-card .focus-link i {
    font-size: 0.9rem !important;
    margin: 0 0 0 6px !important;
    display: inline-block !important;
    color: inherit !important;
    vertical-align: middle;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.focus-card:hover .focus-link i {
    transform: translateX(8px);
}

/* Card Image Zoom Transition on Hover */
.focus-card-img {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.focus-card:hover .focus-card-img {
    transform: scale(1.05);
}

/* Explore Button Transitions on Hover */
.focus-btn {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.focus-card:hover .focus-btn {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background-color: var(--white) !important;
    border-color: var(--white) !important;
    color: var(--dark) !important;
}

.focus-card-orange:hover .focus-btn {
    color: #E69728 !important;
}
.focus-card-red:hover .focus-btn {
    color: #e8281a !important;
}
.focus-card-blue:hover .focus-btn {
    color: #0A3B66 !important;
}
.focus-card-dark:hover .focus-btn {
    color: #1a1a1a !important;
}

/* Explore Button Arrow Icon Styling */
.focus-card .focus-btn i,
.focus-btn i {
    font-size: 0.85rem !important;
    margin: 0 0 0 6px !important;
    display: inline-block !important;
    color: inherit !important;
    vertical-align: middle;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.focus-card:hover .focus-btn i {
    transform: translateX(4px);
}

/* Founder's Message */
.founder-message {
    background: var(--light);
}

.founder-card {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 40px;
    font-size: 15rem;
    color: rgba(193, 154, 107, 0.1);
    font-family: serif;
}

.founder-img {
    flex: 0 0 300px;
    height: 380px;
    border-radius: 15px;
    overflow: hidden;
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-text blockquote {
    font-size: 1.5rem;
    color: var(--secondary);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.founder-text h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.founder-text p {
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 992px) {
    .founder-card {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .founder-img {
        flex: 0 0 250px;
        height: 300px;
        width: 100%;
        max-width: 300px;
    }
}

/* Footer */
.main-footer {
    position: relative;
    background-image: url('../images/ban1.avif') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important; /* Parallax effect */
    padding: 80px 0 0;
    color: var(--white) !important;
    z-index: 1;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 134, 136, 0.88) !important; /* Teal glass color overlay */
    backdrop-filter: blur(12px) saturate(180%) !important; /* Light glass effect */
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    z-index: -1;
}

.main-footer .text-white {
    color: var(--white) !important;
}

.main-footer h5 {
    color: var(--accent) !important; /* Warm Gold Accent headings for high-end look */
}

.main-footer .text-primary {
    color: var(--accent) !important; /* Icons in warm gold accent */
}

.main-footer .footer-links a {
    color: var(--white) !important;
    opacity: 0.8;
}

.main-footer .footer-links a:hover {
    color: var(--accent) !important;
    opacity: 1 !important;
}

.main-footer .social-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
}

.main-footer .social-icon:hover {
    background: var(--accent) !important;
    color: var(--dark) !important;
}

.main-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.main-footer .footer-bottom a {
    color: var(--white) !important;
    opacity: 0.8;
}

.main-footer .footer-bottom a:hover {
    color: var(--accent) !important;
    opacity: 1 !important;
}

.main-footer .footer-logo {
    filter: none !important; /* Display original colors */
}

.main-footer .footer-contact p {
    color: var(--white) !important;
    opacity: 0.85;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Navbar Dropdown Hover & Styling Improvements
   ========================================================================== */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
}

.navbar .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(30, 53, 60, 0.08) !important;
    border: none !important;
    padding: 0.75rem 0;
    margin-top: 0;
}

.navbar .dropdown-item {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    padding: 0.6rem 1.5rem;
}

.navbar .dropdown-item:hover {
    background-color: rgba(24, 200, 196, 0.08);
    color: var(--dark);
    padding-left: 1.8rem;
}

.navbar .dropdown-toggle::after {
    vertical-align: 0.15em;
    margin-left: 0.35em;
    transition: transform 0.3s ease;
}

.navbar .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ==========================================================================
   Page Header & Vision-Mission Theme Contrast Overrides
   ========================================================================== */
.page-header,
.vision-mission {
    background-color: var(--secondary) !important;
}

.page-header *,
.vision-mission * {
    color: var(--dark) !important;
}

.page-header .text-primary,
.vision-mission .text-primary {
    color: var(--primary) !important;
}

.page-header .text-accent,
.vision-mission .text-accent {
    color: var(--accent) !important;
}

.page-header .opacity-75,
.page-header .text-white.opacity-75,
.vision-mission .opacity-75,
.vision-mission .text-white.opacity-75 {
    color: var(--dark-muted) !important;
    opacity: 0.85 !important;
}

/* ==========================================================================
   Premium Hero Section Styling
   ========================================================================== */
.hero {
    position: relative;
    background: #0d0d0f !important;
    overflow: hidden;
    padding: 60px 0 !important;
}

.hero::before {
    display: none;
}

.text-primary-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, #10a29f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(224, 82, 82, 0.4);
    animation: pulse-coral 2s infinite;
}

@keyframes pulse-coral {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(224, 82, 82, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(224, 82, 82, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(224, 82, 82, 0);
    }
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.hero-image-backdrop {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 95%;
    height: 95%;
    background: var(--secondary);
    border-radius: 28px;
    z-index: -1;
    transform: translate(15px, 15px);
    border: 1px solid var(--secondary-dark);
}

.hero-img {
    transition: var(--transition);
    border: 8px solid var(--white);
    box-shadow: var(--shadow) !important;
}

.hero-img:hover {
    transform: translateY(-6px) scale(1.01);
}

.hero-floating-card {
    position: absolute;
    bottom: -15px;
    left: -20px;
    max-width: 260px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(30, 53, 60, 0.1);
    border-left: 5px solid var(--primary);
    z-index: 2;
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(24, 200, 196, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(24, 200, 196, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(24, 200, 196, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(24, 200, 196, 0);
    }
}

/* ==========================================================================
   Premium Carousel Zoom Effect (Ken Burns) & Custom Indicators
   ========================================================================== */
.hero-carousel .carousel-item {
    overflow: hidden;
}

.hero-carousel-img {
    transition: transform 4s ease-out;
    object-fit: cover;
}

.hero-carousel .carousel-item.active .hero-carousel-img {
    transform: scale(1.06);
}

/* Custom styling for Carousel Indicators to make them match our theme */
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 0 6px;
}

.hero-carousel .carousel-indicators .active {
    width: 24px;
    border-radius: 5px;
    opacity: 1;
    background-color: var(--primary);
}

.hero-carousel .carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    margin: 0 !important;
    justify-content: center;
    z-index: 10;
}

#floatingCardTitle,
#floatingCardText {
    transition: opacity 0.3s ease;
}

.hero-carousel-img-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 13, 15, 0.75) 0%, rgba(13, 13, 15, 0.6) 100%);
    z-index: 1;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Responsive Styles for Full-Bleed Hero Carousel */
@media (max-width: 991.98px) {
    .hero {
        min-height: 75vh !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }
    .hero h1 {
        font-size: 2.75rem !important;
    }
    .hero #floatingCardText {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 70vh !important;
        padding-top: 120px !important;
        padding-bottom: 50px !important;
    }
    .hero h1 {
        font-size: 2.25rem !important;
    }
    .hero #floatingCardText {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    .hero-carousel .carousel-indicators {
        bottom: 15px;
    }
}

/* ==========================================================================
   About Intro Redesign Styles
   ========================================================================== */
.about-image-wrapper {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.about-image-backdrop {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 95%;
    height: 95%;
    background: var(--light);
    border-radius: 28px;
    z-index: -1;
    transform: translate(-15px, 15px);
    border: 1px solid var(--secondary-dark);
}

.about-img {
    transition: var(--transition);
    box-shadow: var(--shadow) !important;
}

.about-img:hover {
    transform: translateY(-5px);
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    right: -10px;
    max-width: 320px;
    background: var(--dark) !important;
    color: var(--white) !important;
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--accent);
    z-index: 2;
}

.about-floating-card h3,
.about-floating-card p {
    color: var(--white) !important;
}

.stat-tile {
    background-color: var(--light);
    border: 1px solid var(--secondary-dark);
    padding: 24px;
    border-radius: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.stat-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

/* ==========================================================================
   Reference Format Styling for Visionary Leadership
   ========================================================================== */
.ref-image-container {
    position: relative;
    padding-bottom: 50px;
    padding-right: 50px;
    z-index: 1;
}

.ref-main-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.ref-main-img:hover {
    transform: scale(1.02);
}

.ref-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background-color: var(--accent);
    color: var(--white);
    padding: 20px 15px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(224, 82, 82, 0.3);
    min-width: 110px;
    z-index: 10;
    transition: var(--transition);
}

.ref-badge:hover {
    transform: translateY(-5px);
}

.ref-badge-num {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
    color: var(--white) !important;
}

.ref-badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: block;
    color: var(--white) !important;
}

.ref-inset-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    border-radius: 20px;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 5;
    transition: var(--transition);
}

.ref-inset-wrapper:hover {
    transform: translateY(-5px) scale(1.03);
}

.ref-inset-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right Column Reference Styling */
.ref-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent) !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.ref-title {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--dark) !important;
    margin-bottom: 20px;
}

.ref-title span {
    color: var(--primary) !important; /* Teal highlight */
}

.ref-underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent) !important;
    margin-bottom: 25px;
    border-radius: 2px;
}

.ref-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-muted) !important;
    margin-bottom: 35px;
}

/* Feature Item List */
.ref-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.ref-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.ref-feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ref-icon-bg-coral {
    background-color: rgba(224, 82, 82, 0.1) !important;
    color: var(--accent) !important;
}

.ref-icon-bg-teal {
    background-color: rgba(24, 200, 196, 0.1) !important;
    color: var(--primary) !important;
}

.ref-icon-bg-gold {
    background-color: rgba(193, 154, 107, 0.15) !important;
    color: #C19A6B !important;
}

.ref-feature-content h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark) !important;
    margin-bottom: 4px;
}

.ref-feature-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--dark-muted) !important;
    margin: 0;
}

.btn-ref {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--white) !important;
    padding: 14px 32px !important;
}

.btn-ref:hover {
    background-color: var(--dark) !important;
    border-color: var(--dark) !important;
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(30, 53, 60, 0.15) !important;
}

/* ==========================================================================
   Reference Format Styling for Founder's Message (Dark Section / Second Model)
   ========================================================================== */
.ref-dark-section {
    background: #068688 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(2.9px) !important;
    -webkit-backdrop-filter: blur(2.9px) !important;
    border: 1px solid rgba(46, 158, 167, 0.3) !important;
    position: relative;
    overflow: hidden;
    padding: 80px 60px;
    color: var(--white) !important;
    z-index: 1;
}

.ref-dark-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 12px);
    pointer-events: none;
    z-index: -1;
}

.ref-dark-section * {
    color: var(--white);
}

.ref-dark-section blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    opacity: 0.95;
}

/* Translucent Creator Countdown-style Tiles */
.ref-creator-tile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 24px;
    text-align: center;
    min-width: 140px;
    flex: 1 1 0%;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.ref-creator-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.ref-tile-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 6px;
}

.ref-tile-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Red Action Pill Button */
.btn-ref-red {
    background-color: #ECB613 !important;
    border-color: #ECB613 !important;
    color: var(--dark) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 36px !important;
    box-shadow: 0 8px 25px rgba(236, 182, 19, 0.35) !important;
    transition: var(--transition);
}

.btn-ref-red:hover {
    background-color: var(--dark) !important;
    border-color: var(--dark) !important;
    color: #ECB613 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.25) !important;
}

.btn-ref-red * {
    color: inherit !important;
}

/* Right Column Main Image & Overlapping Circular Badge */
.ref-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.ref-dark-main-img {
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.ref-dark-main-img:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.ref-dark-circle-badge {
    position: absolute;
    top: 25px;
    left: -25px;
    width: 105px;
    height: 105px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(224, 82, 82, 0.7);
    z-index: 10;
    animation: ref-pulse-glow 2.5s infinite alternate;
    transition: var(--transition);
    transform: rotate(-10deg);
}

.ref-dark-circle-badge:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 35px rgba(224, 82, 82, 0.9);
}

.ref-dark-circle-badge .badge-top {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.ref-dark-circle-badge .badge-bottom {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 850;
    color: var(--white) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-top: 3px;
}

@keyframes ref-pulse-glow {
    0% {
        box-shadow: 0 0 15px rgba(224, 82, 82, 0.5), 0 0 5px rgba(224, 82, 82, 0.3);
    }
    100% {
        box-shadow: 0 0 35px rgba(224, 82, 82, 0.85), 0 0 15px rgba(224, 82, 82, 0.5);
    }
}
/* ==========================================================================
   Reference Format Styling for Global Impact Indices (Black Marquee Slider)
   ========================================================================== */
.bg-black-stats {
    background-color: #FAF9F6 !important;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.bg-black-stats h2 {
    color: var(--dark) !important;
}

.ref-stats-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
    position: relative;
}

.ref-stats-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: statsMarquee 30s linear infinite;
}

.ref-stats-marquee-track:hover {
    animation-play-state: paused;
}

.ref-stat-card {
    background: #068688 !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    min-width: 260px;
    width: 260px;
    flex: 0 0 260px;
    box-shadow: 0 15px 35px rgba(6, 134, 136, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.ref-stat-card:hover {
    transform: translateY(-8px);
    background: var(--dark) !important;
    box-shadow: 0 20px 45px rgba(26, 26, 26, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.ref-stat-card .stat-icon-box {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background-color: rgba(255, 255, 255, 0.15) !important;
    transition: var(--transition);
}

.ref-stat-card .stat-icon-box i {
    color: var(--white) !important;
    transition: var(--transition);
}

.ref-stat-card:hover .stat-icon-box {
    transform: scale(1.1) rotate(5deg);
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.ref-stat-card:hover .stat-icon-box i {
    color: var(--primary) !important;
}

.ref-stat-card .stat-val {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 850;
    color: var(--white) !important;
    line-height: 1;
    margin-bottom: 8px;
    transition: var(--transition);
}

.ref-stat-card:hover .stat-val {
    color: var(--primary) !important;
}

.ref-stat-card .stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 1.2px;
    line-height: 1.3;
    transition: var(--transition);
}

.ref-stat-card:hover .stat-label {
    color: var(--white) !important;
}

@keyframes statsMarquee {
    0%, 12% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33333%);
    }
}

/* Redesigned CTA (Collaborative Change) Section */
.bg-cta-light {
    background-color: #f4f7fa !important;
}

.cta-subtitle-line {
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    opacity: 0.6;
    display: inline-block;
}

.join-movement .btn:hover {
    transform: translateY(-3px);
}

/* Navbar Donate Button Recolor to Teal */
.btn-nav-donate {
    background-color: #068688 !important;
    border-color: #068688 !important;
    color: var(--white) !important;
    border-radius: 50px;
    transition: var(--transition) !important;
}

.btn-nav-donate:hover {
    background-color: #045e60 !important;
    border-color: #045e60 !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 134, 136, 0.3) !important;
}


