/* ===== ORANGE/BLUE/WHITE THEME ===== */
:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF9E6D;
    --light-orange: #FFF3ED;
    --primary-blue: #1E40AF;
    --secondary-blue: #3B82F6;
    --light-blue: #EFF6FF;
    --dark-blue: #1E3A8A;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --dark-gray: #334155;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
} 

/* ===== SMOOTH TRANSITIONS ===== */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== NAVBAR STYLING ===== */
.navbar {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--primary-blue) !important;
    font-weight: 800;
    font-size: 1.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(to bottom, var(--primary-orange), var(--secondary-orange));
    border-radius: 2px;
}

.navbar-brand i {
    color: var(--primary-orange);
    margin-right: 0.5rem;
}

/* ===== DESKTOP DROPDOWN MENUS ===== */
.navbar-nav .nav-item {
    position: relative;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--dark-blue) !important;
    font-weight: 600;
    padding: 0.75rem 1.25rem !important;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

/* ===== FANCY DROPDOWN MENUS ===== */
.navbar-nav .dropdown-menu {
    border: none;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 1rem;
    min-width: 240px;
    margin-top: 1rem !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    animation: dropdownHide 0.3s ease forwards;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.navbar-nav .dropdown-menu.show {
    animation: dropdownShow 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.navbar .dropdown-toggle::after, #mobileMenu .dropdown-toggle::after {
    display: none !important;
}

@keyframes dropdownShow {
    0% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
}

@keyframes dropdownHide {
    0% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(0.95);
    }
}

.dropdown-item {
    color: var(--dark-blue);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 0.25rem 0;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-orange);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
    transform-origin: bottom;
}

.dropdown-item:hover {
    background: var(--light-orange);
    color: var(--primary-orange);
    padding-left: 1.5rem;
    transform: translateX(5px);
}

.dropdown-item i {
    color: var(--primary-blue);
    width: 20px;
    margin-right: 0.75rem;
}

.dropdown-divider {
    border-color: rgba(255, 107, 53, 0.2);
    margin: 0.75rem 0;
}


/* Sidebar Styles */
.sidebar {
    transition: all 0.3s ease;
}

.sidebar .nav-link {
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
}


.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* ===== MOBILE MENU STYLING ===== */
.offcanvas {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.offcanvas-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 1.5rem;
}

.offcanvas-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.offcanvas-title i {
    color: var(--primary-orange);
    margin-right: 0.75rem;
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-body .nav-link {
    color: var(--dark-blue);
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    display: flex;
    align-items: center;
}

.offcanvas-body .nav-link i {
    color: var(--primary-orange);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.offcanvas-body .nav-link:hover {
    color: var(--primary-orange);
    padding-left: 10px;
}

.offcanvas-body .btn {
    margin-top: 1rem;
}

/* ===== TOP NOTIFICATION BAR ===== */
.top-notification {
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    font-size: 0.875rem;
    padding: 0.75rem 0;
}

.top-notification i {
    color: var(--primary-orange);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
        background: var(--light-gray);
        margin-top: 0.5rem !important;
        animation: none !important;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .d-none.d-lg-flex {
        display: none !important;
    }
    
    .navbar-toggler {
        border: 2px solid var(--primary-orange);
        padding: 0.5rem 0.75rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
    }
}

@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        position: absolute;
    }
}

/* ===== ANIMATION FOR MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.mobile-menu-btn i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== ENHANCED HOVER EFFECTS ===== */
.navbar-nav .nav-item:hover .dropdown-menu {
    display: block;
    animation: dropdownShow 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* ===== DROPDOWN ARROWS FIX ===== */
.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.3em solid var(--dark-blue);
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Show arrow color change on hover */
.navbar-nav .nav-link:hover .dropdown-toggle::after,
.navbar-nav .nav-link.active .dropdown-toggle::after {
    border-top-color: var(--primary-orange);
}

/* Rotate arrow when dropdown is shown (via Bootstrap JS) */
.navbar-nav .dropdown-toggle.show::after {
    transform: rotate(180deg);
    border-top-color: var(--primary-orange);
}

/* ===== DROPDOWN MENU FIX - STAY OPEN ON HOVER ===== */
@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        pointer-events: none;
    }
    
    /* Show dropdown on parent hover */
    .navbar-nav .dropdown:hover .dropdown-menu,
    .navbar-nav .dropdown.show .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Add delay for better UX */
    .navbar-nav .dropdown-menu {
        transition-delay: 0.1s;
    }
    
    .navbar-nav .dropdown:hover .dropdown-menu {
        transition-delay: 0s;
    }
    
    /* Ensure dropdown stays open when hovering over it */
    .navbar-nav .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Fix for touch devices */
    .navbar-nav .dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* ===== ACTIVE STATE INDICATOR FIX ===== */
.navbar-nav .nav-link.active {
    position: relative;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange)) !important;
    color: var(--white) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    animation: bounce 2s infinite;
    box-shadow: 0 0 10px var(--primary-orange);
}

/* Remove dot indicator for dropdown items */
.navbar-nav .dropdown-toggle.active::after {
    display: none !important;
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== DROPDOWN STYLING ENHANCEMENT ===== */
.navbar-nav .dropdown-menu {
    margin-top: 0 !important; /* Remove default margin */
    border-top: 3px solid var(--primary-orange);
}

/* ===== HOVER EFFECTS FOR DROPDOWN ITEMS ===== */
.dropdown-item {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-item:hover::before {
    left: 100%;
}

/* ===== TOUCH DEVICE SUPPORT ===== */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        display: none !important; /* Let Bootstrap handle display */
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block !important;
    }
    
    /* Remove hover effects on mobile */
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: none !important;
    }
    
    .navbar-nav .dropdown.show .dropdown-menu {
        display: block !important;
    }
}


@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

/* ===== FLOATING BACK TO TOP BUTTON ===== */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-orange), var(--primary-orange));
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.btn-back-to-top:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 4px 4px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-back-to-top:hover::before {
    opacity: 1;
}

/* Pulse animation effect */
@keyframes pulse-float {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
}

.btn-back-to-top.pulse {
    animation: pulse-float 2s infinite;
}

/* Optional: Add arrow icon animation */
.btn-back-to-top i {
    transition: transform 0.3s ease;
}

.btn-back-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .btn-back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .btn-back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
    }
}

/* For very small screens, make it slightly smaller */
@media (max-width: 400px) {
    .btn-back-to-top {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Accessibility: Focus styles */
.btn-back-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3), 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .btn-back-to-top {
        background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
    }
    
    .btn-back-to-top:hover {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.7);
    }
}
/* ===== HERO SLIDER STYLES ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 80vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-slider .carousel-item .container-fluid {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-slider .carousel-item .row {
    height: 100%;
}

.hero-slider .slider-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.8s ease;
}

.hero-slider .carousel-item:hover .slider-background {
    transform: scale(1.05);
}

.hero-slider .slider-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    padding: 3rem;
}

.hero-slider .slider-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slider .slider-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-slider .btn-slider {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-slider .btn-slider-primary {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.hero-slider .btn-slider-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    border-color: white;
}

.hero-slider .btn-slider-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-slider .btn-slider-outline:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Carousel Controls */
.hero-slider .carousel-indicators {
    bottom: 30px;
    z-index: 5;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    margin: 0 6px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    opacity: 1;
    transform: scale(1.2);
}

.hero-slider .carousel-indicators button:hover {
    opacity: 1;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 99;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: rgba(255, 107, 53, 0.8);
    border-color: var(--primary-orange);
}

.hero-slider .carousel-control-prev {
    left: 20px;
}

.hero-slider .carousel-control-next {
    right: 20px;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}


/* Minimal solution - hides controls by default, shows on hover */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next,
.hero-slider:focus-within .carousel-control-prev,
.hero-slider:focus-within .carousel-control-next {
    opacity: 1;
}

/* For keyboard navigation accessibility */
.hero-slider .carousel-control-prev:focus,
.hero-slider .carousel-control-next:focus {
    opacity: 1;
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Touch devices - always show but semi-transparent */
@media (hover: none) and (pointer: coarse) {
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        opacity: 0.3;
    }
    
    .hero-slider:active .carousel-control-prev,
    .hero-slider:active .carousel-control-next {
        opacity: 1;
    }
}


/* Hide controls when not hovering */
.hero-slider:not(:hover):not(:focus-within) .carousel-control-prev,
.hero-slider:not(:hover):not(:focus-within) .carousel-control-next {
    opacity: 0;
    pointer-events: none;
}

/* Show when hovering or focusing */
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next,
.hero-slider:focus-within .carousel-control-prev,
.hero-slider:focus-within .carousel-control-next {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}


/* ===== HERO SLIDER CONTROLS - AUTO-HIDE ===== */
.hero-slider {
    --controls-opacity: 0;
    --controls-scale: 0.8;
    --controls-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    opacity: var(--controls-opacity);
    visibility: hidden;
    transform: scale(var(--controls-scale));
    transition: var(--controls-transition);
    pointer-events: none;
}

/* Show on hover */
.hero-slider:hover {
    --controls-opacity: 1;
    --controls-scale: 1;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    visibility: visible;
    pointer-events: auto;
}

