* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --primary: #0a2e76;
    --secondary: #f2cc5a;
    --accent: #f4c025;
    --light: #fff;
    --primary-dark: #081f4e;
    --primary-light: #3b5998;
    --primary-lighter: #dbe4f5;
    --primary-darkest: #050d23;
    --secondary-dark: #c4a43a;
    --secondary-light: #f7e3a1;
    --accent-dark: #c99e1f;
    --accent-light: #f9d966;
    --secondary-lighter: #fff7d1;
    --secondary-darkest: #7a5e1f;
    --secondary-accent: #f0b90b;
    --opacity-90: rgba(10, 46, 118, 0.9);
    --opacity-80: rgba(10, 46, 118, 0.8);
    --opacity-70: rgba(10, 46, 118, 0.7);
    --opacity-60: rgba(10, 46, 118, 0.6);
    --opacity-50: rgba(10, 46, 118, 0.5);
    --opacity-40: rgba(10, 46, 118, 0.4);
    --opacity-30: rgba(10, 46, 118, 0.3);
    --opacity-20: rgba(10, 46, 118, 0.2);
    --opacity-10: rgba(10, 46, 118, 0.1);
    --opacity-accent-10: rgba(244, 192, 37, 0.1);
    --opacity-accent-20: rgba(244, 192, 37, 0.2);
    --success: #10b981;
    --success-light: #d1fae5;
    --success-dark: #047857;
    --error: #ef4444;
    --error-light: #fee2e2;
    --error-dark: #b91c1c;
    --warning: #f59e0b;
    --warning-light: #ffedd5;
    --warning-dark: #b45309;
    --dark: #1a202c;
    --gray-light: #f7fafc;
    --gray: #718096;
    --success: #38a169;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow-x: hidden;
}

/* ── Bootstrap modal z-index guard ─────────────────────────────── */
/* Prevents stacking contexts (e.g. from backdrop-filter elements)  */
/* from breaking Bootstrap 5 modal / backdrop layering.             */
.modal-backdrop { z-index: 1040 !important; }
.modal          { z-index: 1055 !important; }
.text-primary{
    color: var(--primary)!important;
}
.text-primary-dark{
    color:var(--primary-dark)!important;
}
.text-secondary{
    color: var(--secondary)!important;
}
.text-light{
    color: var(--light)!important;
}
.text-accent{
    color: var(--accent)!important;
}
.text-success{
    color: var(--success)!important;
}
.text-danger{
    color: var(--error)!important;
}
.text-warning{
    color: var(--warning)!important;
}
.fs-1{
    font-size: 2.8rem !important;
}
.fs-2{
    font-size: 2.5rem !important;
}
.fs-3{
    font-size: 2.0rem !important;
}
.fs-4{
    font-size: 1.8rem !important;
}
.fs-5{
    font-size: 1.5rem !important;
}
.fs-6{
    font-size:1.2rem !important;
}
.fs-7{
    font-size: 0.8rem!important;
}

/* Top Notification Bar */
.top-notification-bar {
    background: linear-gradient(135deg, var(--opacity-90) 0%, var(--opacity-70) 100%);
    color: white;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.top-notification-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
}

.notification-content a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 5px;
}

.notification-content a:hover {
    text-decoration: none;
}

.notification-close {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition-fast);
    z-index: 1;
}

.notification-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Main Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height var(--transition-normal);
}

.main-header.scrolled .header-content {
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-normal);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--opacity-90) 0%, var(--opacity-70) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 8px;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--primary-darkest);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover .nav-icon {
    transform: translateY(-2px) scale(1.1);
}

.nav-item.active .nav-link {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-icon {
    font-size: 14px;
    transition: var(--transition-fast);
}

.dropdown-indicator {
    font-size: 10px;
    margin-left: 4px;
    transition: var(--transition-fast);
}

.dropdown-parent:hover .dropdown-indicator {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 100;
    padding: 12px;
}

.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    margin-bottom: 4px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #fef9f2 0%, #fff5eb 100%);
    color: var(--accent);
    transform: translateX(5px);
}

.dropdown-item:hover .dropdown-icon {
    transform: scale(1.1);
}

.dropdown-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fef9f2 0%, #fff5eb 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 14px;
    transition: var(--transition-fast);
}

.dropdown-item h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.dropdown-item p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: var(--gray);
}

/* Mega Menu */
.mega-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 800px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
    overflow: hidden;
}

.dropdown-parent:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-content {
    padding: 24px;
}

.mega-dropdown-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-dropdown-header h4 {
    margin: 0 0 8px 0;
    color: var(--primary);
    font-size: 24px;
}

.mega-dropdown-header p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--primary);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.mega-menu-item:hover {
    background: linear-gradient(135deg, var(--opacity-90) 0%, var(--opacity-60) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mega-menu-item:hover .mega-menu-icon {
    background: white;
    color: var(--primary);
    transform: scale(1.1);
}

.mega-menu-item.active {
    background: linear-gradient(135deg, var(--opacity-90) 0%, var(--opacity-60) 100%);
    color: white;
}

.mega-menu-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.mega-menu-content {
    flex: 1;
}

.mega-menu-content h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.mega-menu-content p {
    margin: 0;
    font-size: 12px;
    color: inherit;
    opacity: 0.9;
}

.arrow-icon {
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.mega-menu-item:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search */
.search-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.search-toggle:hover {
    background: var(--gray-light);
    color: var(--accent);
    transform: scale(1.1);
}

.search-container {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 400px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 100;
}

.search-container.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.1);
}

.search-submit {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Member Portal Button */
.btn-portal {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 5px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(214, 158, 46, 0.3);
}

.btn-portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-normal);
}

.btn-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

.btn-portal:hover::before {
    left: 100%;
}

