/* ============================================
   RISK CONTROL SERVICES NIGERIA
   Premium Website Styles - Bold & Dynamic
   ============================================ */

/* ============================================
   CSS RESET & ROOT VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - From Brand Guidelines */
    --primary-navy: #1a1e2a;
    --secondary-teal: #2d685f;
    --tertiary-cream: #ece0c1;
    --accent-white: #ffffff;

    /* Extended Palette */
    --navy-light: #2a3142;
    --teal-light: #3a8a7c;
    --teal-dark: #236b60;
    --cream-dark: #d4c9a8;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-600: #666666;
    --gray-900: #1a1a1a;

    /* Typography */
    --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* Font Sizes - Brand Guidelines */
    --font-size-h1: 48px;
    --font-size-h2: 36px;
    --font-size-h3: 24px;
    --font-size-body: 16px;

    /* Line Heights - Brand Guidelines */
    --line-height-h1: 60px;
    --line-height-h2: 44px;
    --line-height-h3: 32px;
    --line-height-body: 24px;

    /* Spacing */
    --section-padding: 120px;
    --container-max-width: 1280px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 30, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 30, 42, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 30, 42, 0.16);
    --shadow-xl: 0 16px 64px rgba(26, 30, 42, 0.2);

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    color: var(--primary-navy);
    background-color: var(--accent-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--primary-navy);
}

h1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    font-weight: var(--font-weight-black);
}

h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
    font-weight: var(--font-weight-bold);
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--secondary-teal),
        var(--teal-light)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.language-selector {
    position: fixed;
    top: 20px;
    right: 60px;
    z-index: 1001;
    /* background: var(--accent-white); */
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--primary-navy);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    background: var(--gray-50);
}

.lang-btn.active {
    background: var(--secondary-teal);
    color: var(--accent-white);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* padding: 16px 32px; */
    border-radius: 8px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--secondary-teal);
    color: var(--accent-white);
    border-color: var(--secondary-teal);
}

.btn-primary:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 104, 95, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-teal);
    border-color: var(--secondary-teal);
}
.teal {
    color: #236b60 !important;
}

.btn-secondary:hover {
    background-color: var(--secondary-teal);
    color: var(--accent-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background-color: var(--accent-white);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 20px;
    font-weight: var(--font-weight-black);
    color: var(--primary-navy);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-teal);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--primary-navy);
    font-weight: var(--font-weight-semibold);
    position: relative;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--secondary-teal),
        var(--teal-light)
    );
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-navy);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background: linear-gradient(
        180deg,
        var(--primary-navy) 0%,
        var(--navy-light) 100%
    );
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: linear-gradient(
            var(--tertiary-cream) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, var(--tertiary-cream) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(236, 224, 193, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 224, 193, 0.3);
    border-radius: 30px;
    color: var(--tertiary-cream);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 32px;
}

