/* ===== RESET & BASE ===== */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

:root {
    /* Derived from logo: soft purple-blue core, pastel rainbow accents */
    --primary: #6C63FF;
    --primary-light: #a78bfa;
    --primary-dark: #4f46e5;
    --accent: #06b6d4;
    --accent-warm: #f472b6;
    --gradient-rainbow: linear-gradient(135deg, #f472b6, #c084fc, #6C63FF, #06b6d4, #4ade80, #c084fc);
    --gradient-soft: linear-gradient(135deg, #f472b6, #8b5cf6, #06b6d4);

    /* Light theme */
    --bg: #fefefe;
    --bg-alt: #f7f5fb;
    --bg-card: #ffffff;
    --bg-dark: #1a1530;
    --border: rgba(124,107,196,0.1);
    --border-hover: rgba(124,107,196,0.25);

    --text-primary: #1a1530;
    --text-secondary: #5a5373;
    --text-muted: #9590a8;

    --glow-primary: rgba(124,107,196,0.25);
    --glow-accent: rgba(86,200,216,0.2);
    --gold: #f4a261;

    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: transparent;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== RAINBOW BORDER HOVER FOR ALL CARDS ===== */
.service-card,
.about-card,
.founder-card,
.why-card,
.process-card {
    position: relative;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(14px);
    z-index: 0;
}
.service-card::after,
.about-card::after,
.founder-card::after,
.why-card::after,
.process-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--gradient-rainbow);
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 4s ease infinite;
}
.service-card:hover::after,
.about-card:hover::after,
.founder-card:hover::after,
.why-card:hover::after,
.process-card:hover::after {
    opacity: 1;
}
.service-card:hover,
.about-card:hover,
.founder-card:hover,
.why-card:hover,
.process-card:hover {
    border-color: transparent;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--gradient-rainbow);
    z-index: 10001; width: 0%; transition: width 0.1s linear;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed; inset: 0; background: #ffffff; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
    width: auto; height: auto;
    background: transparent;
    border-radius: 0;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    animation: preloaderPulse 1.5s ease infinite;
}
.preloader-logo-img {
    height: 140px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(108,99,255,0.15));
}
@keyframes preloaderPulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.preloader-bar { width: 200px; height: 3px; background: #ece8f5; border-radius: 10px; overflow: hidden; }
.preloader-progress { width: 0%; height: 100%; background: var(--gradient-rainbow); border-radius: 10px; animation: preloaderBar 0.7s ease forwards; }
@keyframes preloaderBar { 0%{width:0%} 50%{width:70%} 100%{width:100%} }

/* ===== CURSOR GLOW ===== */
.cursor-glow {
    position: fixed; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,107,196,0.05) 0%, transparent 70%);
    pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
    opacity: 0; transition: opacity 0.4s;
}
.cursor-glow.active { opacity: 1; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: inherit; font-weight: 600; border: none; border-radius: var(--radius);
    cursor: pointer; transition: all var(--transition); white-space: nowrap; position: relative; overflow: hidden;
}
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 15px; letter-spacing: 0.3px; }
.btn-full { width: 100%; }

.btn-glow {
    background: var(--gradient-rainbow);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 4px 24px var(--glow-primary);
    animation: gradientShift 4s ease infinite;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 40px var(--glow-primary), 0 0 60px rgba(108,99,255,0.25); }
.btn-glow span, .btn-glow svg { position: relative; z-index: 1; }

.btn-glass {
    background: rgba(108,99,255,0.06); color: var(--text-primary);
    border: 1px solid rgba(108,99,255,0.2); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(108,99,255,0.12); border-color: rgba(108,99,255,0.35); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(108,99,255,0.1); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: all var(--transition);
    background: transparent;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid var(--border); padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; }
.logo-img { height: 88px; width: auto; transition: all var(--transition); border-radius: 0; }
.navbar.scrolled .logo-img { height: 64px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); position: relative; letter-spacing: 0.3px; }
.navbar.scrolled .nav-links a:not(.btn) { color: var(--text-secondary); }
.nav-links a:not(.btn):hover { color: var(--primary); }
.navbar.scrolled .nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a:not(.btn)::after {
    content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
    background: var(--gradient-rainbow);
    transition: width var(--transition); border-radius: 2px;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all var(--transition); border-radius: 2px; }
