﻿/*
Theme Name: CapForge
Theme URI: https://capforge.local
Author: CapForge
Author URI: https://capforge.local
Description: A beautiful, modern WordPress theme for CapForge - showcasing legacy, community impact, and social empowerment
Version: 1.0.2
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sports-legacy
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ========================================
   RESET & CORE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Support for reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   CAPFORGE DESIGN TOKENS
   All colours come from the active palette set in functions.php (inline style).
   Values below are the fallback defaults (Education Blue palette).
   NEVER hardcode brand colours in CSS rules � always use these variables.
   ========================================================================== */
:root {
    /* --- Core Palette Tokens (set dynamically via PHP) ---------------------*/
    --cf-primary:       #065F46;      /* main brand colour  (emerald-growth)      */
    --cf-primary-dark:  #022C22;      /* hover / pressed                          */
    --cf-primary-light: #34D399;      /* tinted highlights                        */
    --cf-accent:        #D97706;      /* contrasting pop (CTAs, badges)           */
    --cf-accent-dark:   #B45309;      /* accent hover                             */
    --cf-bg-light:      #F0FDF4;      /* light section backgrounds                */
    --cf-bg-dark:       #022C22;      /* dark section backgrounds / footer        */
    --cf-text-dark:     #14532D;   /* primary body text                        */
    --cf-text-muted:    #4B7A61;   /* captions, secondary text                 */
    --cf-border:        #A7DFC4;      /* dividers, card borders                   */

    /* --- Button Tokens (alias to accent) -----------------------------------*/
    --cf-btn:           var(--cf-accent);
    --cf-btn-hover:     var(--cf-accent-dark);
    --cf-btn-text:      #ffffff;

    /* --- RGB components (needed for rgba() calls in gradients) -------------*/
    --cf-primary-rgb:   6, 95, 70;
    --cf-accent-rgb:    217, 119, 6;
    --cf-bg-dark-rgb:   2, 44, 34;

    /* --- Backward-compat aliases (old rules still use these) ---------------*/
    --primary-color:    var(--cf-primary);
    --secondary-color:  var(--cf-primary-light);
    --accent-color:     var(--cf-accent);
    --primary-dark:     var(--cf-primary-dark);
    --primary-light:    var(--cf-primary-light);
    --dark-bg:          var(--cf-bg-dark);
    --dark-color:       var(--cf-bg-dark);
    --text-dark:        var(--cf-text-dark);
    --text-light:       var(--cf-text-muted);
    --text-muted:       var(--cf-text-muted);
    --text-light-gray:  #9CA3AF;
    --border-color:     var(--cf-border);
    --button-color:     var(--cf-btn);
    --button-hover:     var(--cf-btn-hover);
    --button-text:      var(--cf-btn-text);
    --light-bg:         var(--cf-bg-light);

    /* --- Neutral / Structural (never change with palette) ------------------*/
    --success-color:    #059669;
    --white:            #ffffff;
    --gray-50:          #FAFAFA;
    --gray-100:         #F5F5F5;
    --gray-200:         #EEEEEE;
    --gray-300:         #E0E0E0;
    --spacing-unit:     1rem;

    /* --- Shadows -----------------------------------------------------------*/
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);

    /* --- Transitions -------------------------------------------------------*/
    --transition-fast:   0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow:   0.5s ease;

    /* --- Typography --------------------------------------------------------*/
    --font-size-base: 16px;
    --line-height:    1.6;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    min-height: 100%;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Highlight Spans - Use these classes to color text with theme colors */
/* Usage: <span class="primary">text</span> or <span class="secondary">text</span> */
.primary,
.highlight-primary,
span.primary {
    color: var(--primary-color) !important;
}

.secondary,
.highlight-secondary,
span.secondary {
    color: var(--secondary-color) !important;
}

/* Bold variations */
.primary-bold,
span.primary-bold {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.secondary-bold,
span.secondary-bold {
    color: var(--secondary-color) !important;
    font-weight: 700;
}

/* Background highlight variations */
.primary-bg,
span.primary-bg {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

.secondary-bg,
span.secondary-bg {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Prevent horizontal overflow on all sections */
section,
.section,
article,
main {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col {
    padding: 15px;
    flex: 1;
    min-width: 250px;
}

.col-1 { flex: 0 0 8.333%; }
.col-2 { flex: 0 0 16.666%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333%; }
.col-5 { flex: 0 0 41.666%; }
.col-6 { flex: 0 0 50%; }
.col-7 { flex: 0 0 58.333%; }
.col-8 { flex: 0 0 66.666%; }
.col-9 { flex: 0 0 75%; }
.col-10 { flex: 0 0 83.333%; }
.col-11 { flex: 0 0 91.666%; }
.col-12 { flex: 0 0 100%; }

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 55px;
}

.site-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
}

.site-main {
    width: 100%;
    max-width: 100%;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    min-height: 45px;
}

.site-header.hide {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 1.5rem;
    gap: 1rem;
    min-height: auto;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    flex: 1;
}

@media (max-width: 768px) {
    .site-wrapper {
        padding-top: 45px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.2rem 0.6rem;
        gap: 0.2rem;
    }
    
    .site-header {
        min-height: 40px;
    }
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0; /* Hide any text nodes */
    flex: 1;
}

@media (max-width: 768px) {
    .site-branding {
        gap: 0.75rem;
    }
}

.site-branding img,
.site-branding a {
    font-size: 16px; /* Reset font size for children */
}

.site-title-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.2rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #333;
    line-height: 1;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1rem;
    }
}

.site-title a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
    line-height: 1.2;
}

.title-sports-legacy {
    color: var(--primary-color);
    font-weight: 700;
    display: block;
}

.title-company {
    color: var(--text-dark);
    font-weight: 500;
    display: block;
    font-size: 0.75rem;
}

.site-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-logo-img {
        width: 32px;
        height: 32px;
    }
}

.site-logo {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 24px;
}

.site-description {
    font-size: 0.9rem;
    color: rgba(50, 50, 50, 0.7);
    margin-top: 0.25rem;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .site-navigation {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
    }
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--cf-primary), var(--cf-primary-light));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.main-menu a:hover,
.main-menu li.current-menu-item > a,
.main-menu li.current-menu-parent > a,
.main-menu li.current_page_item > a,
.main-menu li.current_page_parent > a {
    color: var(--cf-primary);
    text-shadow: 0 2px 4px rgba(var(--cf-primary-rgb), 0.3);
}

.main-menu a:hover::after,
.main-menu li.current-menu-item > a::after,
.main-menu li.current-menu-parent > a::after,
.main-menu li.current_page_item > a::after,
.main-menu li.current_page_parent > a::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    transition: all 0.3s ease;
    margin-left: auto;
    z-index: 1001;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.main-menu {
    position: static;
}

/* Show hamburger on mobile - force visible */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 6px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        position: relative !important;
        margin-top: -5px !important;
    }
    
    .site-navigation {
        width: 100%;
        gap: 0;
    }
    
    .main-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 6rem 2rem 2rem;
        margin: 0;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-menu.active {
        left: 0;
    }
    
    .main-menu li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-menu li:last-child {
        border-bottom: none;
    }
    
    .main-menu a {
        display: block;
        padding: 1.2rem 1rem;
        color: var(--text-dark);
        font-weight: 600;
        border-bottom: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }
    
    .main-menu a:hover {
        color: var(--primary-color);
        background: rgba(var(--cf-primary-rgb), 0.05);
        padding-left: 1.5rem;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-bg-dark) 100%);
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 500px !important;
    width: 100%;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.05) 80%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Video Background Styles */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.05) 80%, rgba(255, 255, 255, 0.3) 100%),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    max-height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-color);
    color: var(--button-text);
    border: 2px solid var(--button-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--button-hover);
    border-color: var(--button-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.35);
}

/* Hero Text Animations */
.hero-text-wrapper.fade-animation {
    animation: fadeIn 1s ease-in-out forwards;
}