.hero-title {
    color: var(--accent-white);
    margin-bottom: 32px;
    max-width: 900px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 48px;
    max-width: 800px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(236, 224, 193, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.stat-icon i {
    font-size: 24px;
    color: var(--tertiary-cream);
}

.stat-number {
    font-size: 42px;
    font-weight: var(--font-weight-black);
    color: var(--accent-white);
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--tertiary-cream);
    color: var(--secondary-teal);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.section-title {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.section-description {
    color: var(--gray-600);
    font-size: 18px;
    line-height: 30px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background-color: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Large Service Cards (Full Width) */
.service-card-large {
    grid-column: span 2;
    background: var(--accent-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
    transition: all var(--transition-normal);
}

.service-card-large:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.service-card-large.primary-service {
    background: linear-gradient(
        135deg,
        var(--primary-navy) 0%,
        var(--navy-light) 100%
    );
    color: var(--accent-white);
}

.service-card-large.secondary-service {
    background: linear-gradient(
        135deg,
        var(--secondary-teal) 0%,
        var(--teal-light) 100%
    );
    color: var(--accent-white);
}

.service-content {
    display: flex;
    flex-direction: column;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(236, 224, 193, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon-large i {
    font-size: 40px;
    color: var(--tertiary-cream);
}

.service-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(236, 224, 193, 0.25);
    color: var(--tertiary-cream);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: fit-content;
}

.service-badge.badge-teal {
    background: rgba(236, 224, 193, 0.25);
}

.service-card-large .service-title {
    color: var(--accent-white);
    margin-bottom: 16px;
}

.service-card-large .service-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 28px;
    margin-bottom: 32px;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-size: 15px;
}

.service-features i {
    color: var(--tertiary-cream);
    font-size: 16px;
}

.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.risk-map-placeholder,
.screening-dashboard-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.risk-map-placeholder i,
.screening-dashboard-placeholder i {
    font-size: 64px;
    color: var(--tertiary-cream);
    opacity: 0.5;
}

.risk-map-placeholder span,
.screening-dashboard-placeholder span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: var(--font-weight-semibold);
}

/* Regular Service Cards */
.service-card {
    background: var(--accent-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--tertiary-cream);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 32px;
    color: var(--secondary-teal);
}

.service-card .service-title {
    margin-bottom: 16px;
}

.service-card .service-description {
    color: var(--gray-600);
    line-height: 26px;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-teal);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
    color: var(--teal-dark);
}

/* ============================================
   INTELLIGENCE SECTION
   ============================================ */
.intelligence-section {
    background: var(--accent-white);
    overflow-x: hidden;
}

.intelligence-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intelligence-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 48px 0;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--tertiary-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 28px;
    color: var(--secondary-teal);
}

.feature-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--gray-600);
    margin: 0;
}

