html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

:root {
    /* ========================================
       CENTRALIZED THEME CONFIGURATION
       Change these values to update the entire site theme
       ======================================== */
    
    /* Purple Gradient Theme Colors */
    --primary: #667eea;        /* Primary Purple */
    --primary-dark: #764ba2;   /* Dark Purple */
    --primary-light: #f093fb;  /* Light Pink-Purple */
    --accent: #17BEBB;         /* Teal Accent (kept for compatibility) */
    
    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-primary-extended: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-horizontal: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    
    /* Background Colors */
    --page-bg: #E9EEF4;       /* Soft Background */
    --card-bg: #FFFFFF;       /* Cards / sections */
    
    /* Text Colors */
    --page-text: #1B1B1B;     /* Main text color */
    --text-muted: #6b7280;    /* Muted text */
    
    /* Navbar */
    --nav-bg: var(--primary);
    --nav-border: var(--accent);
    --nav-text: #FFFFFF;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--page-bg);
    color: var(--page-text);
}

/* NAVBAR */
.navbar {
    background: transparent !important;
    width: 100%;
    z-index: 10;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: var(--page-text);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links a {
    text-decoration: none;
    color: var(--page-text);
}
#menu-toggle { display: none; }
.hamburger {
    display: none;
    font-size: 26px;
}

/* Use `.site-navbar` when you want the themed navbar (moved from inline HTML style) */
.navbar.site-navbar {
    background: var(--nav-bg) !important;
    border-bottom: 3px solid var(--nav-border);
}
.navbar.site-navbar .nav-link,
.navbar.site-navbar .navbarFontColor,
.navbar.site-navbar .navbar-brand {
    color: var(--nav-text) !important;
}

.navbar.site-navbar .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
}

/* User avatar dropdown in navbar */
.nav-item.dropdown { margin-left: 12px; }
.avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--card-bg);
    color: var(--primary);
    /* ensure initials remain visible even if navbar rules attempt to change link color */
    color: var(--primary) !important;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 0;
    text-decoration: none;
    overflow: hidden; /* make this the clipping container so child img fills the circle */
    line-height: 0; /* remove inline-gap artifacts that can distort image sizing */
    box-sizing: border-box;
}
.avatar-btn:focus { outline: none; }
.dropdown-menu.dropdown-menu-end {
    min-width: 220px;
    border-radius: 8px;
}
.dropdown-header small { display: block; font-size: 0.85rem; color: #6b7280; }
.dropdown-item { white-space: nowrap; }

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* MOBILE NAV */
@media (max-width: 768px) {
    .hamburger { display: block; cursor: pointer; }
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        padding: 10px;
        position: absolute;
        top: 55px; right: 20px;
        border: 1px solid #ccc;
    }
    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }
}

/* HERO */
.hero {
    
    color: var(--card-bg);
    padding: 80px 20px;
    text-align: center;
}
.hero-text h1 {
    font-size: 42px;
}
.btn-primary {
    background: linear-gradient(90deg,var(--primary),var(--accent));
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}
.navbarFontColor{
    color: white !important;
}
/* CATEGORIES */
.categories {
    padding: 40px 20px;
    text-align: center;
}

/* FEATURED CAMPAIGNS - COMPACT HORIZONTAL CARDS */
.featured-spotlight {
    padding: 50px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.spotlight-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.spotlight-badge-inline i {
    animation: pulse-star 2s ease-in-out infinite;
}

@keyframes pulse-star {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

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

.featured-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.featured-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.05);
}

.featured-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.featured-badge-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.featured-badge-overlay i {
    font-size: 0.7rem;
    animation: flicker 1.5s ease-in-out infinite;
}

.featured-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.featured-progress-wrap {
    margin-bottom: 16px;
}

