:root {
    --primary-color: #0a0f2c;
    --primary-dark: #05081a;
    --accent-color: #00bfff;
    --accent-light: #4dd4ff;
    --accent-dark: #0099cc;
    --text-light: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-hover-bg: rgba(255, 255, 255, 0.07);
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Light Mode */
body.light-mode {
    --primary-color: #f0f4f8;
    --primary-dark: #e2e8f0;
    --text-light: #1a202c;
    --text-dim: rgba(26, 32, 44, 0.7);
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-hover-bg: rgba(0, 0, 0, 0.05);
}

body.light-mode .navbar.scrolled {
    background: rgba(240, 244, 248, 0.95);
}

body.light-mode .hero-bg {
    opacity: 0.05;
}

body.light-mode .text-gradient {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .btn-secondary {
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}

body.light-mode .card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .footer {
    background: #e2e8f0;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-content p {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 191, 255, 0.15);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-dim);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    /* Ensure content sits above watermarks */
    z-index: 2;
}

.section {
    padding: 6rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: default;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 15, 44, 0.85);
    /* Slightly clearer but still dark for contrast */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 44, 0.95);
    height: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-toggles {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 1rem;
}

.icon-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 600;
    transition: var(--transition);
}

.icon-toggle:hover {
    background: rgba(0, 191, 255, 0.15);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.icon-toggle span {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero_bg.png') no-repeat center center/cover;
    opacity: 0.4;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--primary-color), transparent);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    padding-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-dim);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* About Section */
.section-header {
    margin-bottom: 4rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 1rem;
}

.section-line.center {
    margin: 1rem auto 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent-light);
    margin-top: 0.5rem;
}

/* Why Emperor Section */
.why-emperor {
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.02) 0%, var(--primary-color) 100%);
    padding: 5rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.3);
    background: var(--card-hover-bg);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.why-card h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.why-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.values-list {
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.value-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.3);
}

.value-card h4 {
    margin: 1rem 0 0.5rem;
    color: var(--accent-light);
}

.value-card i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    padding: 2.5rem 2rem;
}

.product-card h3 {
    color: var(--accent-light);
    margin-bottom: 0.3rem;
}

.product-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-card:hover .icon-box {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 3rem 2rem;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: scale(1.1);
}

/* Product Tabs */
.product-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.tab-btn.active {
    background: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.product-tabs-content {
    min-height: 600px;
    /* Prevent layout jump */
}

/* Product Showcases */
.product-showcase {
    display: none;
    /* Hidden by default for tabs */
    animation: fadeIn 0.5s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
}

.product-showcase.active {
    display: block;
}

.product-showcase .section-header {
    margin-bottom: 2.5rem;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.showcase-alt {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.03) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.product-showcase .target-value i {
    font-size: 1.3rem;
}

/* Custom Projects Banner */
.custom-projects-banner {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2.5rem;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.banner-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    white-space: nowrap;
}

.banner-content h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.banner-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Featured Project */
.featured-project {
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 191, 255, 0.03) 50%, var(--primary-color) 100%);
}

.badge {
    display: inline-block;
    background: rgba(0, 191, 255, 0.15);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    margin-bottom: 1rem;
}

.featured-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.featured-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.featured-text p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.featured-text strong {
    color: var(--accent-light);
}

.featured-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.highlight-item>i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.highlight-item h5 {
    color: var(--accent-light);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 0;
    line-height: 1.5;
}

.featured-targets h4 {
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.target-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition);
}

.target-card:hover {
    border-color: rgba(0, 191, 255, 0.3);
    background: var(--card-hover-bg);
}

.target-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.target-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

/* Tech Stack Strip */
.tech-strip {
    padding: 3rem 0;
    border-bottom: 1px solid var(--glass-border);
    background: var(--primary-dark);
}

.tech-strip-label {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.tech-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.45;
    transition: var(--transition);
}

.tech-logo:hover {
    opacity: 1;
}

.tech-logo i {
    font-size: 2.2rem;
    color: var(--text-light);
}

.tech-logo span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

/* Process / How We Work */
.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

.process-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.process-step h4 {
    color: var(--accent-light);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.process-connector {
    display: flex;
    align-items: center;
    padding-top: 2.5rem;
    color: var(--accent-color);
    opacity: 0.25;
    font-size: 1.2rem;
}

/* Case Studies */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    padding: 2.5rem 2rem;
}

.case-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-label i {
    font-size: 0.9rem;
}

