﻿/* ============================================
   MyCrediBro â€” Professional Financial Website
   Clean, Elegant & Responsive Styles
   ============================================ */

/* ====== CSS VARIABLES ====== */
:root {
    --primary: #222222;
    --primary-dark: #111111;
    --primary-light: #3a3a3a;
    --secondary: #D4A03C;
    --secondary-dark: #B8872E;
    --secondary-light: #E8BD5E;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #4a4a4a;
    --gray-600: #6b6b6b;
    --gray-500: #8a8a8a;
    --gray-400: #a0a0a0;
    --gray-300: #c8c8c8;
    --gray-200: #e2e2e2;
    --gray-100: #f0f0f0;
    --gray-50: #f8f8f8;
    --white: #ffffff;
    --logo-grey: #9CA3AF;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-logo: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== RESET & BASE ====== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====== PRELOADER ====== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-logo);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
}

.loader-my {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.loader-credibro {
    font-weight: 700;
    color: var(--white);
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    animation: loadProgress 1.5s ease forwards;
}

@keyframes loadProgress {
    to { width: 100%; }
}

/* ====== SECTION TAGS & HEADERS ====== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 8px 20px;
    background: rgba(34, 34, 34, 0.08);
    border-radius: 50px;
}

.section-tag i {
    font-size: 0.8rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle.left-aligned {
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

.btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(34, 34, 34, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 6px 25px rgba(34, 34, 34, 0.4);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-light:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.btn-sm { padding: 10px 24px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: baseline;
    letter-spacing: -0.3px;
}

.logo-my {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.logo-credibro {
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo-my {
    color: var(--logo-grey);
}

.navbar.scrolled .logo-credibro {
    color: var(--dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(34, 34, 34, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-phone:hover { color: var(--secondary); }

.navbar.scrolled .nav-phone {
    color: var(--gray-700);
}

.navbar.scrolled .nav-phone:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 10px;
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ====== HERO ====== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.05);
    animation: heroVideoZoom 25s ease-in-out infinite alternate;
}

@keyframes heroVideoZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

/* Primary overlay â€” cinematic color grade */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            180deg,
            rgba(17, 17, 17, 0.7) 0%,
            rgba(26, 26, 26, 0.45) 30%,
            rgba(34, 34, 34, 0.5) 60%,
            rgba(17, 17, 17, 0.85) 100%
        );
    z-index: 1;
    mix-blend-mode: normal;
}

/* Top navbar fade */
.hero-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.9) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Bottom smooth blend into next section */
.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(0deg, var(--gray-50) 0%, rgba(248,248,251,0.6) 30%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* Cinematic vignette */
.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 200px 60px rgba(0, 0, 0, 0.4);
}

/* Floating particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 160, 60, 0.4);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; width: 3px; height: 3px; }
.particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: 3s; width: 5px; height: 5px; background: rgba(255,255,255,0.2); }
.particle:nth-child(3) { left: 45%; animation-duration: 16s; animation-delay: 6s; }
.particle:nth-child(4) { left: 65%; animation-duration: 20s; animation-delay: 2s; width: 6px; height: 6px; background: rgba(255, 255, 255, 0.15); }
.particle:nth-child(5) { left: 80%; animation-duration: 24s; animation-delay: 5s; width: 3px; height: 3px; }
.particle:nth-child(6) { left: 92%; animation-duration: 19s; animation-delay: 8s; background: rgba(212, 160, 60, 0.3); }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% { opacity: 1; transform: translateY(90vh) scale(1); }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(-10vh) scale(0.5);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 140px 24px 100px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--secondary-light);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 36px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 24px;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-typed-wrapper {
    color: var(--secondary);
    display: inline;
    text-shadow: 0 0 40px rgba(212, 160, 60, 0.3);
}

.typed-cursor {
    animation: blink 1s infinite;
    color: var(--secondary);
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.85;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Hero primary CTA with shine effect */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--dark);
    border-color: transparent;
    box-shadow: 0 4px 25px rgba(212, 160, 60, 0.35);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    box-shadow: 0 8px 35px rgba(212, 160, 60, 0.5);
    transform: translateY(-3px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Trust bar below CTA */
.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
}