.hero-text-wrapper.slide-left-animation {
    animation: slideInLeft 1s ease-in-out forwards;
}

.hero-text-wrapper.slide-right-animation {
    animation: slideInRight 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    padding: 80px 0;
    background: white;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.service-item:nth-child(even) .service-image {
    order: 2;
}

.service-item:nth-child(even) .service-content {
    order: 1;
}

.service-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-member-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.team-member-info {
    padding: 2rem;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-socials a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.team-socials a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonial-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 0;
    margin-top: auto;
}

.footer-content {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.8rem;
}

.footer-widget ul a,
.footer-post-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer !important;
    display: inline-block;
    position: relative;
    text-decoration: none;
    pointer-events: auto !important;
    z-index: 10;
}

.footer-widget ul a:hover,
.footer-post-link:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
    text-decoration: underline;
}

.footer-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-posts-list li {
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 10;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0;
}

/* ========================================
   BLOG & POSTS
   ======================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.post-content {
    padding: 2rem;
}

/* Single Post Layout */
.single-post .site-main {
    width: 100%;
    padding: 40px 0;
}

.single-post-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-post-wrapper .container {
    max-width: 100%;
    padding: 0;
}

.single-post article {
    width: 100%;
    max-width: 100%;
    background: white;
}

.single-post .post-content,
.single-post .entry-content {
    padding: 0;
    max-width: 100%;
    line-height: 1.8;
}

.single-post .entry-content p {
    margin-bottom: 1.5rem;
}

.post-category {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.post-title a:hover {
    color: var(--secondary-color);
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

/* ========================================
   SIDEBAR & WIDGETS
   ======================================== */

.sidebar {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.widget {
    margin-bottom: 2rem;
}

.widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

/* ========================================
   PAGE TEMPLATE
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-bg-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin: 0;
}

.breadcrumb {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   BUTTONS & FORMS
   ======================================== */

.button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-color);
    color: #fff;
    border: 2px solid var(--button-color);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.button:hover,
button:not(.edit-section-btn):not(.edit-btn-light):not(.marquee-edit-btn):not(.customizer-section-icon):hover,
input[type="submit"]:hover {
    background: var(--button-hover);
    border-color: var(--button-hover);
    color: #fff;
}

.button.secondary {
    background: transparent;
    color: var(--button-color);
    border-color: var(--button-color);
}

.button.secondary:hover {
    background: var(--button-color);
    color: #fff;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    background-color: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--cf-primary-rgb), 0.1);
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    touch-action: manipulation;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
    }

    button,
    .button,
    input[type="submit"],
    input[type="button"] {
        font-size: 16px;
        padding: 14px 24px;
        min-height: 44px;
    }

    .main-menu a,
    a[role="button"],
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }

    .main-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 100px 0 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .hero-slider-dots {
        bottom: 20px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .col-6 { flex: 0 0 100%; }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item:nth-child(even) .service-image {
        order: 1;
    }

    .service-item:nth-child(even) .service-content {
        order: 2;
    }

    .team-member-image {
        height: 250px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.4rem;
    }

    .main-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 90px 0 40px 0;
    }

    .features-section,
    .services-section,
    .team-section,
    .testimonials-section,
    .cta-section {
        padding: 40px 0;
    }

    .col {
        padding: 10px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: var(--spacing-unit); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mt-3 { margin-top: calc(var(--spacing-unit) * 3); }

.mb-1 { margin-bottom: var(--spacing-unit); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 3); }

.pt-1 { padding-top: var(--spacing-unit); }
.pt-2 { padding-top: calc(var(--spacing-unit) * 2); }
.pt-3 { padding-top: calc(var(--spacing-unit) * 3); }

.pb-1 { padding-bottom: var(--spacing-unit); }
.pb-2 { padding-bottom: calc(var(--spacing-unit) * 2); }
.pb-3 { padding-bottom: calc(var(--spacing-unit) * 3); }

/* ========================================
   HOMEPAGE SECTIONS
   ======================================== */

.hero-tagline {
    font-size: 1.3rem;
    color: var(--cf-primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin: 15px 0;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-intro-section {
    padding: 80px 20px;
    background: white;
}

.about-intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.programmes-highlight-section {
    padding: 80px 20px;
    background: #f5f5f5;
}

.programmes-content h2 {
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 2rem;
}

.programmes-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.programmes-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.programmes-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: #666;
    font-size: 1rem;
}

.programmes-list li:before {
    content: "?";
    position: absolute;
    left: 0;
    color: var(--cf-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.programmes-image {
    text-align: center;
}

.programmes-image img {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.sponsor-benefits-highlight {
    padding: 80px 20px;
    background: white;
}

.benefit-box {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 2px solid transparent;
}

.benefit-box:hover {
    border-color: var(--cf-primary);
    transform: translateY(-5px);
}

.benefit-box h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-box p {
    color: #666;
    line-height: 1.7;
}

.project-showcase-section {
    padding: 80px 20px;
    background: white;
}

.project-content {
    max-width: 900px;
    margin: 0 auto;
}

.project-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Contact Form Message Styling */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 5px;
    font-weight: 500;
    display: none;
    animation: slideInUp 0.3s ease-out;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disabled button state */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========================================
   GALLERY SECTION - OPTIMIZED FOR SMOOTH SCROLLING
   ======================================== */

.modern-gallery-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.modern-gallery-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-size: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    grid-auto-flow: dense;
    will-change: contents;
    contain: layout style paint;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 1;
    height: auto;
    min-height: 280px;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.gallery-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backface-visibility: hidden;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-large img {
    height: 100%;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    color: white;
    padding: 40px 20px 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cf-primary-light);
}

/* Optimize for mobile */
@media (max-width: 768px) {
    .modern-gallery-section {
        padding: 60px 0;
    }

    .modern-gallery-section h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        min-height: 200px;
    }

    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-overlay {
        padding: 30px 15px 15px;
    }

    .gallery-overlay p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item {
        min-height: 150px;
    }

    .gallery-overlay {
        padding: 20px 10px 10px;
    }

    .gallery-overlay p {
        font-size: 0.85rem;
    }
}

/* IMAGE OPTIMIZATION - prevent layout shift */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* ========================================
   SOCIAL MEDIA ICONS
   ======================================== */

.social-media-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0.4rem;
    border-radius: 50%;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Header Social Media */
.social-media-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 0.2rem 0;
    margin: 0;
}

.social-media-header .social-icon {
    padding: 0.25rem;
}

/* Desktop: Icons above nav on right */
@media (min-width: 769px) {
    .social-media-header {
        width: 100%;
        justify-content: flex-end;
        margin-bottom: 0.05rem;
    }
}

/* Footer Social Media */
.social-media-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
    margin-top: 1rem;
}

.social-media-footer .social-icon {
    padding: 0.5rem;
}

/* Mobile Responsive - Move header icons below logo and center */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
    }

    .header-content {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 1rem;
    }

    .site-branding {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.5rem;
        gap: 0.3rem;
    }

    .header-right {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .social-media-header {
        width: 100%;
        justify-content: center;
        margin: 0.3rem 0;
        gap: 1rem;
    }

    .social-media-header .social-icon {
        padding: 0.3rem;
    }

    .site-navigation {
        width: 100%;
        margin-top: 0.3rem;
    }
}
}

.social-media-footer .social-icon:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .social-media-footer {
        gap: 0.8rem;
        margin: 1rem 0;
    }
}

/* ========================================
   MODERN HOME PAGE STYLES
   ======================================== */

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.hero-text-wrapper {
    animation: fadeInUp 1s ease-out;
    --hero-text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    --subtitle-scale: 1;
    --title-scale: 1;
    --tagline-scale: 1;
}

.hero-subtitle {
    font-size: calc(var(--hero-subtitle-size, 18px) * var(--subtitle-scale, 1));
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: var(--hero-text-shadow, 2px 2px 6px rgba(0,0,0,0.5));
}