/* Show on focus (keyboard navigation) */
.hero-slider:focus-within .carousel-control-prev,
.hero-slider:focus-within .carousel-control-next,
.hero-slider .carousel-control-prev:focus,
.hero-slider .carousel-control-next:focus {
    --controls-opacity: 1;
    --controls-scale: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Always show when carousel is paused (touched) */
.hero-slider .carousel.paused .carousel-control-prev,
.hero-slider .carousel.paused .carousel-control-next {
    --controls-opacity: 1;
    --controls-scale: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Touch devices - always show but with low opacity */
@media (hover: none) and (pointer: coarse) {
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        --controls-opacity: 0.3;
        --controls-scale: 0.9;
        visibility: visible;
        pointer-events: auto;
    }
    
    .hero-slider:active .carousel-control-prev,
    .hero-slider:active .carousel-control-next {
        --controls-opacity: 1;
        --controls-scale: 1;
    }
}

/* Add pause class via JavaScript */
.carousel.paused {
    cursor: grab;
}

.carousel.paused:active {
    cursor: grabbing;
}

/* Content animations */
.hero-slider .slider-content h1 {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-slider .slider-content .lead {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-slider .slider-content .btn-group {
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overlay variations based on theme colors */
.hero-slider .overlay-primary::before {
    background: linear-gradient(to right, 
        rgba(30, 64, 175, 0.9) 0%, 
        rgba(30, 64, 175, 0.7) 50%, 
        rgba(30, 64, 175, 0.4) 100%);
}

.hero-slider .overlay-dark::before {
    background: linear-gradient(to right, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(15, 23, 42, 0.7) 50%, 
        rgba(15, 23, 42, 0.4) 100%);
}

.hero-slider .overlay-success::before {
    background: linear-gradient(to right, 
        rgba(16, 185, 129, 0.9) 0%, 
        rgba(16, 185, 129, 0.7) 50%, 
        rgba(16, 185, 129, 0.4) 100%);
}

.hero-slider .overlay-info::before {
    background: linear-gradient(to right, 
        rgba(59, 130, 246, 0.9) 0%, 
        rgba(59, 130, 246, 0.7) 50%, 
        rgba(59, 130, 246, 0.4) 100%);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-slider .slider-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-slider .carousel-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-slider .slider-content {
        padding: 2rem;
    }
    
    .hero-slider .slider-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider .slider-content .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-slider .slider-content h1 {
        font-size: 2rem;
    }
    
    .hero-slider .slider-content .lead {
        font-size: 1rem;
    }
    
    .hero-slider .btn-slider {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-slider .slider-content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .hero-slider .slider-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-slider .btn-group {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-slider .btn-slider {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-slider .carousel-indicators {
        bottom: 15px;
    }
}

/* Fallback background gradient */
.hero-slider .gradient-backup {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .hero-slider .slider-content h1,
    .hero-slider .slider-content .lead {
        color: white;
    }
    
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        background: rgba(0, 0, 0, 0.5);
    }
}


/* ===== STATS SECTION STYLES ===== */
.bg-gradient-dark {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    position: relative;
}

.stats-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.5;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.floating-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

.floating-shape.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Stat Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), #ff8c5a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-orange);
}

.stat-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
    position: relative;
    display: inline-block;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-left: 0.25rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

/* Progress Bar */
.stat-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.stat-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-orange), #ff8c5a);
    border-radius: 3px;
    position: relative;
    animation: progressFill 1.5s ease-out forwards;
    transform-origin: left;
}

@keyframes progressFill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Live Indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    margin-top: 0.5rem;
    animation: pulseLive 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.live-text {
    color: #10B981;
    font-size: 0.875rem;
    font-weight: 600;
}

@keyframes pulseLive {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Guarantee Badge */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    margin-top: 0.5rem;
}

.guarantee-badge i {
    color: #3B82F6;
    font-size: 0.875rem;
}

.guarantee-badge span {
    color: #3B82F6;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    white-space: nowrap;
}


.trust-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.trust-item i {
    color: var(--primary-orange);
    font-size: 1.25rem;
}

/* Number Counting Animation */
.stat-number.animate {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .stat-number {
        font-size: 3rem;
    }
    
    .trust-badges {
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }

    .trust-badges {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .trust-item {
        flex: 0 0 48%;   /* 2 items per row */
        max-width: 48%;
        justify-content: center;
        text-align: center;
    }    
}

@media (max-width: 576px) {
    .stat-card {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-suffix {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .floating-shape.shape-1,
    .floating-shape.shape-2,
    .floating-shape.shape-3 {
        display: none;
    }
}


/* ===== STATS SECTION - MOBILE OPTIMIZED ===== */
.bg-gradient-dark {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    position: relative;
}

.stats-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.5;
}

/* Mobile: Remove complex background patterns for performance */
@media (max-width: 768px) {
    .stats-bg-pattern {
        background-image: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    }
}

/* Stat Cards - Mobile First Design */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Mobile: Reduce blur effect for performance */
@media (max-width: 768px) {
    .stat-card {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        padding: 1.25rem 0.75rem;
        min-height: 160px;
        border-radius: 14px;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .stat-card {
        padding: 1rem 0.5rem;
        min-height: 140px;
        border-radius: 12px;
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), #ff8c5a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
}

/* Mobile: Reduce hover effect intensity */
@media (hover: none) and (pointer: coarse) {
    .stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .stat-card:active {
        transform: translateY(-2px) scale(0.98);
    }
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-orange);
}

/* Mobile: Reduce icon animation on hover */
@media (hover: none) {
    .stat-card:hover .stat-icon {
        transform: scale(1.05);
    }
}

.stat-icon {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Mobile icon sizes */
@media (min-width: 576px) {
    .stat-icon {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .stat-icon {
        font-size: 2.25rem;
    }
}

@media (min-width: 992px) {
    .stat-icon {
        font-size: 2.5rem;
    }
}

/* Number and suffix - mobile optimized */
.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.125rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    position: relative;
}

.stat-suffix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-orange);
    align-self: flex-start;
    line-height: 1.2;
}

/* Progressive font sizes */
@media (min-width: 576px) {
    .stat-number {
        font-size: 2.25rem;
    }
    .stat-suffix {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.75rem;
    }
    .stat-suffix {
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    .stat-number {
        font-size: 3.25rem;
    }
    .stat-suffix {
        font-size: 1.75rem;
    }
}

@media (min-width: 1200px) {
    .stat-number {
        font-size: 3.5rem;
    }
    .stat-suffix {
        font-size: 2rem;
    }
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 500;
    padding: 0 0.25rem;
}

/* Progressive label sizes */
@media (min-width: 576px) {
    .stat-label {
        font-size: 0.9375rem;
    }
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
    .stat-label {
        font-size: 1.0625rem;
    }
}

/* Progress Bar */
.stat-progress {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.stat-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-orange), #ff8c5a);
    border-radius: 3px;
    position: relative;
    animation: progressFill 1.5s ease-out forwards;
    transform-origin: left;
}

/* Mobile: Reduce animation duration for performance */
@media (max-width: 768px) {
    .stat-progress {
        animation-duration: 1s;
    }
}

/* Live Indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    margin-top: 0.5rem;
    animation: pulseLive 2s infinite;
}

/* Mobile: Reduce animation intensity */
@media (prefers-reduced-motion: reduce) {
    .live-indicator {
        animation: none;
    }
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.live-text {
    color: #10B981;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .live-indicator {
        padding: 0.2rem 0.6rem;
        gap: 0.4rem;
    }
    
    .live-dot {
        width: 5px;
        height: 5px;
    }
    
    .live-text {
        font-size: 0.7rem;
    }
}

/* Guarantee Badge */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    margin-top: 0.5rem;
}

.guarantee-badge i {
    color: #3B82F6;
    font-size: 0.75rem;
}

.guarantee-badge span {
    color: #3B82F6;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .guarantee-badge {
        padding: 0.2rem 0.6rem;
        gap: 0.4rem;
    }
    
    .guarantee-badge i,
    .guarantee-badge span {
        font-size: 0.7rem;
    }
}

/* Trust Badges - Mobile Optimized */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Mobile layouts */
@media (max-width: 576px) {
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem;
        margin-top: 1.5rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .trust-badges {
        gap: 1.25rem;
        padding: 1.25rem;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
}

/* Mobile text sizes */
@media (max-width: 576px) {
    .trust-item {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .trust-item {
        font-size: 0.8125rem;
        padding: 0.4rem 0.8rem;
    }
}

.trust-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Mobile: Reduce hover effect */
@media (hover: none) {
    .trust-item:hover {
        transform: none;
    }
    
    .trust-item:active {
        background: rgba(255, 255, 255, 0.15);
        transform: scale(0.98);
    }
}

.trust-item i {
    color: var(--primary-orange);
    font-size: 1rem;
}

/* Mobile icon sizes */
@media (max-width: 576px) {
    .trust-item i {
        font-size: 1.125rem;
    }
}

/* Grid System for Perfect Mobile Fit */
@media (max-width: 576px) {
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    .col-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* Small mobile adjustments */
@media (max-width: 375px) {
    .stat-card {
        padding: 0.875rem 0.5rem;
        min-height: 130px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-suffix {
        font-size: 0.875rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        margin-top: 0.375rem;
        margin-bottom: 0.5rem;
    }
    
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
}

/* Tablet landscape adjustments */
@media (min-width: 769px) and (max-width: 992px) {
    .stat-card {
        padding: 1.75rem 1.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-suffix {
        font-size: 1.375rem;
    }
    
    .trust-badges {
        gap: 1.5rem;
        padding: 1.75rem;
    }
}

/* Support for foldable devices */
@media (max-width: 280px) {
    .stat-card {
        padding: 0.75rem 0.375rem;
        min-height: 120px;
        border-radius: 10px;
    }
    
    .stat-icon {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-suffix {
        font-size: 0.75rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .trust-badges {
        padding: 0.875rem;
    }
    
    .trust-item {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .trust-item i {
        font-size: 0.875rem;
    }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
    .stat-card {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .stat-card:hover {
        background: rgba(255, 255, 255, 0.12);
    }
    
    .trust-badges {
        background: rgba(255, 255, 255, 0.03);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .stat-card,
    .stat-icon,
    .trust-item {
        transition: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    .stat-card:hover .stat-icon {
        transform: none;
    }
    
    .progress-bar {
        animation: none;
        transform: scaleX(1);
    }
    
    .live-indicator {
        animation: none;
    }
    
    .live-dot {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .stat-card {
        border: 2px solid white;
    }
    
    .stat-card::before {
        height: 4px;
    }
    
    .stat-number,
    .stat-label,
    .trust-item {
        color: white;
    }
}







/* ===== FEATURES SECTION STYLES ===== */
#features {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

#features .features-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

#features .features-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(59, 130, 246, 0.1));
    filter: blur(60px);
    opacity: 0.5;
    animation: floatShape 20s infinite linear;
}

#features .shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

#features .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

#features .shape-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: 10s;
}

#features .shape-4 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    left: 10%;
    animation-delay: 15s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 20px) rotate(90deg);
    }
    50% {
        transform: translate(0, 40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, 20px) rotate(270deg);
    }
}

/* Section Header */
#features .feature-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: badgePulse 3s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.5);
    }
}

#features .feature-title {
    position: relative;
    display: inline-block;
}

#features .feature-title .text-gradient {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

#features .feature-title .text-gradient::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineExpand 1.5s ease-out 0.5s forwards;
}

@keyframes underlineExpand {
    to {
        transform: scaleX(1);
    }
}

.max-w-800 {
    max-width: 800px;
}

/* Feature Cards */
#features .feature-card {
    height: 100%;
    perspective: 1000px;
}

#features .feature-card-inner {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#features .feature-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

#features .feature-card:hover .feature-card-inner {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
}

#features .feature-card:hover .feature-card-inner::before {
    transform: scaleX(1);
}

#features .feature-card:hover .icon-circle {
    transform: scale(1.1) rotate(10deg);
}

/* Icon Styling */
#features .feature-icon-wrapper {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#features .icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), #e0f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}

#features .icon-circle i {
    font-size: 2rem;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

#features .icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconGlow 3s infinite;
}

@keyframes iconGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

#features .feature-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(226, 232, 240, 0.7);
    line-height: 1;
    user-select: none;
}

/* Feature Content */
#features .feature-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

#features .feature-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

#features .feature-description {
    color: #64748b;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

#features .feature-description i {
    margin-top: 0.25rem;
}

/* Feature Image */
#features .feature-image-wrapper {
    margin: 1.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

#features .feature-card:hover .feature-image-wrapper {
    transform: scale(1.02);
}

#features .feature-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

#features .feature-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#features .feature-card:hover .feature-image img {
    transform: scale(1.05);
}

#features .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#features .feature-card:hover .image-overlay {
    opacity: 1;
}

#features .overlay-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* Feature Stats */
#features .feature-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(241, 245, 249, 0.5);
    border-radius: 12px;
    margin-top: auto;
}

#features .stat-item {
    text-align: center;
}

#features .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

#features .stat-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

#features .stat-divider {
    width: 1px;
    height: 30px;
    background: #cbd5e1;
}

/* Feature Action Button */
#features .feature-action {
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

#features .feature-card:hover .feature-action {
    opacity: 1;
    transform: translateY(0);
}

#features .btn-feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-blue), #1e3a8a);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

#features .btn-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    color: white;
}

#features .btn-feature i {
    transition: transform 0.3s ease;
}