.trust-item i {
    color: var(--success);
    font-size: 0.75rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 28px 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    font-family: var(--font-heading);
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}

.hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-scroll a {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 25px;
    position: relative;
    transition: var(--transition);
}

.hero-scroll a:hover {
    border-color: rgba(255,255,255,0.5);
}

.hero-scroll a span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 0; top: 10px; }
    50% { opacity: 1; }
    100% { opacity: 0; top: 32px; }
}

/* ====== TRUSTED BY ====== */
.trusted-by {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.trusted-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.trusted-logos-wrapper {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.trusted-logos-wrapper::before,
.trusted-logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trusted-logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.trusted-logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.trusted-logos:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.bank-logo-item {
    flex-shrink: 0;
    transition: var(--transition);
    opacity: 0.75;
}

.bank-logo-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.bank-logo {
    height: 40px;
    width: auto;
    filter: grayscale(30%);
    transition: var(--transition);
}

.bank-logo-wide {
    width: 140px;
}

.bank-logo-item:hover .bank-logo {
    filter: grayscale(0%);
}

/* ====== ABOUT ====== */
.about.section {
    position: relative;
    overflow: hidden;
    background: var(--white);
}

/* ----- Video Background (Left Half) ----- */
.about-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    /* Mask on the container so video + overlay both fade together */
    -webkit-mask-image:
        linear-gradient(to right, black 0%, black 40%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 75%, rgba(0,0,0,0.05) 88%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to right, black 0%, black 40%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 75%, rgba(0,0,0,0.05) 88%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-composite: intersect;
}

.about-video-bg .about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Overlay divs hidden — mask handles blending */
.about-video-fade-right,
.about-video-fade-top,
.about-video-fade-bottom {
    display: none;
}

/* Subtle cinematic tint */
.about-video-bg .about-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.08);
    z-index: 1;
    pointer-events: none;
}

/* ----- Grid Layout ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-spacer {
    /* Empty spacer for left column where video background is */
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 3;
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-description {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 1.2rem;
    margin-top: 2px;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ====== SERVICES ====== */
.services {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.services-bg-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.services-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    /* Seamless blending on all edges */
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-composite: intersect;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(34, 34, 34,0.02), rgba(212,160,60,0.02));
}

.service-badge {
    position: absolute;
    top: 33px;
    right: -37px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 38px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(34, 34, 34,0.08), rgba(34, 34, 34,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-700);
    padding: 6px 0;
}

.service-features li i {
    color: var(--success);
    font-size: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* ====== WHY CHOOSE US ====== */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 36px;
}

.why-us-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.why-us-item:hover {
    background: var(--gray-50);
}

.why-us-item-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(34, 34, 34,0.1), rgba(212,160,60,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-us-item:hover .why-us-item-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.why-us-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.why-us-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.why-us-visual {
    display: flex;
    justify-content: center;
}

.why-us-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 1px solid var(--gray-200);
    width: 100%;
    max-width: 420px;
}

.satisfaction-ring {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 36px;
}

.satisfaction-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ring-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.ring-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

.mini-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 12px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.mini-stat i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
}

/* ====== HOW IT WORKS ====== */
.how-it-works {
    background: var(--gray-50);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 40px 28px;
    position: relative;
    flex: 1;
    max-width: 260px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(34, 34, 34, 0.06);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: -10px;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin: 0 auto 20px;
    box-shadow: 0 8px 30px rgba(34, 34, 34, 0.25);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(34, 34, 34, 0.35);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 100px;
    color: var(--gray-300);
    font-size: 1.25rem;
}

