/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transition Speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(99, 102, 241, 0.08);
    --shadow-lg: 0 16px 40px rgba(99, 102, 241, 0.12);
    --shadow-3d: 0 20px 50px rgba(13, 10, 30, 0.15);
}

/* Light Theme Variables */
body.light-theme {
    --bg-color: #ffffff;
    --bg-grid: #f9f8fc;
    --text-color: #141029;
    --text-secondary: #5c5874;
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --accent-color: #8b5cf6;
    --accent-rgb: 139, 92, 246;
    --border-color: rgba(99, 102, 241, 0.12);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-hover-border: rgba(99, 102, 241, 0.3);
    --grid-color: rgba(99, 102, 241, 0.04);
    --modal-bg: rgba(255, 255, 255, 0.95);
    --glow-1: rgba(139, 92, 246, 0.06);
    --glow-2: rgba(99, 102, 241, 0.06);
    --input-bg: #ffffff;
    --input-border: #e0dcf0;
    --header-bg: rgba(255, 255, 255, 0.75);
    --badge-bg: rgba(99, 102, 241, 0.08);
    --badge-text: #4f46e5;
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-color: #07050d;
    --bg-grid: #0d091a;
    --text-color: #f1eff7;
    --text-secondary: #a29eb3;
    --primary-color: #8b5cf6;
    --primary-hover: #7c3aed;
    --accent-color: #a78bfa;
    --accent-rgb: 167, 139, 250;
    --border-color: rgba(139, 92, 246, 0.15);
    --card-bg: rgba(13, 9, 26, 0.7);
    --card-hover-border: rgba(167, 139, 250, 0.4);
    --grid-color: rgba(139, 92, 246, 0.04);
    --modal-bg: rgba(7, 5, 13, 0.96);
    --glow-1: rgba(139, 92, 246, 0.12);
    --glow-2: rgba(99, 102, 241, 0.1);
    --input-bg: #0f0c18;
    --input-border: #241d38;
    --header-bg: rgba(7, 5, 13, 0.75);
    --badge-bg: rgba(139, 92, 246, 0.12);
    --badge-text: #a78bfa;
}

/* ==========================================================================
   Base Styles & Layout
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color var(--transition-slow), color var(--transition-fast);
}

/* Grid Overlay Background */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Ambient Glowing Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.glow-orb-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--glow-1);
}

.glow-orb-2 {
    bottom: -10%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: var(--glow-2);
}

/* Common Containers & Layouts */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-slow), border-color var(--transition-slow), padding var(--transition-normal), box-shadow var(--transition-normal);
}

/* Navbar scroll-aware state */
.navbar-header.scrolled {
    background: var(--modal-bg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

body.dark-theme .navbar-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-header.scrolled .nav-container {
    padding-top: 12px;
    padding-bottom: 12px;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding var(--transition-normal);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-slow);
}

.logo-link .highlight {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button styling */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    background: var(--card-bg);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

body.light-theme .sun-icon { display: none; }
body.light-theme .moon-icon { display: block; }
body.dark-theme .sun-icon { display: block; color: #fbbf24; }
body.dark-theme .moon-icon { display: none; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--modal-bg);
    backdrop-filter: blur(20px);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-normal);
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-item {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    border: 1px fill transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
    padding: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(99, 102, 241, 0.45),
        0 15px 40px rgba(var(--accent-rgb), 0.2);
}

/* Shine sweep effect on primary buttons */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.btn-icon {
    font-size: 14px;
}

/* ==========================================================================
   3D Premium Cards & Containers
   ========================================================================== */
.card-3d {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-fast);
    will-change: transform;
}

.card-3d:hover {
    border-color: var(--card-hover-border);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(var(--accent-rgb), 0.05),
        0 30px 60px -15px rgba(var(--accent-rgb), 0.15);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    perspective: 1200px;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--badge-bg);
    padding: 6px 16px;
    border-radius: 9999px;
    width: fit-content;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-color);
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
    transform-style: preserve-3d;
}

.highlight-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(var(--accent-rgb), 0.3));
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

