/*
  Chennai Infotech Systems
  Theme: Dark Glassmorphism — Premium Neural Dark
*/

/* ── DESIGN TOKENS ────────────────────────────────────────────── */
:root {
    --primary:       #0052cc;
    --primary-dark:  #0747a6;
    --accent:        #00b8d9;
    --accent2:       #7c3aed;
    --secondary:     #0a192f;          /* dark surface / footer */
    --heading:       #0f1e3d;          /* h1-h4 */
    --text:          #4a5568;          /* body text */
    --text-light:    #718096;
    --bg:            #ffffff;          /* page background */
    --bg-alt:        #f7f9fc;          /* alternate section bg */
    --bg-card:       #ffffff;
    --glass:         rgba(255,255,255,.92);
    --border:        #e2e8f0;
    --border-light:  #edf2f7;
    --glow:          0 8px 40px rgba(0,82,204,.12);
    --glow-cyan:     0 8px 30px rgba(0,184,217,.15);
    --glow-purple:   0 8px 30px rgba(124,58,237,.12);
    --transition:    all .35s cubic-bezier(.4,0,.2,1);
    --shadow-sm:     0 2px 8px rgba(0,0,0,.06);
    --shadow-md:     0 12px 40px rgba(0,0,0,.1);
    --radius:        18px;
    --radius-lg:     28px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    overflow-x: hidden;
}

/* Subtle animated mesh — light mode */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 60% at 15% 55%, rgba(0,82,204,.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 82% 18%, rgba(0,184,217,.04) 0%, transparent 50%),
        radial-gradient(ellipse 55% 55% at 65% 85%, rgba(124,58,237,.03) 0%, transparent 55%);
    animation: meshDrift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes meshDrift {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(2%, 2%); }
}

/* ── TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--heading);
}

.gradient-text {
    background: linear-gradient(135deg, var(--heading) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

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

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(91,143,255,.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(91,143,255,.55);
}

.btn-secondary {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--primary);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(91,143,255,.12);
    color: var(--heading);
    transform: translateY(-2px);
}

/* ── NAVBAR ───────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.9rem 0;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    padding: 0 3rem;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--heading);
    display: flex;
    align-items: center;
    gap: .6rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.logo i { color: var(--primary); }

.logo:hover { opacity: .85; transform: scale(1.02); }

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    font-weight: 500;
    font-size: .92rem;
    white-space: nowrap;
    color: var(--heading);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width .35s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a.active { color: var(--heading); }

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
    padding: 11rem 0 7rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%, #f5f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0,82,204,.07) 0%, transparent 65%);
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(140deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--glow), 0 30px 80px rgba(0,0,0,.6);
    border: 1px solid var(--border);
    animation: floatSlow 7s ease-in-out infinite;
}

/* ── METRICS ──────────────────────────────────────────────────── */
.metrics {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.metric-item {
    border-left: 2px solid var(--accent);
    padding-left: 1rem;
}

.metric-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label { font-size: .85rem; color: var(--text-light); }

/* ── STATS ────────────────────────────────────────────────────── */
.stats {
    padding: 5rem 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,82,204,.08) 0%, rgba(0,184,217,.06) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
}

.stat-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(0,184,217,.4);
    box-shadow: var(--glow-cyan);
    transform: translateY(-6px);
}

.stat-card h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .5rem;
}

.stat-card p { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ── SECTION COMMON ───────────────────────────────────────────── */
.section { padding: 8rem 0; }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4.5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text);
    font-size: 1.1rem;
}

/* ── SERVICE CARDS ────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity .4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(91,143,255,.35);
    box-shadow: var(--glow), 0 30px 60px rgba(0,0,0,.4);
}

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

.service-card i {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.service-card:hover i {
    color: var(--accent);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: .8rem;
    font-size: 1.2rem;
    color: var(--heading);
}

.service-card p { color: var(--text); font-size: .95rem; }

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials {
    background: var(--bg-alt);
    padding: 8rem 0;
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    border-color: rgba(178,112,255,.4);
    box-shadow: var(--glow-purple);
    transform: translateY(-6px);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.7;
}

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

.author-info h4 {
    font-size: 1rem;
    margin-bottom: .2rem;
    color: var(--secondary);
}

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

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    color: var(--text);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
}

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

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--heading), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc { color: var(--text-light); margin-bottom: 1.5rem; }

.footer-links h4 {
    color: var(--heading);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links ul li { margin-bottom: .8rem; }

.footer-links ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links ul li a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: .9rem;
}

/* ── DETAILED CARDS ───────────────────────────────────────────── */
.detailed-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.detailed-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.detailed-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent2));
    opacity: 0;
    transition: opacity .4s ease;
}

