/* ===== Global Styles with Light/Dark Mode Support ===== */
:root {
    /* Brand Colors - Overridden by admin panel settings */
    --base-color: #F21616;
    --primary: #F21616;
    --primary-hover: #C51111;
    --primary-active: #A10E0E;
    --primary-dark: #C11212;
    --primary-light: #FEE2E2;
    --primary-rgb: 242, 22, 22;
    
    --secondary-color: #FF8A00;
    --secondary: #FF8A00;
    --secondary-dark: #CC6E00;
    --secondary-light: #FFA033;
    --secondary-rgb: 255, 138, 0;
    
    --accent: #00C896;
    --accent-dark: #00A077;
    --accent-light: #33D5AB;
    --accent-rgb: 0, 200, 150;
    
    /* Feedback Colors */
    --success: #16A34A;
    --warning: #F59E0B;
    --error: #DC2626;
    --info: #3B82F6;
    
    /* Light Mode (Default) */
    --bg: #FFFFFF;
    --surface: #F9FAFB;
    --surface-hover: #F3F4F6;
    --border: #E5E7EB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    
    /* Gradients */
    --primary-gradient: linear-gradient(90deg, #F21616 0%, #FF4D4D 100%);
    --primary-gradient-radial: radial-gradient(circle at top right, var(--primary), var(--primary-dark));
    --secondary-gradient: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --hero-gradient: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    
    /* Layout */
    --header-height: 80px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-sm: 8px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 24px rgba(var(--primary-rgb), 0.2);
    --shadow-secondary: 0 8px 24px rgba(var(--secondary-rgb), 0.2);
    --shadow-accent: 0 8px 24px rgba(var(--accent-rgb), 0.2);
}

/* Dark Mode - Auto-detect user preference */
@media (prefers-color-scheme: dark) {
    :root {
        /* Dark Mode Colors */
        --bg: #0a0a0a;
        --surface: rgba(255, 255, 255, 0.05);
        --surface-hover: rgba(255, 255, 255, 0.08);
        --border: rgba(255, 255, 255, 0.1);
        --text-primary: #ffffff;
        --text-secondary: rgba(255, 255, 255, 0.8);
        --text-muted: rgba(255, 255, 255, 0.6);
        
        /* Adjusted gradients for dark mode */
        --hero-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, rgba(242, 22, 22, 0.1) 100%);
        
        /* Stronger shadows for dark mode */
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
        --shadow-primary: 0 8px 24px rgba(var(--primary-rgb), 0.4);
        --shadow-secondary: 0 8px 24px rgba(var(--secondary-rgb), 0.4);
        --shadow-accent: 0 8px 24px rgba(var(--accent-rgb), 0.4);
    }
}

/* Global Background - Adapts to Light/Dark Mode */
body {
    background-color: var(--bg) !important;
    color: var(--text-primary) !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: var(--header-height) !important;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-wrapper,
section,
.section--bg,
.feature-section,
.features-section,
.pricing-section,
.about-section,
.how-it-works-section,
.faq-section,
.testimonials-section,
.overview-section,
.pt-100,
.pb-100,
.pt-50,
.pb-50 {
    background-color: var(--bg) !important;
    color: var(--text-primary) !important;
}

/* Alternating section backgrounds */
section:nth-child(even) {
    background-color: var(--surface) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ===== Animations & Keyframes ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.6);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Delay Classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Header Styles - Adapts to Light/Dark Mode */
header.fixed-top,
header {
    background: var(--bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 15px;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

/* Logo */
.navbar-brand img,
.site-logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

/* Ensure logo fits well on mobile */
@media (max-width: 768px) {
    .navbar-brand img,
    .site-logo img {
        max-height: 38px;
    }
}

/* Navigation */
.navbar {
    padding: 0;
}

.navbar-nav {
    margin: 0 auto;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link.active {
    color: var(--primary) !important;
}

/* ===== Global Button Styles ===== */

/* Primary Button */
.btn-primary,
.btn--base {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn--base:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.5) !important;
    background: var(--primary-dark) !important;
}

.btn-primary:active,
.btn--base:active {
    transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
    background: var(--secondary-gradient) !important;
    border: none !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--secondary-rgb), 0.5) !important;
    background: var(--secondary-dark) !important;
}

/* Accent/Success Button */
.btn-success,
.btn-accent {
    background: var(--accent-gradient) !important;
    border: none !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-accent);
}