.featured-stats {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.featured-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.featured-goal {
    font-size: 0.85rem;
    color: #9ca3af;
}

.featured-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.featured-fill {
    height: 100%;
    background: var(--gradient-horizontal);
    border-radius: 10px;
    transition: width 0.8s ease-out;
}

.featured-percent {
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 600;
}

.featured-actions {
    display: flex;
    gap: 10px;
}

.btn-featured,
.btn-featured-donate {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-featured:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-featured-donate {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-featured-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .featured-card-image {
        height: 200px;
    }
}

/* CATEGORIES */
.categories {
    padding: 40px 20px;
    text-align: center;
}
.category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.category-box {
    width: 120px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    color: var(--page-text);
    transition: 0.2s;
    text-align: center;
}
.category-box:hover {
    background: #f4f6f8;
}

/* CAMPAIGN GRID */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 30px;
    /* Keep the grid from expanding to the full page width when there are few items */
    max-width: 1200px; /* adjust as needed: 3-5 columns worth of content */
    margin: 0 auto; /* center the grid */
    justify-items: center; /* center each grid cell's content so cards don't stretch */
}
.campaign-card {
    border: 1px solid rgba(11,26,40,0.06);
    border-radius: 10px;
    padding: 15px;
    background: var(--card-bg);
    /* Keep campaign cards consistent width even when only one item */
    width: 100%;
    max-width: 260px;
}
.campaign-card {
    /* Modern uplifted card look */
    background: linear-gradient(180deg, var(--card-bg) 0%, #fbfbff 100%);
    border: 1px solid rgba(11,26,40,0.06);
    box-shadow: 0 6px 18px rgba(11,26,40,0.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
}
.campaign-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16,24,40,0.12);
}

/* Title and description */
.campaign-card h3 {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.05rem;
    margin: 12px 0 6px 0;
    color: var(--primary);
}
.campaign-card p {
    color: rgba(27,27,27,0.78); /* softened primary text */
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

/* Goal text */
.campaign-card .goal {
    color: rgba(27,27,27,0.85);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Buttons */
.campaign-card .btn-view,
.campaign-card .btn.btn-sm {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    text-decoration: none;
}
.btn-view {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(11,26,40,0.06);
}
.btn-primary.btn-sm, .campaign-card .btn-primary {
    background: linear-gradient(90deg,var(--primary),var(--accent));
    color: #fff !important;
    border: none;
    box-shadow: 0 6px 18px rgba(11,26,40,0.08);
}

/* Progress bar polish */
.progress-bar { background: #eef3f6; }
.progress { background: linear-gradient(90deg,var(--primary),var(--accent)); }

/* Small responsive tweak: slightly larger cards on wider screens */
@media (min-width: 1200px) {
    .campaign-card { max-width: 300px; }
}

/* Image overlay and title */
.card-image { position: relative; border-radius: 8px; overflow: hidden; }
.card-image .campaign-img { display: block; width: 100%; height: 180px; object-fit: cover; }
.card-image .placeholder-img { background: linear-gradient(135deg,#f3f4f6,#eef2ff); height: 180px; }
.title-overlay {
    position: absolute; left: 0; right: 0; bottom: 12px; padding: 12px 14px; color: #fff; font-weight:700;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(2,6,23,0.6) 100%);
    font-size: 1rem;
}

/* Category badge */
.category-badge { position: absolute; top: 12px; left: 12px; padding: 8px; border-radius: 10px; display:flex; align-items:center; justify-content:center; color:#fff; }
.category-badge .badge-icon { width:20px; height:20px; object-fit:contain; }

/* Staggered entry animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.campaign-card { animation: fadeUp .5s ease both; animation-delay: calc(var(--i) * 80ms); }

/* Body wrap */
.card-body { padding-top: 10px; }

/* Creator Info */
.creator-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.creator-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.creator-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.creator-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.creator-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

/* Campaign Meta (backers and days remaining) */
.campaign-meta {
    display: flex;
    gap: 20px;
    margin: 12px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

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

.meta-item i {
    color: #9ca3af;
    font-size: 0.8rem;
}

.card-desc { margin-bottom: 8px; }
.campaign-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}
.progress-bar {
    width: 100%;
    /* Increased height so percentage text fits comfortably */
    height: 28px;
    background: #eee;
    border-radius: 14px;
    margin: 10px 0;
}
.progress {
    /* fill the bar height and inherit rounded corners */
    height: 100%;
    background: linear-gradient(90deg,var(--primary),var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px; /* give breathing room for label */
}
/* label inside progress */
.progress {
    position: relative;
}
.progress .progress-label {
    /* center label within the filled portion; use line-height for vertical centering */
    font-size: 0.85rem;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

/* label above the bar (for small fills) */
.progress-label-above {
    font-size: 0.9rem;
    color: #111;
    font-weight: 700;
    margin-bottom: 8px;
}

/* smooth transition when progress changes */
.progress {
    transition: width 420ms ease-in-out;
}

.login{
    background: var(--accent);
    border-radius: 40px;
    padding: .38rem 1rem;
    border: solid 2px var(--accent);
}

/* ENHANCED HERO SECTION */
.hero-section-enhanced {
    background: var(--gradient-primary-extended);
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-enhanced {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
}

.hero-title-animated {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary {
    background: #fff;
    color: var(--primary);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

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

/* Animated Stats in Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

.hero-stats .stat-number, 
.hero-stats .stat-number-text, 
.hero-stats .stat-number-currency {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff !important;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number-currency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hero-stats .currency-symbol {
    font-size: 2rem;
    color: #fff !important;
    opacity: 0.9;
}

.amount-value {
    display: inline-block;
}

.hero-stats .amount-suffix {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff !important;
}

.hero-stats .stat-label {
    font-size: 0.95rem;
    color: #fff !important;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-title-animated {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 25px;
        padding: 20px;
    }
    .stat-divider {
        width: 100px;
        height: 2px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
    }
}

/* OLD HERO (kept for backward compatibility) */
.hero-section {
    background: url("../images/fundRaising1.png") no-repeat center center/cover;
    background-size: cover;
    height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-bg);
    position: relative;
    margin-top: -100px;
    padding-top: 80px;
}

.hero-section .overlay {
    position: absolute;
    top:0;left:0;
    width:100%;
    height:100%;
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Slight overlap effect - white rounded container rises above hero */
.home-content-section {
    background: var(--card-bg);
    border-radius: 20px;
    margin-top: -60px;
    padding: 40px 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 50;
}

.category-section h2 {
    font-weight: 600;
}

.category-card {
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    color: #000;
}

.icon-circle {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 8px;
    font-size: 28px;
    color: white;
}

/* Pastel Backgrounds */
.bg-startup { background-color: var(--primary); }
.bg-education { background-color: #1194C6; }
.bg-medical { background-color: #FF6B6B; }
.bg-animals { background-color: var(--accent); }
.bg-community { background-color: #FFA502; }

/* Browse by Category Section */
.categories-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23667eea' 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");
    opacity: 0.4;
    pointer-events: none;
}

.section-title {
    font-weight: 700;
    font-size: 2rem;
    color: #2d3748;
}

.category-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.category-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary-extended);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.category-card:hover .category-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.3);
}

.category-icon {
    font-size: 2.2rem;
    color: white;
}

.category-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.category-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    text-align: center;
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Old category styles - keeping for backward compatibility */
.category-wrap h2 {
    font-weight: 700;
    font-size: 32px;
}

.category-box {
    text-decoration: none;
    color: var(--page-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s ease;
}

.category-box:hover {
    transform: translateY(-8px);
}

.cat-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    background: linear-gradient(145deg, #ffffff, #f2f2f2);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.15), -4px -4px 12px rgba(255,255,255,0.9);
}

.category-box:hover .cat-icon {
    box-shadow: 8px 8px 20px rgba(0,0,0,0.18);
}

.cat-icon i {
    background: linear-gradient(45deg,var(--primary),var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cat-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
}

/* ALL CAMPAIGNS LIST */
.campaign-list {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    padding: 0 10px;
}

.section-title-wrap {
    flex: 1;
    min-width: 280px;
}

.section-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.02em;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.campaign-icon {
    color: var(--primary);
    font-size: 1.75rem;
    animation: none;
}

.trending-icon {
    color: #ff6b35;
    font-size: 1.75rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

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

.section-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

/* Modern inline search form */
.search-form-inline {
    flex: 0 0 auto;
    width: 100%;
    max-width: 450px;
}

.search-form-inline .search-wrapper {
    position: relative;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.search-form-inline .search-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(23, 190, 187, 0.15);
}

.search-form-inline .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}

.search-form-inline .search-input {
    width: 100%;
    height: 100%;
    padding: 0 56px 0 48px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font-size: 0.95rem;
    color: #1f2937;
    outline: none;
    box-sizing: border-box;
}

.search-form-inline .search-input::placeholder {
    color: #9ca3af;
}

.search-form-inline .search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 3;
}

.search-form-inline .search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.search-form-inline .search-btn i {
    font-size: 14px;
}

/* Trending badge on cards */
.trending-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    letter-spacing: 0.3px;
}

.trending-badge i {
    font-size: 0.7rem;
    animation: flicker 1.5s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Empty state styling */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.no-results i {
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .trending-icon {
        font-size: 1.35rem;
    }
    
    .search-form-inline {
        width: 100%;
        max-width: 100%;
    }
    
    .trending-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .search-form-inline .search-input {
        font-size: 0.9rem;
        padding: 0 45px 0 40px;
    }
    
    .search-form-inline .search-icon {
        left: 12px;
        font-size: 14px;
    }
    
    .search-form-inline .search-btn {
        width: 32px;
        height: 32px;
    }
}

/* Responsive tweaks for campaign grid/cards */
@media (max-width: 992px) {
    .campaign-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        padding: 20px;
        max-width: 960px;
    }
    .campaign-card {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    /* Stack to a single column on narrow screens but keep cards tidy */
    .campaign-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
        max-width: 520px; /* card width center column */
    }
    .campaign-card {
        max-width: 100%;
        width: 100%;
    }
    .campaign-img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .campaign-grid {
        max-width: 100%;
        padding: 12px;
    }
    .campaign-img {
        height: 140px;
    }
}

/* Footer styles (three-column layout) */
.site-footer { padding: 40px 0; background: linear-gradient(180deg,var(--primary),#072235); color: #f8fafc; }
.footer-grid { width: 100%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 220px; gap: 24px; align-items: start; padding: 0 16px; }
.footer-col { padding: 8px 12px; }
.footer-logo { font-size: 20px; font-weight: 800; color: #fff; text-decoration: none; }
.footer-about { color: #cbd5e1; margin-top: 8px; font-size: 0.95rem; }
.footer-copy { margin-top: 12px; color: #94a3b8; font-size: 0.9rem; }
.footer-links h4, .footer-social h4 { color: #fff; margin-bottom: 8px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin: 6px 0; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.social-links { display: flex; gap: 10px; }
.social { display: inline-flex; align-items: center; justify-content: center; width:36px; height:36px; background: rgba(255,255,255,0.06); border-radius: 8px; color: #fff; }
.social:hover { background: rgba(255,255,255,0.12); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* About page styles */
.about-hero { padding: 48px 0; background: linear-gradient(180deg,#f8fafc,#eef2ff); }
.about-hero-inner { display:flex; gap: 30px; align-items:center; justify-content:space-between; }
.about-hero .hero-text { flex: 1; }
.about-hero .hero-text h1 { font-size: 2rem; margin-bottom: 8px; }
.about-hero .hero-text .lead { color: #334155; font-size:1.05rem; }
.about-hero .hero-visual { width: 360px; max-width: 40%; }
.hero-svg { width:100%; height:auto; display:block; border-radius:12px; box-shadow: 0 10px 30px rgba(2,6,23,0.06); }

.about-mission .grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items:start; }
.about-mission h2 { margin-top:0; }

.about-values { padding: 36px 0; }
.values-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.value { background: white; border-radius: 12px; padding: 16px; box-shadow: 0 6px 18px rgba(2,6,23,0.04); }
.value strong { display:block; margin-bottom:8px; color:var(--primary); }

.team-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.team-card { background: linear-gradient(180deg,#ffffff,#fbfbff); border-radius:12px; padding:18px; text-align:center; box-shadow: 0 8px 20px rgba(2,6,23,0.06); }
.team-card .avatar { width:64px; height:64px; border-radius:50%; background: linear-gradient(90deg,var(--primary),var(--accent)); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:1.1rem; margin-bottom:10px; }
.team-card h4 { margin:6px 0 4px 0; }
.team-card .muted { color:#64748b; font-size:0.92rem; }

.about-cta { background: linear-gradient(90deg,#f8fafc,#eef2ff); }

@media (max-width: 900px) {
    .about-hero-inner { flex-direction: column-reverse; }
    .about-hero .hero-visual { max-width: 100%; width: 100%; }
    .about-mission .grid-2 { grid-template-columns: 1fr; }
}


/* Fundraising ideas grid */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.idea-card {
    background: linear-gradient(180deg,#fff,#fbfbff);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(2,6,23,0.06);
    transition: transform .28s ease, box-shadow .28s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.idea-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(2,6,23,0.12); }
.icon-wrap { width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center; }
.idea-icon { width:48px; height:48px; transition: transform .35s ease; }
.idea-card:hover .idea-icon { transform: scale(1.08) rotate(-6deg); }
.idea-card h3 { margin:0; font-size:1.05rem; color:var(--primary); }
.idea-card p { margin:0; color: rgba(27,27,27,0.78); font-size:0.95rem; line-height:1.4; }

/* subtle floating animation for icons */
@keyframes floaty { 0% { transform: translateY(0px); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0px); } }
.idea-icon { animation: floaty 6s ease-in-out infinite; }

/* Pricing styles */
.pricing-header h1 { font-size: 1.6rem; font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.pricing-card { padding: 22px; border-radius: 12px; background: linear-gradient(180deg,var(--primary),#072235); color: #fff; box-shadow: 0 12px 30px rgba(2,6,23,0.25); display:flex; flex-direction:column; justify-content:space-between; min-height: 260px; }
.pricing-card.recommended { transform: scale(1.04); border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 20px 50px rgba(2,6,23,0.32); }
.price-top h3 { margin: 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.price { font-size: 1.6rem; margin-top: 8px; font-weight: 700; color: #fff; }
.price-features { list-style: none; padding: 0; margin: 12px 0 18px 0; color: #cbd5e1; }
.price-features li { margin: 8px 0; }
.price-cta { margin-top: auto; }
.btn-outline-light { color: #fff; border: 1px solid rgba(255,255,255,0.12); background: transparent; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.btn-primary { background: linear-gradient(90deg,var(--primary),var(--accent)); color: #fff; padding: 8px 12px; border-radius: 8px; text-decoration: none; border: none; }

@media (max-width: 768px) {
    .pricing-card { min-height: auto; }
}

/* HOW IT WORKS page styles */
.how-hero {
    padding: 56px 0;
    background: linear-gradient(90deg, rgba(10,61,98,0.05), rgba(23,190,187,0.03));
    /* background-image may be set inline from the template for the illustration */
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20% auto;
}
.how-hero-inner {
    display:flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}
.how-hero h1 { font-size: 2.4rem; color: var(--primary); margin-bottom: 8px; }
.how-hero .lead { color: rgba(27,27,27,0.8); font-size: 1.05rem; }
.how-hero-illustration { width: 320px; max-width: 40%; }

/* Wrapper enforces a square container so the image renders as a perfect circle */
.how-hero-illustration-wrap {
    width: 320px;
    height: 320px;
    max-width: 40%;
    flex: 0 0 auto;
    overflow: hidden;
    display: block;
    box-shadow: 0 12px 36px rgba(11,26,40,0.12);
    border: 6px solid rgba(255,255,255,0.85);
}

/* Make the hero illustration fill the wrapper */
.how-hero-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.how-steps { padding: 40px 0; }
.how-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(11,26,40,0.04);
    text-align: left;
    transition: transform .22s ease, box-shadow .22s ease;
    min-height: 240px;
}
.how-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(11,26,40,0.08); }
.how-card-icon { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.how-card-icon i { font-size: 22px; color: var(--accent); }
.how-step-number { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:8px; background: linear-gradient(90deg,var(--primary),var(--accent)); color:#fff; font-weight:700; margin-right:6px; }
.how-card h3 { margin-top:0; color: var(--primary); }
.how-card p { color: rgba(27,27,27,0.78); }

.how-details { padding-bottom: 56px; }
.how-details h2 { color: var(--primary); }
.how-cta { background: linear-gradient(180deg,#fff,#fbfbff); border-radius:12px; padding:20px; box-shadow: 0 8px 24px rgba(11,26,40,0.06); text-align:center; }
.how-cta .btn { margin-top: 12px; }

@media (max-width: 900px) {
    .how-hero-inner { flex-direction: column; }
    .how-hero-illustration-wrap { max-width: 100%; width: 220px; height: 220px; }
    .how-hero-illustration { max-width: 100%; }
    .how-card { min-height: auto; }
}

/* On larger screens we prefer the illustration as a background; hide the inline img wrapper to avoid duplicate visuals */
@media (min-width: 901px) {
    .how-hero-illustration-wrap { display: none; }
}

/* For small screens, remove the background image so the inline img shows under the hero */
@media (max-width: 900px) {
    .how-hero { background-image: none !important; }
}

/* Campaign Details Page */
.sticky-top {
    position: sticky;
    top: 20px;
}

@keyframes pulse-donate {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6); }
}

.donate-card-animated {
    animation: pulse-donate 3s ease-in-out infinite;
}

/* ===============================================
   HOW IT WORKS PAGE STYLES
   =============================================== */

/* How It Works Hero Section */
.how-works-hero {
    background: var(--gradient-primary-extended);
    padding: 100px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.how-works-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.05'%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");
    opacity: 0.3;
}

.how-works-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.how-works-hero-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

.how-works-hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.how-works-hero-subtitle {
    font-size: 24px;
    opacity: 0.95;
    margin-bottom: 16px;
    font-weight: 600;
}

.how-works-hero-description {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

.how-works-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.how-works-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.15);
    padding: 16px 28px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.how-works-stat i {
    font-size: 32px;
    opacity: 0.9;
}

.how-works-stat strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.how-works-stat span {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

/* How It Works Content */
.how-works-content {
    padding: 60px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.how-works-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.how-works-section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.how-works-section-header h2 i {
    color: var(--primary);
}

.how-works-section-header p {
    font-size: 18px;
    color: #666;
}

/* How Works Step Cards */
.how-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.how-works-step-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.how-works-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.how-works-step-card:hover::before {
    transform: scaleX(1);
}

.how-works-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(102, 126, 234, 0.2);
    border-color: var(--primary);
}

.step-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.step-icon {
    font-size: 42px;
    color: var(--primary);
    opacity: 0.3;
}

.how-works-step-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 16px;
}

.step-description {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.step-features {
    margin-bottom: 28px;
}

.step-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: #4a4a4a;
    font-size: 15px;
}

.step-feature i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 16px;
}

.step-action {
    text-align: center;
}

.btn-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Timeline Section */
.how-works-timeline-section {
    margin: 80px 0;
}

.how-works-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, #667eea 0%, #f093fb 100%);
    opacity: 0.3;
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 4px solid #667eea;
}

.timeline-content h4 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Best Practices Section */
.how-works-best-practices {
    margin: 80px 0;
}

.best-practices-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.best-practices-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

.best-practices-header i {
    font-size: 32px;
    color: var(--primary);
}

.best-practices-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1B1B1B;
    margin: 0;
}

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

.best-practices-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.best-practices-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.best-practices-list li > i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 2px;
}

.best-practices-list strong {
    display: block;
    color: #1B1B1B;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.best-practices-list p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Success Stats Section */
.how-works-success-stats {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(240, 147, 251, 0.08) 100%);
    border-radius: 16px;
    padding: 50px 40px;
    margin: 80px 0;
    text-align: center;
}

.how-works-success-stats h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.how-works-success-stats h3 i {
    color: var(--primary);
}

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

.stat-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.stat-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #1B1B1B;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* FAQ Section */
.how-works-faq-section {
    margin: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.faq-item {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12);
}

.faq-item h4 {
    color: #1B1B1B;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.faq-item p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.faq-item a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.how-works-final-cta {
    background: var(--gradient-primary-extended);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 80px 0 40px;
    text-align: center;
    color: white;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.final-cta-content i {
    font-size: 56px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.final-cta-content h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.final-cta-content > p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.final-cta-buttons .btn {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.final-cta-buttons .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
}

.final-cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.3);
    color: var(--primary);
}

.final-cta-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.final-cta-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.final-cta-note {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

.final-cta-note i {
    font-size: 16px;
    margin-right: 6px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .how-works-hero {
        padding: 60px 0 40px;
    }
    
    .how-works-hero-title {
        font-size: 36px;
    }
    
    .how-works-hero-icon {
        font-size: 48px;
    }
    
    .how-works-hero-subtitle {
        font-size: 20px;
    }
    
    .how-works-hero-description {
        font-size: 16px;
    }
    
    .how-works-hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .how-works-stat {
        width: 100%;
        justify-content: center;
    }
    
    .how-works-section-header h2 {
        font-size: 26px;
        flex-direction: column;
    }
    
    .how-works-steps {
        grid-template-columns: 1fr;
    }
    
    .how-works-step-card {
        padding: 28px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .best-practices-card {
        padding: 28px;
        margin-bottom: 24px;
    }
    
    .success-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .how-works-final-cta {
        padding: 40px 24px;
    }
    
    .final-cta-content h2 {
        font-size: 28px;
    }
    
    .final-cta-content > p {
        font-size: 16px;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .final-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================================
   PRICING PAGE STYLES
   =============================================== */

.pricing-hero {
    background: var(--gradient-primary-extended);
    padding: 100px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.05'%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");
    opacity: 0.3;
}

.pricing-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-hero-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.pricing-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pricing-hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 12px;
    font-weight: 600;
}

.pricing-hero-description {
    font-size: 18px;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-content {
    padding: 60px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

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

.pricing-plan-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 2px solid #e0e0e0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(102, 126, 234, 0.2);
    border-color: var(--primary);
}

.pricing-plan-card.recommended {
    border-color: var(--primary);
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-plan-card.recommended:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-badge {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommended-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.plan-header {
    padding: 32px;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
}

.plan-header i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.plan-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 16px;
}

.plan-price {
    margin: 20px 0;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.price-period {
    font-size: 16px;
    color: #666;
    display: block;
    margin-top: 4px;
}

.plan-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 16px 0 0;
}

.plan-features {
    list-style: none;
    padding: 32px;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.6;
}

.plan-features li i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

.plan-fee-info {
    background: rgba(102, 126, 234, 0.08);
    padding: 16px 32px;
    text-align: center;
    color: var(--primary);
    font-size: 15px;
}

.plan-cta {
    padding: 32px;
    text-align: center;
}

.plan-cta .btn {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-fee-breakdown {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 60px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.pricing-fee-breakdown h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pricing-fee-breakdown h2 i {
    color: var(--primary);
}

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

.fee-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 32px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
}

.fee-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.fee-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.fee-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 16px;
}

.fee-card p {
    color: #4a4a4a;
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.fee-card small {
    color: #999;
    font-size: 13px;
    display: block;
    margin-top: 12px;
    font-style: italic;
}

.pricing-example {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(240, 147, 251, 0.08) 100%);
    border-radius: 16px;
    padding: 50px 40px;
    margin-bottom: 60px;
}

.pricing-example h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pricing-example h3 i {
    color: var(--primary);
}

.example-calc {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.calc-input {
    text-align: center;
    margin-bottom: 32px;
}

.calc-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.calc-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
}

.calc-breakdown {
    border-top: 2px solid #e0e0e0;
    padding-top: 24px;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 16px;
}

.calc-item.deduction {
    color: #666;
}

.calc-item.total {
    border-top: 3px solid #667eea;
    margin-top: 16px;
    padding-top: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #1B1B1B;
}

.calc-item.total strong {
    color: var(--primary);
    font-size: 32px;
}

.calc-note {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.pricing-faq {
    margin-bottom: 60px;
}

.pricing-faq h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pricing-faq h2 i {
    color: var(--primary);
}

.pricing-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pricing-faq-item {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.pricing-faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12);
}

.pricing-faq-item h4 {
    color: #1B1B1B;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-faq-item p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.pricing-faq-item a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.pricing-faq-item a:hover {
    text-decoration: underline;
}

.pricing-final-cta {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.pricing-final-cta i {
    font-size: 56px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.pricing-final-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.pricing-final-cta > p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.pricing-final-cta .btn {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 60px 0 40px;
    }
    
    .pricing-hero-title {
        font-size: 32px;
    }
    
    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-plan-card.recommended {
        transform: scale(1);
    }
    
    .pricing-plan-card.recommended:hover {
        transform: translateY(-8px);
    }
    
    .fee-breakdown-grid,
    .pricing-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-amount {
        font-size: 36px;
    }
    
    .pricing-final-cta {
        padding: 40px 24px;
    }
}

/* ===============================================
   FAQ PAGE STYLES
   =============================================== */

.faq-hero {
    background: var(--gradient-primary-extended);
    padding: 60px 0 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.05'%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");
    opacity: 0.3;
}

.faq-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.faq-hero-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

.faq-hero-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-hero-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 24px;
    font-weight: 300;
}

.faq-search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.faq-search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.7;
}

.faq-search-input {
    width: 100%;
    padding: 14px 20px 14px 52px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    background: rgba(255,255,255,0.95);
    color: #1B1B1B;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-search-input:focus {
    outline: none;
    background: white;
}

.faq-content {
    padding: 40px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}

.faq-category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #1B1B1B;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-category-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.faq-category-link i {
    font-size: 28px;
    color: var(--primary);
}

.faq-section {
    margin-bottom: 40px;
}

.faq-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
}

.faq-section-header i {
    font-size: 28px;
    color: var(--primary);
}

.faq-section-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1B1B1B;
    margin: 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12);
}

.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-left: 4px solid #667eea;
}

.faq-question i {
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1B1B1B;
    margin: 0;
}

.faq-answer {
    padding: 18px 24px 18px 56px;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer ol,
.faq-answer ul {
    padding-left: 20px;
    margin: 12px 0;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.faq-answer strong {
    color: #1B1B1B;
}

.faq-answer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-final-cta {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    color: white;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
    margin-top: 50px;
}

.faq-final-cta i {
    font-size: 44px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.faq-final-cta h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}

.faq-final-cta > p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.95;
}

.faq-final-cta .btn {
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.faq-quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.faq-quick-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
}

.faq-quick-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 40px 0 30px;
    }
    
    .faq-hero-title {
        font-size: 28px;
    }
    
    .faq-hero-subtitle {
        font-size: 14px;
    }
    
    .faq-content {
        padding: 30px 0;
    }
    
    .faq-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .faq-section {
        margin-bottom: 30px;
    }
    
    .faq-section-header h2 {
        font-size: 22px;
    }
    
    .faq-answer {
        padding: 16px 20px 16px 48px;
        font-size: 14px;
    }
    
    .faq-final-cta {
        padding: 32px 24px;
        margin-top: 40px;
    }
}
    .faq-hero {
        padding: 60px 0 40px;
    }
    
    .faq-hero-title {
        font-size: 32px;
    }
    
    .faq-hero-icon {
        font-size: 48px;
    }
    
    .faq-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .faq-section-header h2 {
        font-size: 24px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 20px;
    }
    
    .faq-final-cta {
        padding: 40px 24px;
    }
    
    .faq-quick-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===============================================
   PRIVACY POLICY PAGE STYLES
   =============================================== */

/* Privacy Hero Section */
.privacy-hero {
    background: var(--gradient-primary-extended);
    padding: 100px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.05'%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");
    opacity: 0.3;
}

.privacy-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-hero-icon {
    font-size: 72px;
    margin-bottom: 24px;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.privacy-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: 500;
}

.privacy-hero-description {
    font-size: 20px;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Privacy Content Container */
.privacy-content {
    padding: 60px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

/* Privacy Navigation Card */
.privacy-nav-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    margin-bottom: 40px;
    border: 2px solid var(--primary);
}

.privacy-nav-card h3 {
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.privacy-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 8px;
    text-decoration: none;
    color: #1B1B1B;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.privacy-nav-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.privacy-nav-link i {
    font-size: 12px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.privacy-nav-link:hover i {
    color: white;
}

/* Privacy Sections */
.privacy-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12);
}

.privacy-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

.privacy-section-header .section-icon {
    font-size: 36px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.privacy-section-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1B1B1B;
}

.privacy-section-content {
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 16px;
}

.privacy-section-content h4 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-section-content h5 {
    color: #1B1B1B;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Privacy Lists */
.privacy-list {
    padding-left: 24px;
    margin: 16px 0;
}

.privacy-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.privacy-list li strong {
    color: #1B1B1B;
    font-weight: 600;
}

/* Privacy Highlight Boxes */
.privacy-highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(240, 147, 251, 0.08) 100%);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.privacy-highlight-box i {
    font-size: 24px;
    color: var(--primary);
    margin-top: 2px;
}

.privacy-highlight-box strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.privacy-highlight-warning {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 193, 7, 0.08) 100%);
    border-left-color: #ff9800;
}

.privacy-highlight-warning i,
.privacy-highlight-warning strong {
    color: #ff9800;
}

/* Privacy Use Grid */
.privacy-use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.privacy-use-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.privacy-use-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.privacy-use-card i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.privacy-use-card h5 {
    color: #1B1B1B;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.privacy-use-card p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Privacy Sharing Items */
.privacy-sharing-item {
    margin: 28px 0;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.privacy-sharing-item h5 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 12px;
    padding: 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
}

/* Privacy Security Grid */
.privacy-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.privacy-security-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.privacy-security-item i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.privacy-security-item strong {
    display: block;
    color: #1B1B1B;
    font-size: 18px;
    margin-bottom: 12px;
}

.privacy-security-item p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Privacy Rights List */
.privacy-rights-list {
    margin-top: 24px;
}

.privacy-right-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    margin-bottom: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.privacy-right-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.privacy-right-item i {
    font-size: 32px;
    color: var(--primary);
    margin-top: 4px;
}

.privacy-right-item strong {
    color: var(--primary);
    font-size: 18px;
    display: block;
    margin-bottom: 6px;
}

.privacy-right-item p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.privacy-action-text {
    margin-top: 28px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    color: #1B1B1B;
}

.privacy-action-text strong {
    color: var(--primary);
}

/* Privacy Cookie Types */
.privacy-cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.privacy-cookie-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.privacy-cookie-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
}

.privacy-cookie-card h5 {
    color: #1B1B1B;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-cookie-card h5 i {
    color: var(--primary);
}

.privacy-cookie-card p {
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-badge.required {
    background: var(--gradient-primary);
    color: white;
}

.cookie-badge.optional {
    background: #e0e0e0;
    color: #666;
}

/* Privacy Contact Section */
.privacy-contact-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
    border: 2px solid var(--primary);
}

.privacy-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.privacy-contact-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.privacy-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.2);
}

.privacy-contact-card i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.privacy-contact-card h5 {
    color: #1B1B1B;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.privacy-contact-card p {
    color: #4a4a4a;
    font-size: 15px;
    margin-bottom: 8px;
}

.privacy-contact-card p strong {
    color: var(--primary);
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

/* Privacy Footer Note */
.privacy-footer-note {
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px;
    padding: 28px 40px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.3);
}

.privacy-footer-note i {
    font-size: 36px;
    opacity: 0.9;
}

.privacy-footer-note p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 60px 0 40px;
    }
    
    .privacy-hero-title {
        font-size: 32px;
    }
    
    .privacy-hero-icon {
        font-size: 48px;
    }
    
    .privacy-hero-description {
        font-size: 16px;
    }
    
    .privacy-section {
        padding: 24px;
    }
    
    .privacy-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .privacy-section-header h2 {
        font-size: 22px;
    }
    
    .privacy-nav-links {
        grid-template-columns: 1fr;
    }
    
    .privacy-use-grid,
    .privacy-security-grid,
    .privacy-cookie-types,
    .privacy-contact-cards {
        grid-template-columns: 1fr;
    }
    
    .privacy-footer-note {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .privacy-nav-card {
        padding: 20px;
    }
}

/* ========================================
   SUPPORT PAGE - COMPACT DESIGN
   ======================================== */
.support-hero {
    background: var(--gradient-primary-extended);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.05'%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");
    opacity: 0.3;
}

.support-hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.support-hero-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.support-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.support-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

.support-content {
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.support-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.support-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.response-times-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.response-times-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.response-time-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.response-time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
}

.support-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.support-accordion .accordion-item {
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 8px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.support-accordion .accordion-button {
    font-weight: 600;
    color: #2d3748;
    background: white;
    padding: 1rem 1.25rem;
}

.support-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    color: var(--primary);
}

.support-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(102, 126, 234, 0.3);
}

.support-accordion .accordion-body {
    padding: 1.25rem;
    background: #fafbfc;
}

.quick-links-section {
    max-width: 800px;
    margin: 0 auto;
}

.quick-links-section h4 {
    font-weight: 600;
    color: #2d3748;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: white;
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.quick-link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .support-hero {
        padding: 3rem 0 2rem;
    }
    
    .support-hero-title {
        font-size: 2rem;
    }
    
    .support-content {
        padding: 2rem 0;
    }
    
    .response-times-card {
        padding: 1.5rem;
    }
    
    .response-time-list {
        margin-top: 1rem;
    }
}

/* ========================================
   HOW IT WORKS - COMPACT DESIGN
   ======================================== */
.how-works-steps-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.how-works-step-card-compact {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.how-works-step-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.step-card-header-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number-compact {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card-header-compact i {
    font-size: 1.8rem;
    color: var(--primary);
    opacity: 0.3;
}

.how-works-step-card-compact h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.how-works-step-card-compact p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.step-features-compact {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.step-features-compact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #4a5568;
}

.step-features-compact i {
    color: var(--primary);
    font-size: 0.85rem;
}

.how-works-tabs-section {
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.how-works-nav {
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.how-works-nav .nav-link {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: #4a5568;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.how-works-nav .nav-link:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: var(--primary);
}

.how-works-nav .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.how-works-tab-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.how-works-timeline-compact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item-compact {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-marker-compact {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.timeline-item-compact h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-item-compact p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.practice-item-compact {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.practice-item-compact i {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.practice-item-compact strong {
    display: block;
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.practice-item-compact p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.how-works-success-stats-compact {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    border-radius: 12px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
}

.stat-card-compact {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.stat-card-compact i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.stat-card-compact .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.stat-card-compact .stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.how-works-final-cta-compact {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gradient-primary-extended);
    color: white;
    border-radius: 12px;
    margin-top: 3rem;
}

.how-works-final-cta-compact i.fa-rocket {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.how-works-final-cta-compact h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.how-works-final-cta-compact p {
    font-size: 1.05rem;
    opacity: 0.95;
}

.how-works-final-cta-compact .btn-outline-primary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
    font-weight: 600;
}

.how-works-final-cta-compact .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .how-works-steps-compact {
        grid-template-columns: 1fr;
    }
    
    .how-works-nav {
        flex-direction: column;
    }
    
    .how-works-nav .nav-link {
        text-align: center;
    }
    
    .how-works-tab-content {
        padding: 1.5rem;
    }
    
    .timeline-item-compact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .how-works-final-cta-compact {
        padding: 2rem 1rem;
    }
    
    .how-works-final-cta-compact h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   ENHANCED BROWSE CAMPAIGNS SECTION
   ======================================== */
.campaign-list-enhanced {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
}

.campaign-list-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary-extended);
}

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

.section-title-wrap-enhanced {
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-badge i {
    animation: pulse-fire 2s ease-in-out infinite;
}

@keyframes pulse-fire {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.section-title-enhanced {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary-extended);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.search-form-enhanced {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper-enhanced {
    position: relative;
    width: 100%;
    height: 56px;
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    background: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.search-wrapper-enhanced:focus-within {
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.search-icon-enhanced {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.search-input-enhanced {
    width: 100%;
    height: 100%;
    padding: 0 60px 0 54px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    font-size: 1rem;
    color: #1f2937;
    outline: none;
}

.search-input-enhanced::placeholder {
    color: #9ca3af;
}

.search-btn-enhanced {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.search-btn-enhanced:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.search-btn-enhanced i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .campaign-list-enhanced {
        padding: 3rem 0;
    }
    
    .section-title-enhanced {
        font-size: 2rem;
    }
    
    .section-subtitle-enhanced {
        font-size: 1rem;
    }
    
    .search-wrapper-enhanced {
        height: 52px;
    }
}





