/* ========================================
   BLOOMIFY SOURCING - MAIN STYLESHEET
   ======================================== */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d1117;
    --bg-card: #13131a;
    --color-purple: #6c63ff;
    --color-cyan: #00d4ff;
    --color-purple-dim: rgba(108, 99, 255, 0.15);
    --color-cyan-dim: rgba(0, 212, 255, 0.15);
    --gradient: linear-gradient(135deg, #6c63ff, #00d4ff);
    --gradient-text: linear-gradient(135deg, #6c63ff, #00d4ff);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(108, 99, 255, 0.4);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 30px rgba(108, 99, 255, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* ---- CUSTOM CURSOR ---- */
.cursor-glow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(108, 99, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--color-purple);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--color-purple);
}


/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

.highlight {
    color: var(--color-cyan);
    font-weight: 600;
}

/* ---- LAYOUT ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

/* ---- SECTION HEADER ---- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--color-purple-dim);
    color: var(--color-purple);
    border: 1px solid rgba(108, 99, 255, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00d4ff, #6c63ff);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--text-primary);
    padding: 0.9rem 2rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}
/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: transparent;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.35s ease,
                backdrop-filter 0.35s ease,
                padding 0.35s ease,
                box-shadow 0.35s ease;
    will-change: transform;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.97) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(108, 99, 255, 0.15) !important;
    padding: 0.7rem 0 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6) !important;
}

.navbar.nav-hidden {
    transform: translateY(-110%);
}

.navbar.nav-visible {
    transform: translateY(0);
}

/* ---- SHARED NAV CONTAINER ---- */
.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* ---- LOGO ---- */
.nav-logo,
.footer-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);
    transition: var(--transition);
}

.nav-logo:hover .logo-icon,
.footer-logo:hover .logo-icon {
    box-shadow: 0 0 25px rgba(108, 99, 255, 0.8);
    transform: rotate(15deg) scale(1.1);
}

.logo-bloom {
    background: linear-gradient(135deg, #ffffff 0%, #a8b4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-source {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

/* ---- NAV LINKS ---- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    flex: 0 0 auto;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.nav-cta:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 999px;
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    display: block;
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

.mobile-cta {
    background: var(--gradient) !important;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    text-align: center;
    font-weight: 600 !important;
}

/* ---- HERO SECTION ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(108, 99, 255, 0.12);
    top: -100px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 212, 255, 0.08);
    bottom: -50px;
    left: -50px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(108, 99, 255, 0.06);
    top: 50%;
    left: 50%;
    animation: orbFloat 6s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 15px) scale(0.95); }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    padding-top: 6rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.25);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--color-purple);
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeInDown 0.8s ease forwards;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--color-purple);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
    box-shadow: 0 0 8px var(--color-purple);
}

@keyframes pulse {
transform: scale(0.9);   /* a little zoomed out */
transform: scale(0.8);   /* more zoomed out */
transform: scale(0.7);   /* very zoomed out */
    50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 999px;
    animation: fadeInUp 0.8s ease 0.8s both;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.trust-item i {
    color: var(--color-cyan);
    font-size: 0.75rem;
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-purple), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- STATS SECTION ---- */
.stats {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 0.5rem;
}

.counter {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-cyan);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ---- PROBLEM SECTION ---- */
.problem {
    background: var(--bg-primary);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.problem-left .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.problem-left .section-desc {
    text-align: left;
    margin: 0 0 2rem;
}

.problem-left .section-tag {
    display: inline-block;
    margin-bottom: 1rem;
}

.pain-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.pain-card:hover {
    border-color: rgba(255, 80, 80, 0.3);
    transform: translateX(8px);
}

.pain-icon {
    color: #ff5050;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.pain-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.pain-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ---- SERVICES SECTION ---- */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-card.featured {
    border-color: rgba(108, 99, 255, 0.4);
    background: linear-gradient(135deg,
        rgba(108, 99, 255, 0.08),
        rgba(0, 212, 255, 0.05));
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.featured-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--gradient);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--color-purple-dim);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-purple);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 0.3rem 0;
}

.service-features li i {
    color: var(--color-cyan);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-purple);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.card-link:hover {
    gap: 0.8rem;
    color: var(--color-cyan);
}

/* ---- WHY US SECTION ---- */
.why-us {
    background: var(--bg-primary);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-left .section-title {
    text-align: left;
}

.why-left .section-desc {
    text-align: left;
    margin: 0 0 2.5rem;
}

.why-left .section-tag {
    display: inline-block;
    margin-bottom: 1rem;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.point-icon {
    width: 44px;
    height: 44px;
    background: var(--color-purple-dim);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-purple);
    font-size: 1rem;
    flex-shrink: 0;
}

.point-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.point-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(108, 99, 255, 0.08);
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.comp-col:last-child {
    color: var(--color-purple);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: var(--transition);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: rgba(108, 99, 255, 0.04);
}

.comp-feature {
    font-size: 0.9rem;
    font-weight: 500;
}

.comp-other {
    color: #ff5050;
    text-align: center;
    width: 60px;
}

.comp-us {
    color: var(--color-cyan);
    text-align: center;
    width: 60px;
    font-size: 1rem;
}

/* ---- PROCESS SECTION ---- */
.process {
    background: var(--bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 3rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, var(--color-purple), var(--color-cyan));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--color-purple);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.6;
}