.btn-success:hover,
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.5) !important;
    background: var(--accent-dark) !important;
}

/* Outline Buttons */
.btn-outline-light {
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    background: transparent !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-primary);
}

.btn-outline-secondary {
    color: var(--secondary) !important;
    border: 2px solid var(--secondary) !important;
    background: transparent !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: var(--secondary) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-secondary);
}

/* Auth Buttons */
.auth-buttons .btn {
    margin-left: 10px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

/* ===== Badges & Labels ===== */
.badge {
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.badge-primary {
    background: var(--primary-gradient) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-primary);
}

.badge-secondary {
    background: var(--secondary-gradient) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-secondary);
}

.badge-accent,
.badge-success {
    background: var(--accent-gradient) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-accent);
}

.badge-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    color: var(--white) !important;
}

.badge-warning {
    background: var(--secondary-gradient) !important;
    color: var(--white) !important;
}

/* ===== Alerts - Light/Dark Adaptive ===== */
.alert {
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: var(--surface);
}

.alert-primary {
    background: rgba(var(--primary-rgb), 0.1);
    border-left: 4px solid var(--primary);
    color: var(--primary);
}

.alert-secondary {
    background: rgba(var(--secondary-rgb), 0.1);
    border-left: 4px solid var(--secondary);
    color: var(--secondary);
}

.alert-success {
    background: rgba(var(--accent-rgb), 0.1);
    border-left: 4px solid var(--accent);
    color: var(--accent);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--info);
    color: var(--info);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning);
    color: var(--warning);
}

.alert-danger,
.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border-left: 4px solid var(--error);
    color: var(--error);
}

/* ===== Links ===== */
a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-light);
    text-decoration: none;
}

