/* ============================================================
   ALADIVIBO — Design System v2
   Distinctive, premium aesthetic for Nigerian industrial leader
   Cormorant Garamond + DM Sans | Navy + Forest Green + Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ── Backward-compat aliases (old inline styles reference these) ──── */
:root {
    /* Old green scale → forest */
    --green-50:  #EDFAF4;
    --green-100: #D4F4E4;
    --green-200: #A8E4C2;
    --green-300: #6DC99A;
    --green-400: #3BAD6E;
    --green-500: #2A8755;
    --green-600: #226B44;
    --green-700: #1B5E3B;
    --green-800: #132E1C;
    --green-900: #0B2114;

    /* Old blue scale → navy */
    --blue-50:   #EEF4FB;
    --blue-100:  #DCE8F5;
    --blue-200:  #B8CFEA;
    --blue-300:  #7A9DC8;
    --blue-400:  #4A6FA5;
    --blue-500:  #2B5299;
    --blue-600:  #1C3A6A;
    --blue-700:  #152D55;
    --blue-800:  #0F2240;
    --blue-900:  #0A1628;

    /* Old red */
    --red-400:   #E8536E;
    --red-500:   #DC2F4E;
    --red-600:   #C41E3A;
    --red-100:   #FAE0E5;

    /* Old gray scale → stone */
    --gray-50:   #FAFAF9;
    --gray-100:  #F5F4F2;
    --gray-200:  #EAE8E4;
    --gray-300:  #D4CFC8;
    --gray-400:  #B0A898;
    --gray-500:  #8A806E;
    --gray-600:  #6B6057;
    --gray-700:  #4E463E;
    --gray-800:  #332D28;
    --gray-900:  #1C1814;

    /* Shorthand aliases */
    --shadow:    0 4px 12px rgba(10,22,40,.08), 0 2px 4px rgba(10,22,40,.04);
    --radius:    var(--radius-md);
    --radius-2xl: 32px;
}



/* ── Custom Properties ────────────────────────────────────── */
:root {
    /* Brand Palette — Deep Navy / Forest / Gold */
    --navy-950: #060D1A;
    --navy-900: #0A1628;
    --navy-800: #0F2240;
    --navy-700: #152D55;
    --navy-600: #1C3A6A;
    --navy-500: #2B5299;
    --navy-400: #4A6FA5;
    --navy-300: #7A9DC8;
    --navy-200: #B8CFEA;
    --navy-100: #DCE8F5;
    --navy-50:  #EEF4FB;

    --forest-950: #051209;
    --forest-900: #0B2114;
    --forest-800: #132E1C;
    --forest-700: #1B5E3B;
    --forest-600: #226B44;
    --forest-500: #2A8755;
    --forest-400: #3BAD6E;
    --forest-300: #6DC99A;
    --forest-200: #A8E4C2;
    --forest-100: #D4F4E4;
    --forest-50:  #EDFAF4;

    --gold-700: #A67C00;
    --gold-600: #C49A00;
    --gold-500: #D4A853;
    --gold-400: #E8C07A;
    --gold-300: #F2D49F;
    --gold-100: #FBF0D8;
    --gold-50:  #FDFAF0;

    --crimson-700: #8B0020;
    --crimson-600: #A8182F;
    --crimson-500: #C41E3A;
    --crimson-100: #FAE0E5;

    /* Neutrals */
    --white:     #FFFFFF;
    --stone-50:  #FAFAF9;
    --stone-100: #F5F4F2;
    --stone-200: #EAE8E4;
    --stone-300: #D4CFC8;
    --stone-400: #B0A898;
    --stone-500: #8A806E;
    --stone-600: #6B6057;
    --stone-700: #4E463E;
    --stone-800: #332D28;
    --stone-900: #1C1814;

    /* Semantic tokens */
    --primary:        var(--forest-700);
    --primary-dark:   var(--forest-900);
    --primary-light:  var(--forest-100);
    --secondary:      var(--navy-700);
    --secondary-dark: var(--navy-900);
    --secondary-light:var(--navy-100);
    --accent:         var(--gold-500);
    --accent-dark:    var(--gold-700);
    --accent-light:   var(--gold-100);
    --danger:         var(--crimson-500);
    --dark:           var(--navy-900);
    --darker:         var(--navy-950);

    --text-primary:   var(--stone-900);
    --text-secondary: var(--stone-600);
    --text-muted:     var(--stone-400);
    --text-on-dark:   var(--white);
    --text-on-primary:var(--white);

    --bg-primary:   var(--white);
    --bg-secondary: var(--stone-50);
    --bg-dark:      var(--navy-900);
    --bg-darker:    var(--navy-950);

    --border-light:  var(--stone-200);
    --border-medium: var(--stone-300);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;
    --font-mono:    'DM Mono', 'Courier New', monospace;

    /* Type scale */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.5rem;
    --text-5xl:  3.25rem;
    --text-6xl:  4.25rem;
    --text-7xl:  5.5rem;

    /* Spacing */
    --section-pad-y:    110px;
    --section-pad-y-sm: 64px;

    /* Layout */
    --container-max:    1300px;
    --container-wide:   1520px;
    --nav-height:       80px;
    --top-bar-height:   38px;

    /* Shadows — warmer, more dramatic */
    --shadow-sm:  0 1px 4px rgba(10, 22, 40, .06);
    --shadow-md:  0 4px 12px rgba(10, 22, 40, .08), 0 2px 4px rgba(10, 22, 40, .04);
    --shadow-lg:  0 12px 32px rgba(10, 22, 40, .12), 0 4px 10px rgba(10, 22, 40, .06);
    --shadow-xl:  0 24px 56px rgba(10, 22, 40, .16), 0 8px 20px rgba(10, 22, 40, .08);
    --shadow-gold: 0 8px 28px rgba(212, 168, 83, .28);
    --shadow-green: 0 8px 28px rgba(27, 94, 59, .28);

    /* Transitions */
    --ease-out:    cubic-bezier(.16, 1, .3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --duration-fast:   180ms;
    --duration-normal: 340ms;
    --duration-slow:   560ms;

    /* Radius */
    --radius-xs: 3px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl:32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h1 { font-weight: 700; letter-spacing: -0.02em; }
h2 { font-weight: 700; letter-spacing: -0.015em; }

/* ── Container ────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
}

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

/* ── Section Pattern ──────────────────────────────────────── */
.section {
    padding: var(--section-pad-y) 0;
    position: relative;
}

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

.section--dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--text-on-dark);
}