#features .btn-feature:hover i {
    transform: translateX(5px);
}

/* CTA Banner */
#features .feature-cta-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

#features .feature-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>') repeat;
    opacity: 0.3;
}

#features .feature-cta-banner h3 {
    color: white;
    font-weight: 700;
    font-size: 1.75rem;
}

#features .btn-gradient {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#features .btn-gradient::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;
}

#features .btn-gradient:hover::before {
    width: 300px;
    height: 300px;
}

#features .btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    #features .feature-card-inner {
        padding: 1.75rem;
    }
    
    #features .feature-number {
        font-size: 3.5rem;
    }
    
    #features .feature-cta-banner {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    #features .feature-card-inner {
        padding: 1.5rem;
    }
    
    #features .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    #features .icon-circle i {
        font-size: 1.75rem;
    }
    
    #features .feature-heading {
        font-size: 1.375rem;
    }
    
    #features .feature-image img {
        height: 160px;
    }
    
    #features .feature-stats {
        gap: 1rem;
        padding: 0.875rem;
    }
    
    #features .stat-number {
        font-size: 1.25rem;
    }
    
    #features .feature-cta-banner {
        padding: 2rem;
        text-align: center;
    }
    
    #features .feature-cta-banner h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    #features .feature-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    #features .feature-title {
        font-size: 1.75rem;
    }
    
    #features .feature-card-inner {
        padding: 1.25rem;
        border-radius: 20px;
    }
    
    #features .feature-icon-wrapper {
        margin-bottom: 1.5rem;
    }
    
    #features .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    #features .icon-circle i {
        font-size: 1.5rem;
    }
    
    #features .feature-number {
        font-size: 3rem;
    }
    
    #features .feature-image img {
        height: 140px;
    }
    
    #features .feature-action {
        opacity: 1;
        transform: translateY(0);
    }
    
    #features .btn-feature {
        padding: 0.75rem 1.25rem;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    #features .features-bg-shapes .shape,
    #features .icon-glow,
    #features .feature-badge,
    #features .feature-title .text-gradient::after {
        animation: none;
    }
    
    #features .feature-card:hover .feature-card-inner,
    #features .feature-card:hover .icon-circle,
    #features .feature-card:hover .feature-image img,
    #features .btn-feature:hover {
        transform: none;
    }
    
    #features .feature-action {
        opacity: 1;
        transform: none;
        transition: none;
    }
}




/* ===== FOREX SECTION STYLES (SCOPED) ===== */
#forex.forex-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
}

/* Background Shapes */
#forex .forex-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

#forex .forex-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(59, 130, 246, 0.1));
    filter: blur(60px);
    animation: forexFloat 15s infinite ease-in-out;
}

#forex .forex-shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

#forex .forex-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

#forex .forex-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

#forex .world-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400" opacity="0.03"><path d="M0,0 L800,0 L800,400 L0,400 Z" fill="none" stroke="%23000" stroke-width="2"/><circle cx="150" cy="100" r="5" fill="%23000"/><circle cx="250" cy="150" r="5" fill="%23000"/><circle cx="350" cy="200" r="5" fill="%23000"/><circle cx="450" cy="250" r="5" fill="%23000"/><circle cx="550" cy="300" r="5" fill="%23000"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

@keyframes forexFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, 30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, -20px) scale(0.9);
    }
}

/* Header Section */
#forex .forex-badge-wrapper {
    display: inline-block;
}

#forex .forex-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: forexBadgePulse 3s infinite;
}

@keyframes forexBadgePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.5);
    }
}

#forex .forex-gradient-text {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#forex .max-w-600 {
    max-width: 600px;
}

/* Forex Stats */
#forex .forex-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

#forex .forex-stats .stat-item {
    text-align: center;
}

#forex .forex-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

#forex .forex-stats .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* CTA Button */
#forex .btn-forex-cta {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

#forex .btn-forex-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.4);
}

#forex .btn-forex-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

#forex .btn-forex-arrow {
    margin-left: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

#forex .btn-forex-cta:hover .btn-forex-arrow {
    transform: translateX(5px);
}

#forex .btn-forex-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

#forex .btn-forex-cta:hover::before {
    left: 100%;
}

/* Forex Widget Card */
#forex .forex-widget-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

#forex .forex-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

#forex .widget-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#forex .widget-icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

#forex .widget-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#forex .live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #10B981;
}

#forex .live-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

#forex .time-update {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
}

/* Transfer Feature Card */
#forex .transfer-feature-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.5);
    height: 100%;
}

#forex .transfer-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
}

#forex .transfer-content {
    flex: 1;
}

#forex .transfer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#forex .transfer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

#forex .transfer-rate-badge {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

#forex .transfer-rate-badge .rate {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

#forex .transfer-rate-badge .label {
    font-size: 0.75rem;
    opacity: 0.9;
}

#forex .transfer-benefits {
    margin: 2rem 0;
}

#forex .benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#forex .benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#forex .benefit-icon i {
    font-size: 1.25rem;
    color: var(--primary-blue);
}

#forex .benefit-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 0.25rem 0;
}

#forex .benefit-content p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

#forex .btn-transfer {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

#forex .btn-transfer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
    color: white;
}

#forex .transfer-visual {
    margin-top: 2rem;
}

#forex .transfer-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
}

#forex .transfer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#forex .transfer-feature-card:hover .transfer-image {
    transform: scale(1.05);
}

#forex .transfer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 1;
}

#forex .overlay-content {
    color: white;
}

#forex .overlay-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#forex .overlay-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

#forex .overlay-content p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

#forex .transfer-countries {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

#forex .country-flag {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

#forex .country-flag:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Currency Converter Card */
#forex .converter-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.5);
    height: 100%;
}

#forex .converter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

#forex .converter-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#forex .converter-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#forex .converter-icon i {
    font-size: 1.5rem;
    color: white;
}

#forex .btn-refresh {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#forex .btn-refresh:hover {
    background: var(--primary-blue);
    color: white;
    transform: rotate(180deg);
}

#forex .converter-body {
    padding: 2rem;
}

/* Currency Input Groups */
#forex .currency-input-group {
    margin-bottom: 1.5rem;
}

#forex .currency-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}

#forex .currency-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#forex .currency-input-wrapper:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

#forex .currency-flag {
    padding: 0 1rem;
    font-size: 1.5rem;
    user-select: none;
}

#forex .currency-select {
    flex: 1;
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    background: white;
    cursor: pointer;
    outline: none;
}

#forex .currency-amount {
    border: none;
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    text-align: right;
    width: 150px;
    outline: none;
}

#forex .currency-result {
    flex: 1;
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-align: right;
    background: #f8fafc;
}

/* Swap Button */
#forex .swap-wrapper {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

#forex .btn-swap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

#forex .btn-swap:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: rotate(180deg);
}

#forex .btn-swap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

#forex .btn-swap:hover::before {
    width: 60px;
    height: 60px;
}

/* Conversion Rate */
#forex .conversion-rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

#forex .rate-change {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

#forex .rate-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

#forex .rate-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

/* Convert Button */
#forex .convert-action {
    margin: 2rem 0;
}

#forex .btn-convert {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

#forex .btn-convert:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Popular Currencies */
#forex .popular-currencies {
    margin-top: 2rem;
}

#forex .popular-currencies h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1rem;
}

#forex .currency-quick-convert {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

#forex .quick-convert-btn {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: var(--dark-blue);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

#forex .quick-convert-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Converter Footer */
#forex .converter-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

#forex .last-update {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    #forex .transfer-card-inner {
        padding: 1.5rem;
    }
    
    #forex .converter-body {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    #forex .forex-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    #forex .forex-widget-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #forex .widget-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    #forex .transfer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #forex .transfer-rate-badge {
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    #forex .forex-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    #forex .forex-stats .stat-number {
        font-size: 1.75rem;
    }
    
    #forex .btn-forex-cta {
        width: 100%;
        justify-content: center;
    }
    
    #forex .currency-quick-convert {
        grid-template-columns: 1fr;
    }
}




/* ===== ACCOUNT TYPES SECTION STYLES (SCOPED) ===== */
#account-types.accounts-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

/* Background Shapes */
#account-types .accounts-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

#account-types .accounts-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    filter: blur(50px);
    animation: accountsFloat 20s infinite ease-in-out;
}

#account-types .accounts-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.05));
    animation-delay: 0s;
}

#account-types .accounts-shape-2 {
    width: 250px;
    height: 250px;
    bottom: -125px;
    right: -125px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(245, 158, 11, 0.1));
    animation-delay: 10s;
}

#account-types .accounts-shape-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: 10%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.1));
    animation-delay: 5s;
}

#account-types .money-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path d="M50,5 L95,50 L50,95 L5,50 Z" fill="none" stroke="%231E40AF" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="%2310B981" stroke-width="1"/><circle cx="20" cy="20" r="5" fill="%23FF6B35"/><circle cx="80" cy="80" r="5" fill="%23FF6B35"/><circle cx="80" cy="20" r="5" fill="%2310B981"/><circle cx="20" cy="80" r="5" fill="%2310B981"/></svg>');
    background-size: 200px 200px;
    opacity: 0.5;
}

@keyframes accountsFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, 20px) scale(1.1);
    }
    66% {
        transform: translate(-20px, -20px) scale(0.9);
    }
}

/* Section Header */
#account-types .accounts-badge-wrapper {
    display: inline-block;
}

#account-types .accounts-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: accountsBadgePulse 3s infinite;
}

@keyframes accountsBadgePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.5);
    }
}

#account-types .accounts-gradient-text {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

#account-types .max-w-700 {
    max-width: 700px;
}

/* Account Cards */
#account-types .account-card {
    height: 100%;
    perspective: 1000px;
}

#account-types .account-card-inner {
    position: relative;
    background: white;
    border-radius: 24px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#account-types .account-card:hover .account-card-inner {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Card Header */
#account-types .account-card-header {
    padding: 2rem 2rem 1.5rem;
    position: relative;
}

#account-types .account-icon-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

/* Icon Circles */
#account-types .account-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

#account-types .account-card:hover .account-icon-circle {
    transform: scale(1.1) rotate(10deg);
}

#account-types .account-icon-circle i {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

#account-types .icon-sparkle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkle 3s infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Account Type Specific Colors */
#account-types .savings-icon {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: white;
}

#account-types .checking-icon {
    background: linear-gradient(135deg, var(--primary-blue), #60A5FA);
    color: white;
}

#account-types .business-icon {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: white;
}

#account-types .investment-icon {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: white;
}

/* Badges and Ribbons */
#account-types .account-ribbon {
    position: absolute;
    top: 1rem;
    right: -0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#account-types .savings-ribbon {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
}

#account-types .business-ribbon {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

#account-types .account-badge,
#account-types .account-tag {
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

#account-types .account-badge {
    background: linear-gradient(135deg, var(--primary-blue), #60A5FA);
}

#account-types .account-tag {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}

/* Interest & Offers */
#account-types .account-interest,
#account-types .account-offer,
#account-types .account-benefit,
#account-types .account-roi {
    text-align: center;
    padding: 0.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

#account-types .interest-rate {
    font-size: 2rem;
    font-weight: 700;
    color: #10B981;
    display: block;
    line-height: 1;
}

#account-types .interest-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

#account-types .offer-text,
#account-types .benefit-text,
#account-types .roi-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Card Body */
#account-types .account-card-body {
    padding: 0 2rem;
    flex: 1;
}