/* ---- INDUSTRIES SECTION ---- */
.industries {
    background: var(--bg-primary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.industry-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.industry-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.industry-card:hover h4 {
    color: var(--text-primary);
}

/* ---- TESTIMONIALS ---- */
.testimonials {
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 1rem);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 0.2rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.author-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.slider-btn:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-purple);
    width: 20px;
    border-radius: 999px;
    box-shadow: 0 0 10px var(--color-purple);
}

/* ---- CTA SECTION ---- */
.cta-section {
    background: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(108, 99, 255, 0.12);
    top: -100px;
    left: -100px;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 212, 255, 0.08);
    bottom: -50px;
    right: -50px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1rem 0;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    margin-top: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.contact-item i {
    color: var(--color-purple);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    background: var(--gradient);
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1.2rem;
    transition: var(--transition);
}

.footer-cta:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
    transform: translateY(-2px);
}

/* ---- KEYFRAMES ---- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- REAL WORK SECTION ---- */
.real-work {
    background: var(--bg-primary);
    padding: 100px 0;
}

.real-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.real-work-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.real-work-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.real-work-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.real-work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.85);
}

.real-work-card:hover .real-work-image img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent);
    padding: 1.5rem 1rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.real-work-content {
    padding: 1.5rem;
}

.real-work-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    transition: var(--transition);
}

.real-work-card:hover .real-work-content h4 {
    color: var(--color-purple);
}

.real-work-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .real-work-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .real-work-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- GLOBAL REACH SECTION ---- */
.global-reach {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;  /* ← this makes both sides same height */
}

.country-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.country-item:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
}

.country-flag {
    font-size: 2rem;
    flex-shrink: 0;
}

.country-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.country-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.global-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.global-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: brightness(0.8);
    border: 1px solid var(--border);
}

.global-image-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}

.global-image-card i {
    font-size: 1.8rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gic-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gic-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .global-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .global-image-wrapper img {
        height: 300px;
    }
}/* ===== NAVBAR LOGO - UNIFIED ACROSS ALL PAGES ===== */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