.section--green {
    background: var(--primary);
    color: var(--text-on-primary);
}

/* ── Section Labels ───────────────────────────────────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--forest-600);
    margin-bottom: 18px;
}

.section--dark .section-label,
.section--green .section-label {
    color: var(--gold-400);
}

.section-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.6; }
}

.section--dark .section-label .dot {
    background: var(--gold-500);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 4vw, var(--text-6xl));
    font-weight: 700;
    margin-bottom: 22px;
    max-width: 820px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.85;
    font-weight: 400;
}

.section--dark .section-subtitle {
    color: var(--navy-300);
}

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

.section-header--center {
    text-align: center;
}

.section-header--center .section-title,
.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ── Typography Utilities ─────────────────────────────────── */
.text-green { color: var(--forest-700); }
.text-blue  { color: var(--navy-600); }
.text-gold  { color: var(--gold-500); }
.text-red   { color: var(--danger); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-secondary); }

.text-gradient-green {
    background: linear-gradient(135deg, var(--forest-400) 0%, var(--forest-700) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(135deg, var(--navy-400) 0%, var(--navy-700) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity var(--duration-fast) ease;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: var(--forest-700);
    color: var(--white);
    border: 2px solid var(--forest-700);
    box-shadow: 0 4px 18px rgba(27,94,59,0.22);
}

.btn-primary:hover {
    background: var(--forest-800);
    border-color: var(--forest-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-secondary {
    background: var(--navy-700);
    color: var(--white);
    border: 2px solid var(--navy-700);
}

.btn-secondary:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(21,45,85,.3);
}

.btn-accent {
    background: var(--gold-500);
    color: var(--navy-900);
    border: 2px solid var(--gold-500);
    box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212,168,83,.4);
}

.btn-outline {
    background: transparent;
    color: var(--forest-700);
    border: 2px solid var(--forest-700);
}

.btn-outline:hover {
    background: var(--forest-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--forest-700);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-red {
    background: var(--danger);
    color: var(--white);
    border: 2px solid var(--danger);
}

.btn-red:hover {
    background: var(--crimson-700);
    transform: translateY(-2px);
}

.btn-icon {
    transition: transform var(--duration-fast) ease;
    font-style: normal;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 13px;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 11px;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid var(--border-light);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--forest-200);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body { padding: 28px; }

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    background: var(--forest-100);
    color: var(--forest-700);
    margin-bottom: 12px;
}

.card-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: 10px;
}

.card-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.75;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--forest-700);
    margin-top: 16px;
    transition: gap var(--duration-fast) ease, color var(--duration-fast) ease;
}

.card-link:hover {
    gap: 12px;
    color: var(--forest-600);
}

/* ── Page Banner ──────────────────────────────────────────── */
.page-banner {
    position: relative;
    height: 360px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 50%, var(--forest-900) 100%);
    overflow: hidden;
    padding-top: calc(var(--nav-height) + var(--top-bar-height));
}

/* Geometric decorative lines */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(30deg, transparent 65%, rgba(212,168,83,0.06) 65%, rgba(212,168,83,0.06) 68%, transparent 68%),
        linear-gradient(30deg, transparent 72%, rgba(255,255,255,0.03) 72%, rgba(255,255,255,0.03) 74%, transparent 74%);
    pointer-events: none;
}

/* Gold accent bar */
.page-banner::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500) 0%, var(--forest-400) 50%, var(--navy-400) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    width: 100%;
}

.page-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 4.5vw, var(--text-6xl));
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--gold-400);
    transition: color var(--duration-fast) ease;
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }

/* ── Stats Counter ────────────────────────────────────────── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 48px 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--border-light);
}

.section--dark .stat-item:not(:last-child)::after {
    background: rgba(255,255,255,.1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--forest-700);
    line-height: 1;
    margin-bottom: 8px;
}

.section--dark .stat-number {
    color: var(--gold-400);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.section--dark .stat-label { color: var(--navy-300); }

/* ── Grid Utilities ───────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Animations ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.60s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .4; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

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

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .section { padding: var(--section-pad-y-sm) 0; }
}

@media (max-width: 768px) {
    .grid-4 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .section { padding: 52px 0; }
    .section-title { font-size: var(--text-3xl); }
    .page-banner { height: 300px; }
}

@media (max-width: 480px) {
    .stats-strip { grid-template-columns: 1fr; }
    .stat-item:not(:last-child)::after { display: none; }
    .btn { padding: 12px 24px; font-size: 11px; }
    .container { padding: 0 16px; }
}