/* PaySpot V2 - Hybrid Corporate Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Login Page Colors */
    --brand-navy: #131856;       /* Deep Navy */
    --brand-primary: #1e2671;    /* Corporate Navy */
    --brand-accent: #71b9ff;     /* Sky Blue */
    --brand-text: #535353;       /* Dark Grey */
    --brand-bg: #ffffff;         /* White Body */
    
    /* New Accents */
    --brand-orange: #ff9800;     /* Vibrant Orange (Energy/Action) */
    --brand-coral: #ff6b6b;      /* Warm Coral (Action/Alert) */
    
    /* Surfaces */
    --card-bg: #ffffff;
    --card-shadow: 0 10px 40px rgba(0,0,0,0.08);
    --card-border: 1px solid rgba(0,0,0,0.05);
}

body, p, span, a, h1, h2, h3, h4, h5, h6, .lead, .text-muted {
    font-family: 'Outfit', sans-serif !important;
}

body {
    background-color: var(--brand-bg) !important;
    color: var(--brand-text) !important;
    overflow-x: hidden;
    font-size: 1rem;
    line-height: 1.6;
    scroll-behavior: smooth;
    /* Subtle paper texture throughout */
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.02) 2px, rgba(0,0,0,.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,.02) 2px, rgba(0,0,0,.02) 4px);
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}
.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}
.floating-cta .btn {
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.4);
    animation: float-pulse 2s infinite;
}
@keyframes float-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* FAQ Accordion Styling */
.accordion-button {
    color: var(--brand-primary) !important;
    font-weight: 600;
    background-color: white;
}
.accordion-button:not(.collapsed) {
    background-color: var(--brand-primary) !important;
    color: white !important;
}
.accordion-item {
    background-color: white;
}
.accordion-body {
    background-color: white;
    color: var(--brand-text);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: var(--brand-accent);
}

/* --- Utilities --- */
.bg-navy { background-color: var(--brand-navy) !important; color: white; }
.text-navy { color: var(--brand-primary) !important; }
.text-cyan { color: var(--brand-accent) !important; }
.text-brand { color: var(--brand-primary) !important; }
.text-orange { color: var(--brand-orange) !important; }
.text-coral { color: var(--brand-coral) !important; }

/* Soft Backgrounds for Icons/Badges */
.bg-orange-soft { background: rgba(255, 152, 0, 0.1); color: var(--brand-orange); }
.bg-coral-soft { background: rgba(255, 107, 107, 0.1); color: var(--brand-coral); }
.bg-cyan-soft { background: rgba(113, 185, 255, 0.1); color: var(--brand-primary); }

/* Badge Utilities */
.badge-soft-orange { background: rgba(255, 152, 0, 0.15); color: var(--brand-orange); border: 1px solid rgba(255,152,0,0.2); }
.badge-soft-coral { background: rgba(255, 107, 107, 0.15); color: var(--brand-coral); border: 1px solid rgba(255,107,107,0.2); }


/* --- Buttons --- */
.btn-primary, .btn-neo {
    background: var(--brand-primary);
    color: white !important;
    font-weight: 500;
    padding: 12px 36px;
    border-radius: 50px; /* Pill Shape */
    border: none;
}
.btn-primary:hover, .btn-neo:hover {
    background: var(--brand-accent);
    color: var(--brand-navy) !important;
}

.btn-orange {
    background: var(--brand-orange);
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-orange:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.btn-neo-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: white !important;
    font-weight: 500;
    padding: 10px 36px;
    border-radius: 50px;
}
.offcanvas .btn-neo-outline {
    border-color: var(--brand-primary);
    color: var(--brand-primary) !important;
}
.btn-neo-outline:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent) !important;
    background: transparent;
}

.btn-outline-white { /* Legacy support or Hero buttons */
    border: 2px solid rgba(255,255,255,0.3);
    color: white !important;
    font-weight: 500;
    padding: 10px 36px;
    border-radius: 50px;
}
.btn-outline-white:hover {
    border-color: white;
    background: white;
    color: var(--brand-primary) !important;
}

/* --- Cards --- */
.card-glass, .feature-card {
    background: white;
    border-radius: 5px;
    padding: 2.5rem;
    box-shadow: 
        0 2px 4px rgba(19, 24, 86, 0.03),
        0 8px 16px rgba(19, 24, 86, 0.06),
        0 24px 48px rgba(19, 24, 86, 0.08);
    border: var(--card-border);
    overflow: hidden; /* For future effects */
    position: relative;
}
/* .card-glass:hover {
    Hover effects disabled for static design
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 4px 8px rgba(19, 24, 86, 0.05),
        0 12px 24px rgba(19, 24, 86, 0.08),
        0 24px 48px rgba(19, 24, 86, 0.06);
    border-color: rgba(113, 185, 255, 0.3);
} */

/* 3D Tilt Effect on Mouse Move */
.card-3d {
    transition: transform 0.1s ease-out;
}