.portal-icon {
    font-size: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.toggle-line {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Search */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-search-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-search-form {
    width: 90%;
    max-width: 500px;
    position: relative;
}

.mobile-search-input {
    width: 100%;
    padding: 20px 60px 20px 20px;
    font-size: 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.mobile-search-input:focus {
    outline: none;
    border-color: var(--accent);
}

.mobile-search-submit {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    font-size: 20px;
    cursor: pointer;
}

.mobile-search-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    font-size: 24px;
    cursor: pointer;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(214, 158, 46, 0.4);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mega-dropdown {
        width: 700px;
    }
    
    .mega-dropdown-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .header-content {
        height: 70px;
    }
    
    .logo-title {
        display: none;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 70px;
        background: white;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        z-index: 1000;
    }
    
    .main-navigation.active {
        transform: translateX(0);
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .nav-link {
        justify-content: space-between;
        padding: 16px;
        border-radius: var(--radius-sm);
        margin-bottom: 4px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-light);
        margin-top: 4px;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
    }
    
    .dropdown-parent.active .dropdown-menu {
        max-height: 500px;
    }
    
    .mega-dropdown {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
    }
    
    .dropdown-parent.active .mega-dropdown {
        max-height: 2000px;
    }
    
    .search-container {
        display: none !important;
    }
    
    .search-toggle {
        display: none;
    }
    
    .btn-portal span {
        display: none;
    }
    
    .btn-portal {
        padding: 12px;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        padding: 0 16px;
    }
    
    .logo-title {
        display: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .btn-portal {
        padding: 10px;
    }
    
    .portal-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .top-notification-bar {
        font-size: 12px;
    }
    
    .notification-content {
        padding: 0 40px;
        text-align: center;
    }
    
    .header-content {
        height: 60px;
    }
    
    .main-navigation {
        top: 60px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
}
/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.chart-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    animation: float 6s ease-in-out infinite;
}

.chart-card-1 {
    top: 15%;
    left: 5%;
    width: 320px;
    animation-delay: 0s;
}

.chart-card-2 {
    top: 20%;
    right: 8%;
    width: 280px;
    animation-delay: 1s;
}

.chart-card-3 {
    bottom: 15%;
    left: 8%;
    width: 260px;
    animation-delay: 2s;
}

.chart-card-4 {
    bottom: 20%;
    right: 5%;
    width: 300px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.chart-value {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.chart-change {
    font-size: 14px;
    font-weight: 600;
}

.change-positive {
    color: #10b981;
}

.change-negative {
    color: #ef4444;
}

.candlestick-chart {
    display: flex;
    align-items: flex-end;
    height: 120px;
    gap: 4px;
    margin-top: 16px;
}

.candle {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.candle-wick {
    width: 2px;
    background: currentColor;
}

.candle-body {
    width: 100%;
    margin: -1px 0;
}

.candle-green {
    color: #10b981;
}

.candle-red {
    color: #ef4444;
}

.line-chart {
    height: 80px;
    margin-top: 12px;
    position: relative;
}

.line-chart svg {
    width: 100%;
    height: 100%;
}
 /* Hero Carousel Container */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 83vh;
    min-height: 420px;
    overflow: hidden;
    margin-top: 107px; /* fallback — overridden by JS to match actual header height */
}

/* Carousel Track */
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Background */
.slide-background {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Dual Overlay System */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg,
        rgba(10, 46, 118, 0.72) 0%,
        rgba(10, 46, 118, 0.38) 60%,
        rgba(10, 46, 118, 0.20) 100%);
    z-index: 1;
}

/* Left Transparent Overlay */
.slide-overlay::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(10, 46, 118, 0.80) 0%,
        rgba(10, 46, 118, 0.30) 60%,
        transparent 100%);
    z-index: 2;
}

/* Checkered Transition Overlay */
.checkered-transition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(10, 1fr);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
}

.checkered-transition.active {
    opacity: 1;
}

.checker {
    background: var(--primary);
    opacity: 0;
    transform: scale(0);
}

/* Slide Content */
.slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 700px;
    padding: 0 24px;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: rgba(244, 192, 37, 0.18);
    color: var(--accent);
    border: 1.5px solid rgba(244, 192, 37, 0.45);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    animation: slideInDown 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-title {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: slideInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.slide-title span {
    color: var(--accent);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.slide-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 36px;
    line-height: 1.65;
    max-width: 560px;
    animation: slideInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.30);
}

.slide-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    animation: slideInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* Event date/location pills inside slide buttons */
.slide-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
    width: 100%;
}
.slide-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 5px 12px;
}
.slide-event-meta i { color: var(--accent); }

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(244, 192, 37, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 192, 37, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav svg {
    color: var(--primary);
}

.carousel-prev {
    left: 40px;
}

.carousel-next {
    right: 40px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 16px;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.indicator:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.3);
}

.indicator.active {
    width: 40px;
    border-radius: 6px;
    background: white;
}

.indicator.active::before {
    opacity: 0;
}

/* ── Bottom controls bar (indicators + counter + pause) ────── */
.carousel-controls-bar {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 102;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(5, 13, 35, 0.50);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 40px;
    padding: 8px 16px;
    white-space: nowrap;
}
/* Override old absolute indicators positioning */
.carousel-controls-bar .carousel-indicators {
    position: static;
    transform: none;
    bottom: auto;
    left: auto;
    background: none;
    padding: 0;
    gap: 10px;
    backdrop-filter: none;
}

/* Slide counter */
.slide-counter {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
    min-width: 36px;
    text-align: center;
}
.slide-counter-sep {
    color: rgba(255, 255, 255, 0.35);
    margin: 0 2px;
}

/* Pause / play button */
.carousel-pause-btn {
    background: none;
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}
.carousel-pause-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.55);
}
.carousel-pause-btn[aria-pressed="true"] {
    background: rgba(244, 192, 37, 0.25);
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Directional slide transitions ─────────────────────────── */
.slide-enter-right {
    transform: translateX(40px);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.45s ease;
}
.slide-enter-left {
    transform: translateX(-40px);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.45s ease;
}
.slide-enter-right.active,
.slide-enter-left.active {
    transform: translateX(0);
    opacity: 1;
}
.slide-leave-left {
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.35s ease;
}
.slide-leave-right {
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.35s ease;
}

/* ── Scroll hint ────────────────────────────────────────────── */
.scroll-hint {
    position: absolute;
    bottom: 80px;
    right: 40px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.scroll-hint-track {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.40);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.scroll-hint-dot {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    80%       { transform: translateX(-50%) translateY(16px); opacity: 0.2; }
}

/* Progress Bar */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 101;
}

.slide-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0;
    transition: width 0.1s linear;
}

/* Breadcrumb */
.breadcrumb {
    position: absolute;
    top: 120px;
    left: 8%;
    z-index: 100;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item::before {
    content: '→';
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item:first-child::before {
    display: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slide-content { left: 6%; }
    .slide-title   { font-size: 48px; }
    .scroll-hint   { display: none; }
}

@media (max-width: 768px) {
    .slide-content {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        max-width: 92%;
        padding: 0 16px;
    }
    .slide-title    { font-size: 36px; }
    .slide-subtitle { font-size: 16px; max-width: 100%; }
    .slide-buttons  { justify-content: center; }
    .slide-event-meta { justify-content: center; }
    .carousel-nav   { width: 44px; height: 44px; }
    .carousel-prev  { left: 16px; }
    .carousel-next  { right: 16px; }
    .carousel-controls-bar { gap: 10px; padding: 7px 13px; bottom: 20px; }
    .scroll-hint    { display: none; }

    .slide-overlay::before {
        width: 100%;
        background: linear-gradient(to bottom,
            rgba(10, 46, 118, 0.78) 0%,
            rgba(10, 46, 118, 0.45) 50%,
            transparent 100%);
    }
}

@media (max-width: 480px) {
    .slide-title    { font-size: 30px; }
    .slide-subtitle { font-size: 15px; }
    .slide-buttons  { flex-direction: column; width: 100%; }
    .slide-buttons .btn { width: 100%; justify-content: center; }
    .carousel-controls-bar { gap: 8px; bottom: 16px; }
}
/* 
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.stat-item {
    background: rgba(248, 250, 252, 0.8);
    padding: 12px;
    border-radius: 8px;
}

.stat-label {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.progress-circle {
    width: 80px;
    height: 80px;
    margin: 16px auto;
} */



.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(238, 166, 73, 0.233);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(239, 208, 68, 0.4);
}

.btn-secondary {
    background: white;
    color: #1f2937;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.text-primary{
    color:var(--primary)!important;
}
.text-secondary{
    color:var(--secondary)!important;
}
.breadcrumb-item a{
    color:var(--accent)!important;
    text-decoration: none;
}
.breadcrumb-item a:hover{
    color: var(--light)!important;
    text-decoration: none;
}
.breadcrumb-item.active{
    color: var(--light)!important;
}
.breadcrumb-item::before{
    color: var(--light)!important;

}


@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.section-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.section-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a2e76 0%, #0c40a7ff 100%);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-title {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
}