.nav-logo .logo-bloom {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo .logo-source {
    font-size: 16px;
    font-weight: 400;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-logo .logo-bloom {
        font-size: 22px;
    }
    .nav-logo .logo-source {
        font-size: 14px;
    }
}
/* ===== BLOOMIFY SOURCING LOGO ===== */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-icon-wrap {
    width: 42px;
    height: 42px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.nav-logo:hover .logo-icon-wrap {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.logo-globe {
    width: 28px;
    height: 28px;
    transition: transform 0.6s ease;
}

.nav-logo:hover .logo-globe {
    transform: rotate(360deg);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo .logo-bloom {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.nav-logo .logo-source {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #a78bfa;
    letter-spacing: 3px;
    margin-top: 3px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo-icon-wrap {
        width: 36px;
        height: 36px;
    }
    .logo-globe {
        width: 24px;
        height: 24px;
    }
    .nav-logo .logo-bloom {
        font-size: 18px;
    }
    .nav-logo .logo-source {
        font-size: 8px;
        letter-spacing: 2px;
    }
}
/* ========================================
   HIGHLIGHTED INDUSTRY CARD (Inspection & Shipment)
   ======================================== */

.industry-card.highlight-card {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(108, 99, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.industry-card.highlight-card::before {
    content: 'NEW';
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #6c63ff, #00d4ff);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
    z-index: 1;
}

.industry-card.highlight-card:hover {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(0, 212, 255, 0.1));
    border-color: rgba(108, 99, 255, 0.7);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.2);
}

.industry-card.highlight-card .industry-icon {
    background: linear-gradient(135deg, #6c63ff, #00d4ff);
    color: white;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

.industry-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
    line-height: 1.5;
    padding: 0 0.5rem;
}

/* ========================================
   TESTIMONIAL CARDS - ENHANCED
   ======================================== */

.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.review-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    color: #6c63ff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.review-platform-badge i {
    color: #00d4ff;
    font-size: 0.8rem;
}

/* Small flag inside review country */
.flag-small {
    display: inline-block;
    width: 18px !important;
    height: 13px !important;
    border-radius: 2px;
    margin-right: 6px;
    vertical-align: middle;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonial-author span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Testimonial card improvements */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    color: rgba(108, 99, 255, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: 0 20px 50px rgba(108, 99, 255, 0.15);
}

.testimonial-card:hover::before {
    color: rgba(108, 99, 255, 0.15);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .testimonial-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .industry-card.highlight-card::before {
        top: 8px;
        right: 8px;
        font-size: 0.55rem;
        padding: 3px 8px;
    }
    
    .industry-desc {
        font-size: 0.7rem;
    }
}/* ========================================
   TESTIMONIALS SLIDER - PROFESSIONAL
   ======================================== */

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6c63ff, #00d4ff);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: 0;
}

.slider-btn i {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.slider-btn:hover {
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

.slider-btn:hover::before {
    transform: scale(1);
}

.slider-btn:hover i {
    color: white;
}

.slider-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot:hover {
    background: rgba(108, 99, 255, 0.5);
    transform: scale(1.2);
}

.slider-dot.active {
    width: 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, #6c63ff, #00d4ff);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);
}

/* Auto-slide pause indicator on hover */
.testimonials-slider:hover {
    cursor: grab;
}

.testimonials-slider:active {
    cursor: grabbing;
}

/* Add a subtle progress indicator */
.testimonials-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonials-slider:hover::after {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 100%;
        padding: 1.5rem;
    }
    
    .slider-btn {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }
    
    .slider-controls {
        gap: 1rem;
    }
}

/* Smooth transition for cards */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animation hint - subtle pulsing on arrows when idle */
@keyframes arrowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0); }
    50% { box-shadow: 0 0 0 8px rgba(108, 99, 255, 0.1); }
}

.slider-btn.next {
    animation: arrowPulse 2s ease-in-out infinite;
}


/* ========================================
   CUSTOM REQUEST MODAL
   ======================================== */

.custom-request-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.custom-request-modal.active {
    display: flex;
    animation: crFadeIn 0.3s ease;
}

@keyframes crFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cr-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
}

.cr-modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(108, 99, 255, 0.2);
    animation: crSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes crSlideUp {
    from { 
        opacity: 0; 
        transform: translateY(40px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Scrollbar styling */
.cr-modal-content::-webkit-scrollbar {
    width: 8px;
}

.cr-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.cr-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6c63ff, #00d4ff);
    border-radius: 4px;
}

/* Close button */
.cr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.cr-modal-close:hover {
    background: #ff6363;
    color: white;
    transform: rotate(90deg);
}

/* Modal Header */
.cr-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cr-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6c63ff, #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
    animation: bouncePulse 2s ease infinite;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

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

.cr-badge {
    display: inline-block;
    background: rgba(108, 99, 255, 0.15);
    color: #6c63ff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(108, 99, 255, 0.3);
}

.cr-modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cr-modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Trust bar */
.cr-trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: rgba(108, 99, 255, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.cr-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.cr-trust-item i {
    color: #00d4ff;
    font-size: 1rem;
}

/* Form */
.cr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cr-form-group {
    margin-bottom: 1.2rem;
}

.cr-form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cr-form-group label i {
    color: #6c63ff;
    width: 16px;
}

.cr-form-group input,
.cr-form-group select,
.cr-form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.cr-form-group input:focus,
.cr-form-group select:focus,
.cr-form-group textarea:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

.cr-form-group input::placeholder,
.cr-form-group textarea::placeholder {
    color: var(--text-muted);
}

.cr-form-group select {
    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='%236c63ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.cr-form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.cr-form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Inter', sans-serif;
}

/* Checkbox Grid */
.cr-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: 0.3rem;
}

.cr-checkbox {
    cursor: pointer;
    position: relative;
}

.cr-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.cr-checkbox span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.cr-checkbox span i {
    color: #6c63ff;
    width: 16px;
}

.cr-checkbox:hover span {
    border-color: rgba(108, 99, 255, 0.4);
    background: rgba(108, 99, 255, 0.05);
}

.cr-checkbox input[type="checkbox"]:checked + span {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(0, 212, 255, 0.1));
    border-color: #6c63ff;
    color: white;
}

.cr-checkbox input[type="checkbox"]:checked + span i {
    color: #00d4ff;
}

/* File Upload */
.cr-file-upload {
    border: 2px dashed rgba(108, 99, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.cr-file-upload:hover {
    border-color: #6c63ff;
    background: rgba(108, 99, 255, 0.05);
}

.cr-file-upload i {
    font-size: 2rem;
    color: #6c63ff;
    margin-bottom: 0.5rem;
    display: block;
}

.cr-file-upload p {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.cr-file-upload small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.cr-file-list {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cr-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
}

.cr-file-item .cr-file-name {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cr-file-item .cr-file-remove {
    background: none;
    border: none;
    color: #ff6363;
    cursor: pointer;
    padding: 4px;
}

/* Submit Section */
.cr-submit-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.cr-submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #6c63ff, #00d4ff);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.cr-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.cr-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.5);
}

.cr-submit-btn:hover::before {
    left: 100%;
}

.cr-submit-btn .btn-text,
.cr-submit-btn .btn-loading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cr-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* OR Divider */
.cr-or-divider {
    text-align: center;
    margin: 1.2rem 0;
    position: relative;
}

.cr-or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.cr-or-divider span {
    background: var(--bg-card);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

/* WhatsApp button */
.cr-whatsapp-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.cr-whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.cr-privacy-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.cr-privacy-note i {
    color: #6c63ff;
}

/* Success State */
.cr-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.cr-success.active {
    display: block;
    animation: crSlideUp 0.5s ease;
}

.cr-success-icon {
    font-size: 5rem;
    color: #00d4ff;
    margin-bottom: 1rem;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.cr-success h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cr-success p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cr-success p strong {
    color: #00d4ff;
}

.cr-success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cr-success-btn {
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.cr-success-btn-primary {
    background: #25D366;
    color: white;
}

.cr-success-btn-primary:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.cr-success-btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.cr-success-btn-secondary:hover {
    background: rgba(108, 99, 255, 0.1);
    border-color: #6c63ff;
}

.cr-success-note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-request-float {
        bottom: 100px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .cr-tooltip {
        display: none;
    }
    
    .cr-modal-content {
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    .cr-form-row {
        grid-template-columns: 1fr;
    }
    
    .cr-checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .cr-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .cr-icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cr-trust-bar {
        flex-direction: column;
        gap: 0.6rem;
    }
}/* ========================================
   PAYMENT REDIRECT BANNER
   ======================================== */

.payment-redirect-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 2px solid rgba(108, 99, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    animation: bannerSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.15);
}

@keyframes bannerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prb-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
    animation: bannerPulse 2s ease infinite;
}

@keyframes bannerPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 5px 30px rgba(108, 99, 255, 0.5);
    }
}

.prb-content {
    flex: 1;
}

.prb-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prb-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.prb-close {
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.prb-close:hover {
    background: #ff6363;
    color: white;
    transform: rotate(90deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .payment-redirect-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .prb-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .prb-content h3 {
        font-size: 1.05rem;
    }
    
    .prb-content p {
        font-size: 0.85rem;
    }
}/* ===== PREMIUM FOOTER CONTACT ===== */
.footer-contact h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-contact .contact-item:hover {
    color: #a78bfa;
    transform: translateX(4px);
}

.footer-contact .contact-item i {
    width: 32px;
    height: 32px;
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-contact .contact-item:hover i {
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    border-color: transparent;
    color: #fff;
    transform: scale(1.05);
}

/* ===== FOUNDER / CEO BADGE ===== */
.founder-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    margin: 1.2rem 0 1.5rem 0;
    background: linear-gradient(135deg, 
        rgba(167, 139, 250, 0.08) 0%, 
        rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.founder-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(167, 139, 250, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.founder-badge:hover {
    border-color: rgba(167, 139, 250, 0.4);
    background: linear-gradient(135deg, 
        rgba(167, 139, 250, 0.12) 0%, 
        rgba(99, 102, 241, 0.08) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.15);
}

.founder-badge:hover::before {
    left: 100%;
}

/* CEO Avatar Circle */
.founder-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.founder-initials {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Animated green "online" dot */
.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #0f0f1a;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.founder-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.founder-label {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.founder-name {
    color: rgba(167, 139, 250, 0.85);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== START A PROJECT CTA (Enhanced) ===== */
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, #c4b5fd 0%, #818cf8 100%);
}
/* ============================================
   GLOBAL REACH — VIDEO REPLACEMENT
============================================ */

.global-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;          /* fills full height of parent */
    min-height: 620px;     /* minimum height */
    border-radius: 20px;
    overflow: hidden;
    background: #0a0a1a;
}

/* The video itself */
.global-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* zoomed out / centered */
    transform: translate(-50%, -50%) scale(0.95); /* slight zoom OUT */
}

/* Dark gradient overlay on top of video */
.global-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 0, 20, 0.25) 0%,
        rgba(5, 0, 20, 0.60) 100%
    );
    z-index: 1;
}

/* Bottom-left stats card */
.global-image-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(5, 0, 20, 0.80);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 14px;
    padding: 16px 22px;
}

.global-image-card i {
    font-size: 1.4rem;
    color: #a78bfa;
}

.gic-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.gic-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 3px;
}

/* Top-right live badge */
.global-video-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 0, 20, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 50px;
    padding: 7px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}

.gvb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
    animation: livePulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .global-video-wrapper {
        height: 320px;
    }
}/* Make video side fill full height */
.global-image {
    display: flex;
    flex-direction: column;
}

.global-video-wrapper {
    flex: 1;              /* stretches to fill available space */
    min-height: 620px;
}

/* Fix the video inside */
.global-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);  /* no zoom — shows full video */
}/* ============================================
   FOUNDER SECTION — UPGRADED STYLING
============================================ */

