/* ============================================================
   ANNOTALABS — Shared stylesheet
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #0a1f44;
    --navy-light: #142d5c;
    --cyan: #00d4ff;
    --cyan-dark: #00a8cc;
    --text: #1a1a2e;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --border: #e2e8f0;
    --success: #10b981;
}

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAV ---------- */
.nav {
    background: var(--navy);
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav .container { max-width: 1500px; padding: 0 40px; }

/* ---------- LOGO ---------- */
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { height: 58px; width: auto; display: block; }
.logo-block { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.5px; color: white; }
.logo-text .labs { color: var(--cyan); }
.logo-tagline { font-size: 0.62rem; font-weight: 500; color: #94a3b8; letter-spacing: 0.3px; margin-top: 5px; text-transform: uppercase; }
.logo-full { max-width: 420px; width: 100%; height: auto; display: block; margin: 0 auto 30px; }

/* ---------- NAV LINKS ---------- */
.nav-links { display: flex; gap: 44px; align-items: center; }
.nav-links a { font-size: 0.95rem; color: #cbd5e1; transition: color 0.2s; font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px; }
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-cta {
    background: transparent !important;
    color: var(--cyan) !important;
    padding: 11px 28px;
    border-radius: 30px;
    border: 1.5px solid var(--cyan);
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.95rem !important;
    transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--cyan) !important; color: var(--navy) !important; }

.mobile-toggle { display: none; background: none; border: 0; color: white; cursor: pointer; padding: 8px; align-items: center; justify-content: center; }
.mobile-toggle svg { width: 32px; height: 32px; }

/* ---------- HERO ---------- */
.hero { background: white; padding: 20px 0 80px; }
.hero .container { max-width: 1500px; padding: 0 40px; }

.hero-card {
    background: linear-gradient(135deg, #0a1f44 0%, #142d5c 100%);
    border-radius: 32px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 640px;
    box-shadow: 0 40px 80px rgba(10, 31, 68, 0.2);
    position: relative;
}
.hero-content { padding: 90px 80px; display: flex; flex-direction: column; justify-content: center; color: white; }
.hero-content .hero-badge {
    display: inline-block; background: rgba(0, 212, 255, 0.15); color: var(--cyan); padding: 6px 16px;
    border-radius: 30px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
    border: 1px solid rgba(0, 212, 255, 0.3); align-self: flex-start;
}
.hero-content h1 { font-size: 3rem; line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 22px; color: white; }
.hero-content h1 .accent { color: var(--cyan); }
.hero-content p { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }

.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 68, 0.55) 0%, transparent 35%); pointer-events: none; }
.hero-image-badge {
    position: absolute; bottom: 30px; right: 30px; background: rgba(10, 31, 68, 0.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: white;
    padding: 20px 28px; border-radius: 20px; border: 1px solid rgba(0, 212, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); text-align: center; min-width: 145px; z-index: 2;
}
.badge-value { font-size: 2.2rem; font-weight: 800; color: var(--cyan); letter-spacing: -1.5px; line-height: 1; }
.badge-label { font-size: 0.75rem; color: #cbd5e1; margin-top: 8px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 500; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block; padding: 16px 34px; border-radius: 40px; font-weight: 700;
    font-size: 1rem; cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s; text-align: center;
}
.btn-primary { background: var(--cyan); color: var(--navy); box-shadow: 0 8px 30px rgba(0,212,255,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,212,255,0.5); }
.btn-ghost { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- STATS BAR ---------- */
.stats-bar { background: var(--bg-alt); padding: 50px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-value { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ---------- SECTIONS ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-eyebrow { color: var(--cyan-dark); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 12px; display: block; }
.section h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; color: var(--navy); }
.section-desc { font-size: 1.1rem; color: var(--text-muted); }

/* ---------- SERVICE CARDS ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: white; border: 1px solid var(--border); border-radius: 20px; padding: 36px 28px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(10,31,68,0.08); border-color: var(--cyan); }
.service-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--navy), var(--cyan-dark)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 22px; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.service-card ul { list-style: none; padding: 0; }
.service-card li { color: var(--text-muted); font-size: 0.88rem; padding: 6px 0 6px 22px; position: relative; }
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ---------- STEPS ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 20px; position: relative; }
.step-num { width: 54px; height: 54px; background: var(--cyan); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; margin: 0 auto 20px; box-shadow: 0 8px 25px rgba(0,212,255,0.35); }
.step h4 { color: var(--navy); margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- CTA BANNER ---------- */
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: 28px; padding: 70px 60px; text-align: center; color: white; margin: 60px 0; position: relative; overflow: hidden; }
.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p { color: #cbd5e1; margin-bottom: 32px; font-size: 1.1rem; }

/* ---------- FOOTER ---------- */
footer { background: var(--navy); color: #94a3b8; padding: 70px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h5 { color: white; font-size: 0.95rem; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; font-size: 0.9rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; font-size: 0.85rem; flex-wrap: wrap; gap: 12px; }

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--navy); font-size: 0.92rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px;
    font-size: 1rem; font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--cyan); }

/* ---------- NEW HOMEPAGE SECTIONS ---------- */

/* --- SPLIT SECTION (About / Process) --- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 100px 0; }
.split-image img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); object-fit: cover; aspect-ratio: 4/5; }
.split-content .eyebrow { color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 16px; display: block; }
.split-content h2 { font-size: 2.8rem; line-height: 1.2; color: var(--navy); margin-bottom: 24px; letter-spacing: -1px; }
.split-content p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }

/* --- MODALITIES GRID (4 columns) --- */
.modality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.modality-card {
    display: block; text-decoration: none; background: var(--bg-alt); padding: 40px 30px; border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s; border: 1px solid transparent;
}
.modality-card:hover { transform: translateY(-8px); background: white; box-shadow: 0 15px 30px rgba(10, 31, 68, 0.08); border-color: var(--cyan); }
.modality-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 12px; }
.modality-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* --- INDUSTRIES GRID --- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.industry-card { background: var(--bg-alt); border-radius: 16px; overflow: hidden; }
.industry-card img { width: 100%; height: 160px; object-fit: cover; }
.industry-content { padding: 24px; }
.industry-content h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.industry-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* --- HOW WE WORK (Dark Split) --- */
.process-section {
    background: var(--navy); color: white; border-radius: 32px; padding: 60px;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin: 100px auto; max-width: 1400px;
    box-shadow: 0 30px 60px rgba(10, 31, 68, 0.15);
}
.process-image img { width: 100%; border-radius: 20px; height: 100%; object-fit: cover; }
.process-content h2 { font-size: 2.2rem; margin-bottom: 20px; color: white; }
.process-content > p { color: #cbd5e1; margin-bottom: 40px; line-height: 1.7; }
.process-content details { border-bottom: 1px solid rgba(255,255,255,0.15); padding: 20px 0; }
.process-content summary { font-size: 1.2rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: white; }
.process-content summary::-webkit-details-marker { display: none; }
.process-content summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--cyan); }
.process-content details[open] summary::after { content: '−'; }
.process-content details p { margin-top: 15px; color: #cbd5e1; line-height: 1.6; font-size: 0.95rem; }

/* --- TESTIMONIALS --- */
.testimonial-section { background: var(--navy); padding: 100px 0; color: white; }
.testimonial-header { margin-bottom: 50px; }
.testimonial-header h2 { font-size: 2.5rem; color: white; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: white; color: var(--text); padding: 40px; border-radius: 16px; position: relative; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.quote-mark { font-size: 4rem; color: var(--cyan); line-height: 1; font-family: Georgia, serif; margin-bottom: 20px; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 30px; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; color: var(--navy); text-transform: uppercase; }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }

/* --- FAQ SECTION --- */
.faq-section { max-width: 900px; margin: 100px auto; }
.faq-section h2 { text-align: center; font-size: 2.5rem; color: var(--navy); margin-bottom: 40px; }
.faq-section details { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-section summary { font-size: 1.1rem; color: var(--navy); font-weight: 600; }
.faq-section p { color: var(--text-muted); font-size: 0.95rem; }

/* --- BLOG & CTA --- */
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.blog-header h2 { font-size: 2.5rem; color: var(--navy); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.blog-card { background: var(--bg-alt); border-radius: 16px; overflow: hidden; transition: transform 0.2s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 24px; }
.blog-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; display: block; }
.blog-content h3 { font-size: 1.1rem; color: var(--navy); line-height: 1.4; }
.cta-footer { background: var(--navy); color: white; border-radius: 24px; padding: 60px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 100px; box-shadow: 0 20px 40px rgba(10, 31, 68, 0.15); }
.cta-footer h2 { color: white; font-size: 2rem; margin-bottom: 10px; }
.cta-footer p { color: #cbd5e1; max-width: 600px; }
.cta-footer .btn-primary { background: var(--cyan); color: var(--navy); box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); white-space: nowrap; }
.cta-footer .btn-primary:hover { background: white; color: var(--navy); box-shadow: 0 0 30px rgba(255, 255, 255, 0.5); }

/* ============================================================
   SERVICE PAGE SPECIFIC STYLES
   ============================================================ */
.service-hero-split {
    background: var(--navy); border-radius: 24px; overflow: hidden; display: grid;
    grid-template-columns: 1fr 1fr; margin: 40px auto; max-width: 1400px; box-shadow: 0 20px 50px rgba(10,31,68,0.15);
}
.service-hero-text { padding: 80px 60px; color: white; display: flex; flex-direction: column; justify-content: center; }
.service-hero-text h1 { font-size: 3.2rem; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.service-hero-text p { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 40px; max-width: 500px; }
.service-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.intro-section { text-align: center; max-width: 900px; margin: 80px auto; padding: 0 20px; }
.intro-section h2 { font-size: 2.8rem; color: var(--navy); margin-bottom: 30px; letter-spacing: -1px; }
.intro-section h2 span { color: var(--cyan-dark); }
.intro-section p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.intro-section h3 { font-size: 1.5rem; color: var(--navy); margin: 40px 0 15px; font-weight: 700; }

.services-8-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 100px; }
.service-8-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border); transition: transform 0.3s; }
.service-8-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(10,31,68,0.1); }
.service-8-card img { width: 100%; height: 180px; object-fit: cover; }
.service-8-content { padding: 24px; }
.service-8-content h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 12px; }
.service-8-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.features-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 100px; }
.features-split img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.features-text h2 { font-size: 2.2rem; color: var(--navy); margin-bottom: 20px; }
.features-text > p { color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; }
.feature-item { display: flex; gap: 20px; margin-bottom: 30px; }
.feature-icon { font-size: 1.5rem; background: var(--bg-alt); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; flex-shrink: 0; }
.feature-item h4 { color: var(--navy); margin-bottom: 8px; font-size: 1.1rem; }
.feature-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.why-choose-section { background: var(--navy); border-radius: 32px; padding: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 100px; color: white; }
.why-text h2 { font-size: 2.2rem; margin-bottom: 15px; }
.why-text > p { color: #cbd5e1; margin-bottom: 50px; }
.why-list-item { display: flex; gap: 20px; margin-bottom: 30px; }
.why-list-icon { font-size: 1.5rem; color: var(--cyan); flex-shrink: 0; }
.why-list-item h4 { font-size: 1.1rem; margin-bottom: 8px; }
.why-list-item p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.6; }