/* Secondary links/nav items */
.nav-link:hover,
.footer-links a:hover,
.secondary-link {
    color: var(--secondary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-warning {
    color: var(--secondary) !important;
}

.bg-primary {
    background: var(--primary-gradient) !important;
}

.bg-secondary {
    background: var(--secondary-gradient) !important;
}

.bg-accent {
    background: var(--accent-gradient) !important;
}

/* Highlight elements with secondary */
.highlight-secondary {
    background: rgba(var(--secondary-rgb), 0.1);
    border-left: 3px solid var(--secondary);
    padding: 1rem;
}

mark,
.mark {
    background: rgba(var(--secondary-rgb), 0.2);
    color: var(--secondary);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 8px;
    color: #fff;
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Language Selector */
.language-selector {
    margin-left: 15px;
}

.language-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}

.language-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* ===== Hero Section - Modern Design ===== */
.hero-section {
    min-height: calc(100vh - var(--header-height));
    padding: 80px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--hero-gradient) !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.5; }
    50% { transform: scale(1.1) translateY(-20px); opacity: 0.8; }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    :root {
        --header-height: 70px;
    }
    
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
    }
    
    .auth-buttons {
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --header-height: 60px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* ===== Fixed Header Styles ===== */
header.fixed-top {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

/* ===== Push content below fixed header ===== */
body {
    padding-top: 80px !important;
}

/* Ensure full viewport height for sections */
.hero-section {
    min-height: calc(100vh - 80px);
    padding-top: 40px;
    padding-bottom: 60px;
}

/* ===== Hero Section - Ensure proper spacing ===== */
.hero-section {
    position: relative;
    margin-top: 0; /* Reset any negative margins */
    padding: 140px 0 60px; /* 80px (header) + 60px (normal padding) */
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    overflow: hidden;
}

/* ===== If hero is not the first element, use normal padding ===== */
.main-wrapper .hero-section {
    padding: 60px 0; /* Normal padding when inside wrapper */
}

/* ===== Mobile Responsive Adjustments ===== */
@media (max-width: 991.98px) {
    header {
        height: 70px;
    }
    
    .main-wrapper {
        padding-top: 70px;
    }
    
    .hero-section {
        padding: 120px 0 60px; /* 70px (header) + 50px */
    }
    
    .main-wrapper .hero-section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    header {
        height: 65px;
    }
    
    .main-wrapper {
        padding-top: 65px;
    }
    
    .hero-section {
        padding: 115px 0 60px; /* 65px (header) + 50px */
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-buttons .btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.4);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--border);
    background: transparent;
    backdrop-filter: blur(10px);
    color: var(--text-primary);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper img {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover img {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(var(--primary-rgb), 0.3);
}

.trust-badges {
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.trust-item {
    background: var(--surface);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.trust-item i {
    font-size: 1.25rem;
}

.trust-item .text-primary {
    color: var(--accent) !important;
}

.hero-shape-1,
.hero-shape-2 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--base-color), transparent);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -200px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    background: linear-gradient(45deg, #4a00e0, transparent);
}

.floating-shape-1,
.floating-shape-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.floating-shape-1 {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
    animation-delay: 1s;
}

.floating-shape-2 {
    width: 60px;
    height: 60px;
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== Modern Cards - Light/Dark Adaptive ===== */
.modern-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-8px);
    background: var(--surface-hover);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

h2.section-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
}

@media (max-width: 991px) {
    .section-title,
    h2.section-title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .section-title,
    h2.section-title {
        font-size: 2rem !important;
    }
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* ===== Stats/Overview Cards ===== */
.stats-card {
    position: relative;
}

.stats-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    font-size: 2rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stats-card:hover .icon-wrapper {
    background: var(--accent-gradient);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-accent);
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Pricing Cards ===== */
.pricing-card {
    position: relative;
}

.pricing-card .plan-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-card .plan-badge {
    display: inline-block;
}

.pricing-card .amount-range {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-card .currency {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 600;
}

.pricing-card .min-amount {
    color: var(--primary);
    font-weight: 800;
}

.pricing-card .max-amount {
    color: var(--secondary);
    font-weight: 800;
}

.pricing-card .separator {
    color: rgba(255, 255, 255, 0.3);
}

.pricing-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li strong {
    font-weight: 700;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
}

/* Featured/Highlighted Pricing Card */
.pricing-card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    background: var(--secondary-gradient);
}

/* ===== About Section ===== */
.about-section .icon-wrapper-sm {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    font-size: 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.about-section .feature-item:hover .icon-wrapper-sm {
    background: var(--accent-gradient);
    color: var(--white);
    transform: scale(1.1);
}

.about-image {
    position: relative;
}

.about-shape-1,
.about-shape-2 {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
    z-index: -1;
}

.about-shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.about-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    background: var(--secondary-gradient);
}

/* ===== How It Works - Step Cards ===== */
.step-card {
    padding-top: 3rem;
}

.step-number {
    top: -15px;
    right: 20px;
}

.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-primary);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-card:hover .icon-circle {
    background: var(--secondary-gradient);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-secondary);
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    transform: translateY(-50%);
}

/* ===== FAQ Accordion ===== */
.modern-accordion .accordion-item {
    margin-bottom: 0;
    border: none;
}

.modern-accordion .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.modern-accordion .accordion-button:not(.collapsed) {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    box-shadow: none;
}

.modern-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.modern-accordion .accordion-button::after {
    display: none;
}

.modern-accordion .accordion-icon {
    transition: all 0.3s ease;
    color: var(--primary);
}

.modern-accordion .accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.modern-accordion .accordion-body {
    padding: 1.5rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

/* ===== Testimonials ===== */
.testimonial-card {
    position: relative;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.testimonial-card .client-avatar img {
    border: 3px solid var(--accent);
    object-fit: cover;
}

.testimonial-slider .slick-dots {
    bottom: -50px;
}

.testimonial-slider .slick-dots li button:before {
    color: var(--primary);
    font-size: 12px;
}

.testimonial-slider .slick-dots li.slick-active button:before {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 400px;
        height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-section::before,
    .hero-section::after {
        width: 300px;
        height: 300px;
    }
}

/* ===== Features Section ===== */
.features-section {
    position: relative;
    background: var(--bg);
    z-index: 1;
    overflow: hidden;
}

.features-section .badge {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    letter-spacing: 0.5px;
    background: rgba(var(--primary-rgb), 0.1) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: var(--shadow-lg);
}

.feature-icon .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 1.75rem;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .icon-wrapper {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-primary);
}

.feature-shape-1,
.feature-shape-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 34, 12, 0.05);
    z-index: -1;
    transition: all 0.5s ease;
}