/* Highlighted important paragraphs */
.founder-highlight {
    color: rgba(255, 255, 255, 0.90) !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    border-left: 3px solid #a78bfa;
    padding-left: 16px;
    margin-left: 0;
}

/* The "Good people. Good products. Bad suppliers." line */
.founder-pain-line {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.founder-pain-line span {
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.20);
    border-radius: 50px;
    padding: 6px 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* Signature block at bottom */
.founder-signature {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.signature-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.signature-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #a78bfa;
    font-weight: 500;
    margin-bottom: 2px;
}

.signature-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.80rem;
    color: rgba(255, 255, 255, 0.40);
}
/* ============================================
   EPIC LOADER — FULL CINEMATIC ANIMATION
============================================ */

#loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #05031a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ── Canvas particle field ── */
#loaderCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* ── Ripple rings ── */
.loader-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.l-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(167,139,250,0.15);
    animation: ringExpand 4s ease-out infinite;
}

.l-ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.l-ring-2 { width: 350px; height: 350px; animation-delay: 1s; }
.l-ring-3 { width: 500px; height: 500px; animation-delay: 2s; }
.l-ring-4 { width: 650px; height: 650px; animation-delay: 3s; }

@keyframes ringExpand {
    0%   { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ── Main core ── */
.loader-core {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Globe wrapper ── */
.loader-globe-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    animation: globeFloat 3s ease-in-out infinite;
}

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

.loader-globe-svg {
    width: 140px;
    height: 140px;
    animation: globeSpin 12s linear infinite;
    filter: drop-shadow(0 0 20px rgba(99,102,241,0.5));
}

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

/* Globe inner elements counter-spin */
.globe-ellipse-h {
    animation: counterSpin 8s linear infinite;
    transform-origin: 60px 60px;
}

.globe-ellipse-v {
    animation: counterSpin 6s linear infinite reverse;
    transform-origin: 60px 60px;
}

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

/* Pulsing dots */
.orbit-dot-1 {
    animation: dotPulse 1.5s ease-in-out infinite;
}
.orbit-dot-2 {
    animation: dotPulse 1.5s ease-in-out infinite 0.4s;
}
.orbit-dot-3 {
    animation: dotPulse 1.5s ease-in-out infinite 0.8s;
}
.orbit-dot-4 {
    animation: dotPulse 1.5s ease-in-out infinite 1.2s;
}

@keyframes dotPulse {
    0%, 100% { r: 3; opacity: 1; }
    50%       { r: 5; opacity: 0.6; }
}

/* Center pulse */
.center-pulse {
    animation: centerGlow 2s ease-in-out infinite;
}

@keyframes centerGlow {
    0%, 100% { opacity: 1; r: 5; }
    50%       { opacity: 0.5; r: 8; }
}

/* Globe main circle dash animation */
.globe-main-circle {
    stroke-dasharray: 289;
    stroke-dashoffset: 289;
    animation: drawCircle 2s ease forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

/* Orbit rings around globe */
.globe-orbit-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px dashed rgba(167,139,250,0.25);
    animation: orbitSpin 8s linear infinite;
}

.globe-orbit-ring-2 {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 1px dashed rgba(99,102,241,0.15);
    animation: orbitSpin 12s linear infinite reverse;
}

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

/* Small satellite dot on orbit ring */
.globe-orbit-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a78bfa;
    box-shadow: 0 0 12px #a78bfa, 0 0 24px rgba(167,139,250,0.5);
}

.globe-orbit-ring-2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 30%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8, 0 0 20px rgba(56,189,248,0.5);
}