.expert-form { background: white; border-radius: 20px; padding: 40px; color: var(--text); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.expert-form h3 { text-align: center; font-size: 1.8rem; color: var(--navy); margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.expert-form input, .expert-form select, .expert-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.9rem; background: var(--bg-alt); }
.expert-form textarea { height: 100px; resize: none; margin-bottom: 15px; }
.form-submit { width: 100%; padding: 16px; background: var(--cyan); color: var(--navy); font-weight: 700; border: none; border-radius: 8px; cursor: pointer; font-size: 1rem; transition: 0.2s; }
.form-submit:hover { background: var(--cyan-dark); color: white; }

.faq-header-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; align-items: flex-end; }
.faq-header-split h2 { font-size: 2.5rem; color: var(--navy); }
.faq-header-split p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.faq-list { max-width: 100%; margin-bottom: 100px; }
.faq-list details { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-list summary { font-size: 1.2rem; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--navy); font-size: 1.5rem; font-weight: 300; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin-top: 15px; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ============================================================
   SERVICES HUB & BLOG STYLES
   ============================================================ */
.services-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 80px; }
.hub-card { background: var(--bg-alt); padding: 40px 30px; border-radius: 16px; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.hub-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(10,31,68,0.08); background: white; }
.hub-icon { font-size: 1.8rem; margin-bottom: 20px; color: var(--navy); }
.hub-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 15px; }
.hub-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.hub-card ul { list-style: none; padding: 0; margin-top: auto; }
.hub-card li { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.hub-card li::before { content: '✓'; color: var(--success); font-weight: bold; }

.blog-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.blog-preview-card { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.2s; }
.blog-preview-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.blog-preview-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-preview-content { padding: 24px; }
.blog-preview-date { font-size: 0.8rem; color: #888; margin-bottom: 10px; display: block; }
.blog-preview-content h3 { font-size: 1.1rem; color: var(--navy); line-height: 1.4; }

.blog-excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.read-more { font-size: 0.9rem; font-weight: 700; color: var(--cyan-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.read-more:hover { color: var(--navy); }

a.blog-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--bg-alt); border-radius: 16px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
a.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(10, 31, 68, 0.1); }
a.blog-preview-card { display: block; text-decoration: none; color: inherit; background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
a.blog-preview-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(10, 31, 68, 0.1); }
a.blog-card h3, a.blog-preview-card h3 { color: var(--navy); text-decoration: none; }

/* ============================================================
   SINGLE BLOG POST STYLES
   ============================================================ */
.blog-post-wrap { max-width: 900px; margin: 40px auto 80px; padding: 0 20px; }
.blog-hero-image { width: 100%; height: 450px; object-fit: cover; border-radius: 24px; margin-bottom: 30px; position: relative; }
.blog-date-badge { position: absolute; top: 60px; right: 60px; background: rgba(255, 255, 255, 0.95); padding: 10px 20px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; color: var(--navy); box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 10; }
.blog-post-title { font-size: 2.8rem; line-height: 1.2; color: var(--navy); margin-bottom: 24px; letter-spacing: -1px; }
.blog-post-meta { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; }

.post-quote { display: flex; background: var(--bg-alt); border-radius: 12px; overflow: hidden; margin: 40px 0; }
.quote-icon { background: #5a5eb9; color: white; width: 100px; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-family: Georgia, serif; flex-shrink: 0; }
.quote-text { padding: 30px; font-size: 1.15rem; font-weight: 600; color: var(--navy); line-height: 1.6; }

.toc-box { background: var(--bg-alt); border-radius: 16px; padding: 30px; margin: 40px 0; }
.toc-box h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 16px; }
.toc-box ul { list-style: none; padding: 0; }
.toc-box li { margin-bottom: 12px; }
.toc-box a { color: #5a5eb9; text-decoration: underline; font-weight: 500; font-size: 1rem; }
.toc-box a:hover { color: var(--navy); }

.blog-body h2 { font-size: 2rem; color: var(--navy); margin: 50px 0 20px; letter-spacing: -0.5px; }
.blog-body h3 { font-size: 1.4rem; color: var(--navy); margin: 30px 0 15px; }
.blog-body p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.blog-body ul { padding-left: 20px; margin-bottom: 24px; }
.blog-body li { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 8px; }
.blog-body b { color: var(--navy); }

.author-bio { background: #333; color: white; border-radius: 20px; padding: 40px; display: flex; gap: 30px; align-items: center; margin-top: 60px; }
.author-bio img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #555; }
.author-text h4 { font-size: 1.3rem; margin-bottom: 10px; color: white; }
.author-text p { font-size: 0.95rem; color: #ccc; line-height: 1.6; }

.key-points-box { background: #eef6fc; border-radius: 12px; padding: 30px; margin: 40px 0; }
.key-points-box h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 16px; }
.key-points-box ul { list-style: none; padding: 0; margin: 0; }
.key-points-box li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; padding-left: 24px; position: relative; }
.key-points-box li::before { content: '✓'; color: #00b4d8; font-weight: bold; position: absolute; left: 0; top: 2px; }
.key-points-box li b { color: var(--navy); }

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; text-align: center; }
.team-card { background: white; padding: 30px; border-radius: 20px; border: 1px solid var(--border); }
.team-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--bg-alt); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.team-card h4 { font-size: 1.2rem; color: var(--navy); margin-bottom: 5px; }
.team-role { font-size: 0.9rem; color: var(--text-muted); }

.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.approach-card { background: white; padding: 30px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.approach-icon { font-size: 1.8rem; margin-bottom: 15px; }
.approach-card h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.approach-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.drives-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.drive-card { background: white; padding: 40px 30px; border-radius: 16px; text-align: center; border: 1px solid var(--border); }
.drive-icon { font-size: 2rem; margin-bottom: 16px; }
.drive-card h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 12px; }
.drive-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.values-image img { width: 100%; border-radius: 24px; object-fit: cover; }
.value-item { display: flex; gap: 20px; margin-bottom: 30px; }
.value-item-icon { font-size: 1.5rem; background: var(--bg-alt); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; flex-shrink: 0; }
.value-item h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; }
.value-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   HOW IT WORKS PAGE STYLES
   ============================================================ */
.process-timeline { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.timeline-step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.timeline-step.reverse { direction: rtl; }
.timeline-step.reverse .step-content { direction: ltr; }
.step-image img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); object-fit: cover; aspect-ratio: 4/3; }
.step-content .step-badge { display: inline-block; background: var(--bg-alt); color: var(--navy); font-weight: 800; font-size: 1rem; padding: 6px 16px; border-radius: 30px; margin-bottom: 20px; }
.step-content h3 { font-size: 2.2rem; color: var(--navy); margin-bottom: 20px; letter-spacing: -1px; }
.step-content p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.step-content ul { list-style: none; padding: 0; }
.step-content li { font-size: 1rem; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.step-content li::before { content: '✓'; color: var(--cyan-dark); font-weight: bold; }

.qa-section { background: var(--navy); padding: 100px 0; color: white; margin: 80px 0; }
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.qa-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 40px 30px; border-radius: 20px; text-align: center; }
.qa-icon { font-size: 2.5rem; margin-bottom: 20px; }
.qa-card h4 { font-size: 1.3rem; margin-bottom: 15px; }
.qa-card p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.6; }