#account-types .account-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

#account-types .account-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features */
#account-types .account-features {
    margin: 1.5rem 0;
}

#account-types .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

#account-types .feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f1f5f9;
}

#account-types .savings-icon .feature-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

#account-types .checking-icon .feature-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
}

#account-types .business-icon .feature-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

#account-types .investment-icon .feature-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

#account-types .feature-content h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 0.125rem 0;
}

#account-types .feature-content p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Account Stats */
#account-types .account-stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin: 1.5rem 0;
}

#account-types .stat {
    text-align: center;
}

#account-types .stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

#account-types .stat-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Card Footer */
#account-types .account-card-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

#account-types .btn-account {
    display: block;
    width: 100%;
    padding: 0.875rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#account-types .savings-btn {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: white;
}

#account-types .checking-btn {
    background: linear-gradient(135deg, var(--primary-blue), #60A5FA);
    color: white;
}

#account-types .business-btn {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: white;
}

#account-types .investment-btn {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: white;
}

#account-types .btn-account:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Comparison CTA */
#account-types .accounts-comparison {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#account-types .accounts-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M50,10 L90,50 L50,90 L10,50 Z" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="30" fill="none" stroke="white" stroke-width="1"/></svg>');
    background-size: 300px 300px;
}

#account-types .comparison-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

#account-types .comparison-header h3 {
    color: white;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

#account-types .comparison-header p {
    color: rgba(255, 255, 255, 0.8);
}

#account-types .comparison-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

#account-types .btn-comparison {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

#account-types .btn-comparison:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

#account-types .btn-comparition-outline {
    background: transparent;
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

#account-types .btn-comparition-outline:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
}

/* Hover Effects with Different Colors */
#account-types .account-card.savings:hover .account-card-inner {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.1);
}

#account-types .account-card.checking:hover .account-card-inner {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.1);
}

#account-types .account-card.business:hover .account-card-inner {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.1);
}

#account-types .account-card.investment:hover .account-card-inner {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    #account-types .account-card-body,
    #account-types .account-card-header,
    #account-types .account-card-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    #account-types .account-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    #account-types .account-icon-circle i {
        font-size: 2rem;
    }
    
    #account-types .accounts-comparison {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    #account-types .account-card-inner {
        padding: 1.5rem;
    }
    
    #account-types .account-icon-wrapper {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    #account-types .account-ribbon {
        position: relative;
        right: auto;
        top: auto;
        align-self: center;
    }
    
    #account-types .comparison-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    #account-types .btn-comparison,
    #account-types .btn-comparition-outline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    #account-types .accounts-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    #account-types .account-title {
        font-size: 1.375rem;
    }
    
    #account-types .account-description {
        font-size: 0.875rem;
    }
    
    #account-types .accounts-comparison {
        padding: 2rem;
    }
    
    #account-types .comparison-header h3 {
        font-size: 1.5rem;
    }
}

/* Add hover class for cards */
#account-types .account-card {
    transition: transform 0.3s ease;
}

#account-types .account-card:hover {
    transform: translateY(-10px);
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    #account-types .accounts-shape,
    #account-types .icon-sparkle,
    #account-types .accounts-badge {
        animation: none;
    }
    
    #account-types .account-card:hover .account-card-inner,
    #account-types .account-card:hover .account-icon-circle,
    #account-types .btn-account:hover,
    #account-types .btn-comparison:hover,
    #account-types .btn-comparition-outline:hover {
        transform: none;
    }
    
    #account-types .account-card:hover {
        transform: none;
    }
}


/* ===== FINANCIAL CALCULATORS SECTION STYLES (SCOPED) ===== */
#financial-calculators.calculators-section {
    position: relative;
    color: white;
}

/* Background with Image Overlay */
#financial-calculators .calculators-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#financial-calculators .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/calculator-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transform: scale(1.1);
    transition: transform 10s ease;
}

#financial-calculators:hover .bg-image {
    transform: scale(1.15);
}

#financial-calculators .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.9) 0%, 
        rgba(30, 58, 138, 0.85) 50%, 
        rgba(15, 23, 42, 0.8) 100%);
}

#financial-calculators .bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M50,0 L100,50 L50,100 L0,50 Z" fill="none" stroke="white" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="white" stroke-width="0.5"/><circle cx="20" cy="20" r="5" fill="white"/><circle cx="80" cy="80" r="5" fill="white"/><circle cx="80" cy="20" r="5" fill="white"/><circle cx="20" cy="80" r="5" fill="white"/></svg>');
    background-size: 300px 300px;
}

/* Section Header */
#financial-calculators .calc-badge-wrapper {
    display: inline-block;
}

#financial-calculators .calc-main-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: calcBadgePulse 3s infinite;
}

@keyframes calcBadgePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.5);
    }
}

#financial-calculators .calc-gradient-text {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#financial-calculators .text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

#financial-calculators .max-w-800 {
    max-width: 800px;
}

/* Calculator Navigation Cards */
#financial-calculators .calc-nav-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

#financial-calculators .calc-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

#financial-calculators .calc-nav-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
}

#financial-calculators .calc-nav-card:hover::before {
    transform: scaleX(1);
}

#financial-calculators .calc-nav-card:hover .calc-nav-arrow {
    transform: translateX(5px);
    opacity: 1;
}

#financial-calculators .calc-nav-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

#financial-calculators .calc-nav-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

#financial-calculators .icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconPulse 3s infinite;
}

@keyframes iconPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

#financial-calculators .calc-nav-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

#financial-calculators .calc-nav-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

#financial-calculators .calc-nav-stats .stat {
    text-align: center;
}

#financial-calculators .calc-nav-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1.2;
}

#financial-calculators .calc-nav-stats .stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#financial-calculators .calc-nav-arrow {
    color: var(--primary-orange);
    font-size: 1.25rem;
    margin-top: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Calculator Container */
#financial-calculators .calculator-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Calculator Tabs */
#financial-calculators .calc-tabs-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 0;
}

#financial-calculators .calc-tabs {
    display: flex;
    border-bottom: none;
}

#financial-calculators .calc-tab {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#financial-calculators .calc-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

#financial-calculators .calc-tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

#financial-calculators .calc-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-orange);
}

/* Calculator Content */
#financial-calculators .calculator-wrapper {
    position: relative;
}

#financial-calculators .calculator-content {
    display: none;
    animation: calcFadeIn 0.5s ease;
}

#financial-calculators .calculator-content.active {
    display: block;
}

@keyframes calcFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Calculator Card */
#financial-calculators .calculator-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    padding: 2rem;
}

@media (max-width: 1200px) {
    #financial-calculators .calculator-card {
        grid-template-columns: 1fr;
    }
    
    #financial-calculators .calculator-visual {
        order: 1;
    }
    
    #financial-calculators .calculator-controls {
        order: 2;
    }
    
    #financial-calculators .calculator-results {
        order: 3;
    }
}

/* Calculator Visual (Chart) */
#financial-calculators .calculator-visual {
    padding: 1rem;
}

#financial-calculators .visual-chart {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#financial-calculators .chart-container {
    height: 200px;
    position: relative;
}

#financial-calculators .chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

#financial-calculators .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#financial-calculators .legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

#financial-calculators .legend-color.principal {
    background: var(--primary-blue);
}

#financial-calculators .legend-color.interest {
    background: #F59E0B;
}

#financial-calculators .legend-text {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Calculator Controls */
#financial-calculators .calculator-controls {
    padding: 1rem;
    border-right: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
}

@media (max-width: 1200px) {
    #financial-calculators .calculator-controls {
        border: none;
        border-bottom: 1px solid #e2e8f0;
        border-top: 1px solid #e2e8f0;
    }
}

#financial-calculators .calc-header {
    margin-bottom: 2rem;
}

#financial-calculators .calc-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

#financial-calculators .calc-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Control Groups */
#financial-calculators .control-group {
    margin-bottom: 1.5rem;
}

#financial-calculators .control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

#financial-calculators .control-label label {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.95rem;
}

#financial-calculators .control-value {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.125rem;
}

#financial-calculators .control-value .percent {
    font-size: 0.875rem;
    color: #64748b;
    margin-left: 0.25rem;
}

/* Range Sliders */
#financial-calculators .control-slider {
    position: relative;
    padding: 0.5rem 0 1.5rem;
}

#financial-calculators .range-slider {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #e2e8f0, var(--primary-blue));
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    transition: all 0.3s ease;
}

#financial-calculators .range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-orange);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

#financial-calculators .range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 15px rgba(255, 107, 53, 0.7);
}

#financial-calculators .range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Term Buttons */
#financial-calculators .term-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

#financial-calculators .term-btn {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

#financial-calculators .term-btn:hover {
    background: #f1f5f9;
}

#financial-calculators .term-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* Calculate Button */
#financial-calculators .btn-calculate {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

#financial-calculators .btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Calculator Results */
#financial-calculators .calculator-results {
    padding: 1rem;
}

#financial-calculators .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

#financial-calculators .results-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}

#financial-calculators .results-update {
    font-size: 0.75rem;
    color: #10B981;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Results Grid */
#financial-calculators .results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    #financial-calculators .results-grid {
        grid-template-columns: 1fr;
    }
}

#financial-calculators .result-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

#financial-calculators .result-card:hover {
    transform: translateY(-3px);
}

#financial-calculators .result-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#financial-calculators .result-content {
    flex: 1;
}

#financial-calculators .result-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

#financial-calculators .result-value {
    font-size: 1.25rem;
    font-weight: 700;
}

#financial-calculators .result-progress {
    margin-top: 0.5rem;
}

#financial-calculators .progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
}

#financial-calculators .progress-fill {
    height: 100%;
}


/* Calculator Tips */
#financial-calculators .calc-tips {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
}

#financial-calculators .tips-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

#financial-calculators .tips-header i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

#financial-calculators .tips-header h4 {
    color: white;
    font-weight: 700;
}

#financial-calculators .tips-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    #financial-calculators .tips-content {
        grid-template-columns: 1fr;
    }
}

#financial-calculators .tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

#financial-calculators .tip-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1rem;
    flex-shrink: 0;
}

#financial-calculators .tip-text h5 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

#financial-calculators .tip-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
    #financial-calculators .calculator-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    #financial-calculators .calc-tabs {
        flex-direction: column;
    }
    
    #financial-calculators .calc-tab {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    #financial-calculators .calc-nav-card {
        padding: 1.5rem 1rem;
    }
    
    #financial-calculators .calc-nav-icon {
        width: 60px;
        height: 60px;
    }
    
    #financial-calculators .calc-nav-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    #financial-calculators .calculator-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    #financial-calculators .calc-main-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    #financial-calculators .calc-tips {
        padding: 1.5rem;
    }
}


/* Add these to your #financial-calculators CSS section */

#financial-calculators .chart-container {
    position: relative;
    height: 200px;
    width: 100%;
    margin: 0 auto;
}

#financial-calculators .chart-container canvas {
    animation: chartFadeIn 0.8s ease-out;
}

@keyframes chartFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* Custom hover effects for charts */
#financial-calculators .calculator-card:hover .chart-container canvas {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Legend animation */
#financial-calculators .chart-legend .legend-item {
    transition: all 0.3s ease;
}

#financial-calculators .chart-legend .legend-item:hover {
    transform: translateX(5px);
}

