/* =============================================
   WiseCrack - Main Stylesheet
   Fonts: Syne (headings) + DM Sans (body)
   Theme: Blue (#0047FF), Black, White
============================================= */

:root {
    --blue: #0047FF;
    --blue-dark: #0035CC;
    --blue-light: #E8EEFF;
    --cyan: #00D4FF;
    --black: #0A0A0F;
    --dark: #111827;
    --dark2: #1E2536;
    --gray: #6B7280;
    --gray-light: #F3F4F8;
    --white: #FFFFFF;
    --border: rgba(0,71,255,0.12);
    --shadow: 0 20px 60px rgba(0,71,255,0.12);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

/* When mobile nav is open, fully lock background scroll */
body.nav-open {
    overflow: hidden;
    touch-action: none;
}

/* Prevent sections from overflowing horizontally — omit .site-header so nav dropdowns are not clipped */
section, .site-footer, .top-bar {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}
.site-header {
    max-width: 100%;
    width: 100%;
}

h1, h2, h3, h4, h5 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container { width: 100%; max-width: 1300px !important; margin: 0 auto; padding: 0 24px; }

/* ===== PRELOADER ===== */
#preloader {
    position: fixed; inset: 0;
    background: var(--black);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.logo-pulse {
    font-family: 'Syne', sans-serif;
    font-size: 52px; font-weight: 800;
    animation: pulseText 1.4s ease-in-out infinite;
}
.logo-w { color: #0047FF; }
.logo-rest { color: white; }
@keyframes pulseText { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.95); } }
.preloader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 3px; margin: 16px auto 0; overflow: hidden; }
.preloader-fill { height: 100%; width: 0; background: linear-gradient(90deg,#0047FF,#00D4FF); border-radius: 3px; animation: fillBar 1.8s ease forwards; }
@keyframes fillBar { to { width: 100%; } }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    font-size: 13px; padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 24px; }
.top-bar-left a, .top-bar-right a { color: rgba(255,255,255,0.65); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.top-bar-left a:hover, .top-bar-right a:hover { color: var(--cyan); }
.top-bar-right { display: flex; gap: 14px; }
.top-bar-right a { width: 28px; height: 28px; background: rgba(255,255,255,0.06); border-radius: 50%; justify-content: center; font-size: 12px; }
.top-bar-right a:hover { background: var(--blue); color: white; }

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    padding: 12px 0;
}
.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,71,255,0.1);
    padding: 8px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; color: var(--black); line-height: 1; letter-spacing: -0.5px; }
.logo-tagline { font-size: 10px; color: var(--gray); letter-spacing: 0.5px; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav ul li { position: relative; }
.main-nav ul li a {
    padding: 8px 14px; border-radius: 8px;
    font-size: 18px; font-weight: 500;
    color: var(--dark); display: flex; align-items: center; gap: 5px;
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--blue); background: var(--blue-light); }
.main-nav ul li a i { font-size: 15px; transition: var(--transition); }
.main-nav ul li:hover > a i { transform: rotate(180deg); }

/* Dropdown (must stack vertically — .main-nav ul is flex row, so override nested menu) */
.main-nav .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    min-width: 260px;
    max-width: min(320px, calc(100vw - 32px));
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1100;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; color: var(--dark); }
.dropdown li a i { width: 18px; color: var(--blue); font-size: 13px; }
.dropdown li a:hover { background: var(--blue-light); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.btn-enquire {
    background: var(--blue); color: white;
    border: none; padding: 10px 20px; border-radius: 50px;
    font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px;
    cursor: pointer; display: flex; align-items: center; gap: 7px;
    transition: var(--transition); white-space: nowrap;
}
.btn-enquire:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,71,255,0.35); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: var(--transition); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1100; }
.mobile-overlay.open { display: block; }
.mobile-nav {
    position: fixed; top: 0; right: 0; width: 280px; height: 100%;
    background: var(--black); z-index: 1200; padding: 60px 24px 24px;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: white; font-size: 22px; cursor: pointer; }
.mobile-nav ul { margin-top: 12px; }
.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav ul li a { display: block; color: rgba(255,255,255,0.85); padding: 14px 0; font-size: 15px; font-weight: 500; }
.mobile-nav ul li a:hover { color: var(--cyan); }
.btn-enquire-mobile { background: var(--blue); color: white !important; text-align: center; border-radius: 8px; margin-top: 16px; padding: 12px !important; }