.navbar.scrolled .menu-toggle span { background: var(--text-primary); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== HERO — CENTERED ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero::after { display: none; }
.hero-vanta { position: fixed; inset: 0; z-index: 0; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(244,114,182,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(108,99,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .hero-overlay {
        background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.3) 50%, transparent 80%);
    }
}

/* Particles: visible on desktop/tablet, hidden on mobile */
.hero-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.particle {
    position: absolute; width: 3px; height: 3px; background: var(--primary);
    border-radius: 50%; opacity: 0; animation: floatP 8s ease-in-out infinite;
}
.particle:nth-child(1){left:10%;top:20%;animation-delay:0s;animation-duration:7s}
.particle:nth-child(2){left:80%;top:30%;animation-delay:1.5s;animation-duration:9s}
.particle:nth-child(3){left:30%;top:70%;animation-delay:3s;animation-duration:6s}
.particle:nth-child(4){left:60%;top:50%;animation-delay:2s;animation-duration:10s}
.particle:nth-child(5){left:90%;top:80%;animation-delay:4s;animation-duration:8s}
.particle:nth-child(6){left:45%;top:15%;animation-delay:5s;animation-duration:7.5s}
@keyframes floatP {
    0%,100%{opacity:0;transform:translateY(0) scale(1)}
    25%{opacity:0.5}
    50%{opacity:0.2;transform:translateY(-100px) scale(1.5)}
    75%{opacity:0.4}
}
@media (max-width: 768px) {
    .hero-particles { display: none; }
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding: 140px 20px 120px;
    max-width: 900px;
}

.hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900; color: var(--text-primary);
    line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px;
}

.line { display: block; overflow: hidden; }
.line-inner {
    display: block; transform: translateY(110%);
    animation: revealLine 0.5s var(--ease-out) forwards;
}
.line:nth-child(2) .line-inner { animation-delay: 0.08s; }
@keyframes revealLine { to { transform: translateY(0); } }

.text-gradient {
    background: var(--gradient-rainbow);
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; line-height: 1.8;
    opacity: 0; animation: fadeUp 0.5s 0.2s var(--ease-out) both;
}

.hero-actions {
    display: flex; gap: 16px; justify-content: center;
    opacity: 0; animation: fadeUp 0.5s 0.3s var(--ease-out) both;
}

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

.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    opacity: 0; animation: fadeUp 1s 1.2s var(--ease-out) both;
}
.scroll-indicator { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.25); border-radius: 12px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-dot { width: 4px; height: 8px; background: #ffffff; border-radius: 4px; animation: scrollDot 2s ease infinite; }
@keyframes scrollDot { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(12px);opacity:0.3} }
.hero-scroll span { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.5); }

/* ===== TRUST BAR ===== */
.trust-bar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
    position: relative;
    z-index: 2;
}
.trust-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}
.trust-stat {
    text-align: center;
}
.trust-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: inline;
}
.trust-suffix {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}
.trust-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .trust-stats { flex-wrap: wrap; gap: 40px; }
    .trust-stat { flex: 0 0 40%; }
    .trust-number { font-size: 32px; }
}
@media (max-width: 480px) {
    .trust-stats { gap: 24px; }
    .trust-number { font-size: 28px; }
    .trust-label { font-size: 12px; }
}

/* ===== APPLE-STYLE SCROLL ANIMATIONS ===== */
[data-animate] {
    opacity: 0; transform: translateY(60px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-animate].in-view { opacity: 1; transform: translateY(0); }
[data-animate][data-delay="1"] { transition-delay: 0.12s; }
[data-animate][data-delay="2"] { transition-delay: 0.24s; }
[data-animate][data-delay="3"] { transition-delay: 0.36s; }
[data-animate][data-delay="4"] { transition-delay: 0.48s; }
[data-animate][data-delay="5"] { transition-delay: 0.60s; }

/* Scale-up animation for sections */
.section-header [data-animate] { transform: translateY(40px) scale(0.96); }
.section-header [data-animate].in-view { transform: translateY(0) scale(1); }

/* ===== SECTIONS ===== */
.section { padding: 140px 0; position: relative; z-index: 1; background: transparent; }
.section-header { text-align: center; margin-bottom: 80px; }

.section-tag {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13px; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px;
}
.tag-line { display: inline-block; width: 32px; height: 1px; background: linear-gradient(90deg, transparent, var(--primary)); }
.section-tag .tag-line:last-child { background: linear-gradient(90deg, var(--primary), transparent); }

.section-title { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: var(--text-primary); margin-bottom: 16px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 17px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services { background: transparent; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
    position: relative; background: var(--bg-card); padding: 24px 24px 28px;
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    transition: all 0.4s ease; overflow: visible; cursor: default;
    text-align: center;
}
.service-card-glow { display: none; }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(108,99,255,0.2), 0 0 25px rgba(108,99,255,0.1);
}

.service-number {
    font-size: 52px; font-weight: 900; color: rgba(108,99,255,0.15);
    position: absolute; top: 16px; right: 24px; line-height: 1;
    transition: color var(--transition);
}
.service-card:hover .service-number { color: rgba(108,99,255,0.25); }

.service-icon-box { display: none; }

.service-img-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img {
    transform: scale(1.06);
}

.service-card h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 0; position: relative; z-index: 1; transition: color 0.4s ease; }
.service-card:hover h3 { color: #ffffff; }
.service-card:hover { background: var(--gradient-soft); }

/* ===== ABOUT ===== */
.about {
    background: transparent;
}

.about .section-tag { color: var(--primary); }
.about .section-tag .tag-line { background: linear-gradient(90deg, transparent, var(--primary)); }
.about .section-title { color: var(--text-primary); }

.about-map {
    margin-bottom: 24px;
}
.about-map-img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.about-sticky-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}