/* Partner & Banking Cards */
.partner-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    height: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    margin: 10px;
}
/* .partner-card:hover {
    Hover disabled as per user request
} */
.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* .partner-card:hover img {
    Hover disabled as per user request
} */

.icon-box {
    width: 60px; height: 60px;
    background: rgba(30, 38, 113, 0.05);
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 
        0 2px 4px rgba(30, 38, 113, 0.1),
        0 4px 8px rgba(30, 38, 113, 0.05);
}
/* .card-glass:hover .icon-box {
    Hover effects disabled for static design
    background: var(--brand-primary);
    color: white;
    transform: scale(1.08) rotate(5deg);
    box-shadow: 
        0 4px 8px rgba(30, 38, 113, 0.12),
        0 8px 16px rgba(30, 38, 113, 0.08);
} */

/* --- Hero --- */
.section-hero {
    background-color: var(--brand-navy);
    color: white;
    padding: 100px 0 100px; /* Desktop padding */
}

/* Reduced padding for mobile to fix "too much top space" */
@media (max-width: 991px) {
    .section-hero {
        padding: 50px 0 30px;
    }
}
.section-hero h1, .section-hero p { color: white; }

/* --- Navbar --- */
/* --- Navbar --- */
.v2-navbar {
    padding: 1rem 0;
    background-color: var(--brand-navy); /* Match Hero */
}

.v2-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 0.8rem 0;
}

/* Navbar Logo Switching */
/* Default (Navy BG): Logo White is visible */
/* Scrolled (White BG): Logo Dark (Payspot_logo.png) is needed. */
/* JS toggles .logo-white / .logo-dark classes. */

.v2-navbar.scrolled .nav-link { color: var(--brand-primary) !important; }
.v2-navbar.scrolled .navbar-toggler { color: var(--brand-primary) !important; }
.v2-navbar.scrolled .btn-neo-outline { border-color: var(--brand-primary); color: var(--brand-primary) !important; }
.v2-navbar.scrolled .btn-neo-outline:hover { background: var(--brand-primary); color: white !important; }

.nav-link { color: rgba(255,255,255,0.9) !important; font-weight: 500; }
.nav-link:hover { color: var(--brand-accent) !important; }

/* --- Footer --- */
.v2-footer {
    background: var(--brand-navy) !important; /* Sync with Top Bar */
    color: white;
    padding: 0; /* Remove padding here, let inner container handle it OR remove inner wrapper padding */
}
.footer-link { color: rgba(255,255,255,0.6); text-decoration: none; display: block; margin-bottom: 10px; }
.footer-link:hover { color: var(--brand-accent); }

/* --- Animations --- */
.animate-float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-15px); } }

/* --- Partner Marquee --- */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}
.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}
/* .marquee-content:hover { 
    Pause on hover disabled as per user request
} */
.marquee-item {
    display: inline-block;
    margin: 0 40px;
    vertical-align: middle;
}
/* .marquee-item:hover {
    Hover disabled as per user request
} */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Partner Placeholder */
.partner-placeholder {
    width: 150px;
    height: 60px;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
    color: #adb5bd;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Ambient Animations --- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15; /* Reduced from 0.4 */
    animation: blob-float 10s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--brand-accent); animation-delay: 0s; }
.blob-2 { bottom: -10%; right: -10%; width: 400px; height: 400px; background: var(--brand-orange); animation-delay: -5s; }

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 40px) scale(1.1); }
}

/* Text Shimmer (Subtle version) */
.text-shimmer {
    color: white; /* Just white, no animation */
}

/* Soft Pulse */
.pulse-soft { animation: pulse-border 2s infinite; }
@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(113, 185, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(113, 185, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(113, 185, 255, 0); }
}

/* Testimonial Card Animations */
.testimonial-card {
    animation: fadeSlideUp 0.8s ease-out forwards;
    opacity: 0;
}

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

/* Removed floatGentle - too playful for professional site */

/* Newsletter Send Button */
.newsletter-send-btn {
    transition: none; /* Prevent button from lifting */
}
.newsletter-send-btn:hover {
    background: white !important; /* Keep bg white */
}
.newsletter-send-btn i {
    /* transition: transform 0.3s ease; */
}
.newsletter-send-btn:hover i {
    color: var(--brand-accent) !important; /* Sky blue on hover */
}

/* Parallax Depth Layers */
.parallax-section {
    position: relative;
    transform-style: preserve-3d;
}
.parallax-bg {
    transform: translateZ(-50px) scale(1.5);
}
.parallax-content {
    transform: translateZ(0);
}

/* Hero Section 3D */
.section-hero {
    perspective: 1000px;
}
.hero-visual {
    transition: none !important;
}

/* Services Grid 3D Enhancement */
.service-card {
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}
/* .service-card:hover {
    Hover disabled
} */

/* Testimonial 3D Cards */
.testimonial-card .card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
/* .testimonial-card:hover .card {
    Hover disabled
} */