.data-card {
    background: var(--accent-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.data-header h4 {
    font-size: 20px;
    margin: 0;
}

.threat-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.threat-badge.moderate {
    background: rgba(255, 193, 7, 0.2);
    color: #d39e00;
}

.risk-chart-placeholder {
    width: 100%;
    height: 250px;
    margin-bottom: 24px;
}

.data-footer {
    text-align: center;
    color: var(--gray-600);
    font-size: 14px;
}

/* ============================================
   INSIGHTS SECTION
   ============================================ */
.insights-section {
    background: var(--gray-50);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.insight-card {
    background: var(--accent-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.insight-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.insight-card.featured-insight {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.insight-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured-insight .insight-image {
    height: 100%;
}

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

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 16px;
    background: var(--secondary-teal);
    color: var(--accent-white);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    border-radius: 20px;
}

.insight-content {
    padding: 32px;
}

.insight-meta {
    display: flex;
    gap: 16px;
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 16px;
}

.insight-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.insight-content p {
    color: var(--gray-600);
    line-height: 26px;
    margin-bottom: 20px;
}

.insight-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-teal);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.insight-link:hover {
    gap: 12px;
}

.insights-cta {
    text-align: center;
}

/* ============================================
   RESOURCES SECTION
   ============================================ */
.resources-section {
    background: var(--accent-white);
    padding: 80px 0;
}

.resources-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.resource-item:hover {
    background: var(--accent-white);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    width: 50px;
    height: 50px;
    background: var(--tertiary-cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-icon i {
    font-size: 24px;
    color: var(--secondary-teal);
}

.resource-info {
    flex: 1;
}

.resource-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.resource-info p {
    color: var(--gray-600);
    font-size: 14px;
    margin: 0;
}

.btn-download {
    padding: 12px 24px;
    background: var(--secondary-teal);
    color: var(--accent-white);
    border: none;
    border-radius: 8px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* Newsletter Card */
.newsletter-card {
    background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
    padding: 48px;
    border-radius: 20px;
    color: var(--accent-white);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 120px;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: rgba(236, 224, 193, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.newsletter-icon i {
    font-size: 32px;
    color: var(--tertiary-cream);
}

.newsletter-card h3 {
    color: var(--accent-white);
    margin-bottom: 16px;
}

.newsletter-card p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form input {
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    font-size: 16px;
    font-family: var(--font-family);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--tertiary-cream);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-align: center;
    display: block;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-description {
    color: var(--gray-600);
    line-height: 28px;
    margin-bottom: 48px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-icon {
    width: 56px;
    height: 56px;
    background: var(--tertiary-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 24px;
    color: var(--secondary-teal);
}

.method-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.method-info p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form {
    background: var(--accent-white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-teal);
    box-shadow: 0 0 0 3px rgba(45, 104, 95, 0.1);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--primary-navy);
    color: var(--accent-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-logo-text h3 {
    color: var(--accent-white);
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

.footer-logo-text span {
    font-size: 10px;
    color: var(--tertiary-cream);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 26px;
    margin-bottom: 24px;
}

.footer-certifications {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.footer-certifications span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tertiary-cream);
}

.footer-section h4 {
    color: var(--accent-white);
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--tertiary-cream);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--secondary-teal);
    transform: translateY(-3px);
}

.footer-contact-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 24px;
}

.footer-contact-info i {
    color: var(--secondary-teal);
    margin-right: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--tertiary-cream);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    background: var(--secondary-teal);
    color: var(--accent-white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-navy);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   NIGERIA MAP ANIMATION (IMAGE-BASED WITH OVERLAYS)
   ============================================ */
.nigeria-map-container {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.map-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nigeria-base-map {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

.risk-indicators-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.risk-indicator-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.pulse-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Risk level colors */
.risk-indicator-pulse.high .pulse-ring {
    border: 3px solid rgba(220, 53, 69, 0.8);
}

.risk-indicator-pulse.high .pulse-dot {
    background: #dc3545;
}

.risk-indicator-pulse.medium .pulse-ring {
    border: 3px solid rgba(236, 224, 193, 0.9);
}

.risk-indicator-pulse.medium .pulse-dot {
    background: #ece0c1;
}

.risk-indicator-pulse.low .pulse-ring {
    border: 3px solid rgba(45, 104, 95, 0.8);
}

.risk-indicator-pulse.low .pulse-dot {
    background: #2d685f;
}

.map-legend {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.legend-dot.low {
    background: #2d685f;
}

.legend-dot.medium {
    background: #ece0c1;
}

.legend-dot.high {
    background: #dc3545;
}

/* ============================================
   BCONLINE RECORDS ANIMATION (CIRCULAR ORBIT)
   ============================================ */
.bconline-records-animation {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Concentric circles */
.orbit-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(236, 224, 193, 0.2);
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0.2s;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation-delay: 0.4s;
}

.orbit-3 {
    width: 360px;
    height: 360px;
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Central records display */
.records-center {
    position: relative;
    z-index: 10;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #1a2332, #2a3342);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.database-icon {
    width: 60px;
    height: 60px;
    background: rgba(236, 224, 193, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.database-icon i {
    font-size: 32px;
    color: #f4d03f;
}

.records-count {
    font-size: 48px;
    font-weight: var(--font-weight-black);
    color: #17a2b8;
    line-height: 1;
    margin-bottom: 4px;
}

.records-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-semibold);
}

/* Orbiting icons */
.orbit-icon {
    position: absolute;
    animation: orbit 8s linear infinite;
}

.orbit-icon-1 {
    animation-delay: 0s;
    top: 20%;
    left: 15%;
}

.orbit-icon-2 {
    animation-delay: -2.7s;
    top: 20%;
    right: 15%;
}

.orbit-icon-3 {
    animation-delay: -5.4s;
    bottom: 25%;
    right: 30%;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(140px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #17a2b8, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(23, 162, 184, 0.4);
}

.icon-circle i {
    font-size: 28px;
    color: var(--accent-white);
}

/* ============================================
   THREAT GAUGE ANIMATION
   ============================================ */
.threat-gauge-container {
    width: 100%;
    padding: 20px;
}

.threat-gauge {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.gauge-segment {
    transition: opacity 0.3s ease;
}

.gauge-segment.medium {
    opacity: 1 !important;
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: -10px;
    font-size: 12px;
    color: var(--gray-600);
    font-weight: var(--font-weight-semibold);
}

.threat-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.metric {
    text-align: center;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 10px;
}

.metric-value {
    display: block;
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-teal);
    margin-bottom: 4px;
}

.metric-label {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
}

/* ============================================
   INSIGHTS SECTION FIXES
   ============================================ */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.insight-card {
    display: flex;
    flex-direction: column;
}

.insight-card.featured-insight {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.insight-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--gray-100);
}

.featured-insight .insight-image {
    height: 100%;
    min-height: 400px;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition-slow);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets (< 1024px) */
@media (max-width: 1024px) {
    :root {
        --font-size-h1: 40px;
        --font-size-h2: 32px;
        --font-size-h3: 22px;
        --line-height-h1: 52px;
        --line-height-h2: 40px;
        --section-padding: 80px;
    }

    .container {
        padding: 0 30px;
    }

    .service-card-large,
    .intelligence-content,
    .resources-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .insight-card.featured-insight {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 32px;
        --font-size-h2: 28px;
        --font-size-h3: 20px;
        --line-height-h1: 42px;
        --line-height-h2: 36px;
        --section-padding: 60px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 95px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 95px);
        background-color: var(--accent-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-normal);
        overflow-y: auto;
        /* z-index: -999; */
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

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

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

    .insight-card.featured-insight {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .featured-insight .insight-image {
        min-height: 300px;
    }

    .service-card-large {
        grid-column: span 1;
        padding: 40px;
    }

    .service-visual {
        display: none;
    }

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

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

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

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

    .newsletter-card {
        position: static;
    }
    .language-selector:not(.nav-item .language-selector) {
        display: none !important;
    }
    .desktop-lang {
        display: none !important;
    }
    .language-selector:not(.nav-item .language-selector) {
        display: none !important;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    :root {
        --font-size-h1: 28px;
        --font-size-h2: 24px;
        --line-height-h1: 36px;
        --line-height-h2: 32px;
    }

    .logo-text {
        display: none;
    }

    .service-card-large,
    .newsletter-card,
    .contact-form {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }
}
footer ul {
    padding-left: 0px !important;
}
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.06; /* ← Makes it faint! Adjust between 0.1–0.3 */
}

/* .lang-btn {
    text-decoration: none !important;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.lang-btn:hover,
.lang-btn.active {
    opacity: 1;
    font-weight: 600;
    color: #ece0c1 !important; 
}
@media (max-width: 991.98px) {
    .lang-btn {
        font-size: 0.85rem;
    }
} */
@media (max-width: 768px) {
    /* Stack intelligence content vertically on mobile */

    /* Full-width visual card */
    .intelligence-visual {
        width: 100%;
    }

    /* Center gauge on mobile */
    .threat-gauge-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .threat-gauge {
        width: 180px !important;
        height: auto;
    }

    .gauge-labels {
        width: 180px;
        justify-content: space-between;
        font-size: 12px;
    }

    /* Stack threat metrics */
    .threat-metrics {
        grid-template-columns: repeat(3, 1fr);
    }

    @media (max-width: 480px) {
        .threat-metrics {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .section-title {
            font-size: 28px;
            line-height: 1.3;
        }

        .section-description {
            font-size: 16px;
            line-height: 26px;
        }

        .intelligence-features {
            gap: 24px;
        }

        .feature-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .feature-icon {
            align-self: flex-start;
        }
    }
}

/* Resources Section */

/* Wrapper: 2-column on desktop, 1-column on mobile */

/* Resource Items */

.resource-item {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.resource-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.resource-icon {
    width: 52px;
    height: 52px;
    background: rgba(45, 104, 95, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-teal);
    font-size: 22px;
    flex: 0 0 auto;
}

.resource-content {
    flex: 1;
    min-width: 180px;
}

.resource-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--primary-navy);
}

.resource-content p {
    color: var(--gray-600);
    font-size: 15px;
    margin: 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: var(--secondary-teal);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    align-self: flex-start;
}

.btn-download:hover {
    background: var(--teal-dark);
}

/* Newsletter Card */
.newsletter-card {
    background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
    padding: 36px;
    border-radius: 20px;
    color: white;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: rgba(236, 224, 193, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.newsletter-form input {
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-note {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
}

/* ✅ MOBILE RESPONSIVE BREAKPOINTS */

/* Tablet */
@media (max-width: 992px) {
    .resources-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .newsletter-card {
        position: static;
        padding: 32px 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .resources-section {
        padding: 60px 0;
    }

    .section-header {
        padding: 0 10px;
        text-align: center;
    }

    .resource-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .resource-content {
        text-align: center;
        min-width: auto;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .newsletter-card {
        padding: 30px 20px;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .resource-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .resource-content h4 {
        font-size: 17px;
    }

    .btn-download {
        font-size: 15px;
        padding: 10px;
    }
}