/* Interactive 3D Mockup Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 800px;
    animation: fadeInScale 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.mockup-container-3d {
    width: 100%;
    max-width: 460px;
    transform: rotateY(-18deg) rotateX(14deg) rotateZ(-3deg) translateZ(20px);
    transform-style: preserve-3d;
    transition: transform var(--transition-slow);
}

.mockup-container-3d:hover {
    transform: rotateY(-8deg) rotateX(8deg) rotateZ(-1deg) translateZ(40px);
}

.mockup-frame {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 16px;
    box-shadow:
        var(--shadow-3d),
        0 40px 80px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(30px);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.mockup-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mockup-header .dot.red { background-color: #ef4444; }
.mockup-header .dot.yellow { background-color: #f59e0b; }
.mockup-header .dot.green { background-color: #10b981; }

.mockup-url {
    font-size: 11px;
    color: var(--text-secondary);
    margin-left: 8px;
    opacity: 0.7;
    font-family: var(--font-body);
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}

.db-status {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.db-status.green-status {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.db-card {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.db-card-icon {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.db-card-val {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

.db-card-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.dashboard-graph {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.graph-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.graph-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 70px;
    padding-top: 5px;
}

.graph-bar {
    width: 24px;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    border-radius: 4px 4px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.graph-bar span {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: var(--text-secondary);
    font-weight: 700;
}

/* ==========================================================================
   Company Motto Section
   ========================================================================== */
.motto-section {
    padding: 60px 0;
}

.motto-wrapper {
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.motto-text {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.motto-author {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    position: relative;
    z-index: 10;
}

.quote-mark {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 140px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.04;
    pointer-events: none;
    user-select: none;
}

.quote-mark.start {
    top: -30px;
    left: 40px;
}

.quote-mark.end {
    bottom: -90px;
    right: 40px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    color: var(--text-color);
    margin-bottom: 16px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ==========================================================================
   What We Deliver Section
   ========================================================================== */
.deliverables-section {
    padding: 80px 0;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.deliv-card {
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
    height: 100%;
}

.deliv-icon {
    width: 56px;
    height: 56px;
    background: var(--badge-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.deliv-card:hover .deliv-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff;
    transform: scale(1.1);
}

.deliv-card h3 {
    font-size: 18px;
}

.deliv-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==========================================================================
   Campaigns & Expertise Section
   ========================================================================== */
.campaigns-section {
    padding: 80px 0;
}

.campaign-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    background: var(--card-bg);
    padding: 8px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    align-self: center;
    max-width: 100%;
    overflow-x: auto;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 9999px;
    border: none;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.tabs-content {
    min-height: 350px;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.tab-info h3 {
    font-size: 26px;
    margin-bottom: 16px;
}

.tab-paragraph {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tab-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
}

.list-icon {
    color: var(--primary-color);
    font-size: 16px;
}

.tab-visual {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.campaign-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.campaign-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

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

/* ==========================================================================
   Campaign Support — Tabbed Layout
   ========================================================================== */
.cs-tabbed-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Sub Tabs Navigation */
.cs-sub-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    padding: 6px 4px;
    justify-content: center;
}

.cs-sub-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.cs-sub-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.cs-sub-tab i {
    font-size: 13px;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

.cs-sub-tab:hover {
    color: var(--text-color);
    border-color: var(--primary-color);
}

.cs-sub-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.25);
}

.cs-sub-tab.active i {
    color: #ffffff;
}

/* Content Card */
.cs-content-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

.cs-panel {
    display: none;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cs-panel.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: csPanelIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes csPanelIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cs-panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cs-panel-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.3);
}

.cs-panel-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.2;
}

.cs-panel-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cs-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.cs-stat-card {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cs-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.12);
}

.cs-stat-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.cs-stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.cs-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.cs-desc:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-section {
    padding: 80px 0 120px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.team-avatar-wrapper {
    position: relative;
    margin-bottom: 20px;
    width: 96px;
    height: 96px;
}

.avatar-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card:hover .avatar-svg {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.3);
}

.card-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-designation {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    font-size: 11px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    word-break: break-all;
}

.meta-item i {
    color: var(--primary-color);
}

.team-quote {
    font-size: 12.5px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    padding: 0 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
    background: var(--header-bg);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
}

.footer-brand .logo-icon {
    width: 24px;
    height: 24px;
}

.footer-brand .highlight {
    color: var(--accent-color);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================================================
   Modals & Forms
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 9, 26, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
    display: flex;
    opacity: 1;
}

.modal-container {
    width: 100%;
    max-width: 580px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--modal-bg);
    transform: translateY(30px) scale(0.96);
    transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.modal-close:hover {
    opacity: 1;
}

.modal-header {
    margin-bottom: 28px;
}

.modal-header h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px 0;
}

.success-icon {
    font-size: 50px;
    color: #10b981;
}

.form-success-state h3 {
    font-size: 22px;
}

.form-success-state p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 320px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 5s ease-in-out infinite;
    animation-delay: 2.5s;
}

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

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Scroll-triggered animation base state */
.scroll-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay utility classes */
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.18s; }
.stagger-4 { transition-delay: 0.24s; }
.stagger-5 { transition-delay: 0.30s; }
.stagger-6 { transition-delay: 0.36s; }
.stagger-7 { transition-delay: 0.42s; }
.stagger-8 { transition-delay: 0.48s; }