#financial-calculators .chart-legend .legend-item:hover .legend-color {
    transform: scale(1.2);
}

#financial-calculators .legend-color {
    transition: all 0.3s ease;
}

/* Chart tooltip customization */
.chartjs-tooltip {
    background: rgba(0, 0, 0, 0.9) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

.chartjs-tooltip-header {
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    color: white !important;
}

.chartjs-tooltip-body {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.chartjs-tooltip-key {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    margin-right: 8px !important;
    border-radius: 3px !important;
    vertical-align: middle !important;
}

/* Mobile optimization for charts */
@media (max-width: 768px) {
    #financial-calculators .chart-container {
        height: 180px;
    }
    
    #financial-calculators .chart-legend {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}


/* Add these to your #financial-calculators CSS section */

#financial-calculators .chart-container {
    position: relative;
    height: 200px;
    width: 100%;
    margin: 0 auto;
}

#financial-calculators .chart-container canvas {
    animation: chartFadeIn 0.8s ease-out;
}

@keyframes chartFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* Custom hover effects for charts */
#financial-calculators .calculator-card:hover .chart-container canvas {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Legend animation */
#financial-calculators .chart-legend .legend-item {
    transition: all 0.3s ease;
}

#financial-calculators .chart-legend .legend-item:hover {
    transform: translateX(5px);
}

#financial-calculators .chart-legend .legend-item:hover .legend-color {
    transform: scale(1.2);
}

#financial-calculators .legend-color {
    transition: all 0.3s ease;
}

/* Chart tooltip customization */
#financial-calculators .chartjs-tooltip {
    background: rgba(0, 0, 0, 0.9) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

#financial-calculators .chartjs-tooltip-header {
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    color: white !important;
}

#financial-calculators .chartjs-tooltip-body {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

#financial-calculators .chartjs-tooltip-key {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    margin-right: 8px !important;
    border-radius: 3px !important;
    vertical-align: middle !important;
}

/* Mobile optimization for charts */
@media (max-width: 768px) {
    #financial-calculators .chart-container {
        height: 180px;
    }
    
    #financial-calculators .chart-legend {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}















/* Add these styles to your existing CSS file */
#financial-calculators .breakdown-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#financial-calculators .breakdown-section h5 {
    /*color: #fff;*/
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

#financial-calculators .breakdown-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#financial-calculators .breakdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#financial-calculators .breakdown-label {
    /*color: rgba(255, 255, 255, 0.8);*/
    font-size: 0.875rem;
    min-width: 80px;
}

#financial-calculators .breakdown-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

#financial-calculators .breakdown-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

#financial-calculators .breakdown-fill.principal-fill {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

#financial-calculators .breakdown-fill.interest-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

#financial-calculators .breakdown-value {
    /*color: #fff;*/
    font-weight: 600;
    min-width: 40px;
    text-align: right;
    font-size: 0.875rem;
}

/* Animation for breakdown bars */
@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: var(--final-width);
    }
}



/* Testimonials Section - Styles */
#testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

#testimonials-section .testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

#testimonials-section .bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    animation: float 20s infinite linear;
}

#testimonials-section .shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

#testimonials-section .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
    background: linear-gradient(135deg, var(--bs-warning) 0%, var(--bs-orange) 100%);
}

#testimonials-section .shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 5%;
    animation-delay: -10s;
    background: linear-gradient(135deg, var(--bs-success) 0%, var(--bs-teal) 100%);
}

#testimonials-section .shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 10%;
    animation-delay: -15s;
    background: linear-gradient(135deg, var(--bs-purple) 0%, var(--bs-pink) 100%);
}

/* Badge Styles */
#testimonials-section .testimonial-badge-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

#testimonials-section .testimonial-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.3);
    animation: pulse 2s infinite;
}

#testimonials-section .testimonial-badge.badge-2 {
    background: linear-gradient(135deg, var(--bs-danger) 0%, var(--bs-pink) 100%);
    animation-delay: 1s;
}

/* Swiper needs flex to equalize heights */
#testimonials-section .swiper-slide {
    display: flex;
    height: auto;
}

#testimonials-section .testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Testimonial Cards */
#testimonials-section .testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

#testimonials-section .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#testimonials-section .testimonial-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}

#testimonials-section .customer-avatar {
    position: relative;
    flex-shrink: 0;
}

#testimonials-section .customer-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#testimonials-section .avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid white;
}

#testimonials-section .customer-info {
    flex: 1;
    margin-left: 1rem;
}

#testimonials-section .customer-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

#testimonials-section .customer-role {
    color: var(--bs-gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

#testimonials-section .customer-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#testimonials-section .customer-rating i {
    color: #fbbf24;
    font-size: 0.875rem;
}

#testimonials-section .rating-text {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
}

#testimonials-section .testimonial-quote-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bs-primary-light) 0%, var(--bs-primary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    opacity: 0.2;
}

#testimonials-section .testimonial-body {
    margin-bottom: 1.5rem;
}

#testimonials-section .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1.5rem;
    font-style: italic;
}

#testimonials-section .testimonial-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#testimonials-section .testimonial-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-primary);
}

#testimonials-section .testimonial-stats .stat i {
    font-size: 1rem;
}

#testimonials-section .testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

#testimonials-section .company-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #64748b;
}

#testimonials-section .date-tag {
    font-size: 0.875rem;
    color: #94a3b8;
}

#testimonials-section .testimonial-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--bs-primary) 0%, 
        var(--bs-success) 33%, 
        var(--bs-warning) 66%, 
        var(--bs-danger) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#testimonials-section .testimonial-card:hover .testimonial-wave {
    opacity: 1;
}

/* Carousel Styles */
#testimonials-section .testimonials-carousel-wrapper {
    position: relative;
    padding: 0 2rem;
}

#testimonials-section .testimonial-nav {
    position: absolute;
    top: 50%;
    left: -1rem;
    right: -1rem;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

#testimonials-section .testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
}

#testimonials-section .testimonial-nav-btn:hover {
    background: var(--bs-primary);
    color: white;
    transform: scale(1.1);
}

#testimonials-section .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

#testimonials-section .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    opacity: 1;
}

#testimonials-section .swiper-pagination-bullet-active {
    background: var(--bs-primary);
    transform: scale(1.2);
}

/* Stats Section */
#testimonials-section .testimonial-stats-section {
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 4rem;
}

#testimonials-section .stat-item {
    padding: 1.5rem !important;
}

#testimonials-section .stat-icon {
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--bs-primary-light) 0%, var(--bs-primary) 100%) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    font-size: 1.75rem !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--secondary-orange) !important;
}

#testimonials-section .stat-item:hover .stat-icon {
    transform: rotateY(180deg) scale(1.1) !important;
}

#testimonials-section .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

#testimonials-section .stat-label {
    color: var(--bs-gray-600);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(var(--bs-primary-rgb), 0.5);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    #testimonials-section .testimonial-nav {
        display: none;
    }
    
    #testimonials-section .testimonials-carousel-wrapper {
        padding: 0;
    }
    
    #testimonials-section .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    #testimonials-section .testimonial-badge-wrapper {
        display: inline-flex;
        align-items: center;
    }
    
    #testimonials-section .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    #testimonials-section .customer-info {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    #testimonials-section .testimonial-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #testimonials-section .testimonial-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    #testimonials-section .testimonial-stats-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    #testimonials-section {
        padding: 3rem 0;
    }
    
    #testimonials-section .testimonial-card {
        padding: 1.25rem;
    }
    
    #testimonials-section .customer-avatar img {
        width: 60px;
        height: 60px;
    }
    
    #testimonials-section .stat-number {
        font-size: 2rem;
    }
}

/* Max width utilities */
#testimonials-section .max-w-700 {
    max-width: 700px;
}

#testimonials-section .text-gradient-primary {
    color: var(--bs-primary);
    background-image: linear-gradient(
        135deg,
        var(--bs-primary) 0%,
        var(--bs-primary-dark, #0d6efd) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-wave {
    will-change: transform;
}







/* App Download Section - Styles */
#app-download-section {
    background: linear-gradient(135deg, 
        var(--bs-primary) 0%, 
        var(--bs-primary-dark) 50%, 
        #2d3748 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

#app-download-section .app-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: 1;
}

#app-download-section .app-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
}

#app-download-section .app-glow-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    top: -150px;
    right: -150px;
    animation: glowPulse 4s ease-in-out infinite;
}

#app-download-section .app-glow-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    bottom: -200px;
    left: -200px;
    animation: glowPulse 4s ease-in-out infinite reverse;
}

/* Floating Icons */
#app-download-section .floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

#app-download-section .floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#app-download-section .floating-icon:nth-child(1) { top: 20%; left: 5%; }
#app-download-section .floating-icon:nth-child(2) { top: 60%; left: 10%; }
#app-download-section .floating-icon:nth-child(3) { top: 30%; right: 15%; }
#app-download-section .floating-icon:nth-child(4) { bottom: 25%; left: 15%; }
#app-download-section .floating-icon:nth-child(5) { top: 45%; right: 5%; }

/* Rating Badge */
#app-download-section .app-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#app-download-section .stars {
    /*color: #fbbf24;*/
    font-size: 1rem;
}

#app-download-section .rating-text {
    /*color: white;*/
    font-weight: 600;
    font-size: 0.875rem;
}

/* Text Gradient */
#app-download-section .app-gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Max Width Utility */
#app-download-section .max-w-500 {
    max-width: 500px;
}

/* Feature Cards */
#app-download-section .app-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

#app-download-section .app-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#app-download-section .feature-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

#app-download-section .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bs-primary-light), var(--bs-primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

#app-download-section .icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--bs-primary);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.5;
    z-index: 1;
    transition: all 0.3s ease;
}

#app-download-section .app-feature-card:hover .icon-glow {
    filter: blur(15px);
    opacity: 0.8;
}

#app-download-section .feature-content {
    flex: 1;
}

#app-download-section .feature-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

#app-download-section .feature-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Download Buttons */
#app-download-section .download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#app-download-section .download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

#app-download-section .app-store-btn {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#app-download-section .google-play-btn {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#app-download-section .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#app-download-section .app-store-btn:hover {
    background: #000;
    border-color: rgba(255, 255, 255, 0.3);
}

#app-download-section .google-play-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

#app-download-section .btn-icon {
    font-size: 2rem;
    color: var(--primary-orange);
}

#app-download-section .btn-content {
    display: flex;
    flex-direction: column;
}

#app-download-section .btn-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#app-download-section .btn-store {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

/* App Stats */
#app-download-section .app-stats {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#app-download-section .stat-item {
    position: relative;
    padding: 1rem;
}

#app-download-section .stat-number {
    color: var(--dark-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

#app-download-section .stat-label {
    color: var(--primary-orange);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* App Preview */
#app-download-section .app-preview-wrapper {
    position: relative;
    padding: 2rem;
}

/* Phone Mockup */
#app-download-section .phone-mockup {
    position: relative;
    width: 300px;
    margin: 0 auto;
    perspective: 1000px;
}

#app-download-section .phone-frame {
    position: relative;
    width: 100%;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 10px #2a2a2a,
        0 0 0 11px rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    animation: phoneFloat 6s ease-in-out infinite;
}

#app-download-section .app-screens-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

#app-download-section .app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

#app-download-section .app-screen.active {
    opacity: 1;
}