/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; padding: 80px 0; }
.contact-info h2 { font-size: 2.5rem; color: var(--navy); margin-bottom: 15px; letter-spacing: -1px; }
.contact-info h2 span { color: var(--cyan-dark); }
.contact-info > p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 40px; }
.contact-card-item { background: var(--navy); color: white; padding: 30px; border-radius: 16px; margin-bottom: 20px; display: flex; gap: 20px; align-items: flex-start; }
.contact-card-icon { font-size: 1.8rem; line-height: 1; margin-top: 4px; }
.contact-card-text h3 { font-size: 1.4rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.contact-card-text p { color: #cbd5e1; font-size: 0.95rem; margin: 0; line-height: 1.6; }

/* ============================================================
   INTERVIEW PORTAL STYLES
   ============================================================ */
.portal-body { background: #f4f6f9; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.portal-card { background: white; border-radius: 24px; box-shadow: 0 20px 60px rgba(10, 31, 68, 0.1); max-width: 650px; width: 100%; padding: 50px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; box-sizing: border-box; }
.portal-logo { height: 60px; width: auto; margin-bottom: 25px; display: block; }
.portal-title { font-size: 2rem; color: var(--navy); margin-bottom: 10px; font-weight: 800; }
.portal-role { font-size: 1.1rem; color: var(--cyan-dark); font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.portal-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin-bottom: 30px; }
.portal-rules { background: #f8f9fa; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; text-align: left; margin-bottom: 30px; width: 100%; box-sizing: border-box; }
.portal-rules ul { list-style: none; padding: 0; margin: 0; }
.portal-rules li { font-size: 0.95rem; color: var(--text); margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.portal-rules li::before { content: '•'; color: var(--cyan-dark); font-weight: bold; font-size: 1.2rem; line-height: 1; }
.portal-input { width: 100%; padding: 16px; border: 2px solid var(--border); border-radius: 12px; font-size: 1rem; margin-bottom: 15px; transition: border-color 0.2s; font-family: inherit; box-sizing: border-box; }
.portal-input:focus { outline: none; border-color: var(--cyan-dark); }
.portal-btn { width: 100%; padding: 18px; background: var(--navy); color: white; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background 0.2s; box-sizing: border-box; }
.portal-btn:hover { background: #142d5c; }
.portal-error { color: #e74c3c; font-size: 0.9rem; margin-bottom: 15px; min-height: 20px; font-weight: 600; }

.doc-upload-row { display: flex; flex-direction: column; width: 100%; gap: 15px; margin-bottom: 25px; }
.upload-box { background: #f8f9fa; border: 1px solid #dfe6e9; padding: 20px; border-radius: 12px; text-align: left; width: 100%; box-sizing: border-box; }
.upload-box label { font-weight: 600; color: #0a1f44; display: block; margin-bottom: 8px; }

.task-nav-container { display: flex; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-between; gap: 15px; margin-top: 30px; margin-bottom: 30px; }
.task-nav-container .portal-btn { width: 48% !important; max-width: 180px !important; padding: 12px 10px !important; font-size: 0.95rem !important; display: flex; justify-content: center; align-items: center; white-space: nowrap; }

/* ============================================================
   NEW CAREERS PAGE & JOB DETAIL STYLES
   ============================================================ */
.job-card { background: var(--navy); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 30px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; transition: transform 0.2s, box-shadow 0.2s; }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); border-color: rgba(255,255,255,0.3); }
.job-card-left { flex: 1; min-width: 300px; }
.job-card-left h3 { font-size: 1.4rem; color: white; margin-bottom: 10px; font-weight: 700; }
.job-card-left p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; max-width: 600px; }
.job-card-tags { display: flex; gap: 15px; flex-wrap: wrap; color: #e2e8f0; font-size: 0.85rem; }
.job-card-tags span { display: flex; align-items: center; gap: 6px; }
.job-card-tags .dot { width: 8px; height: 8px; background: #e74c3c; border-radius: 50%; display: inline-block; }
.job-card-right { display: flex; flex-direction: column; gap: 15px; align-items: flex-end; min-width: 200px; }
.job-actions { display: flex; gap: 10px; }
.btn-apply-white { background: white; color: var(--navy); padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: background 0.2s; }
.btn-apply-white:hover { background: #e0e0e0; }
.btn-view-job { background: transparent; color: white; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); transition: border-color 0.2s; }
.btn-view-job:hover { border-color: white; }

.trustpilot-widget { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: white; }
.trustpilot-stars { color: #00b67a; letter-spacing: 2px; font-size: 1.1rem; }
.trustpilot-flags { font-size: 1.2rem; margin-left: 5px; }

.job-detail-layout { display: grid; grid-template-columns: 1fr 350px; gap: 40px; padding: 60px 0; align-items: start; }
.job-detail-content h1 { font-size: 2.5rem; color: var(--navy); margin-bottom: 10px; letter-spacing: -1px; }
.job-detail-content .job-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; }
.job-detail-content h2 { font-size: 1.5rem; color: var(--navy); margin: 40px 0 15px; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.job-detail-content p, .job-detail-content li { color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 15px; }
.job-detail-content ul { padding-left: 20px; }
.job-detail-content li { margin-bottom: 10px; }

.job-sidebar { background: var(--navy); border-radius: 20px; padding: 30px; color: white; position: sticky; top: 100px; }
.job-sidebar h3 { font-size: 1.2rem; margin-bottom: 20px; color: white; }
.job-sidebar-btn { display: block; width: 100%; background: white; color: var(--navy); text-align: center; padding: 16px; border-radius: 8px; font-weight: 700; font-size: 1.1rem; text-decoration: none; margin-bottom: 25px; transition: background 0.2s; }
.job-sidebar-btn:hover { background: #e0e0e0; }
.sidebar-details { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 25px; margin-bottom: 25px; }
.sidebar-details h4 { font-size: 1rem; margin-bottom: 15px; color: white; }
.sidebar-details .detail-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; }
.sidebar-details .detail-label { color: #94a3b8; }
.sidebar-details .detail-value { color: white; font-weight: 600; text-align: right; }
.sidebar-flags { font-size: 1.2rem; margin-left: 5px; }
.sidebar-link { display: block; text-align: center; color: #94a3b8; font-size: 0.9rem; text-decoration: none; margin-top: 20px; }
.sidebar-link:hover { color: white; text-decoration: underline; }

/* ============================================================
   MOBILE & TABLET RESPONSIVE FIXES
   ============================================================ */
@media (max-width: 1024px) {
    .modality-grid, .industry-grid { grid-template-columns: 1fr 1fr; }
    .split-section, .process-section { grid-template-columns: 1fr; }
    .testimonial-grid, .blog-grid { grid-template-columns: 1fr; }
    .cta-footer { flex-direction: column; text-align: center; gap: 30px; }
    .services-8-grid { grid-template-columns: 1fr 1fr; }
    .service-hero-img { order: -1; height: 300px; }
    .why-choose-section { padding: 40px; }
    .services-hub-grid { grid-template-columns: 1fr 1fr; }
    .blog-preview-grid { grid-template-columns: 1fr; }
    .team-grid, .approach-grid, .drives-grid { grid-template-columns: 1fr 1fr; }
    .job-detail-layout { grid-template-columns: 1fr; padding: 30px 0; }
    .job-sidebar { position: relative; top: 0; }
    .job-card-right { align-items: flex-start; width: 100%; }
    .job-actions { width: 100%; }
    .btn-apply-white, .btn-view-job { flex: 1; text-align: center; }
}

@media (max-width: 900px) {
    /* NAV & MOBILE MENU */
    .nav .container { padding: 0 20px; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 20px 24px 30px; gap: 4px; box-shadow: 0 15px 40px rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.1); z-index: 99; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; font-size: 1rem; }
    .nav-links a:last-child { border-bottom: 0; margin-top: 10px; text-align: center; }
    .nav-links a.nav-cta { background: var(--cyan) !important; color: var(--navy) !important; padding: 14px 24px !important; border: none !important; text-align: center; margin-top: 10px; }
    .nav { position: sticky; top: 0; }
    .nav-inner { position: relative; }
    .mobile-toggle { display: flex !important; font-size: 3.5rem !important; padding: 10px !important; color: white !important; line-height: 1; background: transparent; border: none; cursor: pointer; }
    .mobile-toggle svg { width: 40px !important; height: 40px !important; stroke-width: 2.5; }
    
    /* LOGO SIZE */
    .logo img { height: 52px !important; }
    .logo-text { font-size: 1.45rem !important; }
    .logo { gap: 10px !important; }

    /* HERO EDGE-TO-EDGE FIXES */
    nav + div, nav + section, nav + main, .hero-wrapper, div[style*="max-width: 1500px"] { margin-top: 0 !important; padding-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; width: 100% !important; }
    .hero { padding: 0 0 40px 0 !important; }
    .hero .container { padding: 0 !important; max-width: 100% !important; }
    .hero-card, .service-hero-split { border-radius: 0 !important; box-shadow: none !important; min-height: auto !important; margin-top: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
    .hero-content { padding: 50px 36px; order: 2; }
    .hero-content h1 { font-size: 2.1rem; }
    .hero-image { order: 1; min-height: 280px; max-height: 340px; }
    .hero-image::after { background: linear-gradient(180deg, transparent 60%, rgba(10, 31, 68, 0.6) 100%); }
    .hero-image-badge { bottom: 16px; right: 16px; padding: 14px 20px; min-width: 110px; }
    .badge-value { font-size: 1.7rem; }
    .badge-label { font-size: 0.65rem; }
    
    /* SERVICE HERO TEXT SIZING */
    .service-hero-text { padding: 40px 24px !important; order: 2; }
    .service-hero-text h1 { font-size: 2.2rem !important; line-height: 1.2 !important; margin-bottom: 15px !important; }
    .service-hero-text p { font-size: 1rem !important; margin-bottom: 25px !important; }
    .service-hero-img { order: 1; height: 250px !important; }
    .service-hero-img img { height: 100% !important; object-fit: cover !important; }

    /* GRIDS TO 1 COLUMN */
    .services-grid, .steps-grid, .stats-grid, .footer-grid, .modality-grid, .industry-grid, .team-grid, .approach-grid, .drives-grid, .qa-grid, .services-hub-grid { grid-template-columns: 1fr; }
    
    /* CONTACT PAGE STACKING */
    .contact-grid { display: block !important; width: 100% !important; max-width: 100vw !important; padding: 20px !important; box-sizing: border-box !important; }
    .contact-info, .expert-form { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box !important; }
    .contact-info { margin-bottom: 40px !important; }
    .form-row { display: flex !important; flex-direction: column !important; gap: 15px !important; width: 100% !important; }
    .form-row input, .form-row select, textarea, .form-submit { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
    .contact-card-item { padding: 20px; }
    body, html { overflow-x: hidden !important; width: 100% !important; }

    /* WHY CHOOSE US STACKING */
    .why-choose-section { display: block !important; padding: 30px 20px !important; margin-bottom: 40px !important; width: 100% !important; max-width: 100vw !important; box-sizing: border-box !important; }
    .why-text { width: 100% !important; margin-bottom: 30px !important; }
    .expert-form { padding: 20px !important; margin: 0 !important; }
    .expert-form input, .expert-form select, .expert-form textarea { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }

    /* HOW IT WORKS TIMELINE */
    .timeline-step, .timeline-step.reverse { grid-template-columns: 1fr; direction: ltr; gap: 30px; margin-bottom: 60px; }

    /* BLOG POST */
    .blog-post-wrap { padding: 0 !important; margin-top: 0 !important; }
    .blog-hero-image { border-radius: 0 !important; margin-top: 0 !important; }
}

@media (max-width: 600px) {
    .services-grid, .steps-grid, .stats-grid, .footer-grid, .modality-grid, .industry-grid, .services-hub-grid { grid-template-columns: 1fr; }
    .split-section h2 { font-size: 2rem; }
    .process-section { padding: 30px; }
    .hero { padding: 40px 0 60px; }
    .hero-content { padding: 40px 26px; }
    .hero-content h1 { font-size: 1.8rem; }
    .section h2 { font-size: 1.8rem; }
    .cta-banner { padding: 50px 30px; }
    .logo img { height: 44px !important; }
    .logo-text { font-size: 1.25rem !important; }
    .logo-tagline { display: none; }
    .services-8-grid, .form-row { grid-template-columns: 1fr; }
    .service-hero-text { padding: 40px 20px; }
    .service-hero-text h1 { font-size: 2.2rem; }
    .blog-post-title { font-size: 2rem; }
    .blog-hero-image { height: 250px; }
    .blog-date-badge { top: 20px; right: 20px; }
    .post-quote { flex-direction: column; }
    .quote-icon { width: 100%; height: 60px; }
    .author-bio { flex-direction: column; text-align: center; }
}
/* --- SAFEGUARD FOR IMAGES IN JOB CARDS --- */
.job-card img, 
.job-card-left img {
    max-width: 50px !important; /* Forces any stray logos to be tiny */
    height: auto !important;
    display: inline-block;
}