/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700;800;900&family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* Color Variables */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(226, 232, 240, 0.8);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --grid-color: rgba(15, 23, 42, 0.035);

    --primary-color: #07038D;
    --primary-light: #2c27db;
    --accent-color: #FF6820;

    --strong-color: #2A8524;
    --vulnerable-color: #FDCD1A;
    --danger-color: #ef4444;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(7, 3, 141, 0.15);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(10, 10, 10, 0.85);
    --border-color: rgba(255, 255, 255, 0.06);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --grid-color: rgba(255, 255, 255, 0.03);

    --primary-color: #07038D;
    --primary-light: #2c27db;
    --accent-color: #FF6820;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(7, 3, 141, 0.25);
}

[data-theme="brand"] {
    --bg-primary: #020122;
    --bg-secondary: #07038D;
    --bg-card: rgba(7, 3, 141, 0.4);
    --border-color: rgba(253, 205, 26, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #8ba3c7;
    --grid-color: rgba(253, 205, 26, 0.035);

    --primary-color: #07038D;
    --primary-light: #3b82f6;
    --accent-color: #FDCD1A;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(253, 205, 26, 0.2);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] nav {
    background-color: rgba(10, 10, 10, 0.8);
}

[data-theme="brand"] nav {
    background-color: rgba(2, 1, 34, 0.85);
    border-bottom: 1px solid rgba(253, 205, 26, 0.15);
}

nav.scrolled {
    box-shadow: var(--shadow-md);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 66px;
    width: auto;
    border-radius: 8px;
    transition: transform var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle Button */
.theme-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-btn:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.theme-btn .sun-icon,
.theme-btn .moon-icon,
.theme-btn .brand-icon {
    display: none;
}

.theme-btn .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-btn .moon-icon {
    display: none;
}
[data-theme="dark"] .theme-btn .brand-icon {
    display: block;
}

[data-theme="brand"] .theme-btn .moon-icon {
    display: none;
}
[data-theme="brand"] .theme-btn .sun-icon {
    display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(57, 73, 171, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(57, 73, 171, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Hero Section with Video Background */
.hero {
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
    transition: background var(--transition-normal);
}

[data-theme="light"] .hero-overlay {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="brand"] .hero-overlay {
    background: rgba(2, 1, 34, 0.35);
}

[data-theme="brand"] .methodology-step:hover .methodology-num {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--primary-light);
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    color: #ffffff;
    font-size: 2.2rem;
    opacity: 0.7;
    transition: all var(--transition-fast);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

.bouncing-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* CTA Banner Section */
.cta-banner {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 5%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-banner-badge {
    background: rgba(7, 3, 141, 0.08);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

[data-theme="dark"] .cta-banner-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

[data-theme="brand"] .cta-banner-badge {
    background: rgba(253, 205, 26, 0.15);
    color: var(--accent-color);
}

.cta-banner-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
}

.cta-banner-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-banner-actions {
    margin-top: 8px;
}

.cta-btn {
    padding: 14px 32px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Sections General */
.section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Core Strengths Section */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.strength-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 16px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-light);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.strength-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.strength-card:hover::before {
    opacity: 1;
}

.strength-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(57, 73, 171, 0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.strength-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.strength-list {
    list-style: none;
    margin-top: 15px;
}

.strength-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.strength-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--strong-color);
    font-weight: bold;
}

/* Services Section */
.services-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: none;
    padding: 10px;
    background: rgba(15, 23, 42, 0.03);
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .services-tabs {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="brand"] .services-tabs {
    background: rgba(253, 205, 26, 0.02);
    border-color: rgba(253, 205, 26, 0.15);
}

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 14px;
    transition: all var(--transition-normal);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--border-color);
    transform: translateY(-1px);
}

.tab-btn.active {
    color: white;
    background-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(7, 3, 141, 0.2);
}

[data-theme="brand"] .tab-btn.active {
    color: black;
    background-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(253, 205, 26, 0.25);
}

.services-content {
    min-height: 250px;
}

.service-pane {
    display: none;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-pane.active {
    display: grid;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-pane-info h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-pane-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Modern Card list */
.service-feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--bg-secondary);
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.service-feature-item:hover {
    transform: translateX(6px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

[data-theme="brand"] .service-feature-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(253, 205, 26, 0.15);
}

.service-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(7, 3, 141, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    font-weight: bold;
    transition: all var(--transition-fast);
}

.service-feature-item:hover .service-feature-icon {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .service-feature-icon {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

[data-theme="brand"] .service-feature-icon {
    background: rgba(253, 205, 26, 0.15);
    color: var(--accent-color);
}

[data-theme="brand"] .service-feature-item:hover .service-feature-icon {
    background: var(--accent-color);
    color: black;
}

.service-feature-text {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Graphics Box Redesign */
.service-pane-graphics {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    width: 100%;
}

.service-graphic-box {
    background-color: var(--primary-color);
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), var(--shadow-glow);
    text-align: center;
    transition: all var(--transition-slow);
    transform-style: preserve-3d;
}

.service-graphic-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    transform: rotate(30deg);
}

.service-graphic-box:hover {
    transform: translateY(-8px) rotateX(4deg) rotateY(-4deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18), var(--shadow-glow);
}

.service-graphic-box i {
    font-size: 4.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.25));
    transition: all var(--transition-normal);
}

.service-graphic-box:hover i {
    transform: translateZ(20px) scale(1.08);
}

.service-graphic-box h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.service-graphic-box p {
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

[data-theme="brand"] .service-graphic-box {
    background-color: var(--primary-color);
    border: 1px solid rgba(253, 205, 26, 0.2);
}

/* Methodology Section */
.methodology-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--border-color);
    z-index: 1;
}

.methodology-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.methodology-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 4px solid var(--primary-light);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.methodology-step:hover .methodology-num {
    background: var(--primary-light);
    color: white;
    transform: scale(1.1);
}

.methodology-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.methodology-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0 10px;
}

/* Dashboard Section */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.dashboard-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.dashboard-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.chart-container {
    position: relative;
    height: 280px;
    width: 100%;
}

.critical-box {
    margin-top: 20px;
    padding: 15px;
    border-left: 4px solid var(--accent-color);
    background: var(--bg-primary);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Data Visualization Animations */
.donut-wrap svg circle {
    transition: stroke-dasharray 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.issue-bar,
.st-bar-fill,
.ev-fill,
.fear-bar-fill,
.rel-bar-fill,
.mini-seg {
    transition: width 1.4s cubic-bezier(.16, 1, .3, 1);
}

/* Contact Form */
.contact-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-detail i {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-top: 4px;
}

.contact-detail h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-detail p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-light);
}

/* Footer */
footer {
    background-color: #FDCD1A;
    border-top: 1px solid var(--border-color);
    padding: 40px 5%;
    text-align: center;
    color: #000000;
    font-size: 0.95rem;
}

[data-theme="dark"] footer {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

[data-theme="brand"] footer {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text-footer {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: inherit;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-graphics {
        order: -1;
    }
    .service-pane {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .service-graphic-box {
        max-width: 100%;
    }
    .methodology-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
    .methodology-timeline::before {
        display: none;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .insights-grid {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        aspect-ratio: 4 / 5;
    }
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        top: 0;
        left: 0;
        transform: none;
    }
    .scroll-indicator {
        display: none !important;
    }
    .nav-links {
        display: none;
    }
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
    }
    .menu-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .methodology-timeline {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Gallery Slider Section */
.gallery-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gallery-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid var(--border-color);
}

.gallery-track {
    display: flex;
    transition: transform var(--transition-slow);
    width: 100%;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
    height: 500px;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 30px;
    text-align: left;
    backdrop-filter: blur(2px);
}

.gallery-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-caption p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all var(--transition-fast);
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    scale: 1.05;
}

.gallery-btn-prev {
    left: 20px;
}

.gallery-btn-next {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.gallery-dot.active {
    background: var(--primary-light);
    width: 28px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .gallery-slide {
        height: 350px;
    }
    .gallery-caption {
        padding: 20px;
    }
    .gallery-caption h3 {
        font-size: 1.2rem;
    }
    .gallery-caption p {
        font-size: 0.85rem;
    }
    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ── MOOD OF ASSAM INTEGRATED STYLES ── */
.donut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.donut-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
}
.donut-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}
.donut-card h3 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}
.donut-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
}
.donut-wrap svg {
    transform: rotate(-90deg);
}
.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.donut-center .big {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}
.donut-center .small {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
    text-transform: uppercase;
    font-weight: 500;
}
.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.donut-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    justify-content: space-between;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.legend-name {
    flex: 1;
    text-align: left;
}
.legend-val {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.72rem;
}

/* Issue Bars */
.issue-bars {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.issue-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.issue-name {
    width: 120px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    flex-shrink: 0;
    text-align: right;
    font-weight: 500;
}
.issue-bar-wrap {
    flex: 1;
    height: 36px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.issue-bar {
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding-left: 14px;
    transition: width 1.4s cubic-bezier(.16,1,.3,1);
    position: relative;
}
.issue-bar span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: white;
    font-weight: 500;
    white-space: nowrap;
}
.issue-pct {
    width: 60px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

/* Community Table */
.community-table {
    width: 100%;
    border-collapse: collapse;
}
.community-table thead tr th {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    font-weight: 500;
}
.community-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}
.community-table tbody tr:hover {
    background: var(--bg-primary);
}
.community-table tbody td {
    padding: 14px 16px;
    font-size: 0.95rem;
}
.community-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}
.mini-bar-wrap {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    min-width: 160px;
    border: 1px solid var(--border-color);
}
.mini-seg {
    height: 100%;
    transition: width 0.8s ease;
}

/* Leader Cards */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.leader-card {
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 28px;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
    box-shadow: var(--shadow-sm);
}
.leader-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.leader-card .leader-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.leader-card .leader-role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
}
.leader-pct {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}
.leader-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ST status */
.st-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.st-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.st-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
}
.st-bar-row {
    margin-bottom: 12px;
}
.st-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.st-bar-outer {
    height: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}