#app-download-section .app-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#app-download-section .phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}

#app-download-section .phone-home-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Floating Notification */
#app-download-section .floating-notification {
    position: absolute;
    top: 80px;
    right: -120px;
    width: 250px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: notificationFloat 3s ease-in-out infinite;
    z-index: 10;
}

#app-download-section .notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

#app-download-section .notification-content {
    flex: 1;
}

#app-download-section .notification-content strong {
    display: block;
    color: #1a1a1a;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

#app-download-section .notification-content span {
    color: var(--bs-gray-600);
    font-size: 0.75rem;
}

#app-download-section .feature-content h5, #app-download-section .feature-content p {
    color: var(--bs-gray-600) !important;
}

/* Floating Card */
#app-download-section .floating-card {
    position: absolute;
    bottom: 100px;
    left: -120px;
    width: 200px;
    padding: 1.25rem;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: cardFloat 4s ease-in-out infinite;
    z-index: 10;
}

#app-download-section .card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: rgba(0, 0, 0, 0.7);
}

#app-download-section .card-number {
    font-family: monospace;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

#app-download-section .card-logo {
    font-family: monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fbbf24;
    text-align: right;
}

/* Screen Indicators */
#app-download-section .screen-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

#app-download-section .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#app-download-section .indicator.active {
    background: white;
    transform: scale(1.3);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-10px) rotateY(5deg);
    }
    75% {
        transform: translateY(-5px) rotateY(-5deg);
    }
}

@keyframes notificationFloat {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-10px) translateY(-5px);
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(10px) translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    #app-download-section .phone-mockup {
        width: 280px;
    }
    
    #app-download-section .phone-frame {
        height: 560px;
    }
    
    #app-download-section .floating-notification {
        right: -100px;
        width: 220px;
    }
    
    #app-download-section .floating-card {
        left: -100px;
        width: 180px;
    }
}

@media (max-width: 992px) {
    #app-download-section {
        padding: 4rem 0;
    }
    
    #app-download-section .app-preview-wrapper {
        margin-top: 4rem;
        padding: 0;
    }
    
    #app-download-section .phone-mockup {
        width: 320px;
    }
    
    #app-download-section .floating-notification {
        right: -80px;
        width: 200px;
    }
    
    #app-download-section .floating-card {
        left: -80px;
        width: 160px;
    }
}

@media (max-width: 768px) {
    #app-download-section .download-buttons {
        flex-direction: row;
        align-items: center;
    }
    
    #app-download-section .download-btn {
        max-width: 100%;
    }
    
    #app-download-section .app-feature-card {
        padding: 1rem;
    }
    
    #app-download-section .floating-notification,
    #app-download-section .floating-card {
        display: none; /* Hide floating elements on mobile for better performance */
    }
    
    #app-download-section .phone-mockup {
        width: 280px;
    }
    
    #app-download-section .phone-frame {
        height: 500px;
    }
}

@media (max-width: 576px) {
    #app-download-section {
        padding: 3rem 0;
    }
    
    #app-download-section .app-rating-badge {
        padding: 0.5rem 1rem;
    }
    
    #app-download-section .app-feature-card {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    #app-download-section .feature-icon-wrapper {
        margin: 0 auto;
    }
    
    #app-download-section .phone-mockup {
        width: 250px;
    }
    
    #app-download-section .phone-frame {
        height: 450px;
        border-radius: 30px;
    }
    
    #app-download-section .floating-icons .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}








/* Final CTA Section - Clean Banking Style */
#final-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Main Card */
#final-cta-section .cta-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#final-cta-section .cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1) !important;
}

/* Trust Badges */
#final-cta-section .trust-badge {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Feature Items */
#final-cta-section .feature-item {
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.03);
    border-radius: 8px;
    transition: all 0.2s ease;
}

#final-cta-section .feature-item:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: translateX(5px);
}

#final-cta-section .feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-size: 1.1rem;
}

/* CTA Buttons */
#final-cta-section .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    transition: all 0.3s ease;
}

#final-cta-section .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

#final-cta-section .btn-outline-primary {
    border-width: 2px;
    transition: all 0.3s ease;
}

#final-cta-section .btn-outline-primary:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

/* Stats Cards */
#final-cta-section .stat-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#final-cta-section .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

#final-cta-section .stat-icon {
    transition: transform 0.3s ease;
}

#final-cta-section .stat-card:hover .stat-icon {
    transform: scale(1.1);
}

#final-cta-section .stat-number {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Security Assurance */
#final-cta-section .security-assurance {
    transition: transform 0.3s ease;
}

#final-cta-section .security-assurance:hover {
    transform: translateY(-3px);
}

/* Live Activity */
#final-cta-section .live-activity {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#final-cta-section .activity-item {
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#final-cta-section .activity-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

#final-cta-section .activity-avatar {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Trust Quote */
#final-cta-section .trust-quote {
    border-left: 4px solid #3b82f6;
}

/* Assurance Bar */
#final-cta-section .assurance-bar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#final-cta-section .stat-number {
    animation: countUp 1s ease-out;
}

/* Pulse Animation for Activity */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

#final-cta-section .activity-item:nth-child(1) {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 992px) {
    #final-cta-section .cta-card {
        margin: 0 1rem;
    }
    
    #final-cta-section .col-lg-6 {
        padding: 2rem !important;
    }
    
    #final-cta-section .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    #final-cta-section {
        padding: 4rem 0 !important;
    }
    
    #final-cta-section .display-5 {
        font-size: 2.5rem;
    }
    
    #final-cta-section .lead {
        font-size: 1.1rem;
    }
    
    #final-cta-section .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    #final-cta-section .assurance-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem !important;
    }
    
    #final-cta-section .vr {
        display: none !important;
    }
}

@media (max-width: 576px) {
    #final-cta-section .display-5 {
        font-size: 2rem;
    }
    
    #final-cta-section .col-lg-6 {
        padding: 1.5rem !important;
    }
    
    #final-cta-section .stats-grid .col-6 {
        width: 100%;
    }
    
    #final-cta-section .cta-buttons {
        flex-direction: column;
    }
    
    #final-cta-section .feature-item {
        width: 100%;
    }
}













/* Footer - Modern Banking Style */
#main-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background Elements */
#main-footer .footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#main-footer .footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, 
        rgba(59, 130, 246, 0.15) 0%, 
        transparent 40%),
        radial-gradient(circle at 80% 20%, 
        rgba(139, 92, 246, 0.1) 0%, 
        transparent 40%);
}

#main-footer .footer-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}

#main-footer .footer-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 100%);
}

/* Floating Icons */
#main-footer .footer-floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

#main-footer .floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: floatIcon var(--speed) ease-in-out infinite;
    animation-delay: var(--delay);
}

#main-footer .floating-icon:nth-child(1) { top: 10%; left: 5%; }
#main-footer .floating-icon:nth-child(2) { top: 60%; left: 10%; }
#main-footer .floating-icon:nth-child(3) { top: 30%; right: 15%; }
#main-footer .floating-icon:nth-child(4) { bottom: 25%; right: 8%; }

/* Newsletter Section */
#main-footer .footer-newsletter {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 3rem 0;
    position: relative;
    z-index: 3;
}

#main-footer .newsletter-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

#main-footer .newsletter-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#main-footer .newsletter-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

#main-footer .newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

#main-footer .newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#main-footer .newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
    color: white;
}

#main-footer .newsletter-form .btn {
    border-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #1e40af;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

#main-footer .newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Brand Section */
#main-footer .footer-brand {
    padding-right: 2rem;
}

#main-footer .brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#main-footer .logo-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

#main-footer .logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #3b82f6;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.3;
    z-index: -1;
}

#main-footer .logo-text h3 {
    font-weight: 700;
    font-size: 1.75rem;
}

/* Contact Info */
#main-footer .contact-info {
    margin: 2rem 0;
}

#main-footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

#main-footer .contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.1rem;
    flex-shrink: 0;
}

#main-footer .contact-text a {
    transition: all 0.3s ease;
}

#main-footer .contact-text a:hover {
    color: #60a5fa !important;
    transform: translateX(5px);
}

/* Download Apps */
#main-footer .download-apps {
    margin-top: 2rem;
}

#main-footer .app-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

#main-footer .app-store {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#main-footer .google-play {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#main-footer .app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

#main-footer .app-store:hover {
    background: black;
}

#main-footer .google-play:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Footer Links */
#main-footer .footer-links {
    padding: 0 1rem;
}

#main-footer .footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
}

#main-footer .title-line {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 4px;
}

#main-footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-footer .footer-list li {
    margin-bottom: 0.75rem;
}

#main-footer .footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#main-footer .footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

#main-footer .footer-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

#main-footer .footer-link:hover::before {
    left: 100%;
}

#main-footer .link-icon {
    width: 20px;
    text-align: center;
    font-size: 0.875rem;
    color: #60a5fa;
}

#main-footer .link-arrow {
    margin-left: auto;
    font-size: 0.75rem;
    opacity: 0;
    transition: all 0.3s ease;
}

#main-footer .footer-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Social Links */
#main-footer .social-links h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

#main-footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

#main-footer .social-link.facebook {
    background: rgba(59, 89, 152, 0.2);
    color: #3b5998;
}

#main-footer .social-link.twitter {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
}

#main-footer .social-link.linkedin {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
}

#main-footer .social-link.instagram {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.2), rgba(255, 223, 0, 0.2));
    color: #e1306c;
}

#main-footer .social-link.youtube {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

#main-footer .social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Bottom */
#main-footer .footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#main-footer .security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

#main-footer .security-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    transition: all 0.3s ease;
}

#main-footer .security-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

/* Animations */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    #main-footer .footer-content {
        padding: 4rem 0;
    }
    
    #main-footer .footer-brand {
        padding-right: 0;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    #main-footer .brand-logo {
        justify-content: center;
    }
    
    #main-footer .download-apps {
        justify-content: center;
    }
    
    #main-footer .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    #main-footer .contact-text a:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    #main-footer .footer-newsletter {
        padding: 2rem 0;
    }
    
    #main-footer .newsletter-content {
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    #main-footer .newsletter-form .input-group {
        flex-direction: row;
    }
    
    #main-footer .newsletter-form .form-control {
        border-radius: 10px;
        margin-bottom: 0.5rem;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    #main-footer .newsletter-form .btn {
        border-radius: 10px;
        width: 100%;
    }
    
    #main-footer .footer-links {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    #main-footer .footer-title {
        padding-left: 0;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    #main-footer .title-line {
        position: relative;
        display: inline-block;
        top: 0;
        transform: none;
    }
    
    #main-footer .footer-link, #main-footer .footer-links .footer-title {
        justify-content: start;
    }
    
    #main-footer .link-arrow {
        display: none;
    }
    
    #main-footer .social-links {
        text-align: center;
    }
    
    #main-footer .social-links .d-flex {
        justify-content: center;
    }
    
    #main-footer .security-badges {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    #main-footer .copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    #main-footer .floating-icon {
        display: none;
    }
    
    #main-footer .app-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    #main-footer .security-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}


/* =========================================================
   SIGN IN SECTION
   ID: #signin-section
========================================================= */

#signin-section {
    position: relative;
    min-height: 100vh;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    isolation: isolate;
}

/* =========================================================
   GRID LINES
========================================================= */