/* Hero Wallet Card - Keep static tilt */
.hero-wallet-card {
    transform: rotate(-3deg) !important;
    transition: all 0.5s ease-out !important;
}


/* Professional Banking Background Elements */
.banking-pattern, .dot-pattern, .network-lines {
    display: none;
}

.dot-pattern-visible { /* For sections where we WANT dots */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(circle, var(--brand-primary) 1px, transparent 1px);
    background-size: 30px 30px;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, 
        rgba(19, 24, 86, 0.95) 0%,
        rgba(19, 24, 86, 0.98) 50%,
        rgba(30, 38, 113, 0.95) 100%); */
    background-color: var(--brand-navy);
    z-index: 1;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: 
        linear-gradient(90deg, transparent 79px, var(--brand-accent) 79px, var(--brand-accent) 81px, transparent 81px),
        linear-gradient(0deg, transparent 79px, var(--brand-accent) 79px, var(--brand-accent) 81px, transparent 81px);
    background-size: 80px 80px;
}

.light-rays {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    opacity: 0.03;
    background: radial-gradient(ellipse at center, var(--brand-accent) 0%, transparent 70%);
    animation: rotate-slow 60s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Subtle Texture Overlay for White Sections */
section:not(.bg-navy):not(.bg-light) {
    position: relative;
}
section:not(.bg-navy):not(.bg-light)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(19, 24, 86, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(113, 185, 255, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

/* Noise Pattern for Cards */
.card, .card-glass {
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(0,0,0,.008) 1px, rgba(0,0,0,.008) 2px);
}

/* Texture for Buttons */
.btn {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 1px, rgba(255,255,255,.03) 1px, rgba(255,255,255,.03) 2px);
}

/* Texture for Navbar */
.v2-navbar {
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.015) 2px, rgba(0,0,0,.015) 4px);
}

/* Texture for Footer */
.v2-footer {
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.008) 2px, rgba(255,255,255,.008) 4px),
        radial-gradient(circle at 30% 50%, rgba(113, 185, 255, 0.02) 0%, transparent 50%);
}

/* Texture for Input Fields */
.form-control, input[type="text"], input[type="email"] {
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(0,0,0,.005) 1px, rgba(0,0,0,.005) 2px);
}

/* Navy Section Texture Enhancement */
.bg-navy, .section-hero {
    /* background images/gradients only */
}

/* Stats Section - Clean Background (No Texture) */
.bg-light {
    background-image: none !important;
}

/* Clean Icons - No Texture on circular backgrounds */
.rounded-circle, .icon-box, 
.bg-orange-soft, .bg-cyan-soft, .bg-coral-soft,
[style*="border-radius: 50%"],
.bg-white.rounded-circle {
    background-image: none !important;
}


/* --- Timeline Section --- */
.timeline-section {
    position: relative;
    padding: 60px 0;
}
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(30, 38, 113, 0.05); /* Lighter track */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 0;
}
.timeline-line-progress {
    position: absolute;
    width: 2px;
    background-color: var(--brand-orange); /* Vibrant progress color */
    top: 0;
    left: 50%;
    margin-left: -1px;
    height: 100%;
    z-index: 1;
    transform: scaleY(0);
    transform-origin: top;
    will-change: transform;
    transition: transform 0.05s linear;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--brand-primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}
.timeline-item.active::after {
    background-color: var(--brand-orange);
    border-color: white !important;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.5);
    transform: scale(1.2);
}
.timeline-item.left {
    left: 0;
}
.timeline-item.right {
    left: 50%;
}
.timeline-item.right::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.timeline-year {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(30, 38, 113, 0.05);
    color: var(--brand-primary);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item.right {
        left: 0%;
    }
    .timeline-item::after {
        left: 21px;
    }
    .timeline-item.right::after {
        left: 21px;
    }
    .timeline-line-progress {
        left: 31px;
        margin-left: 0;
    }
}

/* Management Team Cards */
.management-member-card {
    border-radius: 32px;
    padding: 0;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: none !important; /* Block all transitions */
}

.management-member-card:hover {
    transform: none !important; /* Block all hover movement */
    box-shadow: 0 15px 45px rgba(0,0,0,0.15) !important; /* Keep original shadow */
}

.management-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to top, 
        rgba(19, 24, 86, 0.98) 0%, 
        rgba(19, 24, 86, 0.7) 40%, 
        rgba(19, 24, 86, 0.2) 100%); */
    z-index: 1;
}

.management-member-card .member-image-wrapper {
    display: none;
}

.management-member-card .member-info {
    position: relative;
    z-index: 2;
    padding: 40px 25px;
}

.management-member-card .member-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Mobile Navigation */
.mobile-nav-link {
    color: var(--brand-navy) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}
.mobile-nav-link:hover {
    color: var(--brand-orange) !important;
    padding-left: 5px;
}
.mobile-nav-link i {
    width: 25px;
}

.management-member-card .member-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    margin-top: 5px;
}