.st-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1.2s cubic-bezier(.16,1,.3,1);
}

/* Fear Card */
.fear-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-md);
}
@media(max-width: 768px){
    .fear-card {
        grid-template-columns: 1fr;
        padding: 25px;
    }
}
.fear-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.25;
    color: var(--text-primary);
}
.fear-title span {
    color: var(--accent-color);
}
.fear-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}
.fear-adjustments {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.adj-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.adj-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}
.badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
}
.badge-green {
    background: rgba(42, 133, 36, 0.15);
    color: var(--strong-color);
}
.fear-chart-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fear-bar-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.fear-bar-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.fear-bar-outer {
    height: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}
.fear-bar-fill {
    height: 100%;
    border-radius: 5px;
}
.fb-positive { background-color: var(--strong-color); }
.fb-negative { background-color: var(--danger-color); }
.fb-swing { background-color: var(--vulnerable-color); }

/* Religion Grid */
.religion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.rel-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}
.rel-card h3 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}
.rel-stat {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
.rel-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.rel-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rel-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}
.rel-bar-name {
    width: 45px;
    color: var(--text-secondary);
}
.rel-bar-outer {
    flex: 1;
    height: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}
.rel-bar-fill {
    height: 100%;
    border-radius: 4px;
}
.rel-val {
    width: 36px;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
}