#signin-section .grid-lines, #signup-section .grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -3;
    opacity: 0.4;
    animation: gridMove 80s linear infinite;
}

/* =========================================================
   FLOATING SHAPES
========================================================= */

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

.shape {
    position: absolute;
    filter: blur(25px);
    opacity: 0.35;
    animation: floatShape 28s linear infinite;
}

.shape-1 {
    width: 220px;
    height: 220px;
    background: #3b82f6;
    top: 10%;
    left: 6%;
    border-radius: 40% 60% 60% 40%;
}

.shape-2 {
    width: 160px;
    height: 160px;
    background: #1d4ed8;
    bottom: 12%;
    right: 8%;
    border-radius: 60% 40% 50% 50%;
    animation-duration: 22s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: #60a5fa;
    top: 55%;
    left: 20%;
    border-radius: 50%;
    animation-duration: 34s;
}

/* =========================================================
   PARTICLES 
========================================================= */

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59,130,246,0.6);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; }
.particle:nth-child(2) { top: 65%; left: 75%; animation-delay: 3s; }
.particle:nth-child(3) { top: 45%; left: 45%; animation-delay: 6s; }
.particle:nth-child(4) { top: 80%; left: 55%; animation-delay: 9s; }
.particle:nth-child(5) { top: 30%; left: 90%; animation-delay: 12s; }

/* =========================================================
   CONTAINER
========================================================= */

#signin-section .container {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    z-index: 2;
}

/* =========================================================
   BRAND HEADER
========================================================= */

#signin-section .brand-header {
    text-align: center;
    margin-bottom: 2rem;
}

#signin-section .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#signin-section .logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(59,130,246,0.4);
}

#signin-section .brand-text h1 {
    font-size: 1.8rem;
    margin: 0;
    color: #0f172a;
}

#signin-section .brand-text .highlight {
    color: #3b82f6;
}

#signin-section .brand-subtitle {
    font-size: 0.9rem;
    color: #64748b;
}

/* =========================================================
   AUTH CARD
========================================================= */

#signin-section .auth-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    box-shadow:
        0 25px 60px rgba(15,23,42,0.15),
        0 10px 25px rgba(59,130,246,0.15);
    backdrop-filter: blur(12px);
}

/* =========================================================
   AUTH HEADER
========================================================= */

#signin-section .auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

#signin-section .auth-header h2 {
    margin: 0 0 0.4rem;
    font-size: 1.4rem;
    color: #0f172a;
}

#signin-section .auth-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

/* =========================================================
   ALERT
========================================================= */

#signin-section .alert {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* =========================================================
   FORMS
========================================================= */

#signin-section .form-group {
    margin-bottom: 1.2rem;
}

#signin-section .form-label {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.4rem;
    display: block;
}

#signin-section .input-wrapper {
    position: relative;
}

#signin-section .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

#signin-section .form-control {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.9rem;
}

#signin-section .form-control:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

#signin-section .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
}

/* =========================================================
   OPTIONS ROW
========================================================= */

#signin-section .options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}

#signin-section .forgot-link {
    color: #3b82f6;
    text-decoration: none;
}

/* =========================================================
   BUTTONS
========================================================= */

#signin-section .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

#signin-section .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    box-shadow: 0 12px 30px rgba(59,130,246,0.4);
}

#signin-section .btn-outline {
    margin-top: 0.6rem;
    background: transparent;
    border: 1px solid #cbd5f5;
    color: #334155;
}

/* =========================================================
   2FA
========================================================= */

#signin-section .code-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#signin-section .code-inputs input {
    text-align: center;
    font-size: 1.1rem;
    padding: 0.6rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* =========================================================
   FOOTER LINKS
========================================================= */

#signin-section .signup-link {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.85rem;
}

#signin-section .signup-link a {
    color: #3b82f6;
    text-decoration: none;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

@keyframes particleFloat {
    0% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(-60px); opacity: 0.8; }
    100% { transform: translateY(0); opacity: 0.3; }
}

@keyframes gridMove {
    from { transform: translate(0,0); }
    to { transform: translate(60px,60px); }
}


/* =============================
   2FA CODE INPUTS (FIXED SIZE)
============================= */
#signin-section .code-inputs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

#signin-section .code-inputs input {
    width: 44px;
    height: 52px;
    padding: 0;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;

    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;

    transition: all 0.25s ease;
}

/* Focus state */
#signin-section .code-inputs input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
}

/* Error / expired state */
#signin-section .code-inputs input.expired {
    border-color: #ef4444;
    background: #fef2f2;
    color: #dc2626;
}

/* Mobile adjustment */
@media (max-width: 480px) {
    #signin-section .code-inputs {
        gap: 0.4rem;
    }

    #signin-section .code-inputs input {
        width: 38px;
        height: 46px;
        font-size: 1rem;
    }
}


/* =============================
   SECURE 2FA RANDOM KEYPAD
============================= */
#signin-section .secure-keypad {
    max-width: 260px;
    margin: 0 auto;
}

#signin-section .keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

#signin-section .keypad-btn {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
}

#signin-section .keypad-btn:hover {
    background: #e0f2fe;
    border-color: #3b82f6;
}

#signin-section .keypad-btn:active {
    transform: scale(0.95);
}

#signin-section .keypad-btn.clear {
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.9rem;
}

#signin-section .keypad-btn.backspace {
    background: #f1f5f9;
    font-size: 1rem;
}



/* ====== Benefits Side ====== */
#signup-section .benefits-side {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    position: fixed;
    width: 50%;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

#signup-section .benefits-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    height: 100%;
}

/* Hide scrollbar for benefits side */
#signup-section .benefits-overlay::-webkit-scrollbar {
    display: none;
}
#signup-section .benefits-overlay {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#signup-section .brand-logo {
    text-align: center;
}
#signup-section .brand-logo h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}
#signup-section .brand-logo p {
    color: rgba(255, 255, 255, 0.7);
}

/* Benefits List */
#signup-section .benefits-list {
    margin-top: 3rem;
}
#signup-section .benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
#signup-section .benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}
#signup-section .benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #3b82f6;
}
#signup-section .benefit-text h5 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}
#signup-section .benefit-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Stats Section */
#signup-section .stat-box {
    text-align: center;
    padding: 1rem;
}
#signup-section .stat-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}
#signup-section .stat-box p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ====== Form Side ====== */
#signup-section .form-side {
    background: #f8fafc !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    min-height: 100vh;
    margin-left: 50%;
    width: 50%;
    overflow: hidden;
}

#signup-section .form-container {
    /*max-width: 800px;*/
    width: 100%;
    padding: 0;
    max-height: 100vh;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
}

/* Hide scrollbar for form side */
#signup-section .form-container::-webkit-scrollbar {
    display: none;
}
#signup-section .form-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobile Brand Logo */
#signup-section .mobile-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
#signup-section .mobile-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}
#signup-section .mobile-logo i {
    font-size: 1.75rem;
}

/* Form Header */
#signup-section .form-header {
    text-align: center;
    margin-bottom: 2rem;
}
#signup-section .form-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
#signup-section .form-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Progress Steps */
#signup-section .progress-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
#signup-section .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}
#signup-section .step.active {
    opacity: 1;
}
#signup-section .step-number {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
}
#signup-section .step.active .step-number {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
#signup-section .step-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Form Card */
#signup-section .form-card {
    background: transparent !important;
    border-radius: 0;
    padding: 0;
    /*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);*/
}

/* Form Sections */
#signup-section .form-section {
    padding: 0.3rem 0;
}
#signup-section .section-title {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Form Floating - Fixed Height */
#signup-section .form-floating {
    position: relative;
    margin-bottom: 1rem;
}
#signup-section .form-floating > .form-control,
#signup-section .form-floating > .form-control-plaintext,
#signup-section .form-floating > .form-select {
    height: calc(4rem + 2px);
    line-height: 1.5;
    padding: 1.25rem 1rem;
}
#signup-section .form-floating > label {
    height: 100%;
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    color: #64748b;
    pointer-events: none;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}
#signup-section .form-floating > .form-control:focus ~ label,
#signup-section .form-floating > .form-control:not(:placeholder-shown) ~ label,
#signup-section .form-floating > .form-select ~ label {
    transform: scale(.85) translateY(-2rem) translateX(0.15rem);
    opacity: .98;
}

/* Form Controls */
#signup-section .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 56px;
}
#signup-section .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
#signup-section .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 56px;
}
#signup-section .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}


/* Security Options */
#signup-section .security-options {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Form Check */
#signup-section .form-check {
    padding-left: 2.5rem;
    min-height: 1.8rem;
    display: flex;
    align-items: center;
}
#signup-section .form-check-input {
    width: 2.2em;
    height: 1.2em;
    margin-left: -2.5rem;
    margin-right: 1rem;
    border: 2px solid #cbd5e1;
    align-self: center;
}
#signup-section .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}
#signup-section .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Form Switch */
#signup-section .form-switch {
    padding-left: 3.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}
#signup-section .form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin-left: -3.5rem;
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    align-self: center;
}
#signup-section .form-switch .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

/* Buttons */
#signup-section .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: white;
}
#signup-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

/* Security Badges */
#signup-section .security-badges {
    text-align: center;
}
#signup-section .badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
#signup-section .badge-item i {
    color: #3b82f6;
}

/* ====== Responsive Design ====== */
@media (max-width: 992px) {
    #signup-section .benefits-side {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 400px;
    }
    #signup-section .benefits-overlay {
        position: relative;
        padding: 2rem;
        overflow-y: visible;
    }
    #signup-section .form-side {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
        min-height: auto;
    }
    #signup-section .form-container {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
        margin-right: 0;
    }
    #signup-section .form-card {
        padding: 1.75rem;
    }
    #signup-section .form-header h1 {
        font-size: 2rem;
    }
    #signup-section .progress-steps {
        gap: 1rem;
    }
    #signup-section .step-label {
        font-size: 0.8rem;
    }
    /* Adjust form floating for tablet */
    #signup-section .form-floating > .form-control,
    #signup-section .form-floating > .form-select {
        height: calc(3rem + 2px);
        padding: 1rem;
    }
    #signup-section .form-floating > label {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    #signup-section .benefits-overlay {
        padding: 2rem;
    }
    #signup-section .benefit-item {
        padding: 1rem;
    }
    #signup-section .stat-box h3 {
        font-size: 1.5rem;
    }
    #signup-section .form-side {
        padding: 1rem;
    }
    #signup-section .form-header h1 {
        font-size: 1.75rem;
    }
    /* Adjust form floating for mobile */
    #signup-section .form-floating > .form-control,
    #signup-section .form-floating > .form-select {
        height: calc(2.75rem + 2px);
        padding: 0.875rem;
    }
    #signup-section .form-floating > label {
        padding: 0.875rem;
    }
}

@media (max-width: 576px) {
    #signup-section .benefits-overlay {
        padding: 1.5rem;
    }
    #signup-section .form-card {
        padding: 1.5rem;
    }
    #signup-section .section-title {
        font-size: 1rem;
    }
    #signup-section .form-floating {
        margin-bottom: 1rem;
    }
    #signup-section .form-floating > .form-control,
    #signup-section .form-floating > .form-select {
        height: calc(2.5rem + 2px);
        padding: 0.75rem;
    }
    #signup-section .form-floating > label {
        padding: 0.75rem;
    }
    #signup-section .btn-primary {
        padding: 1rem;
        font-size: 1rem;
    }
}