/* ── Brand text ── */
.loader-brand {
    text-align: center;
    margin-bottom: 28px;
}

.loader-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Each letter animates in separately */
.loader-brand-name span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: letterDrop 0.5s ease forwards;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lb-b  { animation-delay: 0.3s; }
.lb-l  { animation-delay: 0.4s; }
.lb-o  { animation-delay: 0.5s; }
.lb-o2 { animation-delay: 0.6s; }
.lb-m  { animation-delay: 0.7s; }
.lb-i  { animation-delay: 0.8s; }
.lb-f  { animation-delay: 0.9s; }
.lb-y  { animation-delay: 1.0s; }

@keyframes letterDrop {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.loader-brand-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: rgba(167,139,250,0.7);
    margin-top: 6px;
    opacity: 0;
    animation: fadeSlideUp2 0.8s ease 1.2s forwards;
}

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

/* ── Progress bar ── */
.loader-progress-wrap {
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeSlideUp2 0.6s ease 1.4s forwards;
}

.loader-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: visible;
    position: relative;
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a78bfa, #38bdf8);
    border-radius: 10px;
    transition: width 0.1s linear;
    position: relative;
}

/* Glowing tip of progress bar */
.loader-progress-fill::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a78bfa;
    box-shadow: 0 0 8px #a78bfa, 0 0 16px rgba(167,139,250,0.6);
}

.loader-progress-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(167,139,250,0.8);
    letter-spacing: 0.05em;
}

/* ── Status text ── */
.loader-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    margin-top: 10px;
    letter-spacing: 0.04em;
    opacity: 0;
    animation: fadeSlideUp2 0.6s ease 1.6s forwards;
    min-height: 20px;
}

/* ── Trade route lines ── */
.trade-routes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.trade-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167,139,250,0.4), transparent);
    animation: tradeMove 4s linear infinite;
}

.tl-1 { width: 300px; top: 20%; left: -300px; animation-delay: 0s; }
.tl-2 { width: 200px; top: 35%; left: -200px; animation-delay: 0.8s; opacity: 0.6; }
.tl-3 { width: 400px; top: 55%; left: -400px; animation-delay: 1.6s; }
.tl-4 { width: 250px; top: 70%; left: -250px; animation-delay: 2.4s; opacity: 0.5; }
.tl-5 { width: 180px; top: 85%; left: -180px; animation-delay: 3.2s; opacity: 0.4; }

@keyframes tradeMove {
    from { left: -500px; }
    to   { left: 120%; }
}

/* ── Corner decorations ── */
.loader-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.4;
}

.lc-tl {
    top: 24px; left: 24px;
    border-top: 2px solid #a78bfa;
    border-left: 2px solid #a78bfa;
}
.lc-tr {
    top: 24px; right: 24px;
    border-top: 2px solid #a78bfa;
    border-right: 2px solid #a78bfa;
}
.lc-bl {
    bottom: 24px; left: 24px;
    border-bottom: 2px solid #6366f1;
    border-left: 2px solid #6366f1;
}
.lc-br {
    bottom: 24px; right: 24px;
    border-bottom: 2px solid #6366f1;
    border-right: 2px solid #6366f1;
}
/* ============================================
   FLOATING BUTTONS - FINAL FIX (OVERRIDES ALL)
   Both buttons perfectly aligned at bottom
   ============================================ */