/* Eviction styling */
.eviction-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
@media(max-width: 768px){
    .eviction-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.big-number {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    color: var(--strong-color);
}
.big-number-label {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.6;
}
.eviction-breakdown {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ev-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ev-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}
.ev-name {
    color: var(--text-primary);
    font-weight: 600;
}
.ev-pct {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.ev-outer {
    height: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}
.ev-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1.2s cubic-bezier(.16,1,.3,1);
}

/* Chips */
.chip {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}
.chip-pro {
    background: rgba(42, 133, 36, 0.1);
    color: var(--strong-color);
    border-color: rgba(42, 133, 36, 0.2);
}
.chip-anti {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border-color: rgba(239, 68, 68, 0.2);
}
.chip-swing {
    background: rgba(253, 205, 26, 0.1);
    color: #b8892a;
    border-color: rgba(253, 205, 26, 0.2);
}
.chip-primary {
    background: color-mix(in srgb, var(--primary-light) 8%, transparent);
    color: var(--primary-light);
    border-color: color-mix(in srgb, var(--primary-light) 18%, transparent);
}

/* General Layout helpers */
.divider {
    width: 48px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 25px;
    border-radius: 2px;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
@media(max-width: 768px){
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* About Card & Intro Section */
.about-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}
.about-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    border-left: 1px solid var(--border-color);
    padding-left: 50px;
}
.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.about-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(7, 3, 141, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
[data-theme="dark"] .about-feature-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
[data-theme="brand"] .about-feature-icon {
    background: rgba(253, 205, 26, 0.15);
    color: var(--accent-color);
}
@media (max-width: 992px) {
    .about-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 25px;
    }
    .about-features {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 30px;
    }
}

/* Core Team Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.team-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}
.team-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}
.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}
.team-card:hover .team-img {
    transform: scale(1.05);
}
.team-info {
    padding: 24px;
}
.team-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.team-role {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}
