/* === Base styles + Home page === */

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    transition: background 0.3s ease;
}
.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header.scrolled {
    background: rgba(11,26,48,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.header-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.header-logo span {
    color: var(--teal);
}

.header-nav {
    display: flex;
    gap: 40px;
}

.header-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.header-nav a:hover,
.header-nav li.current-menu-item > a,
.header-nav li.current-menu-parent > a,
.header-nav li.current-menu-ancestor > a {
    color: var(--teal);
}

/* active underline — fallback nav */
.header-nav li.current-menu-item > a,
.header-nav li.current-menu-parent > a,
.header-nav li.current-menu-ancestor > a {
    font-weight: 600;
    letter-spacing: 0.4px;
}

.header-cta {
    background: transparent;
    border: 1px solid var(--teal);
    color: var(--teal);
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: var(--teal);
    color: var(--navy);
}

/* ===== SECTIONS ===== */
section {
    position: relative;
    padding: 72px 24px;
    z-index: 1;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
}

h3 {
    font-size: 17px;
    font-weight: 600;
}

.section-header {
    margin-bottom: 60px;
}

.line {
    width: 48px;
    height: 3px;
    background: var(--teal);
    margin-top: 20px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}


/* ════════════════════════════════════════════════
   STANDARD ICON CONTAINER — use .ig-icon everywhere
   Replaces segment-icon, service-icon, method-card-icon, etc.
════════════════════════════════════════════════ */
.ig-icon {
    width: 44px;
    height: 44px;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ig-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
/* Circle variant — for segments/industries grid */
.ig-icon--circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(0,201,167,0.25);
    background: rgba(0,201,167,0.06);
    margin: 0 auto 14px;
    transition: border-color 0.25s, background 0.25s;
}
.ig-icon--circle svg { width: 26px; height: 26px; }
.segment:hover .ig-icon--circle,
.segment-card:hover .ig-icon--circle {
    border-color: rgba(0,201,167,0.5);
    background: rgba(0,201,167,0.12);
}
/* Small variant — for inline text use */
.ig-icon--sm { width: 20px; height: 20px; }
/* Large variant — for hero/section accents */
.ig-icon--lg { width: 64px; height: 64px; }
.ig-icon--lg svg { width: 52px; height: 52px; }

p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
}

.highlight {
    color: var(--teal);
}

div.tag {
    font-family: inherit;
    color: var(--teal);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 12px;
    display: block;
}

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-home {
    min-height: 70vh;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-home .hero-content {
    max-width: 760px;
}

.hero-home h1 {
    font-size: clamp(44px, 6vw, 76px);
    margin-bottom: 36px;
}

.hero-home .hero-description {
    font-size: 19px;
    line-height: 1.9;
    max-width: 600px;
}

.hero-inner {
    min-height: 36vh;
    padding-top: 140px;
    padding-bottom: 50px;
}

.hero-inner h1 {
    font-size: clamp(30px, 4.5vw, 50px);
}

.hero-inner .hero-description {
    font-size: 16px;
    max-width: 600px;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    font-family: inherit;
    font-size: 12px;
    color: var(--teal);
    letter-spacing: 3px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 30px;
}

.hero-description {
    font-size: 18px;
    color: var(--text);
    opacity: 0.85;
    max-width: 550px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.hero-cta {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy);
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #00ddb5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,201,167,0.25);
}

.btn-ghost {
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.btn-ghost:hover {
    color: var(--teal);
}

.btn-ghost svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ===== PARTNERS ===== */
.partners-section {
    background: var(--navy-deep);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.partner {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 24px 40px;
    transition: all 0.3s ease;
}

.partner:hover {
    border-color: var(--teal);
    background: var(--card-hover);
}

.partner-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: linear-gradient(135deg, #0a1628 0%, #0e3630 50%, #0b2830 100%);
}

.why-content {
    position: relative;
}

.why-section h2,
.why-section p {
    color: #fff;
}

.why-section .line {
    background: rgba(255,255,255,0.5);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.why-item {
    padding: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(0,201,167,0.25);
    transition: all 0.3s ease;
}

.why-item:hover {
    background: rgba(0,201,167,0.08);
    border-color: rgba(0,201,167,0.4);
    transform: translateY(-4px);
}

.why-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.why-item h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
}

.why-item p {
    font-size: 14px;
    opacity: 1;
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
}

/* ===== SERVICES ===== */
.services-section {
    background: var(--navy);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}
.service-card {
    height: 100%;  /* stretch to grid row height */
}

.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 24px 20px;
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    border-color: rgba(0,201,167,0.3);
    background: var(--card-hover);
    transform: translateY(-4px);
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    color: var(--teal);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.service-card h3 {
    color: #fff;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 13px;
    line-height: 1.7;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--navy-deep);
    text-align: center;
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

.map-stat {
    text-align: center;
}

.map-stat-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.map-stat-label {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}

/* ===== SEGMENTS ===== */
.segments-section {
    background: var(--navy);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.segment {
    padding: 30px 20px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.segment:hover {
    border-color: var(--teal);
    background: rgba(0,180,216,0.08);
}

.segment-icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--teal); }

.segment-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.5; fill: none; }

.segment-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #0f2240 100%);
    padding: 72px 24px;
}

.cta-content {
    max-width: 600px;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: rgba(232,240,248,0.7);
    
    margin-bottom: 30px;
}

.btn-dark {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-deep);
    padding: 40px 6%;
}

.footer-simple {
    text-align: center;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.hero-stats {
        gap: 40px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .segments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .map-stats {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-stats {
        flex-direction: column;
        gap: 30px;
    }
}