.detailed-card:hover {
    transform: translateY(-8px);
    border-color: rgba(91,143,255,.3);
    box-shadow: var(--glow), 0 30px 60px rgba(0,0,0,.4);
}

.detailed-card:hover::after { opacity: 1; }

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0,82,204,.08), rgba(0,184,217,.06));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 1.8rem;
    border: 1px solid rgba(0,82,204,.12);
    transition: var(--transition);
}

.detailed-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(0,82,204,.15), rgba(0,184,217,.12));
    transform: rotate(5deg) scale(1.1);
}

.detailed-card h3 { color: var(--heading); margin-bottom: .8rem; }
.detailed-card p  { color: var(--text); font-size: .95rem; }

.detailed-list {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.detailed-list li {
    font-size: .9rem;
    margin-bottom: .5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.detailed-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ── COMPARISON TABLE ─────────────────────────────────────────── */
.comparison-section {
    background: var(--bg-alt);
    padding: 8rem 0;
}

.table-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1.4rem 2rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

th {
    background: rgba(91,143,255,.08);
    font-family: 'Outfit', sans-serif;
    color: var(--heading);
    font-size: 1.05rem;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.02); }

.check-mark { color: #36b37e; font-weight: bold; }
.cross-mark { color: #ff5630; opacity: .5; }

/* ── PARTNER BADGES ───────────────────────────────────────────── */
.partner-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.partner-badge {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: .8rem 1.8rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    font-weight: 700;
    color: var(--text);
    transition: var(--transition);
}

.partner-badge:hover {
    border-color: var(--accent);
    color: var(--heading);
    box-shadow: var(--glow-cyan);
}

/* ── SERVICE NAV PILLS ────────────────────────────────────────── */
.service-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.service-nav-item {
    padding: .6rem 1.4rem;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.service-nav-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: var(--glow);
}

/* ── TIMELINE ─────────────────────────────────────────────────── */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background: var(--bg);
    border: 3px solid var(--accent);
    top: 1.5rem;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 12px rgba(0,212,255,.5);
}

.left  { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }

.left::after  { right: -8px; }
.right::after { left: -8px; }

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .5rem;
    display: block;
}

.timeline-item h3 { color: var(--heading); margin-bottom: .4rem; }
.timeline-item p  { color: var(--text); }

/* ── COMPLIANCE BLOCK ─────────────────────────────────────────── */
.compliance-block {
    background: rgba(0,82,204,.04);
    border-left: 3px solid var(--primary);
    padding: 2.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 2rem;
}

.compliance-block h4 { color: var(--secondary); margin-bottom: 1rem; }

.compliance-note {
    font-size: .85rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    font-style: italic;
}

/* ── VALUES / CTA DARK SECTIONS ───────────────────────────────── */
.values-section,
.cta-block {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ── HOW WE WORK / STEPS ──────────────────────────────────────── */
.step-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    border-color: rgba(91,143,255,.35);
    box-shadow: var(--glow);
    transform: translateY(-6px);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--glow);
}

/* ── FAQ ACCORDION ────────────────────────────────────────────── */
.accordion-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--heading);
    transition: var(--transition);
    margin-bottom: .5rem;
}

.accordion-header:hover {
    border-color: var(--primary);
    background: rgba(91,143,255,.08);
}

.accordion-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 2rem;
    color: var(--text);
    transition: max-height .4s ease, opacity .4s ease, padding .3s ease;
    background: rgba(91,143,255,.04);
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid transparent;
}

.accordion-body[style*="max-height"] {
    padding: 1.5rem 2rem;
    border-color: var(--border);
    margin-bottom: .5rem;
}

/* ── CONTACT INFO CARDS ───────────────────────────────────────── */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.info-card i { color: var(--primary); }
.info-card h4 { color: var(--secondary); }
.info-card p, .info-card a { color: var(--text); }
.info-card a:hover { color: var(--primary); }