/* ===== SECTION COMMONS ===== */
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue-light); color: var(--blue);
    border: 1px solid rgba(0,71,255,0.2); border-radius: 50px;
    padding: 6px 14px; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-tag i { font-size: 11px; }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-title span { color: var(--blue); }
.section-subtitle { color: var(--gray); font-size: 16px; max-width: 580px; line-height: 1.7; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: white;
    padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 15px;
    border: none; cursor: pointer; transition: var(--transition);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,71,255,0.35); color: white; }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--blue);
    padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 15px;
    border: 2px solid var(--blue); cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { background: var(--blue); color: white; transform: translateY(-3px); }

/* ===== HERO SECTION ===== */
.hero {
    min-height: 92vh;
    background: var(--black);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,71,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,71,255,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 60px 60px; } }

.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
    position: absolute; border-radius: 50%;
    animation: floatParticle linear infinite;
}
.hero-glow {
    position: absolute; right: -200px; top: 50%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,71,255,0.18) 0%, transparent 70%);
    transform: translateY(-50%);
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity:0.6; transform: translateY(-50%) scale(1); } 50% { opacity:1; transform: translateY(-50%) scale(1.05); } }
@keyframes floatParticle { 0% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100px) rotate(720deg); opacity: 0; } }

.hero-content { position: relative; z-index: 2; width: 100%; }
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    padding: 80px 24px;
    width: 100%;
    max-width: 1200px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,71,255,0.12); color: var(--cyan);
    border: 1px solid rgba(0,212,255,0.25); border-radius: 50px;
    padding: 7px 16px; font-size: 12px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 24px;
    animation: badgeFade 0.8s ease forwards;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}
@keyframes badgeFade { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(30px, 4.5vw, 66px);
    font-weight: 800; color: white;
    line-height: 1.08; letter-spacing: -1px;
    margin-bottom: 24px;
    animation: heroTitleIn 1s ease 0.2s both;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
@keyframes heroTitleIn { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
.hero-title .highlight {
    background: linear-gradient(135deg, #0047FF, #00D4FF);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-title .line-2 { display: block; color: rgba(255,255,255,0.5); font-size: 0.7em; font-weight: 400; margin-top: 6px; }

.hero-desc {
    color: rgba(255,255,255,0.6); font-size: 17px; max-width: 500px;
    margin-bottom: 36px; line-height: 1.75;
    animation: heroTitleIn 1s ease 0.4s both;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: heroTitleIn 1s ease 0.6s both; }

.hero-stats {
    display: flex; gap: 32px; margin-top: 48px;
    animation: heroTitleIn 1s ease 0.8s both;
}
.hero-stat { text-align: left; }
.hero-stat-num { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; color: white; display: flex; align-items: flex-end; gap: 2px; }
.hero-stat-num span { font-size: 20px; color: var(--cyan); }
.hero-stat-label { color: rgba(255,255,255,0.45); font-size: 12px; letter-spacing: 0.5px; }

/* Hero Right - Visual */
.hero-visual { position: relative; animation: heroVisualIn 1.2s ease 0.3s both; }
@keyframes heroVisualIn { from { opacity:0; transform: translateX(40px) scale(0.96); } to { opacity:1; transform: translateX(0) scale(1); } }
.hero-card {
    background: rgba(255,255,255,0.04); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 24px;
    padding: 32px; position: relative; overflow: hidden;
}
.hero-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.5), transparent);
}
.service-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
    background: rgba(0,71,255,0.12); color: var(--cyan);
    border: 1px solid rgba(0,212,255,0.2); border-radius: 50px;
    padding: 6px 14px; font-size: 12px; font-weight: 500;
    animation: chipFloat 3s ease-in-out infinite;
}
.chip:nth-child(2) { animation-delay: 0.5s; }
.chip:nth-child(3) { animation-delay: 1s; }
.chip:nth-child(4) { animation-delay: 1.5s; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; padding: 18px; position: relative; overflow: hidden;
}
.metric-icon { width: 36px; height: 36px; background: rgba(0,71,255,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 16px; margin-bottom: 10px; }
.metric-val { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; color: white; }
.metric-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.metric-bar { position: absolute; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg,#0047FF,#00D4FF); border-radius: 1px; animation: metricBar 2s ease-in-out infinite alternate; }
@keyframes metricBar { from { width: 40%; } to { width: 90%; } }

/* ===== ABOUT SECTION (Home) ===== */
.about-home { padding: 100px 0; background: white; }
.about-home .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-img-wrap {
    border-radius: 24px; overflow: hidden;
    position: relative; aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--blue) 0%, #002fa0 100%);
}
.about-img-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.about-icon-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 26px 24px; }
.abi {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px; padding: 26px 18px; display: flex; flex-direction: column;
    align-items: center; gap: 10px; text-align: center;
    transition: var(--transition); animation: abiFloat 3s ease-in-out infinite;
    min-height: 108px;
}
.abi:nth-child(2) { animation-delay: 0.4s; }
.abi:nth-child(3) { animation-delay: 0.8s; }
.abi:nth-child(4) { animation-delay: 1.2s; }
.abi:nth-child(5) { animation-delay: 1.6s; }
.abi:nth-child(6) { animation-delay: 2s; }
@keyframes abiFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.abi i { font-size: 28px; color: var(--cyan); }
.abi span { font-size: 12px; color: rgba(255,255,255,0.82); font-weight: 600; letter-spacing: 0.02em; }