/* WhatsApp Button - Bottom Right */
.whatsapp-float,
a.whatsapp-float,
body .whatsapp-float,
html body .whatsapp-float {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    top: auto !important;
    left: auto !important;
    width: 55px !important;
    height: 55px !important;
    background: #25D366 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    text-decoration: none !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    animation: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6) !important;
    animation: none !important;
}
/* Hide tooltips - cleaner look */
.whatsapp-tooltip,
.cr-tooltip {
    display: none !important;
}

/* Mobile - smaller sizes */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .custom-request-float {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}



document.addEventListener('DOMContentLoaded', function () {

    // ---- CUSTOM CURSOR ----
    const cursorGlow = document.querySelector('.cursor-glow');
    const cursorDot = document.querySelector('.cursor-dot');

    let mouseX = 0;
    let mouseY = 0;
    let glowX = 0;
    let glowY = 0;

    document.addEventListener('mousemove', function (e) {
        mouseX = e.clientX;
        mouseY = e.clientY;

        if (cursorDot) {
            cursorDot.style.left = mouseX + 'px';
            cursorDot.style.top = mouseY + 'px';
        }
    });

    function animateCursor() {
        glowX += (mouseX - glowX) * 0.12;
        glowY += (mouseY - glowY) * 0.12;

        if (cursorGlow) {
            cursorGlow.style.left = glowX + 'px';
            cursorGlow.style.top = glowY + 'px';
        }

        requestAnimationFrame(animateCursor);
    }

    animateCursor();

    const hoverTargets = document.querySelectorAll('a, button, .service-card, .industry-card');

    hoverTargets.forEach(el => {
        el.addEventListener('mouseenter', () => {
            if (cursorGlow) {
                cursorGlow.style.transform = 'translate(-50%, -50%) scale(2)';
                cursorGlow.style.borderColor = 'rgba(0, 212, 255, 0.8)';
                cursorGlow.style.background = 'rgba(0, 212, 255, 0.05)';
            }
            if (cursorDot) {
                cursorDot.style.transform = 'translate(-50%, -50%) scale(0)';
            }
        });

        el.addEventListener('mouseleave', () => {
            if (cursorGlow) {
                cursorGlow.style.transform = 'translate(-50%, -50%) scale(1)';
                cursorGlow.style.borderColor = 'rgba(108, 99, 255, 0.5)';
                cursorGlow.style.background = 'transparent';
            }
            if (cursorDot) {
                cursorDot.style.transform = 'translate(-50%, -50%) scale(1)';
            }
        });
    });


    // Always make sure scroll is unlocked
    // on pages without loader
    if (!loader) {
        document.body.style.overflow = 'auto';
    }

    // ---- NAVBAR SCROLL ----
    const navbar = document.getElementById('navbar');
    let lastScroll = 0;

    window.addEventListener('scroll', function () {
        const currentScroll = window.scrollY;

        if (currentScroll > 50) {
            navbar.classList.add('scrolled');
        } else {
            navbar.classList.remove('scrolled');
        }

        if (currentScroll > lastScroll && currentScroll > 300) {
            navbar.style.transform = 'translateY(-100%)';
        } else {
            navbar.style.transform = 'translateY(0)';
        }

        lastScroll = currentScroll;
    });

    // ---- MOBILE MENU ----
    const hamburger = document.getElementById('hamburger');
    const mobileMenu = document.getElementById('mobileMenu');

    if (hamburger && mobileMenu) {
        hamburger.addEventListener('click', function () {
            hamburger.classList.toggle('active');
            mobileMenu.classList.toggle('active');
        });

        // Close on link click
        const mobileLinks = mobileMenu.querySelectorAll('a');
        mobileLinks.forEach(link => {
            link.addEventListener('click', () => {
                hamburger.classList.remove('active');
                mobileMenu.classList.remove('active');
            });
        });
    }

    // ---- BACK TO TOP ----
    const backToTop = document.getElementById('backToTop');

    window.addEventListener('scroll', function () {
        if (backToTop) {
            if (window.scrollY > 500) {
                backToTop.classList.add('visible');
            } else {
                backToTop.classList.remove('visible');
            }
        }
    });

    if (backToTop) {
        backToTop.addEventListener('click', function () {
            window.scrollTo({ top: 0, behavior: 'smooth' });
        });
    }

    // ---- ACTIVE NAV LINK ----
    const sections = document.querySelectorAll('section[id]');
    const navLinks = document.querySelectorAll('.nav-link');

    window.addEventListener('scroll', function () {
        let current = '';

        sections.forEach(section => {
            const sectionTop = section.offsetTop - 100;
            if (window.scrollY >= sectionTop) {
                current = section.getAttribute('id');
            }
        });

        navLinks.forEach(link => {
            link.classList.remove('active');
            if (link.getAttribute('href').includes(current)) {
                link.classList.add('active');
            }
        });
    });

    // ---- COUNTERS ----
    const counters = document.querySelectorAll('.counter');
    const statsSection = document.getElementById('stats');
    let countersStarted = false;

    if (statsSection) {
        const counterObserver = new IntersectionObserver(entries => {
            if (entries[0].isIntersecting && !countersStarted) {
                countersStarted = true;

                counters.forEach(counter => {
                    const target = parseInt(counter.getAttribute('data-target'));
                    let count = 0;
                    const step = Math.ceil(target / 80);

                    const interval = setInterval(() => {
                        count += step;
                        if (count >= target) {
                            count = target;
                            clearInterval(interval);
                        }
                        counter.textContent = count;
                    }, 20);
                });
            }
        }, { threshold: 0.5 });

        counterObserver.observe(statsSection);
    }

    // ---- SCROLL REVEAL ----
    const aosElements = document.querySelectorAll('[data-aos]');

    const scrollObserver = new IntersectionObserver(function (entries) {
        entries.forEach(entry => {
            if (entry.isIntersecting) {
                const delay = entry.target.getAttribute('data-delay') || 0;
                setTimeout(() => {
                    entry.target.classList.add('aos-animated');
                }, parseInt(delay));
                scrollObserver.unobserve(entry.target);
            }
        });
    }, {
        threshold: 0.05,
        rootMargin: '0px 0px 0px 0px'
    });

    aosElements.forEach(el => scrollObserver.observe(el));

    // Show elements already visible on screen
    setTimeout(() => {
        aosElements.forEach(el => {
            const rect = el.getBoundingClientRect();
            if (rect.top < window.innerHeight) {
                el.classList.add('aos-animated');
            }
        });
    }, loader ? 1300 : 100);

    // ---- TESTIMONIALS SLIDER ----
    const track = document.getElementById('testimonialsTrack');
    const prevBtn = document.getElementById('prevBtn');
    const nextBtn = document.getElementById('nextBtn');
    const dotsContainer = document.getElementById('sliderDots');

    if (track && dotsContainer) {
        const cards = track.querySelectorAll('.testimonial-card');
        let currentIndex = 0;
        let cardsVisible = window.innerWidth > 768 ? 3 : 1;
        let maxIndex = cards.length - cardsVisible;

        cards.forEach((_, i) => {
            if (i <= maxIndex) {
                const dot = document.createElement('div');
                dot.classList.add('dot');
                if (i === 0) dot.classList.add('active');
                dot.addEventListener('click', () => goToSlide(i));
                dotsContainer.appendChild(dot);
            }
        });

        function goToSlide(index) {
            currentIndex = Math.max(0, Math.min(index, maxIndex));
            const cardWidth = cards[0].offsetWidth + 24;
            track.style.transform = `translateX(-${currentIndex * cardWidth}px)`;

            dotsContainer.querySelectorAll('.dot').forEach((dot, i) => {
                dot.classList.toggle('active', i === currentIndex);
            });
        }

        if (prevBtn) prevBtn.addEventListener('click', () => goToSlide(currentIndex - 1));
        if (nextBtn) nextBtn.addEventListener('click', () => goToSlide(currentIndex + 1));

        setInterval(() => {
            if (currentIndex >= maxIndex) {
                goToSlide(0);
            } else {
                goToSlide(currentIndex + 1);
            }
        }, 5000);

        window.addEventListener('resize', () => {
            cardsVisible = window.innerWidth > 768 ? 3 : 1;
            maxIndex = cards.length - cardsVisible;
            goToSlide(0);
        });
    }

    // ---- MAGNETIC BUTTONS ----
    const magneticBtns = document.querySelectorAll('.magnetic');

    magneticBtns.forEach(btn => {
        btn.addEventListener('mousemove', function (e) {
            const rect = btn.getBoundingClientRect();
            const x = e.clientX - rect.left - rect.width / 2;
            const y = e.clientY - rect.top - rect.height / 2;
            btn.style.transform = `translate(${x * 0.15}px, ${y * 0.15}px)`;
        });

        btn.addEventListener('mouseleave', function () {
            btn.style.transform = 'translate(0, 0)';
        });
    });

    // ---- CARD TILT ----
    const tiltCards = document.querySelectorAll('.service-card, .industry-card');

    tiltCards.forEach(card => {
        card.addEventListener('mousemove', function (e) {
            const rect = card.getBoundingClientRect();
            const x = e.clientX - rect.left;
            const y = e.clientY - rect.top;
            const centerX = rect.width / 2;
            const centerY = rect.height / 2;
            const rotateX = ((y - centerY) / centerY) * -5;
            const rotateY = ((x - centerX) / centerX) * 5;

            card.style.transform = `perspective(1000px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) translateY(-8px)`;
        });

        card.addEventListener('mouseleave', function () {
            card.style.transform = '';
        });
    });

});
/* ========================================
   TESTIMONIALS SLIDER - AUTO + MANUAL
   ======================================== */