.stats-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a2e76 0%, #0c40a7ff 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.2);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #0a2e76 0%, #0c40a7ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #0a2e76 0%, #0c40a7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 14px;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-title {
        font-size: 32px;
    }

    .stats-subtitle {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .section-stats {
        padding: 60px 0;
    }

    .stats-header {
        margin-bottom: 40px;
    }

    .stats-title {
        font-size: 28px;
    }
}
/* Mission, Vision & Core Values Section */
.section-mission-vision {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.section-mission-vision::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.section-mission-vision::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.mission-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--opacity-10) 0%,var(--opacity-10) 100%);
    color: var(--primary-darkest)!important;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Mission & Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.mv-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--opacity-20);
    border-color:var(--opacity-20);
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary)0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
}

.mv-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
}

.mv-content {
    padding-left: 0;
}

.mv-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 24px;
}

.mv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mv-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.mv-list li:last-child {
    border-bottom: none;
}

.mv-list li i {
    color: var(--primary);
    font-size: 18px;
}

/* Core Values Section */
.core-values-section {
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    border-radius: 32px;
}

.values-header {
    text-align: center;
    margin-bottom: 50px;
}

.values-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.values-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.values-subtitle {
    font-size: 16px;
    color: #6b7280;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.value-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Call to Action */
.mission-cta {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

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

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }

    .section-description {
        font-size: 16px;
    }

    .mv-card {
        padding: 30px 24px;
    }

    .mv-title {
        font-size: 24px;
    }

    .core-values-section {
        padding: 40px 24px;
    }

    .values-title {
        font-size: 28px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mission-cta {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-mission-vision {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .mv-card-header {
        flex-direction: column;
        text-align: center;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}
/* Noticeboard Section */
.section-noticeboard {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.noticeboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Noticeboard Header */
.noticeboard-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Tabs Navigation */
.noticeboard-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn i {
    font-size: 18px;
}

.tab-btn:hover {
    border-color: var(--primary-dark)!important;
    color: var(--primary-dark)!important;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: var(--primary)!important  ;
    color: white;
    box-shadow: 0 8px 20px var(--opacity-30);
}

/* Tab Content */
.tab-content-wrapper {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
}

.event-card.featured {
    border-color: var(--primary);
    position: relative;
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg,var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.event-date {
    padding: 24px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.date-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    min-width: 80px;
}

.date-day {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.date-month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

.event-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.meta-item i {
    color: var(--primary);
}

.event-description {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.event-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-event {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.btn-event-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary-light);
}

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

/* Muted / free-entry btn-event variants */
.btn-event--muted {
    background: rgba(107, 114, 128, 0.12);
    color: #6b7280;
    cursor: default;
    pointer-events: none;
}
.btn-event--free {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1.5px solid rgba(16, 185, 129, 0.30);
}
.btn-event--free:hover {
    background: rgba(16, 185, 129, 0.22);
    transform: none;
    box-shadow: none;
}

/* Spots remaining badge */
.event-spots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #d97706;
    background: rgba(217, 119, 6, 0.10);
    border-radius: 20px;
    padding: 4px 10px;
}

/* Event category tag */
.event-category-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    background: rgba(10, 46, 118, 0.08);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 8px;
}

/* Empty states */
.events-empty-state,
.announcements-empty-state {
    text-align: center;
    padding: 56px 24px;
    color: #9ca3af;
}
.events-empty-state .empty-icon,
.announcements-empty-state .empty-icon {
    font-size: 40px;
    margin-bottom: 14px;
    opacity: 0.5;
}
.events-empty-state h4,
.announcements-empty-state h4 {
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 8px;
}
.events-empty-state p,
.announcements-empty-state p {
    font-size: 14px;
    max-width: 380px;
    margin: 0 auto;
}

/* Announcements List */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.announcement-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #e5e7eb;
}

.announcement-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.announcement-card.priority-high {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.02) 0%, white 100%);
}

.announcement-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.announcement-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.announcement-card.priority-high .announcement-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.announcement-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.announcement-priority {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
}

.announcement-card.priority-high .announcement-priority {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.announcement-date {
    font-size: 13px;
    color: #9ca3af;
}

.announcement-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.announcement-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.announcement-footer {
    display: flex;
    justify-content: flex-end;
}

.link-read-more {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.link-read-more:hover {
    gap: 10px;
    color: var(--primary-light);
}

/* Priority-based card border colours */
.announcement-card.priority-medium  { border-left-color: #f59e0b; }
.announcement-card.priority-low      { border-left-color: #3b82f6; }
.announcement-card.priority-opportunity { border-left-color: #10b981; background: linear-gradient(135deg, rgba(16,185,129,0.03) 0%, white 100%); }

/* Icon colour variants */
.announcement-icon--danger   { background: rgba(239,68,68,0.10) !important;  color: #ef4444 !important; }
.announcement-icon--warning  { background: rgba(245,158,11,0.10) !important; color: #f59e0b !important; }
.announcement-icon--info     { background: rgba(59,130,246,0.10) !important; color: #3b82f6 !important; }
.announcement-icon--success  { background: rgba(16,185,129,0.10) !important; color: #10b981 !important; }

/* Priority badge colour variants */
.badge-priority--danger  { background: rgba(239,68,68,0.10)  !important; color: #ef4444 !important; }
.badge-priority--warning { background: rgba(245,158,11,0.10) !important; color: #d97706 !important; }
.badge-priority--info    { background: rgba(59,130,246,0.10) !important; color: #3b82f6 !important; }
.badge-priority--success { background: rgba(16,185,129,0.10) !important; color: #059669 !important; }

/* Audience badge */
.announcement-audience {
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(124,58,237,0.08);
    border-radius: 4px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

/* link-read-more as <button> */
button.link-read-more {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Devotional placeholder */
.devotional-placeholder {
    background: linear-gradient(135deg, rgba(10,46,118,0.03) 0%, rgba(244,192,37,0.05) 100%);
    border-radius: 16px;
    border: 1.5px dashed rgba(10,46,118,0.15);
}

/* ── Skeleton shimmer (shared) ─────────────────────────────────── */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton-line {
    height: 14px;
    border-radius: 6px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 800px 100%;
    animation: shimmer 1.4s infinite;
}
.skeleton-line.skeleton-title { height: 22px; width: 65%; }
.skeleton-line.skeleton-meta  { height: 12px; width: 40%; }
.skeleton-line.short          { width: 55%; }

/* ── Devotional tab layout ─────────────────────────────────────── */
.devotional-tab-loaded {
    max-width: 860px;
    margin: 0 auto;
}
.devotional-tab-skeleton {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px 0;
    max-width: 860px;
    margin: 0 auto;
}
.dev-skeleton-featured,
.dev-skeleton-list { padding: 20px; background: #f9fafb; border-radius: 12px; }

.devotional-tab-error {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
    max-width: 860px;
    margin: 0 auto;
}
.devotional-tab-error .empty-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.devotional-tab-error h4 { color: #374151; margin-bottom: 6px; }
.devotional-tab-error p  { font-size: 14px; max-width: 360px; margin: 0 auto; }

/* ── Featured devotional card ──────────────────────────────────── */
.devotional-featured-card {
    background: linear-gradient(135deg,
        rgba(10, 46, 118, 0.04) 0%,
        rgba(244, 192, 37, 0.06) 100%);
    border: 1.5px solid rgba(10, 46, 118, 0.10);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 28px;
    transition: box-shadow 0.3s ease;
}
.devotional-featured-card:hover {
    box-shadow: 0 10px 40px rgba(10, 46, 118, 0.10);
}
.devotional-featured-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
}
.devotional-featured-body {
    padding: 24px;
}
.devotional-featured-scripture {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(10, 46, 118, 0.07);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 14px;
}
.devotional-featured-title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.3;
}
.devotional-featured-desc {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 18px;
}
.devotional-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.devotional-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #6b7280;
}
.devotional-featured-meta i { color: var(--primary); margin-right: 4px; }

.btn-devotional-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.btn-devotional-read:hover {
    background: #0d3a93;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 46, 118, 0.25);
}

/* ── Recent devotionals mini-list ──────────────────────────────── */
.devotional-recent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.devotional-recent-header h5 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.devotional-view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.devotional-view-all:hover { gap: 10px; color: #0d3a93; }

.devotional-recent-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.devotional-recent-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    padding: 14px 16px;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}
.devotional-recent-item:last-child { border-bottom: none; }
.devotional-recent-item:hover      { background: #f9fafb; }
.devotional-recent-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(10, 46, 118, 0.08);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.devotional-recent-info { flex: 1; min-width: 0; }
.devotional-recent-ref {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--primary); margin-bottom: 2px;
}
.devotional-recent-title {
    font-size: 14px; font-weight: 600; color: #111827;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.devotional-recent-meta {
    display: flex; gap: 12px;
    font-size: 12px; color: #9ca3af; margin-top: 2px;
}
.devotional-recent-btn {
    background: none; border: 1px solid #e5e7eb;
    border-radius: 8px; width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}
.devotional-recent-btn:hover {
    background: rgba(10, 46, 118, 0.07);
    border-color: var(--primary);
}

/* ── Subscribe strip ────────────────────────────────────────────── */
.devotional-subscribe-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    background: var(--primary);
    color: white;
    border-radius: 16px;
    padding: 18px 24px;
    margin-top: 4px;
}
.devotional-subscribe-text {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600;
    flex: 1; min-width: 180px;
}
.devotional-subscribe-form {
    display: flex; gap: 8px; flex: 1; min-width: 240px;
}
.devotional-subscribe-input {
    flex: 1;
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 14px;
    outline: none;
}
.devotional-subscribe-btn {
    background: var(--accent); color: var(--primary);
    border: none; border-radius: 30px;
    padding: 8px 20px; font-size: 14px; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: opacity 0.2s ease;
}
.devotional-subscribe-btn:disabled { opacity: 0.6; cursor: wait; }
.devotional-subscribe-msg {
    width: 100%; font-size: 13px; font-weight: 600; margin: 0;
}
.devotional-subscribe-msg--ok  { color: #bbf7d0; }
.devotional-subscribe-msg--err { color: #fca5a5; }

/* ── Devotional detail MODAL ────────────────────────────────────── */
.devotional-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* Allow the loaded/error/skeleton wrappers to flex-grow inside modal-content */
#devotionalModalLoaded {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.devotional-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
}

/* Skeleton inside modal */
.devotional-modal-skeleton {
    padding: 32px;
}

/* Banner */
.devotional-modal-banner {
    position: relative;
    height: 140px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), #1a4a9a);
    background-size: cover;
    background-position: center;
}
.devotional-modal-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,46,118,0.7), rgba(10,46,118,0.4));
}
.devotional-modal-banner-content {
    position: absolute; inset: 0; z-index: 1;
    display: flex; align-items: flex-end; gap: 12px;
    padding: 16px 24px;
}
.devotional-modal-type {
    background: var(--accent); color: var(--primary);
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px; border-radius: 20px; padding: 4px 12px;
}
.devotional-modal-date { color: rgba(255,255,255,0.8); font-size: 13px; }

/* Modal body — independently scrollable */
.devotional-modal-body {
    padding: 24px 28px 4px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.devotional-scripture-block {
    display: inline-block;
    background: rgba(10, 46, 118, 0.07);
    color: var(--primary);
    font-size: 14px; font-weight: 700;
    border-radius: 8px; padding: 8px 14px;
    margin-bottom: 14px;
}
.devotional-modal-title {
    font-size: 20px; font-weight: 800;
    color: #111827; margin-bottom: 10px;
}
.devotional-modal-meta {
    display: flex; flex-wrap: wrap; gap: 14px;
    font-size: 13px; color: #6b7280; margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}
.devotional-modal-meta i { color: var(--primary); margin-right: 4px; }

.devotional-modal-text {
    font-size: 15px; line-height: 1.8; color: #374151;
    margin-bottom: 20px;
}
.devotional-modal-text p { margin-bottom: 14px; }

.devotional-prayer-block,
.devotional-reflection-block {
    background: rgba(10, 46, 118, 0.04);
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin-bottom: 16px;
}
.devotional-prayer-block h6,
.devotional-reflection-block h6 {
    font-size: 13px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--primary);
    margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.devotional-prayer-block p,
.devotional-reflection-block p { font-size: 14px; color: #374151; margin: 0; }

.devotional-modal-footer {
    padding: 12px 24px;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .devotional-tab-skeleton   { grid-template-columns: 1fr; }
    .devotional-featured-footer { flex-direction: column; align-items: flex-start; }
    .devotional-subscribe-strip { flex-direction: column; }
    .devotional-subscribe-form  { min-width: 100%; }
    .devotional-modal-body      { padding: 16px; }
}
.stats-strip {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4a9a 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-strip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 40px;
    border-right: 1px solid rgba(255,255,255,0.12);
    min-width: 160px;
    position: relative;
    z-index: 1;
}
.stat-item:last-child { border-right: none; }
.stats-strip .stat-icon {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 4px;
    /* reset values from the global .stat-icon rule */
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}
.stats-strip .stat-number {
    font-size: 36px;
    font-weight: 900;
    color: white;
    -webkit-text-fill-color: white;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stats-strip .stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    vertical-align: super;
}
.stats-strip .stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.70);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
}
@media (max-width: 768px) {
    .stats-strip-grid { gap: 0; }
    .stat-item {
        width: 50%;
        border-right: 1px solid rgba(255,255,255,0.12);
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding: 20px 16px;
    }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:last-child    { border-right: none; border-bottom: none; }
}
@media (max-width: 480px) {
    .stats-strip .stat-number { font-size: 28px; }
}
   

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* Center schedule wrapper like devotional tab */
.schedule-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.schedule-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    color: #9ca3af;
}
.schedule-empty-state i  { font-size: 48px; margin-bottom: 14px; display: block; }
.schedule-empty-state h4 { color: #374151; font-size: 18px; margin-bottom: 8px; }
.schedule-empty-state p  { font-size: 14px; }

.schedule-day {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.schedule-day:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
}

.day-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.day-name {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.day-subtitle {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.schedule-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: #f9fafb;
    transform: translateX(4px);
}

.schedule-time {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    padding: 8px 12px;
    border-radius: 8px;
    height: fit-content;
}

.schedule-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.schedule-details p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.schedule-note {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.schedule-note i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
}

.schedule-note p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Get Involved - Opportunities Grid */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.opportunity-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
}

.opportunity-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg,var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.opportunity-card:hover .opportunity-icon {
    transform: scale(1.1) rotate(5deg);
}

.opportunity-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.opportunity-description {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.opportunity-requirements {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.opportunity-requirements li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.opportunity-requirements li i {
    color: #10b981;
    font-size: 16px;
}

.btn-opportunity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-opportunity:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

/* Center opportunities grid like devotional tab */
.opportunity-card--urgent {
    border-color: rgba(239, 68, 68, 0.35) !important;
    background: linear-gradient(135deg, #fffbfb 0%, #fff5f5 100%);
    position: relative;
}
.opportunity-urgent-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 14px;
}
.opportunity-ministry {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.opportunity-ministry i { margin-right: 5px; opacity: 0.7; }
.opportunity-time {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 20px;
}
.opportunity-time i { margin-right: 5px; }
.opportunities-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    color: #9ca3af;
}
.opportunities-empty-state i { font-size: 48px; margin-bottom: 14px; display: block; }
.opportunities-empty-state h4 { color: #374151; font-size: 18px; margin-bottom: 8px; }
.opportunities-empty-state p  { font-size: 14px; }

/* ── Volunteer apply modal ───────────────────────────────────── */
.volunteer-modal-content { border: none; border-radius: 20px; overflow: hidden; }
.volunteer-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4a9a 100%);
    color: #fff;
    padding: 20px 24px;
    border-bottom: none;
}
.volunteer-modal-header .modal-title { font-size: 18px; font-weight: 800; }
.volunteer-modal-subtitle { font-size: 13px; opacity: 0.8; }
.volunteer-modal-body { padding: 24px; }
.volunteer-modal-feedback { font-size: 14px; border-radius: 10px; }
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }

    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .opportunities-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-noticeboard {
        padding: 60px 0;
    }

    .noticeboard-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .tab-btn span {
        display: none;
    }

    .tab-btn i {
        font-size: 20px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        max-width: 100%;
    }

    .schedule-wrapper {
        padding: 24px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .noticeboard-container {
        padding: 0 16px;
    }

    .event-content,
    .event-date {
        padding: 20px;
    }

    .event-title {
        font-size: 20px;
    }

    .event-footer {
        flex-direction: column;
    }

    .btn-event {
        width: 100%;
        justify-content: center;
    }

    .announcement-card {
        padding: 20px;
    }

    .announcement-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-wrapper {
        padding: 20px;
    }

    .day-name {
        font-size: 20px;
    }

    .opportunity-card {
        padding: 24px;
    }
}

/* About Us Page Styles */

/* ─── About Hero ─────────────────────────────────────────────────── */
.about-hero-section {
    position: relative;
    min-height: 420px;
    background: url('../images/church-2.jpeg') center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    /* padding-top set dynamically by JS to clear fixed header */
    padding-top: 80px;
    padding-bottom: 60px;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 46, 118, 0.88) 0%,
        rgba(10, 46, 118, 0.68) 100%
    );
    z-index: 0;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Breadcrumbs pinned to bottom edge of the hero */
.about-hero-breadcrumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
}

.about-hero-breadcrumbs .breadcrumb-list {
    justify-content: flex-start;
    margin: 0;
}

/* iOS / touch devices — background-attachment:fixed causes paint issues */
@media (hover: none), (max-width: 767px) {
    .about-hero-section {
        background-attachment: scroll;
        min-height: 320px;
    }
}

@media (max-width: 576px) {
    .about-hero-inner {
        padding: 0 16px;
    }
}
.projects-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #0a2e76 0%, #0a2e76a2 100%), url('../images/hero-church.jpg');
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('{% static "images/pattern.png" %}');
    opacity: 0.1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.project-stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.project-stat-info {
    flex: 1;
}

.stat-number-projects {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.project-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Filters Section */
.projects-filters-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-box {
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-input-group i {
    color: #9ca3af;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1f2937;
}

.btn-search {
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--primary) 0%,var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.filter-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
    border-color: var(--primary);
    color: white;
}

.filter-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-weight: 600;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #1f2937;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Projects Grid */
.projects-grid-section {
    padding: 60px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
}

.project-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}
.project-priority{
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge-custom {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.btn-comments{
    padding: 2px;
    border:none;
    background-color:transparent;
    cursor:pointer;
    color: var(--accent);
}
.btn-comments:hover{
    color:var(--primary);
    opacity: .9;
}
.btn-comments-alt{
     padding: 2px;
    border:none;
    background-color:var(--accent-dark);
    cursor:pointer;
    color: var(--light);
    border-radius:5px;
}
.btn-comments-alt i{
    color: var(--light)!important;
}
.btn-comments-alt:hover{
    opacity: .9;
}
.badge-featured {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.badge-status {
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
}

.badge-planning {
    background: rgba(156, 163, 175, 0.9);
    color: white;
}

.badge-fundraising {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.badge-in_progress {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

.badge-completed {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(31, 41, 55, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-view-project {
    padding: 12px 24px;
    background: white;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-view-project:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.project-content {
    padding: 24px;
}

.project-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: var(--primary);
}

.project-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-progress {
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.progress-percentage {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.progress-bar-wrapper {
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg,var(--primary) 0%,var(--primary-light) 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.stat-raised {
    color: #1f2937;
}

.stat-goal {
    color: #9ca3af;
}

.project-meta {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.meta-item i {
    color: var(--primary);
}

.project-actions {
    display: flex;
    gap: 12px;
}

.btn-donate {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.btn-learn-more {
    padding: 12px 20px;
    background: #f3f4f6;
    color: #1f2937;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #e5e7eb;
    color: var(--primary);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 60px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-link {
    padding: 10px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
    border-color: var(--primary);
    color: white;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
}

.no-results h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.no-results p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* CTA Section */
.projects-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.btn-cta {
    padding: 16px 32px;
    background: white;
    color: var(--primary);
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
   
    
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        flex-wrap: nowrap;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .project-actions {
        flex-direction: column;
    }
}

.project-detail-hero {
    position: relative;
    padding-top: 100px;
    background: #1f2937;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 450px;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(31, 41, 55, 0.4), rgba(31, 41, 55, 0.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0 40px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.breadcrumb span {
    color: white;
}

.project-badges-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.badge-category {
    background: rgba(79, 70, 229, 0.9);
    color: white;
}

.project-main-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.project-lead {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.project-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.quick-stat i {
    font-size: 24px;
    color: #7c3aed;
}

.quick-stat strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.quick-stat span {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

/* Project Detail Content */
.project-detail-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.project-main-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
} */

.section-title i {
    color: #4f46e5;
}

.view-all-link {
    margin-left: auto;
    font-size: 14px;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #7c3aed;
}

/* Funding Card */
.funding-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
    border: 2px solid rgba(79, 70, 229, 0.1);
}

.funding-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.funding-stat {
    text-align: center;
}

.funding-stat .stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #4f46e5;
    margin-bottom: 4px;
}

.funding-stat .stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
}

.progress-section {
    margin-bottom: 24px;
}

.progress-bar-large {
    height: 16px;
    background: #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 20px;
    position: relative;
    transition: width 1s ease;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.amount-remaining {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    padding: 12px;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 8px;
}

.donation-cta {
    text-align: center;
}

.btn-donate-large {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-donate-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
}

.donation-note {
    font-size: 14px;
    color: #6b7280;
    margin-top: 12px;
}

/* Project Description */
.project-description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
}

.project-description-content p {
    margin-bottom: 16px;
}

/* Impact Content */
.impact-content {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

.beneficiaries-info {
    padding: 16px;
    background: rgba(79, 70, 229, 0.05);
    border-left: 4px solid #4f46e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1f2937;
}

.beneficiaries-info i {
    color: #4f46e5;
}

/* Milestones Timeline */
.milestone-progress {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.milestones-timeline {
    position: relative;
}

.milestone-item {
    position: relative;
    display: flex;
    gap: 24px;
    padding-bottom: 32px;
}

.milestone-item:last-child {
    padding-bottom: 0;
}

.milestone-item:last-child .milestone-marker::after {
    display: none;
}

.milestone-marker {
    position: relative;
    flex-shrink: 0;
}

.milestone-marker i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    background: white;
    border: 3px solid #e5e7eb;
    color: #9ca3af;
    position: relative;
    z-index: 2;
}

.milestone-completed .milestone-marker i {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.milestone-in_progress .milestone-marker i {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    animation: pulse 2s infinite;
}

.milestone-delayed .milestone-marker i {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

.milestone-marker::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 48px;
    bottom: -32px;
    width: 2px;
    background: #e5e7eb;
    transform: translateX(-50%);
}

.milestone-content {
    flex: 1;
    padding: 8px 0;
}

.milestone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.milestone-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.milestone-status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.milestone-completed .milestone-status-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.milestone-in_progress .milestone-status-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.milestone-pending .milestone-status-badge {
    background: rgba(156, 163, 175, 0.1);
    color: #6b7280;
}

.milestone-delayed .milestone-status-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.milestone-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.milestone-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.milestone-date,
.milestone-budget {
    display: flex;
align-items: center;
gap: 8px;
}
.milestone-date i,
.milestone-budget i {
color: #4f46e5;
}
.milestone-alert {
margin-top: 12px;
padding: 12px;
background: rgba(239, 68, 68, 0.1);
border-left: 3px solid #ef4444;
border-radius: 6px;
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
color: #ef4444;
font-weight: 600;
}
/* Updates List */
.updates-list {
display: flex;
flex-direction: column;
gap: 24px;
}
.update-item {
display: flex;
gap: 16px;
padding: 20px;
background: #f9fafb;
border-radius: 12px;
transition: all 0.3s ease;
}
.update-item:hover {
background: #f3f4f6;
}
.update-type-icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
flex-shrink: 0;
}
.update-type-milestone {
background: rgba(16, 185, 129, 0.1);
color: #10b981;
}
.update-type-financial {
background: rgba(245, 158, 11, 0.1);
color: #f59e0b;
}
.update-type-challenge {
background: rgba(239, 68, 68, 0.1);
color: #ef4444;
}
.update-type-completion {
background: rgba(124, 58, 237, 0.1);
color: #7c3aed;
}
.update-type-general {
background: rgba(59, 130, 246, 0.1);
color: #3b82f6;
}
.update-content {
flex: 1;
}
.update-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 8px;
}
.update-title {
font-size: 18px;
font-weight: 700;
color: #1f2937;
}
.update-date {
font-size: 13px;
color: #9ca3af;
}
.update-text {
font-size: 15px;
color: #6b7280;
line-height: 1.6;
margin-bottom: 12px;
}
.update-image {
margin: 16px 0;
border-radius: 12px;
overflow: hidden;
}
.update-image img {
width: 100%;
height: auto;
display: block;
}
.update-author {
font-size: 13px;
color: #9ca3af;
display: flex;
align-items: center;
gap: 6px;
}
/* Gallery Grid */
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 16px;
}
.gallery-item {
position: relative;
aspect-ratio: 1;
border-radius: 12px;
overflow: hidden;
cursor: pointer;
transition: transform 0.3s ease;
}
.gallery-item:hover {
transform: scale(1.05);
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
}
.gallery-caption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 12px;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
color: white;
font-size: 13px;
opacity: 0;
transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption {
opacity: 1;
}
/* Partners Grid */
.partners-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 24px;
}
.partner-card {
display: flex;
gap: 16px;
padding: 20px;
background: #f9fafb;
border-radius: 12px;
transition: all 0.3s ease;
}
.partner-card:hover {
background: #f3f4f6;
transform: translateY(-4px);
}
.partner-logo {
width: 80px;
height: 80px;
flex-shrink: 0;
background: white;
border-radius: 12px;
padding: 12px;
display: flex;
align-items: center;
justify-content: center;
}
.partner-logo img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.partner-info {
flex: 1;
}
.partner-name {
font-size: 16px;
font-weight: 700;
color: #1f2937;
margin-bottom: 4px;
}
.partner-type {
font-size: 12px;
color: #6b7280;
text-transform: uppercase;
font-weight: 600;
margin-bottom: 8px;
display: block;
}
.partner-contribution {
font-size: 14px;
color: #4b5563;
line-height: 1.5;
margin-bottom: 8px;
}
.partner-link {
font-size: 13px;
color: #4f46e5;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 6px;
font-weight: 600;
}
.partner-link:hover {
color: #7c3aed;
}
/* Documents List */
.documents-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.document-item {
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
background: #f9fafb;
border-radius: 12px;
transition: all 0.3s ease;
}
.document-item:hover {
background: #f3f4f6;
}
.doc-icon {
width: 48px;
height: 48px;
background: rgba(239, 68, 68, 0.1);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #ef4444;
flex-shrink: 0;
}
.doc-info {
flex: 1;
}
.doc-title {
font-size: 16px;
font-weight: 700;
color: #1f2937;
margin-bottom: 4px;
}
.doc-meta {
font-size: 13px;
color: #9ca3af;
}
.doc-description {
font-size: 14px;
color: #6b7280;
margin-top: 6px;
}
.btn-download {
padding: 10px 20px;
background: #4f46e5;
color: white;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 14px;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
}
.btn-download:hover {
background: #7c3aed;
transform: translateY(-2px);
}
/* Comments Section */
.comment-form-section {
padding: 24px;
background: #f9fafb;
border-radius: 12px;
margin-bottom: 32px;
}
.comment-form-section h4 {
font-size: 18px;
font-weight: 700;
color: #1f2937;
margin-bottom: 20px;
}
.comment-form .form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 16px;
}
.comment-form .form-group {
margin-bottom: 16px;
}
.comment-form input,
.comment-form textarea {
width: 100%;
padding: 12px 16px;
border: 2px solid #e5e7eb;
border-radius: 8px;
font-size: 15px;
transition: all 0.3s ease;
}
.comment-form input:focus,
.comment-form textarea:focus {
outline: none;
border-color: #4f46e5;
}
.btn-submit-comment {
padding: 12px 32px;
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
color: white;
border: none;
border-radius: 8px;
font-weight: 600;
font-size: 15px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
}
.btn-submit-comment:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}
.comments-list {
display: flex;
flex-direction: column;
gap: 20px;
}
.comment-item {
display: flex;
gap: 16px;
}
.comment-avatar {
width: 48px;
height: 48px;
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: white;
flex-shrink: 0;
}
.comment-content {
flex: 1;
}
.comment-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
}
.comment-author {
font-weight: 700;
color: #1f2937;
}
.comment-date {
font-size: 13px;
color: #9ca3af;
}
.comment-text {
font-size: 15px;
color: #4b5563;
line-height: 1.6;
}
.no-comments {
text-align: center;
padding: 60px 20px;
color: #9ca3af;
}
.no-comments i {
font-size: 48px;
margin-bottom: 16px;
display: block;
}
.no-comments p {
font-size: 16px;
}
/* Sidebar */
.project-sidebar {
display: flex;
flex-direction: column;
gap: 24px;
}
.sidebar-card {
background: white;
border-radius: 20px;
padding: 24px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.sidebar-title {
font-size: 18px;
font-weight: 700;
color: #1f2937;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
}
.sidebar-title i {
color: #4f46e5;
}
/* Donation Card */
.donation-card {
background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
border: 2px solid rgba(79, 70, 229, 0.1);
}
.donation-form .form-group {
margin-bottom: 16px;
}
.donation-form label {
display: block;
font-size: 14px;
font-weight: 600;
color: #4b5563;
margin-bottom: 8px;
}
.donation-form input,
.donation-form select,
.donation-form textarea {
width: 100%;
padding: 12px;
border: 2px solid #e5e7eb;
border-radius: 8px;
font-size: 15px;
transition: all 0.3s ease;
}
.donation-form input:focus,
.donation-form select:focus,
.donation-form textarea:focus {
outline: none;
border-color: #4f46e5;
}
.quick-amounts {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
margin-bottom: 16px;
}
.quick-amount {
padding: 12px;
background: white;
border: 2px solid #e5e7eb;
border-radius: 8px;
font-weight: 600;
color: #4b5563;
cursor: pointer;
transition: all 0.3s ease;
}
.quick-amount:hover,
.quick-amount.selected {
background: #4f46e5;
border-color: #4f46e5;
color: white;
}
.form-check {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 20px;
}
.form-check input[type="checkbox"] {
width: auto;
}
.btn-donate-submit {
width: 100%;
padding: 16px;
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
color: white;
border: none;
border-radius: 10px;
font-weight: 700;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
transition: all 0.3s ease;
}
.btn-donate-submit:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}
.donation-security {
text-align: center;
font-size: 12px;
color: #6b7280;
margin-top: 12px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
/* Info List */
.info-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.info-item {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding-bottom: 16px;
border-bottom: 1px solid #e5e7eb;
}
.info-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.info-label {
font-size: 14px;
color: #6b7280;
font-weight: 600;
}
.info-value {
font-size: 14px;
color: #1f2937;
font-weight: 600;
text-align: right;
}
.info-value a {
color: #4f46e5;
text-decoration: none;
}
.info-value a:hover {
text-decoration: underline;
}
/* Team List */
.team-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 12px;
}
.team-member {
display: flex;
align-items: center;
gap: 10px;
padding: 10px;
background: #f9fafb;
border-radius: 8px;
font-size: 14px;
color: #4b5563;
}
.team-member i {
color: #4f46e5;
}
/* Donors List */
.donors-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.donor-item {
display: flex;
align-items: center;
gap: 12px;
}
.donor-avatar {
width: 40px;
height: 40px;
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
color: white;
flex-shrink: 0;
}
.donor-info {
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
.donor-info strong {
font-size: 14px;
color: #1f2937;
}
.donor-amount {
font-size: 13px;
color: #4f46e5;
font-weight: 600;
}
.donor-date {
font-size: 12px;
color: #9ca3af;
}
.view-all-small {
font-size: 13px;
color: #4f46e5;
text-decoration: none;
font-weight: 600;
margin-left: auto;
}
.view-all-small:hover {
color: #7c3aed;
}
/* Share Buttons */
.share-buttons {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.share-btn {
padding: 12px;
border-radius: 8px;
color: white;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
transition: all 0.3s ease;
}
.share-facebook {
background: #1877f2;
}
.share-twitter {
background: #1da1f2;
}
.share-whatsapp {
background: #25d366;
}
.share-email {
background: #6b7280;
}
.share-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.copy-link {
display: flex;
gap: 8px;
margin-top: 16px;
}
.link-input {
flex: 1;
padding: 10px 12px;
border: 2px solid #e5e7eb;
border-radius: 8px;
font-size: 13px;
color: #6b7280;
}
.btn-copy {
padding: 10px 16px;
background: #4f46e5;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}
.btn-copy:hover {
background: #7c3aed;
}
/* Related Projects */
.related-projects-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.related-project-item {
display: flex;
gap: 12px;
}
.related-project-image {
width: 80px;
height: 80px;
border-radius: 8px;
overflow: hidden;
flex-shrink: 0;
}
.related-project-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.related-project-info {
flex: 1;
}
.related-project-info h4 {
font-size: 14px;
font-weight: 700;
margin-bottom: 8px;
}
.related-project-info h4 a {
color: #1f2937;
text-decoration: none;
}
.related-project-info h4 a:hover {
color: #4f46e5;
}
.related-progress {
display: flex;
flex-direction: column;
gap: 6px;
}
.progress-mini {
height: 4px;
background: #e5e7eb;
border-radius: 2px;
overflow: hidden;
}
.progress-fill-mini {
height: 100%;
background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
}
.related-progress span {
font-size: 12px;
color: #6b7280;
}
/* ============================================
DONATION SUCCESS PAGE STYLES
============================================ */
.donation-success-section {
padding: 100px 0;
background: #f8f9fa;
min-height: 100vh;
display: flex;
align-items: center;
}
.success-content {
max-width: 800px;
margin: 0 auto;
}
.success-icon {
text-align: center;
margin-bottom: 32px;
}
.checkmark-circle {
width: 120px;
height: 120px;
margin: 0 auto;
background: linear-gradient(135deg, #10b981, #059669);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
animation: scaleIn 0.5s ease;
}
@keyframes scaleIn {
0% { transform: scale(0); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
.checkmark {
width: 60px;
height: 60px;
display: none;
}
.checkmark.draw::after {
content: '';
display: block;
width: 20px;
height: 40px;
border: solid white;
border-width: 0 6px 6px 0;
transform: rotate(45deg);
animation: checkmark 0.5s ease 0.3s forwards;
}
@keyframes checkmark {
0% { height: 0; width: 0; }
25% { height: 0; width: 20px; }
100% { height: 40px; width: 20px; }
}
.success-title {
font-size: 42px;
font-weight: 800;
color: #1f2937;
text-align: center;
margin-bottom: 12px;
}
.success-subtitle {
font-size: 18px;
color: #6b7280;
text-align: center;
margin-bottom: 48px;
}
.donation-details-card {
background: white;
border-radius: 20px;
padding: 40px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
margin-bottom: 32px;
}
.donation-details-card h3 {
font-size: 24px;
font-weight: 700;
color: #1f2937;
margin-bottom: 24px;
text-align: center;
}
.details-grid {
display: grid;
gap: 20px;
margin-bottom: 32px;
}
.detail-row {
display: flex;
justify-content: space-between;
padding-bottom: 16px;
border-bottom: 1px solid #e5e7eb;
}
.detail-row.full-width {
flex-direction: column;
gap: 8px;
}
.detail-label {
font-size: 14px;
color: #6b7280;
font-weight: 600;
}
.detail-value {
font-size: 15px;
color: #1f2937;
font-weight: 600;
text-align: right;
}
.detail-value.receipt-number {
font-family: 'Courier New', monospace;
color: #4f46e5;
font-size: 16px;
}
.detail-value.amount {
color: #10b981;
font-size: 24px;
}
.receipt-actions {
display: flex;
gap: 12px;
justify-content: center;
margin-bottom: 20px;
}
.btn-receipt {
padding: 12px 24px;
background: white;
border: 2px solid #e5e7eb;
border-radius: 10px;
color: #1f2937;
font-weight: 600;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
}
.btn-receipt:hover {
border-color: #4f46e5;
color: #4f46e5;
}
.receipt-note {
text-align: center;
font-size: 14px;
color: #6b7280;
padding: 16px;
background: rgba(79, 70, 229, 0.05);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.receipt-note i {
color: #4f46e5;
}
/* Impact Message */
.impact-message {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
border: 2px solid rgba(16, 185, 129, 0.2);
border-radius: 20px;
padding: 32px;
text-align: center;
margin-bottom: 32px;
}
.impact-icon {
width: 80px;
height: 80px;
margin: 0 auto 20px;
background: linear-gradient(135deg, #10b981, #059669);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
color: white;
}
.impact-message h3 {
font-size: 28px;
font-weight: 700;
color: #1f2937;
margin-bottom: 16px;
}
.impact-message p {
font-size: 16px;
color: #4b5563;
line-height: 1.8;
margin-bottom: 24px;
}
.project-progress-update {
background: white;
padding: 24px;
border-radius: 12px;
}
.project-progress-update p {
font-size: 14px;
color: #6b7280;
margin-bottom: 12px;
}
.progress-bar-success {
height: 12px;
background: #e5e7eb;
border-radius: 10px;
overflow: hidden;
margin-bottom: 8px;
}
.progress-fill-success {
height: 100%;
background: linear-gradient(90deg, #10b981, #059669);
border-radius: 10px;
transition: width 1s ease;
}
.progress-text {
font-size: 14px;
color: #10b981;
font-weight: 700;
}
/* Next Steps */
.next-steps {
margin-bottom: 32px;
}
.next-steps h3 {
font-size: 24px;
font-weight: 700;
color: #1f2937;
text-align: center;
margin-bottom: 24px;
}
.steps-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.step-card {
background: white;
padding: 24px;
border-radius: 16px;
text-align: center;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.step-number {
width: 48px;
height: 48px;
margin: 0 auto 16px;
background: linear-gradient(135deg, #4f46e5, #7c3aed);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: 800;
color: white;
}
.step-card h4 {
font-size: 16px;
font-weight: 700;
color: #1f2937;
margin-bottom: 8px;
}
.step-card p {
font-size: 14px;
color: #6b7280;
line-height: 1.6;
}
/* Success Actions */
.success-actions {
display: flex;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
margin-bottom: 32px;
}
.btn-action {
padding: 14px 28px;
border-radius: 10px;
font-weight: 600;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
}
.btn-action.btn-primary {
background: linear-gradient(135deg, #4f46e5, #7c3aed);
color: white;
}
.btn-action.btn-secondary {
background: white;
color: #1f2937;
border: 2px solid #e5e7eb;
}
.btn-action:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
/* Share Donation */
.share-donation {
text-align: center;
}

/* Hero Section */
.media-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}


.media-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}
.bus-hero{
    /* Image with gradient overlay */
    background-image:linear-gradient(to right,var(--opacity-70) 0%,var(--opacity-30) 30%,   transparent 100%),url(../images/bus-2.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* For parallax */
    background-blend-mode: multiply;
    padding-top: 200px !important;
    height: 80vh !important;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Media Type Cards */
.media-type-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.media-type-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
}

.media-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.media-type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.media-type-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.btn-media {
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    color: white;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-description {
    color: #6b7280;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Sermon Card */
.sermon-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.sermon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
}

.sermon-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #e5e7eb;
}

.sermon-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sermon-card:hover .sermon-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sermon-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.sermon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.375rem 0.875rem;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sermon-content {
    padding: 1.5rem;
}

.sermon-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.sermon-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.sermon-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sermon-title a {
    color: inherit;
    text-decoration: none;
}

.sermon-title a:hover {
    color: var(--primary);
}

.sermon-preacher {
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.sermon-description {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.sermon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.sermon-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.sermon-stats span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Stats Section */
/* .stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 600;
    font-size: 1rem;
} */

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-white {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}


.sermons-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 100px 0 60px;
    color: white;
}



/* Filters Section */
.filters-section {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.filter-select {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 0.625rem 1.25rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tag.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Sermons Grid */
.sermons-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-count {
    font-size: 1.125rem;
    color: #6b7280;
}

.results-count strong {
    color: var(--dark-color);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.view-btn:hover,
.view-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Sermon Card (same as before but in grid) */
.sermon-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sermon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
}

.sermon-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #e5e7eb;
}

.sermon-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sermon-card:hover .sermon-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sermon-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.sermon-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 0.375rem 0.75rem;
    background: rgba(0,0,0,0.8);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sermon-series-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.375rem 0.875rem;
    background: rgba(79, 70, 229, 0.9);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.sermon-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sermon-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.sermon-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.sermon-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-darkest);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sermon-title a {
    color: inherit;
    text-decoration: none;
}

.sermon-title a:hover {
    color: var(--primary);
}

.sermon-preacher {
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sermon-scripture {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sermon-description {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.sermon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.sermon-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.sermon-stats span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.sermon-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    text-decoration: none;
}

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

/* List View */
.sermon-card-list {
    display: flex;
    flex-direction: row;
    height: auto;
}

.sermon-card-list .sermon-thumbnail {
    width: 320px;
    padding-top: 0;
    height: 180px;
    flex-shrink: 0;
}

.sermon-card-list .sermon-content {
    flex: 1;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
}

.pagination .page-link {
    border: 2px solid #e5e7eb;
    color: #6b7280;
    font-weight: 600;
    padding: 0.625rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 20px;
}

.no-results-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
}

.no-results h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-results p {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .sermon-card-list {
        flex-direction: column;
    }
    
    .sermon-card-list .sermon-thumbnail {
        width: 100%;
        padding-top: 56.25%;
        height: auto;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}