/* ====== COUNTER ====== */
.counter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,160,60,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.counter-item {
    text-align: center;
    position: relative;
}

.counter-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    display: inline;
    font-family: var(--font-heading);
}

.counter-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: inline;
}

.counter-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    font-weight: 500;
}

/* ====== TESTIMONIALS ====== */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 80px;
}

.testimonial-rating {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1.1rem;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.8;
    text-align: center;
    font-style: italic;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-200);
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 10px;
}

/* ====== REVIEW VIDEOS ====== */
.review-videos-section {
    margin-top: 64px;
}

.review-videos-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    margin-bottom: 32px;
}

.review-videos-title i {
    color: var(--secondary);
    margin-right: 8px;
}

.review-videos-wrapper {
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.review-videos-wrapper::before,
.review-videos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.review-videos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50) 0%, transparent 100%);
}

.review-videos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50) 0%, transparent 100%);
}

.review-videos-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollReviewVideos 60s linear infinite;
    padding: 8px 0 20px;
}

.review-videos-track:hover {
    animation-play-state: paused;
}

@keyframes scrollReviewVideos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-video-card {
    flex: 0 0 220px;
    height: 390px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-video-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.review-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, opacity 0.3s ease;
}

.review-video-overlay i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.review-video-card:hover .review-video-overlay {
    background: rgba(0, 0, 0, 0.15);
}

.review-video-card:hover .review-video-overlay i {
    transform: scale(1.15);
}

.review-video-card.playing .review-video-overlay {
    opacity: 0;
}

