/* ============================================
   AFRISHAPE PARTNERS - Global Stylesheet
   Brand Colors from Charte Graphique:
   - Dark Navy: #0A1A3A
   - Primary Blue: #1B5EA6
   - Light Blue: #3B8DD6
   - White: #FFFFFF
   - Dark: #0D0D0D
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --navy: #0A1A3A;
    --blue: #1B5EA6;
    --blue-light: #3B8DD6;
    --blue-accent: #2474C4;
    --dark: #0D0D0D;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F0F2F5;
    --gray-200: #E2E6EA;
    --gray-300: #CED4DA;
    --gray-500: #6C757D;
    --gray-700: #495057;
    --gray-900: #212529;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 1rem;
}

.text-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--gray-500);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 640px;
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--navy);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 94, 166, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

.btn-link {
    padding: 0;
    color: var(--blue);
    font-weight: 600;
    background: none;
    border: none;
    font-size: 0.9rem;
}
.btn-link:hover {
    color: var(--navy);
}
.btn-link .arrow {
    transition: transform var(--transition-fast);
}
.btn-link:hover .arrow {
    transform: translateX(4px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 48px;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-logo img {
    height: 48px;
    width: auto;
}

.navbar-logo .logo-dark { display: none; }
.navbar-logo .logo-light { display: block; }
.navbar.scrolled .navbar-logo .logo-dark { display: block; }
.navbar.scrolled .navbar-logo .logo-light { display: none; }

.navbar-menu {
    /* Base: hidden - controlled per breakpoint */
    display: none;
}

.navbar-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.01em;
    position: relative;
    padding: 4px 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-light);
    transition: width var(--transition-base);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}



.navbar-cta .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.navbar.scrolled .navbar-cta .btn-outline {
    border-color: var(--blue);
    color: var(--blue);
}
.navbar.scrolled .navbar-cta .btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--navy);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 26, 58, 0.85) 0%, rgba(10, 26, 58, 0.6) 50%, rgba(10, 26, 58, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 0 48px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero .text-lead {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Page Hero (for inner pages) */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--navy);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 141, 214, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero .text-lead {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.breadcrumb a:hover {
    color: var(--white);
}
.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}

/* --- Sections --- */
.section {
    padding: var(--section-padding);
}

.section-dark {
    background: var(--navy);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}
.section-dark p {
    color: rgba(255, 255, 255, 0.7);
}
.section-dark .section-label {
    color: var(--blue-light);
}

.section-gray {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

/* --- Grid System --- */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Cards --- */
.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card-body {
    padding: 32px;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--blue);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-body h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.card-body p {
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Service Card */
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 40px 32px;
    transition: var(--transition-base);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .card-icon {
    background: rgba(27, 94, 166, 0.08);
}

/* Industry Card */
.industry-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.industry-card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.industry-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.industry-card:hover .industry-card-bg img {
    transform: scale(1.05);
}

.industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 26, 58, 0.9) 100%);
    z-index: 2;
}

.industry-card-content {
    position: relative;
    z-index: 3;
    padding: 32px;
    width: 100%;
}

.industry-card-content h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.industry-card-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.industry-card-content .btn-link {
    color: var(--blue-light);
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* --- Two Column Layout --- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content {
    max-width: 520px;
}

.split-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    border-radius: 8px;
}

.split-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--blue);
    opacity: 0.1;
    border-radius: 8px;
    z-index: -1;
}

/* --- Value Propositions / Feature List --- */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 94, 166, 0.08);
    border-radius: 8px;
    color: var(--blue);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--navy);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 141, 214, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

/* --- Team Section --- */
.team-card {
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--gray-200);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--blue);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--blue);
}

.timeline-year {
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* --- Contact Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--gray-900);
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27, 94, 166, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* --- Contact Info Cards --- */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 8px;
}

.contact-info-card .icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 94, 166, 0.08);
    border-radius: 8px;
    color: var(--blue);
}

.contact-info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-logo img {
    height: 40px;
}

.footer h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}
.footer-social a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-40 { margin-top: 40px; }

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Partners/Logo Strip --- */
.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-strip img {
    height: 32px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: var(--transition-base);
}

.logo-strip img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- Accordion --- */
.accordion-item {
    border-bottom: 1px solid var(--gray-200);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    font-size: 1.05rem;
}

.accordion-header .icon {
    transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.accordion-body-inner {
    padding: 0 0 20px;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

/* --- Responsive --- */

/* ============================================
   DESKTOP NAVBAR MENU — Fixed center overlay
   ============================================ */
@media (min-width: 769px) {
    .navbar-menu {
        display: flex;
        align-items: center;
        gap: 40px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 80px;
        justify-content: center;
        z-index: 1001;
        pointer-events: none;
        background: transparent;
    }

    .navbar-menu a {
        pointer-events: auto;
        color: rgba(255, 255, 255, 0.9);
    }

    .navbar-scrolled .navbar-menu a {
        color: var(--gray-700);
    }

    .navbar-scrolled .navbar-menu a:hover {
        color: var(--navy);
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0 24px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .split {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 10001; /* Always above everything on mobile */
    }

    .navbar-menu,
    .navbar-cta {
        display: none !important;
    }

    /* When not active: fully inert - no stacking context, no blocking */
    .navbar-menu:not(.active) {
        display: none !important;
        position: static !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: auto !important;
    }

    .navbar-menu.active {
        display: flex !important;
        flex-direction: column;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        background: var(--navy) !important;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 10000 !important;
        margin: 0;
        padding: 0;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .navbar-menu.active a {
        font-size: 1.35rem;
        font-weight: 600;
        color: var(--white);
        text-decoration: none;
        letter-spacing: 0.02em;
    }

    .navbar-menu.active a:hover {
        color: var(--blue-light);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-content {
        padding: 0 24px;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Specific Page Styles --- */

/* Industries detail page */
.industry-detail {
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.industry-detail:last-child {
    border-bottom: none;
}

.industry-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.pillar-card {
    padding: 28px;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--blue);
}

.pillar-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 0.9rem;
}

/* About page specific */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
}

.value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 94, 166, 0.06);
    border-radius: 16px;
    margin: 0 auto 20px;
    color: var(--blue);
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

/* Map / Presence Section */
.presence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.presence-card {
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    text-align: center;
}

.presence-card .flag {
    font-size: 2rem;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56px;
}

.presence-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.presence-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .industry-pillars {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .presence-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   INDUSTRIES PAGE — WHY & CTA SECTIONS
   ============================================ */
.section-why {
    padding: 100px 0;
}

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

.why-card {
    padding: 36px 32px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.why-card p {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.section-cta {
    padding: 100px 0 120px;
    background: var(--navy);
    text-align: center;
}

.section-cta h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 16px;
}

.section-cta p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

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

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .section-why {
        padding: 64px 0;
    }
    .section-cta {
        padding: 64px 0 80px;
    }
}

.social-section h3 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-card .text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-card .text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.contact-info-card .text p {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
}


h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item p {
    margin: 0;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}