.about-badge-float {
    position: absolute; bottom: -20px; right: -20px;
    background: white; border-radius: 18px; padding: 16px 20px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
    animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.about-badge-float .badge-icon { width: 44px; height: 44px; background: var(--blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; }
.about-badge-float .badge-text strong { display: block; font-size: 18px; font-weight: 800; color: var(--blue); }
.about-badge-float .badge-text span { font-size: 11px; color: var(--gray); }

.about-content .feature-list { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.fi-icon { width: 40px; height: 40px; min-width: 40px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 16px; margin-top: 2px; }
.fi-text strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.fi-text span { font-size: 13.5px; color: var(--gray); }

/* ===== MISSION VISION SECTION ===== */
.mv-section { padding: 100px 0; background: var(--gray-light); }
.mv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.mv-card {
    background: white; border-radius: var(--radius); padding: 40px 32px;
    border: 1px solid var(--border); position: relative; overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.mv-card:hover { transform: translateY(-10px); box-shadow: 0 24px 48px rgba(0, 71, 255, 0.12); }
.mv-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #0047FF, #00D4FF, #0047FF);
    background-size: 200% 100%;
    animation: mvTopShimmer 4s ease-in-out infinite;
}
.mv-card:hover::after { animation-duration: 2s; }
@keyframes mvTopShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.mv-icon {
    width: 64px; height: 64px; background: var(--blue-light); border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue); font-size: 26px; margin-bottom: 22px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mv-card:hover .mv-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 10px 24px rgba(0, 71, 255, 0.2);
}
.mv-section .mv-card.reveal.visible .mv-icon {
    animation: mvIconGlow 3s ease-in-out infinite;
}
.mv-section .mv-card.reveal.visible:nth-child(2) .mv-icon { animation-delay: 0.5s; }
.mv-section .mv-card.reveal.visible:nth-child(3) .mv-icon { animation-delay: 1s; }
@keyframes mvIconGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 71, 255, 0); }
    50% { box-shadow: 0 8px 28px rgba(0, 71, 255, 0.18); }
}
.mv-card h3 { font-size: 22px; margin-bottom: 12px; }
.mv-card p { color: var(--gray); font-size: 14.5px; line-height: 1.75; }