.about-left { position: sticky; top: 120px; }

/* About text — static with scroll fade-up */
.scroll-reveal-text {
    line-height: 1.9; font-size: 17px; margin: 20px 0 0;
    color: var(--text-secondary);
}

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.about-feature { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; color: var(--text-primary); }
.feature-check {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(108,99,255,0.08); border: 1px solid rgba(108,99,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); flex-shrink: 0;
}

.about-right { display: flex; flex-direction: column; gap: 24px; padding-top: 20px; }

.about-card {
    position: relative; padding: 40px; background: var(--bg-card);
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    transition: all var(--transition); overflow: visible;
}
.about-card-shine {
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108,99,255,0.04), transparent);
    transition: left 0.7s ease;
}
.about-card:hover .about-card-shine { left: 100%; }
.about-card:hover { box-shadow: 0 20px 60px rgba(108,99,255,0.15); background: var(--gradient-soft); }
.about-card:hover h4,
.about-card:hover p { color: #ffffff; }
.about-card:hover .about-card-icon { background: rgba(255,255,255,0.2); }
.about-card-icon {
    width: 56px; height: 56px;
    background: var(--gradient-soft);
    border-radius: var(--radius); color: #ffffff; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
}
.about-card h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; transition: color 0.4s ease; }
.about-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; text-align: justify; transition: color 0.4s ease; }

/* ===== FOUNDERS SECTION ===== */
.founders { background: transparent; overflow: hidden; }

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 36px 40px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(108,99,255,0.25), 0 0 30px rgba(108,99,255,0.15);
    background: var(--gradient-soft);
}
.founder-card:hover .founder-name,
.founder-card:hover .founder-bio { color: #ffffff; }
.founder-card:hover .founder-role { background: rgba(255,255,255,0.2); color: #ffffff; }

.founder-card-glow { display: none; }

.founder-img-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 28px;
}

.founder-img-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--gradient-soft);
    z-index: 0;
    animation: founderRingSpin 8s linear infinite;
}

@keyframes founderRingSpin {
    0% { background: linear-gradient(0deg, var(--primary), var(--accent)); }
    25% { background: linear-gradient(90deg, var(--primary), var(--accent)); }
    50% { background: linear-gradient(180deg, var(--primary), var(--accent)); }
    75% { background: linear-gradient(270deg, var(--primary), var(--accent)); }
    100% { background: linear-gradient(360deg, var(--primary), var(--accent)); }
}

.founder-img {
    position: relative;
    z-index: 1;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-card);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Ranjit — face sits lower in the photo, rounder face — zoom in slightly and crop higher */
.founder-img-ranjit {
    object-position: center 18%;
    transform: scale(1.05);
}

/* Abdulla — face is higher in the photo, slimmer face — less crop from top */
.founder-img-abdulla {
    object-position: center 10%;
    transform: scale(1.05);
}

.founder-info { position: relative; z-index: 1; }

.founder-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.founder-role {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(124,107,196,0.1);
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-bio {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .founder-card {
        padding: 36px 24px 32px;
    }
    .founder-img-wrapper {
        width: 130px;
        height: 130px;
    }
    .founder-img {
        width: 130px;
        height: 130px;
    }
}

/* ===== WHY CHOOSE US ===== */
.why-us { background: transparent; overflow: hidden; }
.why-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(124,107,196,0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(86,200,216,0.05) 0%, transparent 50%);
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }

.why-card {
    padding: 24px 24px 32px; background: var(--bg-card);
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    transition: all var(--transition); position: relative; overflow: visible;
    text-align: center;
}