.case-card h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.case-challenge,
.case-outcome {
    font-size: 0.92rem;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.case-testimonial {
    margin-top: 1.2rem;
    padding: 1rem 1.2rem;
    background: rgba(0, 191, 255, 0.05);
    border-left: 3px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
}

.testimonial-quote {
    font-style: italic;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-size: 0.82rem;
    color: var(--accent-color);
    font-weight: 600;
}

.case-challenge strong,
.case-outcome strong {
    color: var(--accent-light);
    font-weight: 600;
}

/* Blog / Insights */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    display: inline-block;
    width: fit-content;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    background: rgba(0, 191, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-card h4 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
    flex: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-dim);
    opacity: 0.6;
    margin-top: 1.5rem;
    font-style: italic;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question i {
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--text-light);
}

.contact-details {
    margin: 2.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group select option {
    background: var(--primary-dark);
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    padding: 4rem 0 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: var(--primary-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-dim);
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: italic;
}

.footer-logo {
    height: 35px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links h5 {
    color: var(--accent-light);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-bottom a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Client Logos */
.client-logos-section {
    padding: 3rem 0;
}

.client-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem 3rem;
    margin-top: 1rem;
}

.client-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo-item:hover {
    opacity: 1;
}

.client-logo-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.client-logo-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    text-align: center;
    white-space: nowrap;
}

.client-logo-more {
    opacity: 1 !important;
    border: 1px dashed rgba(0, 191, 255, 0.3);
    border-radius: 16px;
    padding: 1rem;
    justify-content: center;
}

.more-count {
    font-family: var(--font-heading);
    font-size: 1.8rem !important;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* Partners & Certifications */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover-bg);
    border-color: rgba(0, 191, 255, 0.2);
}

.partner-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 191, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.partner-icon i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.partner-card h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.partner-type {
    color: var(--accent-color);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 44, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    padding: 1.2rem 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-content p i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.82rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 5.5rem;
    width: 44px;
    height: 44px;
    background: rgba(0, 191, 255, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-grid {
        flex-wrap: wrap;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        flex-basis: 45%;
    }

    .custom-projects-banner {
        flex-direction: column;
        text-align: center;
    }

    .banner-content {
        flex-direction: column;
    }

    .product-showcase {
        padding: 2rem 1.5rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-toggles {
        margin-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--primary-dark);
        flex-direction: column;
        padding: 3rem 0;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ══ Why Emperor ══ */
.why-emperor {
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 191, 255, 0.03) 50%, var(--primary-color) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 191, 255, 0.3);
}

.why-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15), rgba(0, 191, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.why-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.why-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ══ Security & Compliance ══ */
.security-section {
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 191, 255, 0.04) 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.security-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.security-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 191, 255, 0.3);
}