(function() {
    const track = document.getElementById('testimonialsTrack');
    const prevBtn = document.getElementById('prevBtn');
    const nextBtn = document.getElementById('nextBtn');
    const dotsContainer = document.getElementById('sliderDots');
    
    if (!track) return;
    
    const cards = track.querySelectorAll('.testimonial-card');
    const totalCards = cards.length;
    let currentIndex = 0;
    let autoSlideInterval;
    let cardsPerView = 3;
    
    // Determine cards per view based on screen size
    function getCardsPerView() {
        if (window.innerWidth <= 600) return 1;
        if (window.innerWidth <= 1024) return 2;
        return 3;
    }
    
    // Calculate total slides (groups)
    function getTotalSlides() {
        cardsPerView = getCardsPerView();
        return Math.ceil(totalCards / cardsPerView);
    }
    
    // Create dots
    function createDots() {
        dotsContainer.innerHTML = '';
        const totalSlides = getTotalSlides();
        
        for (let i = 0; i < totalSlides; i++) {
            const dot = document.createElement('span');
            dot.classList.add('slider-dot');
            if (i === 0) dot.classList.add('active');
            dot.addEventListener('click', () => goToSlide(i));
            dotsContainer.appendChild(dot);
        }
    }
    
    // Update slider position
    function updateSlider() {
        cardsPerView = getCardsPerView();
        const cardWidth = cards[0].offsetWidth;
        const gap = parseInt(window.getComputedStyle(track).gap) || 24;
        const offset = currentIndex * (cardWidth + gap) * cardsPerView;
        
        track.style.transform = `translateX(-${offset}px)`;
        
        // Update dots
        const dots = dotsContainer.querySelectorAll('.slider-dot');
        dots.forEach((dot, i) => {
            dot.classList.toggle('active', i === currentIndex);
        });
    }
    
    // Go to specific slide
    function goToSlide(index) {
        const totalSlides = getTotalSlides();
        if (index < 0) index = totalSlides - 1;
        if (index >= totalSlides) index = 0;
        currentIndex = index;
        updateSlider();
        resetAutoSlide();
    }
    
    // Next slide
    function nextSlide() {
        goToSlide(currentIndex + 1);
    }
    
    // Previous slide
    function prevSlide() {
        goToSlide(currentIndex - 1);
    }
    
    // Auto-slide every 5 seconds
    function startAutoSlide() {
        autoSlideInterval = setInterval(nextSlide, 5000);
    }
    
    // Reset auto-slide timer
    function resetAutoSlide() {
        clearInterval(autoSlideInterval);
        startAutoSlide();
    }
    
    // Event listeners
    if (nextBtn) {
        nextBtn.addEventListener('click', nextSlide);
    }
    
    if (prevBtn) {
        prevBtn.addEventListener('click', prevSlide);
    }
    
    // Pause auto-slide on hover
    track.addEventListener('mouseenter', () => {
        clearInterval(autoSlideInterval);
    });
    
    track.addEventListener('mouseleave', () => {
        startAutoSlide();
    });
    
    // Touch/swipe support for mobile
    let touchStartX = 0;
    let touchEndX = 0;
    
    track.addEventListener('touchstart', (e) => {
        touchStartX = e.changedTouches[0].screenX;
    });
    
    track.addEventListener('touchend', (e) => {
        touchEndX = e.changedTouches[0].screenX;
        handleSwipe();
    });
    
    function handleSwipe() {
        const swipeThreshold = 50;
        const diff = touchStartX - touchEndX;
        
        if (Math.abs(diff) > swipeThreshold) {
            if (diff > 0) {
                nextSlide();
            } else {
                prevSlide();
            }
        }
    }
    
    // Handle window resize
    let resizeTimer;
    window.addEventListener('resize', () => {
        clearTimeout(resizeTimer);
        resizeTimer = setTimeout(() => {
            currentIndex = 0;
            createDots();
            updateSlider();
        }, 250);
    });
    
    // Keyboard navigation
    document.addEventListener('keydown', (e) => {
        const slider = document.querySelector('.testimonials-slider');
        if (!slider) return;
        
        const rect = slider.getBoundingClientRect();
        const inView = rect.top < window.innerHeight && rect.bottom > 0;
        
        if (inView) {
            if (e.key === 'ArrowLeft') prevSlide();
            if (e.key === 'ArrowRight') nextSlide();
        }



/* Bloomify custom cursor safeguard */
html, body { cursor: none; }
.cursor-glow, .cursor-dot { pointer-events: none; }
@media (max-width: 768px) { html, body { cursor: auto; } .cursor-glow, .cursor-dot { display: none !important; } }

/* ===== FIX INNER PAGE NAVBAR OVERLAP ===== */

.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
}

/* Give pages enough room below the fixed navbar */
main {
    padding-top: 105px !important;
}

/* Keep the homepage exactly as it is */
body.home main,
body#index main {
    padding-top: 0 !important;
}
/* =========================================================
   BLOOMIFY — FINAL NAVBAR FIX
   ========================================================= */

#navbar.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 88px !important;

    z-index: 999999 !important;

    background: rgba(7, 7, 16, 0.92) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;

    transition:
        transform 0.45s ease,
        background 0.3s ease,
        box-shadow 0.3s ease !important;
}

/* Keep navbar contents on ONE horizontal row */
#navbar .nav-container {
    height: 88px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* Navigation links */
#navbar .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
}

/* Consultation button */
#navbar .nav-cta {
    flex-shrink: 0 !important;
}

/* =========================================================
   INNER PAGE SPACE
   ========================================================= */

body:not(.home) main {
    padding-top: 88px !important;
}

/* =========================================================
   NAVBAR WHEN SCROLLING
   ========================================================= */

#navbar.navbar.scrolled {
    background: rgba(7, 7, 16, 0.96) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25) !important;
}

/* Hide animation */
#navbar.navbar.nav-hidden {
    transform: translateY(-100%) !important;
}

/* Show animation */
#navbar.navbar.nav-visible {
    transform: translateY(0) !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    #navbar.navbar {
        height: 72px !important;
    }

    #navbar .nav-container {
        height: 72px !important;
        padding: 0 18px !important;
    }

    body:not(.home) main {
        padding-top: 72px !important;
    }
}