/* Form Card Enhanced Styles */
#signup-section .form-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Form Header */
#signup-section .form-header {
    text-align: center;
    margin-bottom: 3rem;
}

#signup-section .form-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

#signup-section .form-icon .icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

#signup-section .form-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

#signup-section .form-header p {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Section Headers */
#signup-section .section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

#signup-section .section-icon {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #3b82f6;
}

#signup-section .section-title {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

#signup-section .section-divider {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%);
}

/* Form Groups */
#signup-section .form-group {
    margin-bottom: 0.5rem;
}

#signup-section .form-hint {
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

#signup-section .form-hint i {
    font-size: 0.75rem;
}

/* Password Strength */
#signup-section .password-strength {
    background: #f8fafc;
    padding: 0 0.25rem;
    border-radius: 12px;
    /*border: 1px solid #e2e8f0;*/
}

#signup-section .strength-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

#signup-section .strength-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ef4444;
}

#signup-section .strength-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

#signup-section .strength-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    transition: all 0.3s ease;
}

#signup-section .password-requirements {
    font-size: 0.8125rem;
}

#signup-section .password-match {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* Account Info Cards */
#signup-section .account-info-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

#signup-section .account-info-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

#signup-section .account-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #3b82f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#signup-section .account-info-content h6 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#signup-section .account-features .badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Security Option Cards */
#signup-section .security-option-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

#signup-section .security-option-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

#signup-section .security-option-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#signup-section .security-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #3b82f6;
}

#signup-section .security-option-header strong {
    color: #1e293b;
    font-size: 1rem;
}

/* Terms Card */
#signup-section .terms-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
}

#signup-section .terms-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

#signup-section .terms-header i {
    color: #3b82f6;
}

#signup-section .terms-content a {
    color: #3b82f6;
    font-weight: 500;
    transition: color 0.2s ease;
}

#signup-section .terms-content a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Submit Button */
#signup-section .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

#signup-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

/* Login Link */
#signup-section .login-link a {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

#signup-section .login-link a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    #signup-section .form-card {
        padding: 2rem;
    }
    
    #signup-section .form-header h2 {
        font-size: 2rem;
    }
    
    #signup-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    #signup-section .section-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 768px) {
    #signup-section .form-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    #signup-section .form-icon .icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    #signup-section .form-header h2 {
        font-size: 1.75rem;
    }
    
    #signup-section .btn-primary,
    #signup-section .login-link .btn-outline-primary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    #signup-section .form-card {
        padding: 1.25rem;
    }
    
    #signup-section .account-info-card,
    #signup-section .security-option-card {
        padding: 1.25rem;
    }
    
    #signup-section .section-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}









/* KYC Section Styles */
#kyc-verification {
    /*background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);*/
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    min-height: 100vh;
    padding: 2rem 0;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    isolation: isolate;
}

/* Animations */
#kyc-verification .animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

#kyc-verification .animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Header Icon */
.kyc-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

/* Progress Steps */
.kyc-progress {
    max-width: 800px;
    margin: 0 auto;
}

#kyc-verification .progress-container {
    position: relative;
    padding: 20px 0;
}

#kyc-verification .progress-bar {
    position: absolute;
    top: 50%;
    left: 50px;
    right: 50px;
    height: 4px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

#kyc-verification .progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
    transition: width 0.5s ease;
}

#kyc-verification .progress-steps {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}

#kyc-verification .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#kyc-verification .step-circle {
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

#kyc-verification .step.active .step-circle {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

#kyc-verification .step-label {
    font-weight: 600;
    color: #64748b;
    font-size: 0.9rem;
}

#kyc-verification .step.active .step-label {
    color: #1e293b;
}

/* Main Card */
.kyc-card {
    background: white !important;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.kyc-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

#kyc-verification .header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

#kyc-verification .header-content h3 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Alerts */
.kyc-alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

#kyc-verification .alert-content {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

#kyc-verification .alert-icon {
    font-size: 1.5rem;
    color: #1d4ed8;
    flex-shrink: 0;
}

#kyc-verification .alert-content h5 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

/* Form Sections */
#kyc-verification .form-section {
    margin-bottom: 3rem;
}

#kyc-verification .section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#kyc-verification .section-icon {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #3b82f6;
    flex-shrink: 0;
}

#kyc-verification .section-header h4 {
    color: #1e293b;
    font-weight: 700;
    margin: 0;
}

#kyc-verification .required {
    color: #ef4444;
    margin-left: 2px;
}

#kyc-verification .optional-badge {
    background: #fbbf24;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.75rem;
}

/* Form Groups */
#kyc-verification .form-group {
    margin-bottom: 1rem;
}

#kyc-verification .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

#kyc-verification .input-with-icon {
    position: relative;
}

#kyc-verification .input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 1;
}

#kyc-verification .input-with-icon .form-control,
#kyc-verification .input-with-icon .form-select {
    padding-left: 3rem;
    height: 56px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#kyc-verification .input-with-icon .form-control:focus,
#kyc-verification .input-with-icon .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Upload Sections */
#kyc-verification .upload-section {
    margin-top: 1rem;
}

#kyc-verification .upload-card {
    background: #f8fafc;
    border: 3px dashed #cbd5e1;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#kyc-verification .upload-card:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
    transform: translateY(-2px);
}

#kyc-verification .upload-card.dragover {
    border-color: #10b981;
    background: #f0fdf4;
}

#kyc-verification .upload-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

#kyc-verification .upload-card:hover .upload-icon {
    color: #3b82f6;
}

#kyc-verification .upload-content h5 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

#kyc-verification .upload-hint {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 1rem;
}

#kyc-verification .upload-hint i {
    margin-right: 0.5rem;
}

/* Uploaded Files */
#kyc-verification .uploaded-files {
    margin-top: 1.5rem;
}

#kyc-verification .file-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    animation: slideUp 0.3s ease;
}

#kyc-verification .file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#kyc-verification .file-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #3b82f6;
}

#kyc-verification .file-details h6 {
    margin: 0;
    color: #1e293b;
    font-weight: 600;
}

#kyc-verification .file-details .file-size {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

#kyc-verification .file-remove {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

#kyc-verification .file-remove:hover {
    background: #fee2e2;
}

/* Accepted Documents */
#kyc-verification .accepted-docs {
    margin-top: 2rem;
}

#kyc-verification .doc-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

#kyc-verification .doc-type:hover {
    background: #f0f9ff;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

#kyc-verification .doc-type i {
    font-size: 1.25rem;
    color: #3b82f6;
}

#kyc-verification .doc-type span {
    font-weight: 500;
    color: #374151;
}

/* Warning Alert */
.kyc-alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2.5rem 0;
}

.kyc-alert-warning .alert-icon {
    color: #d97706;
}

.kyc-alert-warning h5 {
    color: #92400e;
    margin-bottom: 1rem;
}

#kyc-verification .guidelines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#kyc-verification .guideline {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

#kyc-verification .guideline i {
    color: #059669;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

#kyc-verification .guideline span {
    color: #374151;
    font-size: 0.95rem;
}

/* Terms Section */
#kyc-verification .terms-section {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
}

#kyc-verification .form-check {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

#kyc-verification .form-check-input {
    width: 3.5rem !important;
    height: 1.5rem;
    margin-top: 0.25rem;
    border: 2px solid #cbd5e1 !important;
}

#kyc-verification .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

#kyc-verification .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

#kyc-verification .terms-text {
    color: #374151;
    line-height: 1.6;
}

#kyc-verification .terms-link {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

#kyc-verification .terms-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Submit Section */
#kyc-verification .submit-section {
    margin-top: 3rem;
}

#kyc-verification .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

#kyc-verification .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

/* Security Card */
#kyc-verification .security-card {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

#kyc-verification .security-icon {
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

#kyc-verification .security-content h4 {
    margin-bottom: 1rem;
}

#kyc-verification .security-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Support Info */
#kyc-verification .support-info {
    padding: 1.5rem;
}

#kyc-verification .support-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: #f0f9ff;
    transition: all 0.3s ease;
}

#kyc-verification .support-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .kyc-card {
        padding: 2rem;
    }
    
    #kyc-verification .progress-bar {
        left: 30px;
        right: 30px;
    }
    
    #kyc-verification .step-circle {
        width: 50px;
        height: 50px;
    }
    
    .kyc-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    #kyc-verification {
        padding: 1.5rem 0;
    }
    
    .kyc-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .kyc-card-header {
        flex-direction: row;
        text-align: flex-start;
        gap: 1rem;
    }
    
    #kyc-verification .header-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    #kyc-verification .progress-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    #kyc-verification .progress-bar {
        display: none;
    }
    
    #kyc-verification .security-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    #kyc-verification .upload-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .kyc-card {
        padding: 1.25rem;
    }
    
    #kyc-verification .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    #kyc-verification .section-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    #kyc-verification .upload-card {
        padding: 1.5rem 1rem;
    }
    
    #kyc-verification .doc-type {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
    }
    
    #kyc-verification .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #kyc-verification .file-info {
        width: 100%;
    }
}

.kyc-review-simple {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/*.kyc-card-simple {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.kyc-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}*/

/* Animated Status Icon */
.kyc-card-simple .status-icon-animated {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kyc-card-simple .status-icon-animated i {
    font-size: 3.5rem;
    color: #3b82f6;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.kyc-card-simple .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
        opacity: 1; 
    }
    100% { 
        transform: scale(1.3); 
        opacity: 0; 
    }
}

/* Status Badge */
.kyc-card-simple .status-badge-simple {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Progress Bar */
.kyc-card-simple .progress-simple {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.kyc-card-simple .progress-bar-simple {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 5px;
    width: 65%;
    animation: progress 1.5s ease-out;
}

@keyframes progress {
    from { width: 0; }
    to { width: 65%; }
}

/* Timeline */
.kyc-card-simple .timeline-simple {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 1rem 0;
}

.kyc-card-simple .timeline-simple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

.kyc-card-simple .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.kyc-card-simple .step-dot {
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.kyc-card-simple .timeline-step.completed .step-dot {
    background: #10b981;
    border-color: #10b981;
}

.kyc-card-simple .timeline-step.active .step-dot {
    background: #3b82f6;
    border-color: #3b82f6;
    animation: pulse 2s infinite;
}

.kyc-card-simple .step-content {
    text-align: center;
}

/* Info Box */
.kyc-card-simple .info-box-simple {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #3b82f6;
}

/* Buttons */
.kyc-card-simple .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    padding: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.kyc-card-simple .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.kyc-card-simple .btn-outline-primary {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.kyc-card-simple .btn-outline-primary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .kyc-card-simple {
        padding: 2rem;
    }
    
    .kyc-card-simple .status-icon-animated {
        width: 80px;
        height: 80px;
    }
    
    .kyc-card-simple .status-icon-animated i {
        font-size: 2.5rem;
    }
    
    .kyc-card-simple .timeline-simple {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .kyc-card-simple .timeline-simple::before {
        display: none;
    }
    
    .kyc-card-simple .timeline-step {
        flex-direction: row;
        gap: 1rem;
        text-align: left;
    }
    
    .kyc-card-simple .step-content {
        text-align: left;
    }
}


.flatpickr-calendar {
    z-index: 9999 !important;
}