.security-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15), rgba(0, 191, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.4rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.security-card:hover .security-icon {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.security-card h4 {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.security-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ══ SLA Strip ══ */
.sla-strip {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.sla-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.sla-item {
    padding: 2rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.sla-item:hover {
    border-color: rgba(0, 191, 255, 0.3);
    transform: translateY(-3px);
}

.sla-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.sla-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ══ Team Section ══ */
.team-section {
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(0, 191, 255, 0.03) 50%, var(--primary-color) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.team-card:hover {
    border-color: rgba(0, 191, 255, 0.3);
    transform: translateY(-4px);
    background: var(--card-hover-bg);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 2px solid rgba(0, 191, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(0, 191, 255, 0.03));
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    border-color: var(--accent-color);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 1rem !important;
}

.team-bio {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-dim);
}

/* ══ Footer Compliance ══ */
.footer-compliance {
    font-size: 0.78rem;
    color: var(--text-dim);
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* ══ Responsive — New Sections ══ */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .sla-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sla-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══ Adinkra Symbols & Cultural Identity ══ */

/* ── Adinkra Symbols & Cultural Identity ── */

.adinkra-watermark {
    display: none;
    /* Hidden by default */
    position: absolute;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    fill: transparent;
    transition: opacity 1s ease-in-out;
}

/* ... existing positioning classes ... */

/* ── SVG Draw Animation ── */
.adinkra-watermark svg {
    overflow: visible;
}

.adinkra-watermark use {
    fill: transparent;
    stroke: currentColor;
    stroke-width: 0.5px;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease-in-out, fill 1s ease-in-out 1.5s, stroke 1s ease 1.5s;
}

.adinkra-watermark.visible use {
    stroke-dashoffset: 0;
    fill: currentColor;
    stroke: transparent;
}

/* Dark mode adjustments for watermark brightness */
body.light-mode .adinkra-watermark use {
    stroke: rgba(0, 0, 0, 0.05);
}

body.light-mode .adinkra-watermark.visible use {
    fill: rgba(0, 0, 0, 0.02);
    stroke: transparent;
}

.adinkra-watermark svg {
    width: 100%;
    height: 100%;
}

.hero-watermark {
    display: block;
    /* Override hidden default — hero watermark is visible */
    top: 10%;
    right: 5%;
    /* Moved on-screen to prevent cropping */
    width: 70vh;
    /* Slightly smaller to fit better */
    height: 70vh;
    transform: rotate(15deg);
    animation: rotateSlow 120s linear infinite;
    color: rgba(20, 30, 80, 0.6);
    /* Slightly lighter than #0a0f2c — blends into background */
}

.hero-watermark use {
    stroke: rgba(30, 45, 100, 0.15);
    /* Faint navy outline */
    stroke-width: 0.4px;
    fill: rgba(15, 25, 60, 0.08);
    /* Very subtle embossed fill */
}

.hero-watermark.visible use {
    stroke: transparent;
    fill: rgba(20, 35, 80, 0.1);
    /* Slightly visible filled state */
}

.about-watermark {
    left: -5%;
    top: 20%;
    width: 400px;
    height: 400px;
    /* opacity removed to inherit base 0.02 */
    transform: rotate(-10deg);
}

.security-watermark {
    right: -5%;
    bottom: -10%;
    width: 500px;
    height: 500px;
    /* opacity removed to inherit base 0.02 */
}

.team-watermark {
    left: 5%;
    top: 10%;
    width: 300px;
    height: 300px;
    /* opacity removed to inherit base 0.02 */
}

.services-watermark {
    left: 50%;
    top: 10%;
    width: 800px;
    height: 160px;
    /* opacity removed to inherit base 0.02 */
    transform: translateX(-50%) rotate(-5deg);
    pointer-events: none;
}

.process-watermark {
    right: 5%;
    top: 30%;
    width: 400px;
    height: 400px;
    /* opacity removed to inherit base 0.02 */
}

.footer-watermark {
    left: -5%;
    bottom: -40%;
    width: 700px;
    height: 700px;
    /* opacity removed to inherit base 0.02 */
    transform: rotate(20deg);
    animation: rotateSlow 200s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Adinkra Divider */
.adinkra-divider {
    width: 120px;
    height: 15px;
    margin: 1.5rem 0 2rem;
    opacity: 0.25;
    /* Increased from 0.1 to be visible but subtle */
    color: var(--accent-color);
}

.adinkra-divider.center {
    margin: 1.5rem auto 3rem;
}

.adinkra-divider svg {
    width: 100%;
    height: 100%;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 3s ease forwards;
    animation-play-state: paused;
    /* Controlled by JS observer */
}

.adinkra-divider.visible svg {
    animation-play-state: running;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}


/* ══ Advanced Animations ══ */

/* 1. 3D Tilt Card Effect */
.tilt-card {
    will-change: transform;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-card-content {
    transform: translateZ(20px);
}

/* 2. Magnetic Buttons */
.btn-magnetic {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 3. Staggered Grid Reveal */
.stagger-grid {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 {
    transition-delay: 100ms;
}

.stagger-delay-2 {
    transition-delay: 200ms;
}

.stagger-delay-3 {
    transition-delay: 300ms;
}

.stagger-delay-4 {
    transition-delay: 400ms;
}

.stagger-delay-5 {
    transition-delay: 500ms;
}

.stagger-delay-6 {
    transition-delay: 600ms;
}

/* 4. Pulse Glow (for Team/Security Icons) */
.pulse-glow {
    position: relative;
}

.pulse-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 50%;
    border: 1px solid var(--accent-color);
    opacity: 0;
    animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ══ Sentiment Analysis Feedback ══ */

.contact-form textarea {
    transition: all 0.3s ease;
}

.sentiment-positive {
    border-color: var(--success-color) !important;
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.3) !important;
}

.sentiment-urgent {
    border-color: var(--info-color) !important;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3) !important;
}

.sentiment-icon {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.sentiment-icon.visible {
    opacity: 1;
    transform: scale(1);
}

/* 5. Typewriter Cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--accent-color);
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* 6. Section Reveal Wipe */
.reveal-wipe {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-wipe.visible {
    clip-path: inset(0 0 0 0);
}

/* ══ Adinkra Memory Quest (Game) ══ */

.footer-game-link {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.game-trigger {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.game-trigger:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Modal Overlay */
.game-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.game-modal.open {
    display: flex;
    opacity: 1;
}

.game-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.close-game {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-game:hover {
    color: var(--accent-color);
}

.game-header h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.game-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.game-stats strong {
    color: var(--text-color);
}

/* Memory Grid */
.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    perspective: 1000px;
    margin-bottom: 1rem;
}

.memory-card {
    background-color: transparent;
    width: 100%;
    aspect-ratio: 1;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.memory-card.flip {
    transform: rotateY(180deg);
}

.memory-card.matched {
    cursor: default;
}

.front-face,
.back-face {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.front-face {
    background: var(--bg-card-hover);
    transform: rotateY(180deg);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.front-face svg {
    width: 60%;
    height: 60%;
    color: var(--accent-color);
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.back-face {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-card));
    opacity: 0.9;
    border-color: var(--text-muted);
}

.back-face::after {
    content: "?";
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    opacity: 0.3;
}

/* Victory Screen */
.victory-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-lg);
    z-index: 10;
    transition: opacity 0.5s ease;
}

.victory-screen.hidden {
    display: none;
    opacity: 0;
}

.victory-content {
    padding: 2rem;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.victory-content h4 {
    color: var(--success-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.wisdom-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.4;
}

.wisdom-meaning {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.discount-box {
    background: rgba(255, 215, 0, 0.1);
    border: 1px dashed var(--accent-color);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

.discount-box span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.discount-box code {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 2px;
}

.victory-content button {
    margin: 0.5rem;
}

@media (max-width: 500px) {
    .memory-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 cols on mobile for 16 cards */
        gap: 8px;
    }

    .memory-card {
        border-radius: 6px;
    }
}

/* Confetti Celebration */
.confetti {
    position: fixed;
    top: -50px;
    z-index: 10000;
    pointer-events: none;
    animation: fall linear forwards;
    width: 24px;
    /* Size of the symbol */
    height: 24px;
}

.confetti svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    /* Inherits color set by JS */
}

@keyframes fall {
    to {
        transform: translateY(105vh) rotate(720deg);
        opacity: 0;
    }
}

/* Team Card Hover Effect */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover-bg);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* ══ Light Mode Overrides ══ */
body.light-mode {
    background: #f4f7f6;
    color: #1a1a2e;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .nav-links a:not(.btn) {
    color: #0a0f2c;
}

body.light-mode .nav-links a:not(.btn):hover,
body.light-mode .nav-links a:not(.btn).active {
    color: var(--accent-color);
}

body.light-mode .game-content {
    background: #ffffff;
    color: #0a0f2c;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .game-header p,
body.light-mode .game-stats {
    color: #555;
}

body.light-mode .memory-card {
    background: #e0e0e0;
    border: 1px solid #ccc;
}

body.light-mode .close-game {
    color: #333;
}

body.light-mode .close-game:hover {
    color: var(--accent-color);
}


/* Utility Class */
.hidden {
    display: none !important;
}

/* ══ Medical Theme (Maame Dromo) ══ */
body.medical-theme {
    --accent-color: #00a896;
    /* Teal */
    --accent-glow: rgba(0, 168, 150, 0.4);
}

.text-gradient-medical {
    background: linear-gradient(135deg, #fff 20%, #00a896 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.medical-badge {
    background: rgba(0, 168, 150, 0.1);
    color: #00a896;
    border: 1px solid rgba(0, 168, 150, 0.2);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.btn-medical {
    background: #00a896;
    color: #fff;
    border: none;
}

.btn-medical:hover {
    background: #008f80;
    box-shadow: 0 0 20px rgba(0, 168, 150, 0.4);
}

.medical-card:hover {
    border-color: #00a896;
    box-shadow: 0 10px 30px -10px rgba(0, 168, 150, 0.2);
}

.medical-icon {
    color: #00a896 !important;
    background: rgba(0, 168, 150, 0.1) !important;
}

.medical-icon {
    color: #00a896 !important;
    background: rgba(0, 168, 150, 0.1) !important;
}

.partograph-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg) scale(1.2);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    width: 100%;
    max-width: 800px;
    mix-blend-mode: multiply;
}

body.dark-mode .partograph-watermark {
    opacity: 0.1;
    mix-blend-mode: overlay;
    filter: invert(1);
}

.pipeline-step {
    position: relative;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
    z-index: 1;
}

.pipeline-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.pipeline-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-weight: bold;
    margin-bottom: 1rem;
}

.pipeline-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* ══ Partners & Disclaimer ══ */
.partners-section {
    padding: 3rem 0;
    text-align: center;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.partner-logo {
    height: 60px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.clinical-disclaimer {
    background: #1a1a1a;
    color: #888;
    font-size: 0.85rem;
    padding: 2rem 0;
    border-top: 1px solid #333;
    text-align: center;
}

.disclaimer-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.disclaimer-title {
    color: #cc0000;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* ══ App Showcase Animations ══ */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.phone-mockup {
    background: #000;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 4px solid #333;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.phone-mockup img {
    border-radius: 20px;
    display: block;
    width: 100%;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

.feature-mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.bg-medical-alt {
    background-color: #f8fafc;
    /* Slate 50 */
}

body.dark-mode .bg-medical-alt {
    background-color: #1e293b;
    /* Slate 800 - Contrast against main dark bg */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


/* ══ Scroll Animations ══ */
.reveal {
    /* opacity: 0; DISABLED FOR DEBUGGING/The SAFETY */
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.slide-in-right {
    /* opacity: 0; DISABLED FOR DEBUGGING/The SAFETY */
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* End of file */

/* ══ Product Showcase Logic (Added for Maame Dromo Integration) ══ */
.product-showcase {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-showcase.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}