/* ── FORM STYLES ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 500;
    color: var(--heading);
    font-size: .9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .9rem 1.2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--heading);
    font-size: .95rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,82,204,.1);
    background: rgba(0,82,204,.02);
}

.form-group select option {
    background: #fff;
    color: var(--heading);
}

/* ── HERO BANNER (what-we-do style) ───────────────────────────── */
.hero-banner {
    padding: 9rem 0 5rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 60%, #f5f0ff 100%);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0,82,204,.05) 0%, transparent 65%);
}

.hero-banner h1 { position: relative; }
.hero-banner p  { position: relative; color: var(--text); }

/* ── PORTFOLIO CARDS ──────────────────────────────────────────── */
.portfolio-card,
.project-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover,
.project-card:hover {
    border-color: rgba(91,143,255,.35);
    box-shadow: var(--glow), 0 30px 60px rgba(0,0,0,.4);
}

/* ── TECH RESOURCE ARTICLES ───────────────────────────────────── */
/* These are in tech-resources.html with inline styles;
   the service-card styles above handle them */

/* ── TRUST / WHY US SECTION ───────────────────────────────────── */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.trust-grid img {
    border-radius: var(--radius-lg);
    width: 100%;
    border: 1px solid var(--border);
    box-shadow: var(--glow), 0 30px 60px rgba(0,0,0,.5);
}

.trust-callout {
    background: linear-gradient(135deg, rgba(91,143,255,.1), rgba(0,212,255,.06));
    border: 1px solid rgba(91,143,255,.2);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
}

/* ── QUOTE PAGE ───────────────────────────────────────────────── */
.quote-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--glow), 0 40px 80px rgba(0,0,0,.5);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: .8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
    font-size: .9rem;
}

.checkbox-label:hover,
.checkbox-label:has(input:checked) {
    border-color: var(--primary);
    background: rgba(91,143,255,.1);
    color: var(--heading);
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 { font-size: 2.8rem; }

    .hero-content p { margin: 0 auto 2.5rem; }

    .metrics { justify-content: center; }

    .stats-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 767px) {
    .timeline::after { left: 24px; }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 1rem;
        text-align: left;
    }
    .timeline-item::after { left: 16px !important; }
    .right { left: 0%; }

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

    .nav-links { display: none; }

    .hero-content h1 { font-size: 2.2rem; }

    .section-header h2 { font-size: 2rem; }

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

/* ── ANIMATIONS ───────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease-out, transform .7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* staggered grid children */
.services-grid  > .fade-in:nth-child(1),
.testimonial-grid > .fade-in:nth-child(1),
.stats-grid     > .fade-in:nth-child(1) { transition-delay: 0s; }

.services-grid  > .fade-in:nth-child(2),
.testimonial-grid > .fade-in:nth-child(2),
.stats-grid     > .fade-in:nth-child(2) { transition-delay: .1s; }

.services-grid  > .fade-in:nth-child(3),
.testimonial-grid > .fade-in:nth-child(3),
.stats-grid     > .fade-in:nth-child(3) { transition-delay: .2s; }

.services-grid  > .fade-in:nth-child(4),
.stats-grid     > .fade-in:nth-child(4) { transition-delay: .3s; }

.services-grid  > .fade-in:nth-child(5) { transition-delay: .4s; }
.services-grid  > .fade-in:nth-child(6) { transition-delay: .5s; }

/* slide variants */
.slide-left  { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease-out, transform .7s ease-out; }
.slide-right { opacity: 0; transform: translateX(40px);  transition: opacity .7s ease-out, transform .7s ease-out; }
.slide-left.visible, .slide-right.visible { opacity: 1; transform: translateX(0); }

/* floating image */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-14px) rotate(1deg); }
}

/* icon pop */
@keyframes iconPop {
    0%  { transform: scale(.5); opacity: 0; }
    70% { transform: scale(1.15); }
    100%{ transform: scale(1); opacity: 1; }
}

.fade-in.visible i { animation: iconPop .5s ease-out .25s both; }