.hero-title {
    font-size: calc(var(--hero-title-size, 56px) * var(--title-scale, 1));
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
    text-shadow: var(--hero-text-shadow, 2px 2px 10px rgba(0, 0, 0, 0.3));
}

/* Highlighted <span> inside hero title uses the palette accent colour */
.hero-title span,
.hero-title em {
    color: var(--cf-accent);
    font-style: normal;
    text-shadow: var(--hero-text-shadow, 2px 2px 10px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
    font-size: calc(var(--hero-tagline-size, 20px) * var(--tagline-scale, 1));
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: var(--hero-text-shadow, 2px 2px 6px rgba(0,0,0,0.5));
}

/* Responsive Hero Text - Tablet */
@media (max-width: 992px) {
    .hero-text-wrapper {
        --subtitle-scale: 0.9;
        --title-scale: 0.85;
        --tagline-scale: 0.9;
    }
}

/* Responsive Hero Text - Mobile */
@media (max-width: 768px) {
    .hero-text-wrapper {
        --subtitle-scale: 0.75;
        --title-scale: 0.6;
        --tagline-scale: 0.75;
    }
    
    .hero-subtitle {
        letter-spacing: 2px;
    }
    
    .hero-tagline {
        letter-spacing: 1px;
    }
}

/* Responsive Hero Text - Small Mobile */
@media (max-width: 480px) {
    .hero-text-wrapper {
        --subtitle-scale: 0.65;
        --title-scale: 0.45;
        --tagline-scale: 0.65;
    }
    
    .hero-subtitle {
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }
    
    .hero-title {
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .hero-tagline {
        letter-spacing: 0.5px;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    margin-top: 0.5rem;
    animation: slideDown 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes slideDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.section-title-light {
    color: white;
}

/* Intro Section - Enhanced Typography */
.intro-section {
    background: white;
    padding: 4rem 0 5rem;
}

.intro-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.intro-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-content {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.8;
    color: #444;
    font-weight: 400;
}

.intro-content p {
    margin-bottom: 1.25rem;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* Read More Button */
.intro-section .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color, var(--cf-primary));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(var(--cf-primary-rgb), 0.3);
}

.intro-section .read-more-btn:hover {
    background: var(--secondary-color, var(--cf-accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 69, 50, 0.4);
}

.intro-section .read-more-btn:active {
    transform: translateY(0);
}

.intro-section .read-more-btn:focus {
    outline: 2px solid var(--primary-color, var(--cf-primary));
    outline-offset: 2px;
}

.intro-section .read-more-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.intro-text-full {
    overflow: hidden;
    display: none;
}

.intro-text-preview {
    margin-bottom: 0;
}

.intro-text-preview p:last-child {
    margin-bottom: 0;
}

/* Vision & Mission Cards - Modern About Page Style */
.vision-mission-section {
    background: linear-gradient(135deg, var(--cf-accent-dark) 0%, var(--cf-accent) 40%, var(--cf-bg-light) 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite !important;
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Override background when parallax is used */
.vision-mission-section.has-parallax {
    background: none !important;
    animation: none !important;
}

/* Enhance gradient effect with subtle overlay */
.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.3) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.vision-mission-section .container {
    position: relative;
    z-index: 2;
}

/* Enhance text contrast on gradient */
.vision-mission-section .section-header h2,
.vision-mission-section .section-eyebrow,
.vision-mission-section .section-subtitle {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Parallax Background */
.vision-mission-section.has-parallax {
    position: relative;
}

.vision-mission-section .parallax-bg {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.vision-mission-section .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.vision-mission-section.has-parallax .container {
    position: relative;
    z-index: 3;
}

/* Enhance text contrast when parallax is active */
.vision-mission-section.has-parallax .section-header h2,
.vision-mission-section.has-parallax .section-eyebrow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vision-mission-section.has-parallax .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid #e8e8e8;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Overlay for cards with background images */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--transition-normal, 0.3s ease);
    z-index: 1;
    pointer-events: none;
}

.card[style*="background-image"]::before {
    opacity: 1;
}

/* Zoom effect on hover for background images */
.card[style*="background-image"]::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

.card[style*="background-image"]:hover::after {
    transform: scale(1.1);
}

.card:hover {
    border-color: var(--primary-color, var(--cf-primary));
    background: #ffffff;
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    margin-bottom: 25px;
    padding: 0;
    background: transparent !important;
    position: relative;
    z-index: 2;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    line-height: 1.3;
    color: var(--dark-color, #1a1a1a) !important;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* Light text for cards with background images */
.card[style*="background-image"] .card-header h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.card-body {
    padding: 0;
    color: var(--text-muted, #666);
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Enhanced text contrast for cards with background images */
.card[style*="background-image"] .card-body {
    color: #f0f0f0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.card[style*="background-image"] .card-body p {
    font-weight: 500;
    color: #f0f0f0;
}

.card-body p {
    margin-bottom: 15px;
}

.card-body p:last-child {
    margin-bottom: 0;
}

/* Challenges Section - Modern About Page Style */
.challenges-section {
    padding: 100px 20px 140px;
    position: relative;
    overflow: hidden;
}

/* Animated gradient background - only when not using parallax */
.challenges-section:not(.parallax) {
    background: linear-gradient(-45deg, #f0f4f8, #e8f5e9, #f8f9fa, #e3f2fd, #f5f5f5);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.challenges-section:not(.parallax)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(var(--cf-primary-rgb), 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: subtle-float 20s ease-in-out infinite;
}

/* Parallax mode styles */
.challenges-section.parallax {
    background: transparent;
}

.challenges-section.parallax .parallax-bg {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: 1;
}

.challenges-section.parallax .challenges-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.challenges-section.parallax .container {
    position: relative;
    z-index: 3;
}

@keyframes subtle-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 5%); }
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: clamp(2rem, 4vw, 3rem);
    position: relative;
    z-index: 2;
}

.challenge-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cf-primary), var(--cf-primary-dark), var(--cf-primary));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.challenge-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--cf-primary-rgb), 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.challenge-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(145deg, #ffffff 0%, #ffffff 100%);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(var(--cf-primary-rgb), 0.15), 0 10px 30px rgba(0, 0, 0, 0.08);
}

.challenge-card:hover::before {
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

.challenge-card:hover::after {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.challenge-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 25px rgba(var(--cf-primary-rgb), 0.3);
}

.challenge-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cf-primary), var(--cf-primary-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(15px);
}

.challenge-card:hover .challenge-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(var(--cf-primary-rgb), 0.5);
}

.challenge-card:hover .challenge-icon-wrapper::before {
    opacity: 0.6;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.challenge-icon {
    font-size: 2.2rem;
}

.challenge-icon svg {
    width: 45px;
    height: 45px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.challenge-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.challenge-card h3 span.primary {
    color: var(--primary-color) !important;
}

.challenge-card:hover h3 {
    color: var(--primary-color);
}

.challenge-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.98rem;
    transition: color 0.3s ease;
}

.challenge-card:hover p {
    color: var(--cf-primary);
}

.challenge-stat {
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    margin-top: 20px;
}

.stat-highlight {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.challenges-cta {
    text-align: center;
    margin-top: 50px;
}

.cta-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Parallax mode card styling */
.challenges-section.parallax .challenge-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.challenge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(var(--cf-primary-rgb), 0.1) 0%, rgba(var(--cf-primary-rgb), 0.05) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.challenge-card:hover .challenge-icon {
    background: linear-gradient(135deg, rgba(var(--cf-primary-rgb), 0.15) 0%, rgba(var(--cf-primary-rgb), 0.08) 100%);
    transform: scale(1.05);
}

.challenge-icon svg {
    width: 32px;
    height: 32px;
}

.challenge-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.challenge-card p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.7;
    margin: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Solution Section - Pillars - Modern About Page Style */
.solution-section {
    background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-primary-light) 50%, var(--cf-primary) 100%);
    background-size: 200% 200%;
    animation: solutionGradient 10s ease infinite;
    padding: 100px 20px;
    position: relative;
}

@keyframes solutionGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Parallax Background for Solution Section */
.solution-section.has-parallax-bg {
    overflow: hidden;
}

.solution-section .parallax-bg {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: translateZ(0);
    will-change: transform;
}

/* Dark overlay for parallax background */
.solution-section .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    pointer-events: none;
}

/* Ensure content is above parallax */
.solution-section.has-parallax-bg > .container {
    position: relative;
    z-index: 2;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted, #666);
    line-height: 1.8;
}

/* Light text for parallax background sections */
.solution-section.has-parallax-bg .section-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.solution-section.has-parallax-bg .section-intro {
    color: #f0f0f0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Pillar Column Options */
.pillars-grid.pillars-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.pillars-grid.pillars-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pillars-grid.pillars-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Tablet: max 2 columns */
@media (max-width: 992px) {
    .pillars-grid.pillars-columns-3,
    .pillars-grid.pillars-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: single column */
@media (max-width: 576px) {
    .pillars-grid.pillars-columns-2,
    .pillars-grid.pillars-columns-3,
    .pillars-grid.pillars-columns-4 {
        grid-template-columns: 1fr;
    }
}

.pillar-card {
    background: var(--light-bg, #f8f9fa);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal, 0.3s ease);
    border: 2px solid #e8e8e8;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Pillar cards with background images */
.pillar-card.has-bg-image {
    border-color: transparent;
}

.pillar-card.has-bg-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

.pillar-card.has-bg-image:hover::after {
    transform: scale(1.1);
}

.pillar-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    transition: background 0.3s ease;
}

.pillar-card.has-bg-image:hover .pillar-card-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.pillar-card-content {
    position: relative;
    z-index: 2;
}

.pillar-card.has-bg-image h4,
.pillar-card.has-bg-image p {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pillar-card:hover {
    border-color: var(--primary-color, var(--cf-primary));
    background: var(--white, #ffffff);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg, 0 20px 50px rgba(0, 0, 0, 0.15));
}

.pillar-card.has-bg-image:hover {
    border-color: var(--primary-color, var(--cf-primary));
    box-shadow: var(--shadow-lg, 0 20px 50px rgba(0, 0, 0, 0.3));
}

.pillar-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    opacity: 1;
    transition: all var(--transition-normal);
    position: relative;
    padding-top: 2px;
}

.pillar-card:hover .pillar-number {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(var(--cf-primary-rgb), 0.4);
}

.pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark-color, #1a1a1a);
    letter-spacing: 0.02em;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-muted, #666);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Benefits Section - Modern About Page Style */
.benefits-section {
    padding: 100px 20px;
    background: var(--light-bg, #f8f9fa);
    position: relative;
    overflow: hidden;
}

/* Parallax mode styles for Benefits section */
.benefits-section.parallax {
    background: transparent;
}

.benefits-section.parallax .parallax-bg {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: 1;
}

.benefits-section.parallax .benefits-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.benefits-section.parallax .container {
    position: relative;
    z-index: 3;
}

.benefits-section.parallax .benefit-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.benefits-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 3rem auto 0;
    max-width: 1100px;
}

/* Benefits Column Options */
.benefits-content.benefits-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.benefits-content.benefits-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.benefits-content.benefits-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Tablet: max 2 columns */
@media (max-width: 992px) {
    .benefits-content.benefits-columns-3,
    .benefits-content.benefits-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: single column */
@media (max-width: 576px) {
    .benefits-content.benefits-columns-2,
    .benefits-content.benefits-columns-3,
    .benefits-content.benefits-columns-4 {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    background: var(--white, #ffffff);
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal, 0.3s ease);
    border: 2px solid #e8e8e8;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.benefit-item:hover {
    border-color: var(--primary-color, var(--cf-primary));
    background: var(--white, #ffffff);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg, 0 20px 50px rgba(0, 0, 0, 0.15));
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
    transition: all var(--transition-normal);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 800;
    text-align: center;
    position: relative;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(var(--cf-primary-rgb), 0.4);
}

.benefit-item p {
    margin: 0;
    color: var(--text-muted, #666);
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: center;
}

/* CTA Button */
.cta-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.35);
    opacity: 0.9;
}

/* ========================================
   MARQUEE SECTION
   Scrolling banner with text/icons/images
   ======================================== */
.marquee-section {
    background: var(--marquee-bg, var(--cf-primary));
    color: var(--marquee-color, #ffffff);
    padding: 1rem 0;
    overflow: visible;
    position: relative;
    width: 100%;
    border: none;
    border-top: none;
    border-bottom: none;
}

/* Background Style: Solid (default) */
.marquee-bg-solid {
    background: var(--marquee-bg, var(--cf-primary));
}

/* Background Style: Gradient */
.marquee-bg-gradient {
    background: linear-gradient(90deg, var(--marquee-bg, var(--cf-primary)), var(--marquee-gradient-end, var(--cf-primary-dark)));
}

/* Background Style: Diagonal Stripes */
.marquee-bg-diagonal {
    background: repeating-linear-gradient(
        45deg,
        var(--marquee-bg, var(--cf-primary)),
        var(--marquee-bg, var(--cf-primary)) 10px,
        var(--marquee-bg-light, rgba(var(--cf-primary-rgb), 0.8)) 10px,
        var(--marquee-bg-light, rgba(var(--cf-primary-rgb), 0.8)) 20px
    );
}

/* Background Style: Chevron Pattern */
.marquee-bg-chevron,
.marquee-bg-chevron-static {
    background: var(--marquee-bg, var(--cf-primary));
    position: relative;
    overflow: visible;
}

.marquee-bg-chevron-transparent {
    background: transparent;
    position: relative;
    overflow: visible;
    margin-top: -60px;
    margin-bottom: -60px;
    z-index: 10;
    padding: 30px 0;
    pointer-events: none;
}

/* Background Style: Chevron Large (Transparent BG) - Double size with more spacing */
.marquee-bg-chevron-large-transparent {
    background: transparent;
    position: relative;
    overflow: visible;
    margin-top: -100px;
    margin-bottom: -100px;
    z-index: 10;
    padding: 50px 0;
    pointer-events: none;
}

.marquee-chevron-bg {
    position: absolute;
    top: 0;
    left: -100px;
    right: -100px;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    display: flex;
    align-items: stretch;
    pointer-events: none;
}

.marquee-chevron-transparent.marquee-chevron-bg {
    position: relative;
    left: 0;
    right: 0;
    width: calc(100% + 200px);
    margin-left: -100px;
    overflow: hidden;
    height: 60px;
}

.chevron-row {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    gap: 0;
    will-change: transform;
}

.marquee-chevron-animated .chevron-row {
    animation: chevron-slide-right 6s linear infinite;
}

/* Slower animation for large chevrons */
.marquee-chevron-large-transparent .chevron-row {
    animation: chevron-slide-right-large 8s linear infinite;
}

@keyframes chevron-slide-right {
    from {
        transform: translateX(-200px);
    }
    to {
        transform: translateX(0px);
    }
}

@keyframes chevron-slide-right-large {
    from {
        transform: translateX(-360px);
    }
    to {
        transform: translateX(0px);
    }
}

.chevron-shape {
    height: 100%;
    width: 60px;
    flex-shrink: 0;
    margin-left: -20px;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.25));
}

.chevron-shape:first-child {
    margin-left: 0;
}

/* Large Chevron variant - Double size with more spacing */
.marquee-chevron-large-transparent .chevron-shape {
    width: 120px;
    margin-left: -30px;
}

.marquee-chevron-large-transparent .chevron-shape:first-child {
    margin-left: 0;
}

.marquee-chevron-large-transparent.marquee-chevron-bg {
    position: relative;
    left: 0;
    right: 0;
    width: calc(100% + 200px);
    margin-left: -100px;
    overflow: hidden;
    height: 100px;
}

/* Ensure marquee content is above chevron background */
.marquee-bg-chevron .marquee-track,
.marquee-bg-chevron-static .marquee-track,
.marquee-bg-chevron-transparent .marquee-track,
.marquee-bg-chevron-large-transparent .marquee-track {
    position: relative;
    z-index: 1;
}

/* Hide the default marquee track content for transparent chevron styles */
.marquee-bg-chevron-transparent .marquee-track,
.marquee-bg-chevron-large-transparent .marquee-track {
    display: none;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 0;
    -webkit-animation: marquee-scroll var(--marquee-speed, 30s) linear infinite;
    animation: marquee-scroll var(--marquee-speed, 30s) linear infinite;
    will-change: transform;
    overflow: hidden;
}

.marquee-track-right {
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

/* Pause on hover */
.marquee-section[data-pause="true"]:hover .marquee-track {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

@-webkit-keyframes marquee-scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    flex-shrink: 0;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.marquee-text {
    font-weight: 700;
}

/* Icon items */
.marquee-icon-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.marquee-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* Font Awesome icon styling in marquee */
i.marquee-icon {
    font-size: 1.4rem;
    width: 1.5em;
    text-align: center;
}

.marquee-label {
    font-weight: 600;
}

/* Image items */
.marquee-image {
    padding: 0.25rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.marquee-image img {
    height: var(--marquee-image-height, 60px);
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 4px;
}

/* White filter option for logos (icons) */
.marquee-section[data-image-style="logo"] .marquee-image img {
    filter: brightness(0) invert(1);
}

.marquee-section[data-image-style="logo"]:hover .marquee-image img {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

/* Normal images - no filter */
.marquee-section[data-image-style="photo"] .marquee-image img,
.marquee-section:not([data-image-style]) .marquee-image img {
    filter: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.marquee-section[data-image-style="photo"]:hover .marquee-image img {
    transform: scale(1.05);
}

/* Grayscale option */
.marquee-section[data-image-style="grayscale"] .marquee-image img {
    filter: grayscale(100%);
}

.marquee-section[data-image-style="grayscale"]:hover .marquee-image img {
    filter: grayscale(0%);
}

/* Separator - Arrow style like in PDF */
.marquee-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Arrow separator - custom SVG style */
.marquee-separator:has(+ .marquee-text)::before,
.marquee-section[data-separator="arrow"] .marquee-separator {
    font-family: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-item {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        letter-spacing: 1px;
    }
    
    .marquee-icon {
        font-size: 1.2rem;
    }
    
    i.marquee-icon {
        font-size: 1.1rem;
    }
    
    .marquee-image img {
        height: 35px;
    }
}

/* ========================================
   UNIFIED PAGE HERO STYLES
   Consistent hero section for all pages except Home
   ======================================== */

.unified-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    overflow: hidden;
}

/* Background container */
.unified-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Video background */
.unified-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Image background */
.unified-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Gradient overlay */
.unified-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Default gradient when no background is set */
.unified-page-hero:not(:has(.unified-hero-image)):not(:has(.unified-hero-video)) .unified-hero-overlay {
    background: linear-gradient(135deg, var(--cf-primary), #1a1a1a) !important;
}

/* Content container */
.unified-page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero content wrapper */
.unified-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Text alignment variations */
.unified-hero-content[style*="text-align: left"] {
    margin: 0;
}

.unified-hero-content[style*="text-align: right"] {
    margin: 0 0 0 auto;
}

/* Hero label/subtitle */
.unified-hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cf-accent);
    margin-bottom: 15px;
    padding: 8px 16px;
    background: rgba(var(--cf-primary-rgb), 0.15);
    border-radius: 4px;
}

/* Hero title */
.unified-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero tagline/paragraph */
.unified-hero-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

.unified-hero-content[style*="text-align: center"] .unified-hero-tagline {
    margin-left: auto;
    margin-right: auto;
}

/* Hero animations - using unified animation system */
/* Hero content is visible by default (no animation) */
.unified-page-hero .unified-hero-content {
    opacity: 1;
}

/* When animation classes are applied, start hidden */
.unified-page-hero .unified-hero-content.animate-slide-fade,
.unified-page-hero .unified-hero-content.animate-slide-left,
.unified-page-hero .unified-hero-content.animate-slide-right,
.unified-page-hero .unified-hero-content.animate-slide-top,
.unified-page-hero .unified-hero-content.animate-slide-bottom {
    opacity: 0;
}

/* Fade In Animation */
.unified-page-hero .unified-hero-content.animate-slide-fade {
    transition: opacity 0.8s ease-out;
}

.unified-page-hero .unified-hero-content.animate-slide-fade.visible {
    opacity: 1 !important;
}

/* Show content when visible class is added (animation triggered) */
.unified-page-hero .unified-hero-content.animate-slide-left.visible,
.unified-page-hero .unified-hero-content.animate-slide-right.visible,
.unified-page-hero .unified-hero-content.animate-slide-top.visible,
.unified-page-hero .unified-hero-content.animate-slide-bottom.visible {
    opacity: 1 !important;
}

/* Responsive styles for unified hero */
@media (max-width: 768px) {
    .unified-page-hero {
        min-height: 280px;
    }

    .unified-page-hero .container {
        padding: 40px 15px;
    }

    .unified-hero-title {
        font-size: 2rem;
    }

    .unified-hero-tagline {
        font-size: 1rem;
    }

    .unified-hero-label {
        font-size: 0.75rem;
        letter-spacing: 2px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .unified-page-hero {
        min-height: 240px;
    }

    .unified-hero-title {
        font-size: 1.6rem;
    }

    .unified-hero-tagline {
        font-size: 0.95rem;
    }
}

/* ========================================
   UNIFIED EDIT BUTTON STYLES
   All edit/pencil buttons across the site
   ======================================== */

/* Base edit button - brand style */
.edit-section-btn,
.customizer-section-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    background: #D97706 !important;
    color: white !important;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
    border: 3px solid white !important;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.9;
}

.edit-section-btn:hover,
.customizer-section-icon:hover {
    opacity: 1;
    transform: scale(1.1) rotate(15deg) !important;
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.6) !important;
    background: #B45309 !important;
    color: white !important;
    border-color: white !important;
}

.edit-section-btn:active,
.customizer-section-icon:active {
    transform: scale(0.95) !important;
}

/* Light variant - for dark backgrounds */
.edit-section-btn-light,
.edit-btn-light {
    background: #fff !important;
    color: #D97706 !important;
    border: 3px solid #D97706 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.edit-section-btn-light:hover,
.edit-btn-light:hover {
    background: #D97706 !important;
    color: #fff !important;
    border-color: #fff !important;
}

/* Marquee edit button - subtle style */
.marquee-edit-btn {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: none !important;
    opacity: 0;
    z-index: 100 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    color: #fff !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
}

.marquee-section:hover .marquee-edit-btn {
    opacity: 1;
}

.marquee-edit-btn:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-50%) scale(1.1) !important;
    border-color: #fff !important;
}

/* Header icon - fixed positioning */
.site-header .customizer-section-icon {
    position: fixed;
    top: 20px;
    right: 20px;
}

/* Ensure sections have relative positioning for button placement */
.section-editable,
.hero-section,
.vision-mission-section,
.challenges-section,
.solution-section,
.benefits-section,
.partner-section,
.partners-hero-v2,
.partner-header,
.partner-about,
.partnership-details,
.programme-benefits,
.qualifications-section,
.partners-stats-section,
.partners-cta-section,
.partner-showcase,
footer.site-footer,
.footer-widget,
.about-parallax-section,
.about-challenges-section,
.about-team-section,
.about-timeline-section,
.about-testimonials-section,
.about-intro-section,
.about-impact-section,
.about-values-section,
.about-business-hub-section,
.about-cta-section {
    position: relative;
}

/* Hide duplicate customizer icons on About page (has manual buttons) */
.about-parallax-section .customizer-section-icon,
.about-challenges-section .customizer-section-icon,
.about-team-section .customizer-section-icon,
.about-timeline-section .customizer-section-icon,
.about-testimonials-section .customizer-section-icon,
.about-business-hub-section .customizer-section-icon {
    display: none !important;
}

/* ========================================
   IMPACT STATISTICS SECTION
   ======================================== */

.impact-stats-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.impact-stats-section .section-title {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.impact-stats-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.impact-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    flex: 0 0 auto;
    width: 250px;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
}

.impact-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.impact-stat .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    display: inline;
    line-height: 1;
}

.impact-stat .stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    opacity: 0.9;
}

.impact-stat .stat-label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .impact-stat {
        flex: 0 1 calc(50% - 1rem);
        max-width: none;
    }
}

/* Responsive: Mobile */
@media (max-width: 576px) {
    .impact-stats-grid {
        gap: 1.5rem;
    }
    
    .impact-stat {
        flex: 0 1 100%;
        max-width: none;
        padding: 2rem 1.5rem;
    }
    
    .impact-stat .stat-number {
        font-size: 2.5rem;
    }
    
    .impact-stat .stat-suffix {
        font-size: 1.5rem;
    }
}

/* ========================================
   CALL TO ACTION SECTION
   ======================================== */

.cta-section {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-section .cta-button.primary {
    background: var(--button-color);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}

.cta-section .cta-button.primary:hover {
    background: var(--button-hover);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 166, 35, 0.5);
}

.cta-section .cta-button.secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.cta-section .cta-button.secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 5rem 0;
        background-attachment: scroll;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

/* Fade-in Animation */
.fade-in-section,
.fade-in-item {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-item.visible,
.fade-in-section.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* Elements with slide animations - slide takes priority */
.fade-in-item[class*="animate-slide-"],
.fade-in-section[class*="animate-slide-"] {
    /* Let the animate-slide-* rules handle these elements */
    transform: none;
    animation: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .content-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .challenges-grid,
    .pillars-grid,
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        padding: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   SLIDE-IN ANIMATIONS FOR VISION & MISSION
   ======================================== */

/* Initially hide animated elements - use will-change for GPU acceleration */
[class*="animate-slide-"] {
    opacity: 0 !important;
    will-change: transform, opacity;
}

/* Slide from Left */
.animate-slide-left {
    transform: translate3d(-80px, 0, 0);
}

.animate-slide-left.visible {
    opacity: 1 !important;
    animation: slideInFromLeft 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

/* Slide from Right */
.animate-slide-right {
    transform: translate3d(80px, 0, 0);
}

.animate-slide-right.visible {
    opacity: 1 !important;
    animation: slideInFromRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

/* Slide from Top */
.animate-slide-top {
    transform: translate3d(0, -80px, 0);
}

.animate-slide-top.visible {
    opacity: 1 !important;
    animation: slideInFromTop 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

/* Slide from Bottom */
.animate-slide-bottom {
    transform: translate3d(0, 80px, 0);
}

.animate-slide-bottom.visible {
    opacity: 1 !important;
    animation: slideInFromBottom 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

/* Clean up will-change after animation completes */
[class*="animate-slide-"].visible {
    will-change: auto;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translate3d(-80px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translate3d(80px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translate3d(0, -80px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translate3d(0, 80px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ========================================
   SVG ICON STYLES
   Modern outline-style icons
   ======================================== */

.sl-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Icon in stat/value cards */
.stat-icon .sl-icon,
.value-icon .sl-icon,
.challenge-icon .sl-icon,
.card-icon .sl-icon {
    width: 48px;
    height: 48px;
    stroke: var(--primary-color, var(--cf-primary));
    stroke-width: 1.5;
}

/* Larger icons for feature sections */
.impact-stat .sl-icon {
    width: 56px;
    height: 56px;
    stroke-width: 1.25;
}

/* Icon wrapper backgrounds */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--cf-primary-rgb), 0.1) 0%, rgba(var(--cf-primary-rgb), 0.05) 100%);
    border: 2px solid rgba(var(--cf-primary-rgb), 0.2);
    transition: all 0.3s ease;
}

.icon-wrapper-lg {
    width: 80px;
    height: 80px;
}

.icon-wrapper-sm {
    width: 48px;
    height: 48px;
}

.icon-wrapper:hover {
    background: linear-gradient(135deg, rgba(var(--cf-primary-rgb), 0.2) 0%, rgba(var(--cf-primary-rgb), 0.1) 100%);
    border-color: rgba(var(--cf-primary-rgb), 0.4);
    transform: scale(1.05);
}

.icon-wrapper .sl-icon {
    stroke: var(--primary-color, var(--cf-primary));
}

/* Check icon styling */
.check-icon .sl-icon {
    stroke: var(--primary-color, var(--cf-primary));
    vertical-align: middle;
    margin-right: 4px;
}

/* Vision/Mission card icon styling */
.vision-mission-card .icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.vision-mission-card .icon-wrapper .sl-icon {
    stroke: #ffffff;
}

.vision-mission-card .icon-wrapper:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Icon glow effect (no background) - uses primary color */
.icon-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s ease;
}

.icon-glow .sl-icon {
    stroke: var(--primary-color, var(--cf-primary)) !important;
    filter: drop-shadow(0 0 6px rgba(var(--cf-primary-rgb), 0.8)) 
            drop-shadow(0 0 12px rgba(var(--cf-primary-rgb), 0.5)) 
            drop-shadow(0 0 20px rgba(var(--cf-primary-rgb), 0.3));
    transition: all 0.3s ease;
}

.icon-glow:hover .sl-icon {
    filter: drop-shadow(0 0 8px rgba(var(--cf-primary-rgb), 1)) 
            drop-shadow(0 0 16px rgba(var(--cf-primary-rgb), 0.7)) 
            drop-shadow(0 0 28px rgba(var(--cf-primary-rgb), 0.5));
    transform: scale(1.1);
}

/* Vision/Mission card glow - override white stroke */
.vision-mission-card .icon-glow .sl-icon {
    stroke: var(--primary-color, var(--cf-primary)) !important;
}

/* Remove circle background when glow style is selected */
.icon-style-glow .card-icon {
    background: none !important;
    box-shadow: none !important;
    width: auto;
    height: auto;
    justify-content: flex-start;
}

.icon-style-glow .card-icon-wrapper {
    display: flex;
    justify-content: flex-start;
}

.icon-style-glow .card-icon.pulse-animation {
    animation: none;
}

.icon-style-glow .icon-glow .sl-icon {
    width: 64px;
    height: 64px;
}

/* Challenge card icon styling */
.challenge-card .challenge-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.challenge-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color, var(--cf-primary)) 0%, var(--primary-dark, var(--cf-primary-dark)) 100%);
    border: none;
}

.challenge-card .icon-wrapper .sl-icon {
    stroke: #ffffff;
}

.challenge-card .icon-wrapper:hover {
    background: linear-gradient(135deg, var(--primary-dark, var(--cf-primary-dark)) 0%, var(--primary-color, var(--cf-primary)) 100%);
}

/* Value card icon styling */
.value-card .icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.value-icon {
    display: flex;
    justify-content: center;
}

/* Icon colors variations */
.sl-icon-primary { stroke: var(--primary-color, var(--cf-primary)); }
.sl-icon-secondary { stroke: var(--secondary-color, var(--cf-accent)); }
.sl-icon-white { stroke: #ffffff; }
.sl-icon-dark { stroke: #1a1a1a; }
.sl-icon-muted { stroke: #666666; }

/* Filled icon variant (for special cases) */
.sl-icon-filled {
    fill: currentColor;
    stroke: none;
}

/* Icon sizes */
.sl-icon-xs { width: 16px; height: 16px; }
.sl-icon-sm { width: 20px; height: 20px; }
.sl-icon-md { width: 24px; height: 24px; }
.sl-icon-lg { width: 32px; height: 32px; }
.sl-icon-xl { width: 48px; height: 48px; }
.sl-icon-2xl { width: 64px; height: 64px; }

/* Icon animations */
.sl-icon-spin {
    animation: sl-spin 2s linear infinite;
}

.sl-icon-pulse {
    animation: sl-pulse 2s ease-in-out infinite;
}

.sl-icon-bounce {
    animation: sl-bounce 1s ease infinite;
}

@keyframes sl-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sl-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes sl-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ========================================
   404 ERROR PAGE
   ======================================== */

.error-404-page {
    min-height: 100vh;
}

.error-hero-section {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    text-align: center;
    overflow: hidden;
}

.error-hero-section .error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%238CC63F" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.error-hero-section .container {
    position: relative;
    z-index: 2;
}

.error-code {
    display: block;
    font-size: 10rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(var(--cf-primary-rgb), 0.3);
}

.error-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.error-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.error-search-form {
    max-width: 500px;
    margin: 0 auto;
}

.error-search-form h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.error-search-form .search-form {
    display: flex;
    gap: 10px;
}

.error-search-form .search-field {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.error-search-form .search-submit {
    padding: 14px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-search-form .search-submit:hover {
    background: var(--white);
    color: var(--primary-color);
}

.error-links-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.error-links-section .section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 50px;
}

.helpful-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.helpful-link-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.helpful-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.helpful-link-card .link-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.helpful-link-card .link-icon .sl-icon {
    stroke: var(--white);
}

.helpful-link-card h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.helpful-link-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.recent-posts-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.recent-posts-section h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
}

.recent-posts-list a:hover {
    color: var(--primary-color);
}

.recent-posts-list .post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ========================================
   SEARCH RESULTS PAGE
   ======================================== */

.search-results-page {
    min-height: 80vh;
}

.search-hero-section {
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    text-align: center;
}

.search-eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--cf-primary-rgb), 0.2);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.search-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.search-title .search-query {
    color: var(--primary-color);
}

.search-count {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.search-again-form {
    max-width: 500px;
    margin: 0 auto;
}

.search-again-form .search-form {
    display: flex;
    gap: 10px;
}

.search-again-form .search-field {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.search-again-form .search-submit {
    padding: 14px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.search-results-section {
    padding: 60px 20px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.search-result-card {
    display: flex;
    gap: 25px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.search-result-card .result-thumbnail {
    flex-shrink: 0;
    width: 200px;
}

.search-result-card .result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-card .result-content {
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
}

.result-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.result-type {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.result-date {
    color: var(--text-muted);
}

.result-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.result-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.result-title a:hover {
    color: var(--primary-color);
}

.result-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
}

.result-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.result-link:hover {
    gap: 10px;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    margin-bottom: 30px;
}

.no-results-icon .sl-icon {
    stroke: var(--text-muted);
    opacity: 0.5;
}

.no-results h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.search-suggestions {
    max-width: 400px;
    margin: 0 auto 40px;
    text-align: left;
}

.search-suggestions h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.search-suggestions ul {
    padding-left: 25px;
    color: var(--text-muted);
}

.search-suggestions li {
    margin-bottom: 8px;
}

/* ========================================
   ARCHIVE PAGE
   ======================================== */

.archive-page {
    min-height: 80vh;
}

.archive-hero-section {
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    text-align: center;
}

.archive-eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--cf-primary-rgb), 0.2);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.archive-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 15px;
}

.archive-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.archive-count {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

.archive-content-section {
    padding: 60px 20px;
}

.archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.archive-post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.archive-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.archive-post-card .post-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.archive-post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.sticky-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.archive-post-card .post-content {
    padding: 25px;
}

.archive-post-card .post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.post-category {
    background: rgba(var(--cf-primary-rgb), 0.15);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.8rem;
}

.post-category:hover {
    background: var(--primary-color);
    color: var(--white);
}

.archive-post-card .post-date {
    color: var(--text-muted);
}

.archive-post-card .post-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.archive-post-card .post-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.archive-post-card .post-title a:hover {
    color: var(--primary-color);
}

.archive-post-card .post-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.archive-post-card .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-author img {
    border-radius: 50%;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.read-more-link:hover {
    color: var(--secondary-color);
}

/* Pagination */
.search-pagination,
.archive-pagination,
.author-pagination {
    display: flex;
    justify-content: center;
}

.search-pagination .nav-links,
.archive-pagination .nav-links,
.author-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-pagination .page-numbers,
.archive-pagination .page-numbers,
.author-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-pagination .page-numbers:hover,
.archive-pagination .page-numbers:hover,
.author-pagination .page-numbers:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.search-pagination .page-numbers.current,
.archive-pagination .page-numbers.current,
.author-pagination .page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-icon {
    margin-bottom: 30px;
}

.no-posts h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.no-posts p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ========================================
   AUTHOR ARCHIVE PAGE
   ======================================== */

.author-hero-section {
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
}

.author-profile {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.author-info {
    flex: 1;
}

.author-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--cf-primary-rgb), 0.2);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.author-name {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.author-bio {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.author-meta {
    display: flex;
    gap: 25px;
}

.author-posts-count,
.author-website {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.author-website {
    text-decoration: none;
}

.author-website:hover {
    color: var(--primary-color);
}

.author-posts-section {
    padding: 60px 20px;
}

.author-posts-section .section-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    text-align: center;
}

.author-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.author-post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.author-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.author-post-card .post-thumbnail {
    height: 200px;
    overflow: hidden;
}

.author-post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-post-card .post-content {
    padding: 25px;
}

.author-post-card .post-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.author-post-card .post-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.author-post-card .post-title a:hover {
    color: var(--primary-color);
}

/* ========================================
   BACK TO TOP BUTTON WITH PROGRESS
   ======================================== */

.back-to-top-wrapper {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top-wrapper.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    transform: rotate(-90deg);
    z-index: 1;
    pointer-events: none;
}

.back-to-top-progress circle {
    fill: none;
    stroke-width: 3;
    cx: 28;
    cy: 28;
    r: 26;
}

.back-to-top-progress .progress-bg {
    stroke: rgba(var(--cf-primary-rgb), 0.3);
}

.back-to-top-progress .progress-bar {
    stroke: var(--primary-color, var(--cf-primary));
    stroke-linecap: round;
    stroke-dasharray: 163.36;
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 0.1s ease;
}

.back-to-top {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--primary-color) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
    text-transform: none !important;
    letter-spacing: 0 !important;
    z-index: 2;
}

.back-to-top:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.back-to-top:hover .sl-icon {
    stroke: var(--white);
}

.back-to-top-wrapper:hover {
    transform: translateY(-5px);
}

.back-to-top .sl-icon {
    stroke: var(--primary-color);
    transition: stroke 0.3s ease;
}

/* ========================================
   SKIP TO CONTENT (ACCESSIBILITY)
   ======================================== */

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE - NEW TEMPLATES
   ======================================== */

@media (max-width: 991px) {
    .helpful-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-posts-grid,
    .author-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .author-meta {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .error-code {
        font-size: 6rem;
    }
    
    .error-title,
    .search-title,
    .archive-title,
    .author-name {
        font-size: 1.8rem;
    }
    
    .helpful-links-grid {
        grid-template-columns: 1fr;
    }
    
    .search-result-card {
        flex-direction: column;
    }
    
    .search-result-card .result-thumbnail {
        width: 100%;
        height: 180px;
    }
    
    .search-result-card .result-content {
        padding: 20px;
    }
    
    .archive-posts-grid,
    .author-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .error-search-form .search-form,
    .search-again-form .search-form {
        flex-direction: column;
    }
    
    .recent-posts-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ========================================
   BREADCRUMBS
   ======================================== */

.breadcrumbs {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb-item.current span {
    color: var(--text-muted);
}

.breadcrumb-sep {
    margin: 0 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ========================================
   SOCIAL SHARING
   ======================================== */

.social-sharing {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    margin: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sharing-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.sharing-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn .sl-icon {
    stroke: currentColor;
}

.share-facebook:hover {
    background: #1877f2;
    color: var(--white);
}

.share-twitter:hover {
    background: #000;
    color: var(--white);
}

.share-linkedin:hover {
    background: #0077b5;
    color: var(--white);
}

.share-whatsapp:hover {
    background: #25d366;
    color: var(--white);
}

.share-email:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================================
   RELATED POSTS
   ======================================== */

.related-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-posts-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-post-thumbnail {
    display: block;
    height: 160px;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.related-post-title {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.related-post-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.related-post-title a:hover {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .social-sharing {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ========================================
   BUSINESS HUB SECTION (ABOUT PAGE)
   ======================================== */

.about-business-hub-section {
    padding: 80px 20px;
    background: var(--light-bg, #f8f9fa);
}

.about-business-hub-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-business-hub-section .section-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color, var(--cf-primary));
    margin-bottom: 15px;
}

.about-business-hub-section .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted, #666);
    line-height: 1.7;
    margin-top: 15px;
}

.hub-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.hub-feature-card {
    background: var(--white, #fff);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid transparent;
}

.hub-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-top-color: var(--primary-color, var(--cf-primary));
}

.hub-feature-card .feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color, var(--cf-primary)) 0%, var(--primary-dark, var(--cf-primary-dark)) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.hub-feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(var(--cf-primary-rgb), 0.4);
}

.hub-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color, #1a1a1a);
    margin-bottom: 20px;
}

.hub-feature-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.hub-feature-card .feature-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-muted, #666);
    line-height: 1.6;
    font-size: 0.95rem;
}

.hub-feature-card .feature-list li:before {
    content: "?";
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--primary-color, var(--cf-primary));
    font-weight: 700;
    font-size: 1.1rem;
}

.hub-sustainability {
    background: linear-gradient(135deg, var(--primary-color, var(--cf-primary)) 0%, var(--primary-dark, var(--cf-primary-dark)) 100%);
    padding: 30px 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(var(--cf-primary-rgb), 0.3);
}

.hub-sustainability .sustainability-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    flex-shrink: 0;
}

.hub-sustainability p {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.hub-sustainability strong {
    font-weight: 700;
    display: inline-block;
    margin-right: 5px;
}

/* ===================================================================
   ADVERTISING MODAL
   Popup modal for advertising/announcements on home page
   =================================================================== */

.advertising-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.advertising-modal.active {
    opacity: 1;
    visibility: visible;
}

.advertising-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.advertising-modal .modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.8s ease;
    z-index: 1;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.advertising-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 40px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.advertising-modal .modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.advertising-modal .modal-title {
    padding: 30px 30px 20px;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.advertising-modal .modal-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.advertising-modal .modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.advertising-modal .modal-description {
    padding: 25px 30px;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.advertising-modal .modal-description p:last-child {
    margin-bottom: 0;
}

.advertising-modal .modal-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 30px 90px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 10;
}

.advertising-modal .modal-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color, var(--cf-primary)) 0%, var(--cf-primary-dark) 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--cf-primary-rgb), 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.advertising-modal .modal-button:hover {
    background: linear-gradient(135deg, var(--cf-primary-dark) 0%, var(--primary-color, var(--cf-primary)) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--cf-primary-rgb), 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .advertising-modal .modal-content {
        max-width: 95%;
        border-radius: 15px;
    }

    .advertising-modal .modal-title {
        font-size: 1.5rem;
        padding: 25px 20px 15px;
    }

    .advertising-modal .modal-description {
        padding: 20px;
        font-size: 0.95rem;
    }

    .advertising-modal .modal-actions {
        padding: 0 20px 25px;
    }

    .advertising-modal .modal-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .advertising-modal .modal-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hub-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-business-hub-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .hub-sustainability {
        flex-direction: column;
        text-align: center;
        padding: 25px 30px;
    }
    
    .hub-feature-card {
        padding: 30px 25px;
    }
    
    .hub-feature-card .feature-list {
        text-align: center;
    }
    
    .hub-feature-card .feature-list li {
        padding-left: 0;
    }
    
    .hub-feature-card .feature-list li:before {
        position: static;
        margin-right: 8px;
    }
}
/* Video Gallery Section */
.video-gallery-section {
    padding: 80px 20px;
    background: #f8f9fa;
    position: relative;
}

.video-gallery-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.video-gallery-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.video-gallery-section .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-thumbnail:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-btn {
    position: relative;
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-play-btn svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-embed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 10;
}

.video-modal-close:hover {
    transform: scale(1.2);
}

.video-modal iframe {
    width: 100%;
    height: 600px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-gallery-section h2 {
        font-size: 2rem;
    }
    
    .video-modal iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .video-info {
        padding: 20px;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .video-modal iframe {
        height: 250px;
    }
}

/* Contact Section with Background Image */
.contact-main-section {
    position: relative;
}

.contact-main-section.has-background-image {
    position: relative;
    overflow: hidden;
}

.contact-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 2;
}

.contact-main-section.has-background-image .container {
    position: relative;
    z-index: 3;
}

.contact-main-section.has-background-image .contact-form-box,
.contact-main-section.has-background-image .contact-info-box {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
}

.contact-main-section.has-background-image h2 {
    color: #1a1a1a;
}

.contact-main-section.has-background-image .info-item h4 {
    color: #1a1a1a;
}

.contact-main-section.has-background-image .info-item p {
    color: #333;
}

/* Cache bust: 20260217-162339 */

/* =========================================================================
   CORE VALUES SECTION
   ========================================================================= */
.values-section {
    padding: 80px 0;
    background: var(--cf-bg-light);
}
.values-subtitle {
    text-align: center;
    color: var(--cf-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}
.value-card {
    background: #fff;
    border: 1px solid var(--cf-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
    color: var(--cf-primary);
    text-align: center;
}
.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.value-card p {
    font-size: 0.92rem;
    color: var(--cf-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* =========================================================================
   SADAG PARTNERSHIP SECTION
   ========================================================================= */
.sadag-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cf-bg-dark) 0%, #0A3020 100%);
    color: #fff;
    text-align: center;
}
.sadag-inner {
    max-width: 820px;
    margin: 0 auto;
}
.sadag-badge {
    display: inline-block;
    background: var(--cf-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.sadag-heading {
    color: #fff !important;
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}
.sadag-description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1rem;
}
.sadag-extended {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    margin-bottom: 2rem;
}
.sadag-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.sadag-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.03em;
}
.sadag-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}
.sadag-btn.primary-btn {
    background: var(--cf-accent);
    color: #fff;
}
.sadag-btn.secondary-btn {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}
.sadag-btn.secondary-btn:hover {
    border-color: #fff;
}

/* =========================================================================
   FREE RESOURCES SECTION
   ========================================================================= */
.resources-section {
    padding: 80px 0;
    background: #fff;
}
.resources-subtitle {
    text-align: center;
    color: var(--cf-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}
.resource-card {
    background: var(--cf-bg-light);
    border: 1px solid var(--cf-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.resource-icon {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
    color: var(--cf-accent);
    text-align: center;
}
.resource-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.resource-card p {
    font-size: 0.9rem;
    color: var(--cf-text-muted);
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}
.resource-btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
    letter-spacing: 0.03em;
    margin-top: auto;
}
.resource-btn:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .values-grid        { grid-template-columns: repeat(2, 1fr); }
    .resources-grid     { grid-template-columns: 1fr 1fr; }
    .sadag-actions      { flex-direction: column; align-items: center; }
    .sadag-btn          { width: 100%; max-width: 320px; text-align: center; }
    .sadag-heading      { font-size: 1.75rem; }
}
@media (max-width: 480px) {
    .values-grid        { grid-template-columns: 1fr; }
    .resources-grid     { grid-template-columns: 1fr; }
}