/* ====== CTA ====== */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,160,60,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== FAQ ====== */
.faq-grid {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(34, 34, 34, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ====== CONTACT ====== */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(34, 34, 34,0.1), rgba(34, 34, 34,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-detail h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.contact-form > p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 28px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.08);
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 0.95rem;
    color: var(--gray-500);
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 6px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select ~ label {
    top: -10px;
    left: 14px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group select {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b7b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.08);
}

.form-group input[readonly] {
    background-color: #f8f9fa;
    cursor: not-allowed;
    color: var(--gray-600);
}

.form-group input[readonly]:focus {
    border-color: var(--gray-300);
    background-color: #f8f9fa;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-three {
    display: flex;
    gap: 16px;
}

.form-row-three .form-group {
    flex: 1;
    min-width: 0;
}

.form-consent {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-600);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.footer-my {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credibro {
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
}

.footer-contact li i {
    color: var(--secondary);
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ====== WHATSAPP FLOAT ====== */
/* ====== BACK TO TOP ====== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(34, 34, 34, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ====== FORM SUCCESS MODAL ====== */
.form-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.form-success.show {
    display: flex;
}

.form-success-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    animation: modalSlide 0.4s ease;
}

@keyframes modalSlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.form-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: var(--success);
}

.form-success-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.form-success-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 28px;
}

/* ====== RESPONSIVE â€” TABLET ====== */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }
    .section-title { font-size: 2.2rem; }

    .nav-actions .btn { display: none; }

    .hero h1 { font-size: 3rem; }
    .hero-content { padding: 130px 20px 90px; }
    .hero-stats { padding: 24px 32px; gap: 28px; }

    .about-grid { gap: 48px; }
    .about-video-bg {
        width: 65%;
        -webkit-mask-image:
            linear-gradient(to right, black 0%, black 35%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 75%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
        mask-image:
            linear-gradient(to right, black 0%, black 35%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 75%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { gap: 48px; }
    .contact-grid { gap: 40px; }
    .form-row-three { gap: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .cta-card { padding: 60px 40px; }
    .testimonial-card { padding: 0 40px; }
    
    /* Bank Logos Tablet */
    .trusted-logos {
        animation: scrollLogos 25s linear infinite;
    }
    .trusted-logos-wrapper::before,
    .trusted-logos-wrapper::after {
        width: 70px;
    }
}

/* ====== RESPONSIVE â€” MOBILE ====== */
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-title { font-size: 1.85rem; }
    .section-header { margin-bottom: 48px; }

    .services-bg-video {
        display: none;
    }

    /* Navbar Mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 80px 24px;
        backdrop-filter: none;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--white);
        padding: 18px 48px;
        width: 100%;
        max-width: 350px;
        text-align: center;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        letter-spacing: 0.3px;
    }

    .nav-menu .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(212, 160, 60, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .nav-menu .nav-link:hover::before {
        left: 100%;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--secondary);
        background: rgba(212, 160, 60, 0.2);
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(212, 160, 60, 0.25);
    }

    .nav-toggle { display: flex; }
    .nav-phone { display: none; }
    .nav-actions .btn { display: none; }

    .nav-toggle.active span {
        background: var(--white) !important;
    }
    
    .navbar.scrolled .nav-toggle.active span {
        background: var(--white) !important;
    }
    
    /* Close button visibility */
    .nav-toggle.active {
        position: fixed;
        top: 24px;
        right: 24px;
        z-index: 1000;
    }

    /* Hero Mobile */
    .hero h1 { font-size: 2.2rem; letter-spacing: -0.3px; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }
    .hero-content { padding: 120px 16px 80px; }
    .hero-stats { 
        gap: 20px; 
        padding: 20px 24px;
        border-radius: var(--radius-md);
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-stat { flex: 0 1 auto; min-width: 110px; }
    .hero-stat-number { font-size: 1.5rem; }
    .hero-stat-label { font-size: 0.7rem; }
    .hero-stat-divider { display: none; }
    .hero-badge { font-size: 0.72rem; padding: 8px 16px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 320px; }
    .hero-scroll { display: none; }
    .hero-gradient-bottom { height: 180px; }
    .hero-vignette { box-shadow: inset 0 0 120px 30px rgba(0, 0, 0, 0.5); }
    .hero-trust-bar { 
        gap: 12px 16px;
        margin-bottom: 32px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .trust-item { font-size: 0.72rem; }
    .hero-video { 
        object-position: center center;
        transform: scale(1.15);
    }
    @keyframes heroVideoZoom {
        0% { transform: scale(1.15); }
        100% { transform: scale(1.25); }
    }
    .particle:nth-child(4), .particle:nth-child(5), .particle:nth-child(6) { display: none; }

    /* Trusted/Bank Logos */
    .trusted-logos-wrapper::before,
    .trusted-logos-wrapper::after {
        width: 50px;
    }
    
    .trusted-logos { 
        gap: 32px;
        animation: scrollLogos 25s linear infinite;
    }
    
    .bank-logo { 
        height: 32px;
        width: auto;
    }
    
    .bank-logo-wide {
        height: 32px;
        width: auto;
    }

    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-spacer {
        display: none;
    }

    .about-video-bg {
        position: relative;
        width: 100%;
        height: 350px;
        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 8%, black 18%, black 82%, rgba(0,0,0,0.4) 92%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 8%, black 18%, black 75%, rgba(0,0,0,0.4) 90%, transparent 100%);
        mask-image:
            linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 8%, black 18%, black 82%, rgba(0,0,0,0.4) 92%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 8%, black 18%, black 75%, rgba(0,0,0,0.4) 90%, transparent 100%);
    }

    .about-experience-badge {
        bottom: 60px;
        left: 20px;
        padding: 14px 18px;
    }

    .exp-number { font-size: 1.8rem; }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card { 
        padding: 32px 24px;
        margin: 0; /* Prevent overflow */
    }
    
    .service-header h3 {
        font-size: 1.3rem;
    }

    /* Why Us Mobile */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-us-item { padding: 16px; }
    .why-us-card { max-width: 100%; padding: 36px 24px; }

    /* Steps Mobile */
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        padding-top: 0;
        transform: rotate(90deg);
        padding: 10px 0;
    }

    .step-card {
        max-width: 100%;
        padding: 24px 16px;
    }

    /* Counter Mobile */
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .counter-number { font-size: 2.2rem; }

    /* Testimonials Mobile */
    .testimonial-card { padding: 0 16px; }
    .testimonial-text { font-size: 1rem; }

    .review-videos-section { margin-top: 40px; }
    .review-videos-title { font-size: 1.1rem; margin-bottom: 20px; }
    .review-video-card {
        flex: 0 0 160px;
        height: 280px;
    }
    .review-video-overlay i { font-size: 1.8rem; }
    .review-videos-track { animation-duration: 40s; }
    .review-videos-wrapper::before,
    .review-videos-wrapper::after { width: 40px; }
    
    /* FAQ Mobile */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .faq-item {
        padding: 20px 16px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding-right: 40px; /* Space for icon */
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }

    /* CTA Mobile */
    .cta-card { padding: 48px 24px; }
    .cta-content h2 { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper { padding: 32px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-three { gap: 8px; }
    
    /* Form Elements Mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 14px 16px;
        min-height: 48px; /* Better touch targets */
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .btn {
        min-height: 48px; /* Better touch targets */
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        min-height: 54px;
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    /* Success Modal Mobile */
    .form-success-content {
        padding: 40px 24px;
    }
    
    .form-success-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-links { gap: 16px; }

    /* Floating Button */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ====== RESPONSIVE â€” SMALL MOBILE ====== */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.65rem; }
    .section-title { font-size: 1.6rem; }
    .hero-stats { 
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px 20px;
        justify-content: center;
        padding: 16px 20px;
    }
    .hero-stat { flex: 0 1 auto; min-width: 100px; }
    .hero-stat-divider { display: none; }
    .hero-content { padding: 110px 12px 70px; }
    .hero-trust-bar { 
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px 16px;
        justify-content: center;
    }
    .trust-item { font-size: 0.7rem; }
    .counter-number { font-size: 1.8rem; }
    .counter-grid { gap: 24px; }
    .hero-badge { font-size: 0.65rem; padding: 6px 14px; gap: 6px; }
    .hero-gradient-bottom { height: 140px; }
    
    /* Bank Logos Small Mobile */
    .bank-logo { height: 28px; }
    .bank-logo-wide { height: 28px; }
    .trusted-logos { 
        gap: 24px;
        animation: scrollLogos 20s linear infinite;
    }
    .trusted-logos-wrapper::before,
    .trusted-logos-wrapper::after {
        width: 30px;
    }
    
    /* Navigation Small Mobile */
    .nav-menu .nav-link {
        font-size: 1.25rem;
        padding: 14px 32px;
    }
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth reveal for AOS */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Selection styling */
::selection {
    background: rgba(34, 34, 34, 0.15);
    color: var(--dark);
}

/* Scrollbar — hidden but scrolling still works */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Name group heading above First/Middle/Last */
.form-name-group {
    margin-bottom: 0;
}

.form-name-heading {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.form-name-group .form-row-three {
    margin-bottom: 0;
}

/* ====== INELIGIBLE MESSAGE ====== */
.ineligible-message {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 2px solid rgba(255, 80, 80, 0.4);
    border-radius: 20px;
    margin-top: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 40px rgba(255, 80, 80, 0.15), 0 0 0 1px rgba(255, 80, 80, 0.1);
    animation: ineligibleFadeIn 0.6s ease;
    position: relative;
    z-index: 10;
}

@keyframes ineligibleFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.ineligible-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 80, 80, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #ff5050;
}

.ineligible-message h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #ff5050;
    margin-bottom: 12px;
}

.ineligible-message p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    line-height: 1.6;
}

.ineligible-message .ineligible-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.ineligible-message .ineligible-note a {
    color: var(--gold);
    text-decoration: underline;
}

/* ====== SALARY/ITR FIELD TRANSITION ====== */
.salary-itr-field {
    transition: all 0.3s ease;
}