/* gradient border glow pulse for CTA button */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(91,143,255,.35), 0 0 0 0 rgba(91,143,255,.3); }
    50%       { box-shadow: 0 8px 40px rgba(91,143,255,.55), 0 0 0 8px rgba(91,143,255,.05); }
}

.btn-primary { animation: glowPulse 3s ease-in-out infinite; }
.btn-primary:hover { animation: none; }

/* timeline dot pulse */
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(0,212,255,.5); }
    50%       { box-shadow: 0 0 20px rgba(0,212,255,.9); }
}

.timeline-item::after { animation: dotPulse 2.5s ease-in-out infinite; }

/* ── SCROLL PROGRESS BAR ──────────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 9999;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: progressShimmer 2s linear infinite;
    transition: width .08s linear;
    pointer-events: none;
}

@keyframes progressShimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ── FLOATING WHATSAPP BUTTON ─────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 28px rgba(37,211,102,.45);
    z-index: 888;
    cursor: pointer;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
    animation: waBounce 2.5s ease-in-out infinite;
}

.wa-float:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 10px 40px rgba(37,211,102,.65) !important;
    animation: none;
    color: white;
}

.wa-float .wa-label {
    position: absolute;
    right: 68px;
    background: white;
    color: var(--heading);
    font-size: .8rem;
    font-weight: 700;
    padding: .45rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: opacity .25s ease, transform .25s ease;
}

.wa-float .wa-label::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-width: 0;
    border-left-color: white;
}

.wa-float:hover .wa-label {
    opacity: 1;
    transform: translateX(0);
}

@keyframes waBounce {
    0%, 100% { transform: translateY(0);    box-shadow: 0 6px 28px rgba(37,211,102,.45); }
    50%       { transform: translateY(-7px); box-shadow: 0 14px 38px rgba(37,211,102,.55); }
}

/* ── BACK TO TOP BUTTON ───────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 6.4rem;
    right: 2.1rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: .88rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    z-index: 888;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px) scale(.88);
    transition: var(--transition);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1);
    box-shadow: var(--glow);
}

/* ── NETWORK CANVAS (index hero) ──────────────────────────────── */
#network-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-network { position: relative; overflow: hidden; }
.hero-network .hero-content,
.hero-network .hero-image { position: relative; z-index: 1; }

/* ── DOT GRID BACKGROUND FOR SECTIONS ────────────────────────── */
.dot-bg {
    background-image: radial-gradient(circle, rgba(0,82,204,.07) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: var(--bg-alt);
}

/* ── BUTTON SHIMMER SWEEP ─────────────────────────────────────── */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transform: skewX(-20deg);
    animation: btnSweep 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnSweep {
    0%       { left: -80%; }
    35%, 100% { left: 160%; }
}

/* ── TYPEWRITER ROTATING WORDS ────────────────────────────────── */
.typewriter-word {
    color: var(--primary);
    font-weight: 600;
    border-right: 2px solid var(--accent);
    padding-right: 2px;
    white-space: nowrap;
    animation: cursorBlink .75s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { border-color: var(--accent); }
    50%       { border-color: transparent; }
}

/* ── LIVE PULSE BADGE ─────────────────────────────────────────── */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(5,150,105,.1);
    border: 1px solid rgba(5,150,105,.25);
    color: #059669;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 50px;
}

.live-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #059669;
    border-radius: 50%;
    flex-shrink: 0;
    animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1;  transform: scale(1); }
    50%       { opacity: .4; transform: scale(.65); }
}

/* ── CARD GLOW ON HOVER (enhanced) ───────────────────────────── */
.service-card:hover {
    box-shadow: var(--glow), 0 20px 60px rgba(0,82,204,.08);
}

/* ── GRADIENT ANIMATED SECTION DIVIDER ────────────────────────── */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
    background-size: 200% 100%;
    animation: dividerMove 4s linear infinite;
    border: none;
    margin: 0;
}

@keyframes dividerMove {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ── FOOTER LOGO FIX (light text on dark bg) ──────────────────── */
.footer-logo {
    background: linear-gradient(135deg, #ffffff, var(--accent)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ── FOOTER LINK HEADING COLOR FIX ───────────────────────────── */
.footer-links h4 { color: rgba(255,255,255,.9) !important; }
.footer-desc { color: rgba(255,255,255,.55) !important; }