.why-img-wrapper {
    width: 100%;
    height: 160px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.why-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.why-card:hover .why-img {
    transform: scale(1.06);
}
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(124,107,196,0.15);
    background: var(--gradient-soft);
}
.why-card:hover h3,
.why-card:hover p { color: #ffffff; }
.why-card:hover .why-number { -webkit-text-fill-color: rgba(255,255,255,0.3); }
.why-card:hover .why-line { background: #ffffff; }
.why-number {
    font-size: 56px; font-weight: 900; line-height: 1; margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(124,107,196,0.15), rgba(86,200,216,0.12));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.why-card h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 19px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; transition: color 0.4s ease; }
.why-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; text-align: justify; transition: color 0.4s ease; }
.why-line { width: 40px; height: 3px; background: var(--gradient-rainbow); border-radius: 3px; margin-top: 24px; transition: width var(--transition); }
.why-card:hover .why-line { width: 80px; }

/* ===== TECHNOLOGIES MARQUEE ===== */
.technologies { background: transparent; overflow: hidden; padding: 100px 0; }
.tech-marquee {
    overflow: hidden; margin: 16px 0;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.tech-track { display: flex; gap: 20px; animation: marquee 30s linear infinite; width: max-content; }
.tech-marquee.reverse .tech-track { animation-direction: reverse; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.tech-item {
    padding: 14px 32px; background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border); border-radius: 50px;
    font-size: 15px; font-weight: 600; color: var(--text-secondary);
    white-space: nowrap; transition: all var(--transition); flex-shrink: 0;
}
.tech-item:hover {
    background: var(--gradient-soft);
    color: white; border-color: transparent;
    box-shadow: 0 8px 24px var(--glow-primary); transform: scale(1.08);
}

/* ===== PROCESS ===== */
.process {
    background: transparent;
}
.process .section-tag { color: var(--primary); }
.process .section-tag .tag-line { background: linear-gradient(90deg, transparent, var(--primary)); }
.process .section-tag .tag-line:last-child { background: linear-gradient(90deg, var(--primary), transparent); }
.process .section-title { color: var(--text-primary); }
.process .section-subtitle { color: var(--text-secondary); }

/* Horizontal connector line */
.process-track {
    position: relative;
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 0 60px;
}
.process-line {
    height: 2px;
    background: rgba(108,99,255,0.1);
    border-radius: 2px;
    position: relative;
}
.process-line-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0%;
    background: var(--gradient-rainbow);
    border-radius: 2px;
    transition: width 2s var(--ease-out);
    box-shadow: 0 0 20px var(--glow-primary);
}
.process-line-fill.active { width: 100%; }

/* 4 cards in a row */
.process-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-card {
    position: relative;
    padding: 24px 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.5s var(--ease-out);
    overflow: visible;
}

