body { background-color: #F5F7FA; cursor: none; font-size: 16px; }
@media (pointer: coarse) {
    body { cursor: auto; }
    .custom-cursor, .cursor-follower { display: none !important; }
}
h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3rem); }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }
.text-small { font-size: 0.875rem; }
.text-tiny { font-size: 0.75rem; }

.mesh-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(46, 42, 110, 0.06), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(44, 177, 166, 0.06), transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(47, 90, 166, 0.04), transparent 40%);
    filter: blur(10px);
    animation: meshMove 16s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes meshMove {
    0% { transform: translate3d(-2%, -1%, 0) scale(1); }
    100% { transform: translate3d(2%, 2%, 0) scale(1.04); }
}

.chip {
    background: rgba(46, 42, 110, 0.06);
    border: 1px solid rgba(46, 42, 110, 0.12);
    backdrop-filter: blur(10px);
}

.shine-border {
    position: relative;
    overflow: hidden;
}

.shine-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.8s ease;
}

.shine-border:hover::before { left: 140%; }

.float-y {
    animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes spotlight {
    0% { opacity: 0; transform: translate(-72%, -62%) scale(0.5); }
    100% { opacity: 1; transform: translate(-50%, -40%) scale(1); }
}

.animate-spotlight {
    animation: spotlight 2s ease forwards;
}

.spline-bg {
    display: none;
}

.grid-glow {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 75%);
}

select option {
    background-color: #ffffff;
    color: #1F2937;
}

.noise::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

.custom-cursor {
    width: 12px; height: 12px;
    background: #1F2937;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}
.cursor-follower {
    width: 40px; height: 40px;
    border: 1px solid rgba(46, 42, 110, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.gradient-text {
    background: linear-gradient(90deg, #2E2A6E, #2CB1A6, #2E2A6E);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    contain: layout style paint;
}
.glass-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, transparent, rgba(46, 42, 110, 0.08), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glass-card:hover::after { opacity: 1; }

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.perspective-1000 { perspective: 1000px; }

#scroll-progress {
    position: fixed;
    top: 0; left: 0; width: 0%; height: 3px;
    background: linear-gradient(90deg, #2E2A6E, #2CB1A6);
    z-index: 10001;
}

.loader-bg {
    background-color: #ffffff;
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    position: relative;
    z-index: 1;
}

.char { display: inline-block; }

/* Brand wordmark — matches the "eway infratech" lettering in the logo (lowercase, bold italic, logo navy) */
.brand-wordmark {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
    font-weight: 800;
    font-style: italic;
    color: #221E5E;
}

/* WhatsApp floating action button */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9990;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
}
.whatsapp-fab svg { position: relative; z-index: 1; }
.whatsapp-fab-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-ping 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes whatsapp-ping {
    0% { transform: scale(1); opacity: 0.6; }
    75%, 100% { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 640px) {
    .whatsapp-fab { bottom: 18px; right: 18px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-fab-ping { animation: none; }
    .whatsapp-fab { transition: none; }
}

/* Enlarge footer link tap targets for touch accessibility without changing visual gap */
footer a {
    display: inline-block;
    padding: 10px 0;
}