/* ===== CORE SERVICE PROMOS (Home) ===== */
.core-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.service-promo-card {
    border-radius: 24px;
    padding: 48px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.service-promo-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 28px 56px rgba(0, 71, 255, 0.22);
}
.service-promo-it {
    background: linear-gradient(135deg, #0047FF, #002fa0);
}
.service-promo-bpo {
    background: var(--black);
    border: 1px solid rgba(0, 71, 255, 0.2);
}
.service-promo-bpo:hover {
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
}
.service-promo-blob {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
    animation: promoBlob 8s ease-in-out infinite;
}
.service-promo-it .service-promo-blob { background: rgba(255, 255, 255, 0.05); }
.service-promo-bpo .service-promo-blob { background: rgba(0, 71, 255, 0.1); }
@keyframes promoBlob {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(-6px, 6px); }
}
.service-promo-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
    animation: promoIconFloat 4s ease-in-out infinite;
}
.service-promo-bpo .service-promo-icon { animation-delay: 1s; }
@keyframes promoIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.service-promo-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: white;
    position: relative;
    z-index: 1;
}
.service-promo-card .service-promo-lead {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}
.service-promo-it .service-promo-lead { color: rgba(255, 255, 255, 0.7); }
.service-promo-bpo .service-promo-lead { color: rgba(255, 255, 255, 0.6); }
.service-promo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}
.service-promo-li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-12px);
    animation: promoLiIn 0.55s ease forwards;
}
.service-promo-it .service-promo-li { color: rgba(255, 255, 255, 0.85); }
.service-promo-bpo .service-promo-li { color: rgba(255, 255, 255, 0.72); }
.service-promo-li:nth-child(1) { animation-delay: 0.08s; }
.service-promo-li:nth-child(2) { animation-delay: 0.16s; }
.service-promo-li:nth-child(3) { animation-delay: 0.24s; }
.service-promo-li:nth-child(4) { animation-delay: 0.32s; }
.service-promo-li:nth-child(5) { animation-delay: 0.4s; }
.service-promo-li:nth-child(6) { animation-delay: 0.48s; }
.service-promo-li i { font-size: 13px; flex-shrink: 0; }
.service-promo-it .service-promo-li i { color: #00D4FF; }
.service-promo-bpo .service-promo-li i { color: #0047FF; }
@keyframes promoLiIn {
    to { opacity: 1; transform: translateX(0); }
}
.service-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    z-index: 1;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-promo-btn-it {
    background: white;
    color: #0047FF;
}
.service-promo-btn-bpo {
    background: #0047FF;
    color: white;
}
.service-promo-card:hover .service-promo-btn {
    transform: translateX(6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.service-promo-btn-it:hover { color: #0047FF; }
.service-promo-btn-bpo:hover { color: #fff; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; background: var(--black); overflow: hidden; }
.testimonials .section-title { color: white; }
.testimonials .section-subtitle { color: rgba(255,255,255,0.5); }
.testimonials .section-tag { background: rgba(0,71,255,0.15); border-color: rgba(0,71,255,0.3); }

.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.testi-marquee {
    overflow: hidden;
    margin-bottom: 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.testi-marquee:last-child { margin-bottom: 0; }
.testi-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: testiMarqueeRTL 45s linear infinite;
}
.testi-marquee--ltr .testi-track {
    animation: testiMarqueeLTR 45s linear infinite;
}
@keyframes testiMarqueeLTR {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
@keyframes testiMarqueeRTL {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.testi-marquee .testi-card {
    flex: 0 0 auto;
    width: min(360px, calc(100vw - 48px));
    min-height: 260px;
}
@media (prefers-reduced-motion: reduce) {
    .testi-track { animation: none; }
    .mv-card::after { animation: none; }
    .mv-section .mv-card.reveal.visible .mv-icon { animation: none; }
    .service-promo-card,
    .service-promo-icon,
    .service-promo-blob,
    .service-promo-li { animation: none !important; }
    .service-promo-li { opacity: 1 !important; transform: none !important; }
}

.testi-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius); padding: 32px;
    transition: var(--transition); position: relative;
}
.testi-card:hover { background: rgba(0,71,255,0.08); border-color: rgba(0,71,255,0.25); transform: translateY(-6px); }
.testi-stars { color: #FFC107; font-size: 13px; margin-bottom: 16px; display: flex; gap: 3px; }
.testi-text { color: rgba(255,255,255,0.7); font-size: 14.5px; line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue),#00D4FF);
    display: flex; align-items: center; justify-content: center;
    color: white; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px;
}
.testi-name { font-family: 'Syne', sans-serif; font-weight: 600; color: white; font-size: 14px; }
.testi-role { font-size: 12px; color: rgba(255,255,255,0.4); }
.quote-icon { position: absolute; top: 20px; right: 24px; font-size: 48px; color: rgba(0,71,255,0.1); font-family: Georgia, serif; line-height: 1; }

/* ===== PROJECTS / ACHIEVEMENTS CAROUSEL ===== */
.projects-section { padding: 100px 0; overflow: hidden; }
.carousel-wrapper { position: relative; }
.carousel-track-outer { overflow: hidden; border-radius: var(--radius); }
.carousel-track { display: flex; gap: 28px; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.project-card {
    min-width: calc(33.333% - 19px);
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: var(--transition); cursor: pointer; flex-shrink: 0;
}
.project-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.project-card:hover .project-overlay { opacity: 1; }
.project-img { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.project-img-bg {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--blue) 0%, #002fa0 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 60px; color: rgba(255,255,255,0.2);
    transition: transform 0.5s ease;
}
.project-card:hover .project-img-bg { transform: scale(1.06); }
.project-overlay {
    position: absolute; inset: 0;
    background: rgba(0,71,255,0.85);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.project-overlay i { font-size: 36px; color: white; }
.project-info { padding: 22px 24px; }
.project-cat { font-size: 11px; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.project-name { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.project-desc { font-size: 13px; color: var(--gray); }

.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.carousel-btn {
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid var(--border); background: white;
    color: var(--blue); font-size: 16px; cursor: pointer;
    transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: var(--transition); }
.carousel-dot.active { background: var(--blue); width: 24px; border-radius: 4px; }

/* ===== SERVICES PAGES ===== */
.services-hero {
    background: var(--black); padding: 150px 0 100px;
    position: relative; overflow: hidden;
}
.services-hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(0,71,255,0.15) 0%, transparent 70%);
}
.services-hero .container { position: relative; z-index: 1; }
.services-hero h1 { color: white; font-size: clamp(32px,5vw,54px); margin-bottom: 16px; }
.services-hero p { color: rgba(255,255,255,0.6); font-size: 17px; max-width: 580px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.breadcrumb a { color: var(--cyan); }
.breadcrumb i { font-size: 10px; }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 28px;
    transition: var(--transition); position: relative; overflow: hidden; cursor: pointer;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.service-card::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius); background: linear-gradient(135deg,rgba(0,71,255,0.04),rgba(0,212,255,0.04)); opacity: 0; transition: var(--transition); }
.service-card:hover::before { opacity: 1; }
.service-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,#0047FF,#00D4FF); transform: scaleX(0); transition: var(--transition); transform-origin: left; }
.service-card:hover::after { transform: scaleX(1); }
.sc-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 26px; margin-bottom: 22px; transition: var(--transition); }
.service-card:hover .sc-icon { background: var(--blue); color: white; transform: rotate(-5deg) scale(1.05); }
.sc-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.sc-desc { color: var(--gray); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-tag { background: var(--gray-light); color: var(--gray); padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 500; }

/* Section padding */
.py-100 { padding: 100px 0; }
.py-60 { padding: 60px 0; }
.bg-light { background: var(--gray-light); }
.bg-dark { background: var(--black); }
.bg-white { background: white; }

/* ===== ABOUT PAGE ===== */
.about-story { padding: 100px 0; }
.about-story .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

/* Timeline: gray track + full-height line draws once (::after scaleY) */
.timeline {
    position: relative;
    padding-left: 24px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    border-radius: 2px;
    z-index: 0;
}
.timeline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--blue) 0%, var(--cyan) 55%, rgba(0, 212, 255, 0.65) 100%);
    border-radius: 2px;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
    pointer-events: none;
}
.timeline.is-visible::after {
    transform: scaleY(1);
}
.tl-item {
    position: relative;
    padding-left: 28px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.tl-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
    border: 2px solid white;
    box-shadow: 0 0 0 3px var(--blue-light);
    z-index: 2;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.tl-item.is-visible::before {
    animation: tlDotIn 0.55s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}
@keyframes tlDotIn {
    from {
        transform: scale(0.5);
        box-shadow: 0 0 0 0 rgba(0, 71, 255, 0.5);
    }
    to {
        transform: scale(1);
        box-shadow: 0 0 0 3px var(--blue-light), 0 0 18px rgba(0, 71, 255, 0.35);
    }
}
.tl-year { font-size: 11px; color: var(--blue); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.tl-title { font-size: 16px; font-weight: 700; margin: 4px 0; }
.tl-desc { font-size: 13.5px; color: var(--gray); }

/* Why choose panel + dropdown-style icon rows */
.why-choose-panel {
    background: var(--black);
    border-radius: 24px;
    padding: 48px 36px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 71, 255, 0.18);
}
.why-choose-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(0, 71, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}
.why-choose-heading {
    color: white;
    font-size: 24px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}
.why-choose-heading span {
    background: linear-gradient(135deg, #00D4FF, #4ddbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.choose-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 12px 14px;
    margin-left: -8px;
    margin-right: -8px;
    border-radius: 12px;
    border: 1px solid transparent;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.choose-item:last-child {
    margin-bottom: 0;
}
.choose-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 71, 255, 0.35);
    transform: translateX(4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.choose-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(0, 71, 255, 0.22);
    border: 1px solid rgba(0, 212, 255, 0.28);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 16px;
    transition: transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1), background 0.32s ease, border-color 0.32s ease, color 0.32s ease, box-shadow 0.32s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.choose-item:hover .choose-icon {
    background: linear-gradient(145deg, rgba(0, 71, 255, 0.65), rgba(0, 53, 204, 0.85));
    border-color: rgba(0, 212, 255, 0.65);
    color: white;
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 10px 28px rgba(0, 71, 255, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.25);
}
.choose-icon i {
    transition: transform 0.32s ease;
}
.choose-item:hover .choose-icon i {
    transform: scale(1.06);
}
.choose-text {
    flex: 1;
    min-width: 0;
}
.choose-title {
    display: block;
    font-size: 14px;
    color: white;
    margin-bottom: 4px;
    font-weight: 600;
}
.choose-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.55;
}
@media (prefers-reduced-motion: reduce) {
    .timeline::after { transition: none; transform: scaleY(1) !important; }
    .timeline.is-visible::after { transform: scaleY(1); }
    .about-story .tl-item { opacity: 1 !important; transform: none !important; transition: none; }
    .tl-item.is-visible::before { animation: none; }
    .choose-item,
    .choose-icon,
    .choose-icon i { transition: none; }
    .choose-item:hover { transform: none; }
    .choose-item:hover .choose-icon { transform: none; }
}

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card {
    text-align: center; background: white;
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 20px; transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg,var(--blue),#00D4FF);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px;
    color: white; margin: 0 auto 16px;
}
.team-name { font-size: 16px; font-weight: 700; }
.team-role { font-size: 13px; color: var(--blue); margin-top: 4px; }

/* ===== CONTACT PAGE ===== */
.contact-page { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info-card {
    background: var(--black); border-radius: var(--radius);
    padding: 48px 36px; color: white;
    position: relative; overflow: hidden;
}
.contact-info-card::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(0,71,255,0.2);
}
.ci-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.ci-icon { width: 46px; height: 46px; min-width: 46px; border-radius: 12px; background: rgba(0,71,255,0.2); display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 18px; }
.ci-label { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.ci-value { font-size: 15px; color: rgba(255,255,255,0.85); font-weight: 500; }

.contact-form-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 48px 40px;
}
.contact-form-card h3 { font-size: 26px; margin-bottom: 8px; }
.contact-form-card p { color: var(--gray); margin-bottom: 28px; font-size: 14.5px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.form-group label span { color: var(--blue); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid #e5e7eb; border-radius: 10px;
    font-family: 'DM Sans', sans-serif; font-size: 14.5px; color: var(--dark);
    outline: none; transition: var(--transition); background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,71,255,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
    width: 100%; background: var(--blue); color: white;
    border: none; padding: 15px; border-radius: 12px;
    font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,71,255,0.3); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
    background: white; border-radius: 24px;
    width: 90%; max-width: 560px; max-height: 90vh; overflow-y: auto;
    padding: 40px 36px; position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gray-light); border: none; cursor: pointer; font-size: 15px; color: var(--gray);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.modal-header { text-align: center; margin-bottom: 28px; }
.modal-icon { width: 64px; height: 64px; background: var(--blue); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: white; font-size: 26px; margin: 0 auto 16px; }
.modal-header h3 { font-size: 24px; margin-bottom: 6px; }
.modal-header p { color: var(--gray); font-size: 14px; }

.thankyou-inner { text-align: center; padding: 20px 0; }
.ty-icon { width: 80px; height: 80px; background: #d1fae5; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #059669; font-size: 36px; margin: 0 auto 20px; animation: scaleIn 0.5s ease; }
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
.thankyou-inner h3 { font-size: 26px; margin-bottom: 10px; }
.thankyou-inner p { color: var(--gray); font-size: 15px; line-height: 1.7; }

/* ===== WHATSAPP WIDGET ===== */
.whatsapp-widget { position: fixed; bottom: 28px; right: 28px; z-index: 8888; }
.wa-fab {
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: white; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 8px 30px rgba(37,211,102,0.4);
    transition: var(--transition); position: relative;
    animation: waPulse 2.5s ease infinite;
}
.wa-fab:hover { transform: scale(1.08); }
@keyframes waPulse { 0%,100% { box-shadow: 0 8px 30px rgba(37,211,102,0.4); } 50% { box-shadow: 0 8px 40px rgba(37,211,102,0.7); } }
.wa-badge {
    position: absolute; top: -4px; right: -4px;
    width: 20px; height: 20px; background: #ef4444; border-radius: 50%;
    font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    animation: badgeBounce 1s ease infinite;
}
@keyframes badgeBounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }

.wa-chat-box {
    position: absolute; bottom: 76px; right: 0;
    width: 300px; background: white; border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    overflow: hidden; opacity: 0; visibility: hidden;
    transform: translateY(10px) scale(0.96);
    transition: var(--transition); transform-origin: bottom right;
}
.wa-chat-box.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-header { background: #075E54; color: white; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.wa-avatar { width: 38px; height: 38px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.wa-info strong { display: block; font-size: 13px; }
.wa-info span { font-size: 11px; opacity: 0.75; }
.wa-close-btn { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 16px; }
.wa-body { background: #ECE5DD url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3C/svg%3E"); padding: 16px; }
.wa-bubble { background: white; border-radius: 12px 12px 12px 0; padding: 12px 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.wa-bubble p { font-size: 13px; line-height: 1.5; color: #303030; margin-bottom: 4px; }
.wa-bubble small { font-size: 11px; color: #888; }
.wa-start-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: white; padding: 14px; font-size: 14px; font-weight: 600; text-decoration: none; transition: var(--transition); }
.wa-start-btn:hover { background: #1da851; color: white; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== FOOTER ===== */
.site-footer { background: var(--black); color: rgba(255,255,255,0.75); }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-tagline { color: rgba(255, 255, 255, 0.55); }
.footer-about-text { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.footer-contact-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.footer-contact-items a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.55); }
.footer-contact-items a:hover { color: var(--cyan); }
.footer-contact-items a i { color: var(--blue); width: 14px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-social a:hover { background: var(--blue); color: white; }
.footer-heading { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a { font-size: 13.5px; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 8px; }
.footer-links li a i { font-size: 10px; color: var(--blue); }
.footer-links li a:hover { color: var(--cyan); padding-left: 4px; }
.footer-address-col address { font-style: normal; font-size: 13.5px; color: rgba(255,255,255,0.45); margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.65; }
.footer-address-col address i { color: var(--blue); margin-top: 3px; font-size: 14px; }
.footer-map iframe { border-radius: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: var(--cyan); }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--blue) 0%, #002fa0 100%);
    position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(0,212,255,0.15) 0%, transparent 50%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(28px,4vw,44px); color: white; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 550px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--blue); padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 15px; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,0,0,0.2); color: var(--blue); }
.btn-ghost { background: transparent; color: white; padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; border: 2px solid rgba(255,255,255,0.4); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-3px); color: white; }

/* =============================================
   RESPONSIVE — Full Coverage
============================================= */

/* ---- 1200px: Constrain hero title ---- */
@media (max-width: 1200px) {
    .hero-title { font-size: clamp(34px, 4.5vw, 58px); }
    .hero .container { gap: 40px; }
}

/* ---- 1024px: Tablet landscape ---- */
@media (max-width: 1024px) {
    /* Header: keep nav in one line */
    .site-header .container { gap: 14px; }
    .main-nav ul { gap: 2px; }
    .main-nav ul li a {
        font-size: 16px;
        padding: 8px 10px;
        white-space: nowrap;
    }
    .btn-enquire { padding: 10px 16px; }

    /* Hero */
    .hero .container {
        grid-template-columns: 1fr;
        padding: 70px 24px 60px;
        text-align: center;
    }
    .hero-visual { display: none; }
    .hero-title {
        font-size: clamp(32px, 5vw, 52px);
        letter-spacing: -0.5px;
    }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-badge { display: inline-flex; }

    /* Grids */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .about-home .container { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { display: none; }
    .mv-grid { grid-template-columns: 1fr 1fr; }
    .core-services-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .testi-grid { grid-template-columns: 1fr 1fr; }

    /* Services page alternating layout */
    section > .container > div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    section > .container > div > div[style*="max-width:360px"] {
        display: none;
    }

    /* About story */
    .about-story .container { grid-template-columns: 1fr; gap: 40px; }

    /* Team */
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 768px: Tablet portrait + mobile ---- */
@media (max-width: 768px) {
    /* Top bar */
    .top-bar-left { display: none; }
    .top-bar .container { justify-content: center; }

    /* Header */
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .site-header .container {
        padding: 0 16px;
        max-width: 100%;
        width: 100%;
        gap: 8px;
    }
    .site-logo {
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px;
    }
    .logo-text { min-width: 0; }
    .header-actions { gap: 8px; }
    .btn-enquire { padding: 10px 14px; font-size: 13px; }

    /* Hero — critical fix for overflow */
    .hero {
        min-height: auto;
        padding: 0;
    }
    .hero .container {
        grid-template-columns: 1fr;
        padding: 56px 16px 52px;
        text-align: left;
        overflow: hidden;
        max-width: 100%;
    }
    .hero-title {
        font-size: clamp(28px, 8vw, 44px) !important;
        letter-spacing: -0.5px;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.1;
    }
    .hero-title .line-2 {
        font-size: 0.55em;
        margin-top: 8px;
    }
    .hero-desc {
        font-size: 15px;
        margin-bottom: 28px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .hero-stat-num { font-size: 24px; }
    .hero-badge { font-size: 10px; padding: 5px 12px; }

    /* Sections */
    .py-100 { padding: 64px 0; }
    .about-home { padding: 64px 0; }
    .mv-section { padding: 64px 0; }
    .testimonials { padding: 64px 0; }
    .projects-section { padding: 64px 0; }
    .cta-section { padding: 60px 0; }

    /* Grids */
    .mv-grid { grid-template-columns: 1fr; gap: 18px; }
    .testi-grid { grid-template-columns: 1fr; gap: 18px; }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-row { grid-template-columns: 1fr; }

    /* Carousel — 1 at a time on mobile */
    .project-card { min-width: calc(100% - 0px) !important; }
    .carousel-track { gap: 0 !important; }

    /* Sections headers */
    .section-header { margin-bottom: 36px; }
    .section-title { font-size: clamp(24px, 6vw, 34px) !important; }

    /* Service hero */
    .services-hero { padding: 56px 0 40px; }
    .services-hero h1 { font-size: clamp(26px, 7vw, 44px); }

    /* About page services layout */
    section > .container > div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

    /* Contact form */
    .contact-form-card { padding: 28px 20px; }
    .contact-info-card { padding: 28px 20px; }

    /* Footer */
    .footer-top { padding: 48px 0 36px; }
    .footer-map iframe { height: 160px; }

    /* CTA */
    .cta-btns { flex-direction: column; align-items: center; gap: 10px; }
    .btn-white, .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }
    .cta-section h2 { font-size: clamp(22px, 6vw, 34px); }

    /* Modal */
    .modal-box {
        padding: 24px 18px;
        width: 95%;
        border-radius: 18px;
    }
    .modal-header h3 { font-size: 20px; }

    /* WhatsApp widget */
    .whatsapp-widget { bottom: 18px; right: 18px; }
    .wa-chat-box { width: 260px; }

    /* Stats row on stat cards inside services */
    .stats-row { grid-template-columns: 1fr 1fr; }

    /* Trusted logos */
    .trusted-logos { gap: 18px; }
}

/* ---- 480px: Small phones ---- */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    .hero .container { padding: 48px 14px 44px; }
    .hero-title {
        font-size: clamp(26px, 9vw, 36px) !important;
        letter-spacing: -0.3px;
    }
    .hero-stats { gap: 16px; }
    .hero-stat-num { font-size: 22px; }
    .hero-stat-label { font-size: 10px; }

    .top-bar { display: none; }

    .site-logo .logo-tagline { display: none; }
    .logo-name { font-size: 19px !important; }

    .team-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }

    .section-title { font-size: clamp(22px, 7vw, 30px) !important; }

    .btn-primary, .btn-outline { font-size: 14px; padding: 11px 20px; }

    .mv-card { padding: 28px 20px; }
    .testi-card { padding: 24px 20px; }

    /* Footer bottom */
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 8px; }

    /* Services hero breadcrumb */
    .breadcrumb { font-size: 11px; }

    /* Modal */
    .modal-box { padding: 20px 14px; }
    .form-group input, .form-group select, .form-group textarea { font-size: 14px; }
}

/* ---- 425px: Header fit (hamburger visible) ---- */
@media (max-width: 425px) {
    .site-header .container { padding: 0 10px; gap: 6px; }
    .site-logo svg { width: 38px; height: 38px; }
    .logo-name { font-size: 17px !important; }

    .header-actions { gap: 6px; }
    .btn-enquire { padding: 9px 11px; font-size: 12.5px; }
    .hamburger { padding: 4px; }
    .hamburger span { width: 22px; }
}

/* ---- 400px: Icon-only quote — frees space for hamburger ---- */
@media (max-width: 400px) {
    .btn-enquire-text { display: none; }
    .btn-enquire { gap: 0; padding: 10px 11px; justify-content: center; }
}

/* ---- 360px: Very small phones ---- */
@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(22px, 9.5vw, 30px) !important;
        letter-spacing: 0;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline { font-size: 13px; padding: 10px 16px; }
    .section-tag { font-size: 10px; padding: 5px 10px; }
}