/* ==========================================================================
   Section Wave Dividers
   ========================================================================== */
.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 50px;
}

.section-divider path {
    fill: var(--primary-color);
    opacity: 0.06;
}

/* ==========================================================================
   Stat Number Counter (animated)
   ========================================================================== */
.stat-num[data-counter] {
    display: inline-block;
    min-width: 1ch;
}

/* Fix for dark-theme contrast issues on specific SVGs */
body.dark-theme .dark-text-fix {
    fill: #ffffff !important;
}


/* ==========================================================================
   Enhanced 3D Effects
   ========================================================================== */

/* Hero section 3D parallax container */
.hero-section {
    perspective: 1500px;
    transform-style: preserve-3d;
}

/* Scroll depth - sections get subtle 3D entrance */
.depth-scroll {
    transform-style: preserve-3d;
}

.depth-scroll .section-header {
    transform: translateZ(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.depth-scroll.animate-in .section-header {
    transform: translateZ(20px);
}

/* 3D floating layer for deliverable/team grids */
.deliverables-grid,
.team-grid {
    transform-style: preserve-3d;
    perspective: 1200px;
}

/* Dashboard cards inside mockup - extra depth */
.db-card {
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.db-card:hover {
    transform: translateZ(12px) scale(1.04);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.15);
}

/* Tab visual card - enhanced depth */
.tab-visual.card-3d {
    transform-style: preserve-3d;
}

.campaign-stat .stat-num {
    transform: translateZ(10px);
    transition: transform 0.3s ease;
}

/* Section title 3D extrusion effect */
.section-title {
    position: relative;
}

body.dark-theme .section-title {
    text-shadow:
        0 1px 0 rgba(139, 92, 246, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

body.light-theme .section-title {
    text-shadow:
        0 1px 0 rgba(99, 102, 241, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Motto text 3D depth */
.motto-text {
    text-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.1);
}

/* Navbar depth effect */
.navbar-header {
    transform: translateZ(100px);
    transform-style: preserve-3d;
}

/* Enhanced team card hover - lift higher with glow */
.team-card.card-3d:hover .team-avatar-wrapper {
    transform: translateZ(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card.card-3d .team-avatar-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Deliv icon 3D pop on hover */
.deliv-card:hover .deliv-icon {
    transform: scale(1.1) translateZ(15px);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.25);
}

.deliv-icon {
    transform-style: preserve-3d;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Graph bars 3D depth */
.graph-bar {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.graph-bar:hover {
    transform: scaleY(1.05) translateZ(8px);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 46px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-info {
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Campaign Support mobile */
    .cs-sub-tabs {
        justify-content: flex-start;
        padding-left: 0;
    }

    .cs-sub-tab {
        padding: 8px 16px;
        font-size: 12.5px;
    }

    .cs-content-card {
        padding: 24px 16px;
        min-height: auto;
    }

    .cs-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .cs-stat-num {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .motto-text {
        font-size: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-divider svg {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .section-container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 15px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        padding: 24px;
    }

    /* Campaign Support phone */
    .cs-stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .cs-stat-card:last-child {
        grid-column: span 2;
    }
}