/* inward glow removed — rainbow border via ::after */

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(108,99,255,0.15);
    background: var(--gradient-soft);
}
.process-card:hover h3,
.process-card:hover p { color: #ffffff !important; }
.process-card:hover .process-num { color: rgba(255,255,255,0.2) !important; }

.process-card-top { display: none; }
.process-icon-wrap { display: none; }
.process-icon { display: none; }
.process-pulse { display: none; }

.process-img-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.process-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.process-card:hover .process-img {
    transform: scale(1.06);
}

.process-card:nth-child(1) .process-pulse { animation-delay: 0s; }
.process-card:nth-child(2) .process-pulse { animation-delay: 0.75s; }
.process-card:nth-child(3) .process-pulse { animation-delay: 1.5s; }
.process-card:nth-child(4) .process-pulse { animation-delay: 2.25s; }

/* Middle cards rounded, outer cards chat bubble */
.process-card:nth-child(2) { border-radius: 24px; }
.process-card:nth-child(3) { border-radius: 24px; }
.process-card:nth-child(4) { border-radius: 24px 24px 4px 24px; }

@keyframes processPulse {
    0% { transform: scale(1); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.process-num {
    font-size: 44px;
    font-weight: 900;
    color: rgba(108,99,255,0.15);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    transition: color var(--transition);
}

.process-card:hover .process-num { color: rgba(108,99,255,0.25); }

.process-card h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.process-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    text-align: justify;
}

.process-card:hover p { color: var(--text-secondary); }

/* Bottom accent line */
.process-card-line {
    width: 0;
    height: 3px;
    background: var(--gradient-rainbow);
    border-radius: 3px;
    margin: 24px 0 0;
    transition: width 0.6s var(--ease-out);
}
.process-card:hover .process-card-line { width: 60px; }
.process-card.in-view .process-card-line { width: 40px; }

/* ===== CONTACT ===== */
.contact { background: transparent; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.contact-description { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin: 20px 0 36px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
    width: 48px; height: 48px;
    background: rgba(124,107,196,0.08); border: 1px solid rgba(124,107,196,0.12);
    border-radius: var(--radius); color: var(--primary); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.contact-item:hover .contact-icon {
    background: var(--gradient-soft);
    color: white; border-color: transparent;
    box-shadow: 0 8px 24px var(--glow-primary);
}
.contact-item strong { display: block; font-size: 15px; color: var(--text-primary); margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--text-secondary); }

.contact-form-wrapper {
    background: rgba(255,255,255,0.85); backdrop-filter: blur(14px);
    padding: 48px; border-radius: var(--radius-xl);
    border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 14px 18px; font-family: inherit; font-size: 15px;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    background: var(--bg-alt); color: var(--text-primary);
    transition: all var(--transition); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary); background: #ffffff;
    box-shadow: 0 0 0 4px rgba(124,107,196,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FLOATING CONTACT ===== */
.floating-contact {
    position: fixed; bottom: 32px; right: 32px;
    display: flex; align-items: center; gap: 10px;
    padding: 16px 28px; background: var(--gradient-soft);
    color: white; border-radius: 50px; font-size: 14px; font-weight: 700;
    box-shadow: 0 8px 32px var(--glow-primary);
    z-index: 999; transition: all var(--transition); letter-spacing: 0.3px;
    opacity: 0; transform: translateY(20px);
}
.floating-contact.visible { opacity: 1; transform: translateY(0); }
.floating-contact:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(124,107,196,0.4); }

/* ===== FOOTER ===== */
.footer { background: rgba(26,21,48,0.92); backdrop-filter: blur(16px); padding: 80px 0 0; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-img { height: 48px; filter: brightness(1.3); }
.footer-brand > p { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 340px; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 42px; height: 42px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
    color: rgba(255,255,255,0.45); display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.social-links a:hover {
    background: var(--gradient-soft);
    border-color: transparent; color: white; transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow-primary);
}
.footer-links h4 { font-size: 15px; font-weight: 700; color: #ffffff; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.4); transition: color var(--transition), padding-left var(--transition); }
.footer-links a:hover { color: var(--primary-light); padding-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 14px; color: rgba(255,255,255,0.35); }

/* ===== RESPONSIVE — ALL BREAKPOINTS ===== */

/* Large Tablets / Small Laptops */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .about-sticky-wrapper { gap: 48px; }
    .contact-grid { gap: 48px; }
}

/* Tablets */
@media (max-width: 768px) {
    .section { padding: 100px 0; }
    .section-header { margin-bottom: 56px; }

    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
        background: rgba(255,255,255,0.97); backdrop-filter: blur(24px);
        flex-direction: column; padding: 100px 36px 36px; gap: 28px;
        border-left: 1px solid var(--border); transition: right var(--transition);
        z-index: 1000;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 16px; color: var(--text-secondary) !important; }
    .nav-links a:hover { color: var(--primary) !important; }

    .hero-content { padding: 120px 16px 100px; }
    .hero-title { letter-spacing: -1px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 300px; }
    .hero-scroll { display: none; }

    .services-grid { grid-template-columns: 1fr; }

    .about-sticky-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .about-left { position: static; }
    .about-features { grid-template-columns: 1fr; }

    .why-grid { grid-template-columns: 1fr; }

    .process-cards { grid-template-columns: repeat(2, 1fr); }
    .process-track { padding: 0 30px; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrapper { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .floating-contact span { display: none; }
    .floating-contact { padding: 16px; border-radius: 50%; }

    .cursor-glow { display: none; }
}

/* Small Phones */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 80px 0; }

    .hero-title { font-size: 32px; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 15px; }

    .service-card { padding: 32px 24px; }
    .service-icon-box { width: 52px; height: 52px; }

    .why-card { padding: 32px 24px; }
    .why-number { font-size: 44px; }

    .process-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .process-track { display: none; }
    .process-icon { width: 56px; height: 56px; }
    .process-card { padding: 32px 24px; }

    .section-title { font-size: 28px; }

    .contact-form-wrapper { padding: 20px; }
}

/* Very small devices */
@media (max-width: 360px) {
    .hero-title { font-size: 28px; }
    .btn-lg { padding: 14px 28px; font-size: 14px; }
    .section-title { font-size: 24px; }
}

/* Large screens */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .hero-title { font-size: 76px; }
    .services-grid { gap: 32px; }
}