.feature-shape-1 {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
}

.feature-shape-2 {
    width: 60px;
    height: 60px;
    bottom: -20px;
    left: -20px;
    background: rgba(74, 0, 224, 0.05);
}

.feature-card:hover .feature-shape-1 {
    transform: scale(1.2) translate(10px, -10px);
    opacity: 0.8;
}

.feature-card:hover .feature-shape-2 {
    transform: scale(1.2) translate(-10px, 10px);
    opacity: 0.8;
}

.feature-bg-shape-1,
.feature-bg-shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

.feature-bg-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--base-color);
    top: -200px;
    right: -200px;
}

.feature-bg-shape-2 {
    width: 300px;
    height: 300px;
    background: #4a00e0;
    bottom: -150px;
    left: -150px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .features-section {
        padding: 4rem 0;
    }
    
    .features-section .col-lg-8 {
        padding: 0 15px;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-icon .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .features-section {
        padding: 3rem 0;
    }
    
    .features-section .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
    
    .features-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem !important;
    }
    
    .feature-card {
        margin: 0 0.5rem 1.5rem;
    }
    
    .feature-bg-shape-1,
    .feature-bg-shape-2 {
        display: none;
    }
}

/* Inner Page Banner */
.inner-banner {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.inner-banner h1 {
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.inner-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.inner-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.inner-banner .breadcrumb-item a:hover {
    color: var(--base-color);
}

.inner-banner .breadcrumb-item.active {
    color: var(--base-color);
}

.inner-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Modern Header Styles ===== */
/* Header styles are now defined at the top of the file */

/* Mobile Menu Toggle Button */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff220c'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #0a0a0a;
        padding: 1rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-nav {
        margin: 1rem 0;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .auth-buttons {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .language-selector {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .language-select {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }
}

/* Mobile Header Sticky Behavior */
@media (max-width: 767.98px) {
    header {
        padding: 0.5rem 0;
        height: 60px;
    }
    
    .navbar-brand img {
        max-height: 30px;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 575.98px) {
    .navbar-brand img {
        max-height: 30px;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .navbar-collapse {
        top: 65px;
        max-height: calc(100vh - 65px);
    }
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--base-color);
}

.navbar-dark .navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--base-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link.active:after {
  width: 50%;
}

/* Mobile Menu Button */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 34, 12, 0.25);
}

/* Auth Buttons */
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
  background-color: var(--base-color);
  border-color: var(--base-color);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #e61e09;
  border-color: #e61e09;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 34, 12, 0.3);
}

/* Language Selector */
.language-select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.25rem 1.5rem 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-select:focus {
  border-color: var(--base-color);
  box-shadow: 0 0 0 0.15rem rgba(255, 34, 12, 0.25);
}

/* Mobile Menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #0a0a0a;
    padding: 1.5rem;
    margin: 1rem -1rem 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    margin-bottom: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
  
  .nav-right {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.navbar {
    padding: 0;
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.5rem;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Sticky Header */
header.sticky-top {
  padding: 0.75rem 0;
  background: rgba(10, 10, 10, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

header.sticky-top .navbar-brand .logo {
  height: 35px;
}

/* ===== Theme Colors ===== */
:root {
  --base-color: #ff220c;
  --second-color: #080F0F;
}

/* Rest of your CSS */
.btn--base,
.package-card__title,
.how-work-card__step::before,
.custom--nav-tabs .nav-item .nav-link.active,
.custom--table thead,
.inline-social-links li a:hover,
.button-nav-tabs .nav-item .nav-link.active,
.custom--accordion .accordion-button:not(.collapsed),
.balance-card,
.bg--base,
.preloader .preloader-container .animated-preloader,
.stat-card__icon,
.about-card__icon,
.choose-card__icon,
.feature-card__icon,
.how-work-card__icon,
.testimonial-item__icon,
.member-card__icon {
  background-color: var(--base-color) !important;
  box-shadow: 0 0 15px var(--base-color) !important;
}

/* Rest of your CSS remains the same */
/* ... (truncated for brevity, but include all your CSS) ... */

/* ===== Modal Styles - Modern Design ===== */
.modern-modal .modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.modern-modal .modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
}

.modern-modal .modal-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.modern-modal .modal-body {
    padding: 2rem;
}

.modern-modal .btn-close {
    background: transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.modern-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modern-modal .form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modern-modal .form--control,
.modern-modal .form-control {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.modern-modal .form--control:focus,
.modern-modal .form-control:focus {
    background: var(--surface-hover);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
    outline: none;
}

.modern-modal .input-group-text {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.modern-modal .input-group-text:hover {
    color: var(--primary);
}

.modern-modal .toggle-password {
    cursor: pointer;
}

.modern-modal select.form--control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

/* Password Toggle Styles */
.password-toggle {
    position: relative;
}

.password-toggle input[type="password"],
.password-toggle input[type="text"] {
    padding-right: 40px;
}

.password-toggle .input-group-text {
    cursor: pointer;
    z-index: 10;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle .input-group-text:hover {
    color: var(--primary);
}

.password-toggle .input-group-text i {
    font-size: 18px;
}

/* Form Validation */
.modern-modal .is-invalid {
    border-color: var(--error);
}

.modern-modal .invalid-feedback {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Checkbox Styles */
.modern-modal input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary);
}

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

/* ===== Modern Tabs Styles ===== */
.modern-tabs {
    border: none;
    background: var(--surface);
    padding: 0.5rem;
    border-radius: var(--border-radius-lg);
    gap: 0.5rem;
}

.modern-tabs .nav-item {
    margin: 0;
}

.modern-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.modern-tabs .nav-link:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.modern-tabs .nav-link.active {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.modern-tab-content {
    margin-top: 2rem;
}

/* ===== Modern Table Styles ===== */
.modern-table-wrapper {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.modern-table {
    margin-bottom: 0;
}

.modern-table thead {
    background: var(--surface-hover);
    border-radius: var(--border-radius);
}

.modern-table thead th {
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 1rem;
    border: none;
}

.modern-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.modern-table tbody tr:hover {
    background: var(--surface-hover);
}

.modern-table tbody tr:last-child {
    border-bottom: none;
}

.modern-table tbody td {
    padding: 1rem;
    color: var(--text-primary);
    vertical-align: middle;
    border: none;
}

/* Table Badges */
.modern-table .badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* ===== Payment Grid ===== */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.payment-grid .brand-item {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
}

.payment-grid .brand-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.payment-grid .brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ===== Top Investor Cards ===== */
.member-card:hover .member-overlay {
    opacity: 1 !important;
}

.member-card .member-card__thumb img {
    transition: all 0.3s ease;
}

.member-card:hover .member-card__thumb img {
    transform: scale(1.1);
}

/* ===== Contact Section ===== */
.contact-info-card .icon-wrapper {
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

/* ===== Dropdown Menu Styles ===== */
.dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--surface-hover);
    color: var(--primary);
}

.dropdown-divider {
    border-color: var(--border);
    margin: 0.5rem 0;
}

/* ===== Cursor Pointer ===== */
.cursor-pointer {
    cursor: pointer;
}

/* ===== Dashboard Styles - Modern Design ===== */
.dashboard-section {
    background: var(--bg);
    min-height: 100vh;
    padding-top: var(--header-height);
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.referral-section .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.referral-section .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.referral-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stats-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stats-card:hover::before {
    transform: scaleX(1);
}

.stats-card:hover {
    transform: translateY(-8px);
    background: var(--surface-hover);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.stats-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.stats-card:hover .stats-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-primary);
}

.stats-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stats-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.stats-link:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* Plans Section */
.plans-section {
    margin-bottom: 3rem;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card:hover {
    transform: translateY(-8px);
    background: var(--surface-hover);
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.plan-range {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.plan-range .currency,
.plan-range .separator {
    color: var(--primary);
}

.plan-range .min-amount,
.plan-range .max-amount {
    color: var(--text-primary);
    font-weight: 800;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.feature-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.feature-value {
    font-weight: 700;
}

.plan-actions {
    margin-top: auto;
}

.plan-actions .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transactions Section */
.transactions-section {
    margin-top: 3rem;
}

.transactions-section .section-header {
    margin-bottom: 2rem;
}

/* ===== History Section Styles ===== */
.history-section {
    background: var(--bg);
    min-height: 100vh;
    padding-top: var(--header-height);
}

.action-bar {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.action-info {
    font-size: 0.9rem;
}

.action-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
}

/* Enhanced Table Styles for History Pages */
.trx-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.gateway-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amount-info {
    text-align: left;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.datetime-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.empty-state {
    padding: 3rem;
    text-align: center;
}

.empty-state .btn {
    margin-top: 1rem;
}

/* Enhanced Modal Styles for History */
.detail-card {
    background: var(--surface-hover);
    border-left: 4px solid var(--primary);
}

.detail-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.payment-detail-item {
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--secondary);
}

.payment-detail-item label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Table Row Hover Effects */
.table-row-hover {
    background: var(--surface-hover) !important;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* Responsive History */
@media (max-width: 991.98px) {
    .history-section {
        padding-top: 100px;
    }

    .action-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .modern-table-wrapper {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .history-section {
        padding-top: 80px;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .empty-state {
        padding: 2rem;
    }

    .empty-state i {
        font-size: 3rem !important;
    }
}

/* ===== Transaction Log Enhancements ===== */
.type-info .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.charge-info {
    font-size: 0.9rem;
}

.balance-info {
    text-align: center;
}

.detail-info {
    max-width: 200px;
}

/* Transaction Type Badges */
.badge-success {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
    border: none;
    color: var(--white);
}

.badge-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border: none;
    color: var(--white);
}

/* Transaction Filter Dropdown */
.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.dropdown-menu {
    min-width: 180px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--surface-hover);
    color: var(--primary);
}

/* Enhanced Responsive for Transaction Pages */
@media (max-width: 991.98px) {
    .action-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .btn-group {
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
    }

    .detail-info {
        max-width: 150px;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem !important;
    }

    .empty-state {
        padding: 2rem;
    }

    .empty-state .btn {
        margin: 0.5rem;
        width: calc(50% - 0.5rem);
    }

    .detail-info {
        max-width: 120px;
    }
}

/* Responsive Dashboard */
@media (max-width: 991.98px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .dashboard-header {
        padding: 1.5rem;
    }

    .plan-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .dashboard-header {
        text-align: center;
    }

    .referral-section {
        margin-top: 2rem;
    }

    .plan-card {
        margin-bottom: 2rem;
    }
}

/* ===== Authentication Styles - Modern Design ===== */
.auth-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.auth-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.auth-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

.auth-card {
    padding: 3rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.auth-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-form .form-group {
    position: relative;
}

.auth-form .form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.auth-form .form-control {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    background: var(--surface-hover);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
    outline: none;
}

.auth-form .input-group-text {
    background: transparent;
    border: 2px solid var(--border);
    border-right: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.auth-form .form-control:focus + .input-group-text,
.auth-form .form-control:focus ~ .toggle-password {
    border-color: var(--primary);
    color: var(--primary);
}

.toggle-password {
    background: transparent !important;
    border: 2px solid var(--border) !important;
    border-left: none !important;
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.toggle-password:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.auth-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auth-btn:hover::before {
    width: 300px;
    height: 300px;
}

.auth-footer {
    margin-top: 2rem;
}

.auth-footer .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Form Group Focus State */
.form-group-focused .form-control {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

/* Responsive Auth */
@media (max-width: 991.98px) {
    .auth-card {
        padding: 2rem;
    }

    .auth-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .auth-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .auth-footer .btn {
        width: 100%;
    }
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
    .auth-card {
        background: rgba(10, 10, 10, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .auth-title {
        color: var(--white);
    }

    .auth-form .form-control {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .auth-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .auth-form .input-group-text {
        border-color: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
    }
}

/* ===== Register Form Enhancements ===== */
.security-requirements {
    background: var(--surface);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    border-left: 3px solid var(--secondary);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.requirement {
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.requirement::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.requirement.success {
    color: #28a745;
}

.requirement.success::before {
    content: '✓';
    color: #28a745;
}

/* Password Strength Indicator */
.password-strength-popup {
    margin-top: 0.5rem;
}

.strength-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: var(--surface-hover);
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #dc3545 0%, #ffc107 50%, #28a745 100%);
    transition: width 0.3s ease;
}

.strength-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Code Display */
#mobileCodeDisplay {
    min-width: 60px;
    justify-content: center;
}

/* Form Check Styling */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label a {
    color: var(--primary);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Enhanced Select Styling */
select.form-control {
    cursor: pointer;
}

/* Register Form Responsive */
@media (max-width: 991.98px) {
    .auth-card {
        padding: 2rem;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .auth-card {
        padding: 1.5rem;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer Styles ===== */
.footer-section {
    background: #0a0a0a;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-top {
    position: relative;
    z-index: 2;
}

.footer-widget {
    margin-bottom: 30px;
}

.widget-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--base-color);
}

.footer-links li {
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--base-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a:hover::after {
    width: 100%;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact-info a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--base-color);
}

.social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--base-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 34, 12, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.payment-methods img {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Footer Background Shapes */
.footer-shape-1,
.footer-shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: -1;
}

.footer-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--base-color);
    top: -150px;
    right: -150px;
}

.footer-shape-2 {
    width: 200px;
    height: 200px;
    background: #4a00e0;
    bottom: -100px;
    left: -100px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .footer-section {
        text-align: center;
    }
    
    .widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-widget {
        margin-bottom: 2.5rem;
    }
    
    .social-links ul {
        justify-content: center;
    }
    
    .contact-info {
        display: inline-block;
        text-align: left;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .payment-methods {
        justify-content: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .footer-section {
        padding: 3rem 0 0;
    }
    
    .footer-top {
        padding: 3rem 0;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
    
    .payment-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-methods span {
        margin-bottom: 0.5rem;
        display: block;
    }
}

/* ===== Modern Preloader/Loading Screen Styles ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-container {
    position: relative;
    width: 100px;
    height: 100px;
}

/* Dual Ring Spinner Animation */
.animated-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border: 4px solid rgba(var(--primary-rgb), 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.animated-preloader::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 4px solid rgba(var(--secondary-rgb), 0.1);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alternative: Pulsing Logo Style - Commented out, uncomment to use
.preloader-logo {
    width: 80px;
    height: 80px;
    animation: pulse-logo 1.5s ease-in-out infinite;
}

@keyframes pulse-logo {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}
*/

/* Alternative: Modern Dots Animation - Commented out, uncomment to use
.preloader-dots {
    display: flex;
    gap: 10px;
}

.preloader-dots span {
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.preloader-dots span:nth-child(1) { animation-delay: -0.32s; }
.preloader-dots span:nth-child(2) { animation-delay: -0.16s; }
.preloader-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
*/

/* Dark Mode Adjustments for Preloader */
@media (prefers-color-scheme: dark) {
    .preloader {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    }
}

/* ===== Testimonial Auto-Sliding Carousel Styles ===== */
.testimonials-section {
    border: none !important;
    outline: none !important;
}

.testimonial-slider-container {
    position: relative;
    margin: 0 -15px;
    border: none !important;
    outline: none !important;
}

.testimonial-slider .slick-list {
    overflow: hidden;
    padding: 20px 0 !important;
}

.testimonial-slider .slick-slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.testimonial-slider .slick-slide.slick-active {
    opacity: 1;
}

.testimonial-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
}

.testimonial-slider .slick-arrow::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: white;
    display: inline-block;
}

.testimonial-slider .slick-prev::before {
    content: '\f053'; /* fa-chevron-left */
}

.testimonial-slider .slick-next::before {
    content: '\f054'; /* fa-chevron-right */
}

.testimonial-slider .slick-arrow:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-primary);
}

.testimonial-slider .slick-prev {
    left: -25px;
}

.testimonial-slider .slick-next {
    right: -25px;
}

.testimonial-slider .slick-dots {
    bottom: -40px;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 10px;
    padding: 0;
}

.testimonial-slider .slick-dots li {
    margin: 0;
}

.testimonial-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    font-size: 0;
    transition: all 0.3s ease;
}

.testimonial-slider .slick-dots li.slick-active button {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.testimonial-slider .slick-dots li button::before {
    display: none;
}

/* Testimonial Card Enhancements - Completely Borderless */
.testimonial-item {
    border: none !important;
    outline: none !important;
}

.testimonial-card {
    position: relative;
    margin: 10px;
    border: none !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
}

/* Remove ALL pseudo-element borders */
.testimonial-card::before {
    display: none !important;
}

.testimonial-card::after {
    display: none !important;
}

/* Override modern-card class if applied */
.testimonial-card.modern-card {
    border: none !important;
}

.testimonial-card.modern-card::before {
    display: none !important;
}

.testimonial-card.modern-card::after {
    display: none !important;
}

/* Clean hover effect - shadow only, no borders */
.testimonial-card:hover {
    border: none !important;
    outline: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px);
}

.testimonial-card .quote-icon {
    position: relative;
}

.testimonial-card .client-avatar img {
    border: 3px solid var(--accent);
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
}

.rating {
    display: flex;
    gap: 3px;
}

/* Remove any Slick slider borders */
.testimonial-slider .slick-slide {
    border: none !important;
    outline: none !important;
}

.testimonial-slider .slick-slide > div {
    border: none !important;
    outline: none !important;
}

/* Responsive Testimonial Carousel */
@media (max-width: 768px) {
    .testimonial-slider .slick-prev,
    .testimonial-slider .slick-next {
        display: none !important;
    }
    
    .testimonial-slider .slick-dots {
        bottom: -30px;
    }
    
    .testimonial-card {
        margin: 5px;
    }
}

@media (max-width: 575.98px) {
    .testimonial-slider-container {
        margin: 0;
    }
}