@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ==========================================================================
   iGen43 CORPORATE DESIGN SYSTEM — PwC-Inspired Professional Theme
   ========================================================================== */

:root {
    /* iGen43 Brand Colors */
    --igen-deep-purple: #350C6C;
    --igen-rich-purple: #6419C8;
    --igen-lavender: #A56EF0;
    --igen-light-purple: #E1D2FA;
    --igen-gold: #CAAE22;

    /* Light Theme (Default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F5FA;
    --bg-tertiary: #EFEAF5;
    --bg-card: #FFFFFF;
    --bg-dark: #0B0415;
    --border-color: rgba(53, 12, 108, 0.10);
    --border-light: rgba(53, 12, 108, 0.06);
    --text-primary: #1A1A2E;
    --text-secondary: #4A4565;
    --text-muted: #6B6580;
    --text-white: #FFFFFF;
    --text-light: #F8FAF8;

    --primary: var(--igen-deep-purple);
    --primary-bright: var(--igen-rich-purple);
    --primary-rgb: 53, 12, 108;
    --primary-color: var(--primary);
    --secondary: var(--igen-gold);
    --secondary-rgb: 202, 174, 34;

    --gradient-main: linear-gradient(135deg, var(--igen-deep-purple) 0%, var(--igen-rich-purple) 50%, var(--igen-gold) 100%);
    --gradient-primary: linear-gradient(135deg, var(--igen-deep-purple), var(--igen-rich-purple));
    --gradient-overlay: linear-gradient(135deg, rgba(53, 12, 108, 0.92), rgba(100, 25, 200, 0.85));

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(53, 12, 108, 0.06);
    --shadow-lg: 0 12px 40px rgba(53, 12, 108, 0.08);
    --shadow-xl: 0 24px 60px rgba(53, 12, 108, 0.12);

    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(53, 12, 108, 0.08);
    --transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Dark Mode */
body.dark-mode {
    --bg-primary: #0B0415;
    --bg-secondary: #120A22;
    --bg-tertiary: #1C1032;
    --bg-card: #1A1030;
    --border-color: rgba(165, 110, 240, 0.15);
    --border-light: rgba(165, 110, 240, 0.08);
    --text-primary: #F0ECF5;
    --text-secondary: #C0B8D0;
    --text-muted: #9088A5;
    --primary: var(--igen-lavender);
    --primary-bright: var(--igen-rich-purple);
    --primary-rgb: 165, 110, 240;
    --primary-color: var(--primary);
    --glass: rgba(11, 4, 21, 0.95);
    --glass-border: rgba(165, 110, 240, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.4);
    --gradient-overlay: linear-gradient(135deg, rgba(11, 4, 21, 0.92), rgba(28, 16, 50, 0.88));
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 10;
}

h1, h2, h3, .badge {
    font-family: 'Space Grotesk', sans-serif;
}

/* Serif accent for hero headlines */
.hero h1, .subpage-hero h1 {
    font-family: 'Playfair Display', 'Space Grotesk', serif;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

header.scrolled {
    height: 60px;
    box-shadow: var(--shadow-md);
}

.logo img {
    height: 26px;
}

/* Logo filter for light/dark mode removed */

nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}

nav ul li a.active::after,
nav ul li a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--igen-deep-purple);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

body.dark-mode .btn-primary {
    background: var(--igen-lavender);
    color: #0B0415;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--igen-rich-purple);
    color: #fff;
}

/* FIXED: btn-outline now has proper visibility */
.btn-outline {
    background: transparent;
    border: 2px solid var(--igen-deep-purple);
    color: var(--igen-deep-purple);
    font-weight: 600;
}

body.dark-mode .btn-outline {
    border-color: var(--igen-lavender);
    color: var(--igen-lavender);
}

.btn-outline:hover {
    background: var(--igen-deep-purple);
    color: #fff;
    transform: translateY(-2px);
}

body.dark-mode .btn-outline:hover {
    background: var(--igen-lavender);
    color: #0B0415;
}

/* White variant for dark backgrounds */
.btn-white {
    background: #fff;
    color: var(--igen-deep-purple);
    font-weight: 600;
    border: none;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    font-weight: 600;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--igen-deep-purple);
}

/* ==========================================================================
   THEME TOGGLE
   ========================================================================== */

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    outline: none;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

body.dark-mode .theme-toggle .sun-icon { display: block; }
body.dark-mode .theme-toggle .moon-icon { display: none; }
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

/* ==========================================================================
   HERO — Image-Based (PwC Style)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 600px;
    height: 85vh;
    max-height: 780px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin-top: 72px;
}

.hero-image-wrapper {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 20px;
    padding: 4px; /* Space for border */
    background: linear-gradient(90deg, var(--igen-deep-purple), var(--igen-gold), var(--igen-lavender), var(--igen-deep-purple));
    background-size: 300% 100%;
    animation: borderGradient 6s linear infinite;
    z-index: 0;
}

@keyframes borderGradient {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}

.hero-image-inner {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-bg {
    background: linear-gradient(90deg, rgba(11, 4, 21, 0.8) 0%, rgba(11, 4, 21, 0.4) 50%, rgba(11, 4, 21, 0) 100%);
    position: absolute;
    top: 0; left: 0; width: 70%; height: 100%;
    z-index: 1;
}

.rotating-text {
    display: inline-block;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    will-change: opacity, transform;
}

.hero-overlay {
    /* Removed in favor of hero-text-bg */
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 6%;
}

.hero h1 {
    font-size: 3.6rem;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero gradient text should be gold on dark overlay */
.hero .gradient-text {
    background: linear-gradient(135deg, var(--igen-gold) 0%, #E8D44D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    display: inline-block;
}

/* Badge on light backgrounds */
.light-section .badge,
.section-badge {
    background: rgba(53, 12, 108, 0.08);
    color: var(--igen-rich-purple);
    border-color: rgba(53, 12, 108, 0.15);
}

body.dark-mode .section-badge {
    background: rgba(165, 110, 240, 0.12);
    color: var(--igen-lavender);
    border-color: rgba(165, 110, 240, 0.2);
}

/* ==========================================================================
   SUB-PAGE HERO
   ========================================================================== */

.subpage-hero {
    position: relative;
    min-height: 420px;
    padding-top: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--igen-deep-purple);
}

.subpage-hero .hero-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.subpage-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.subpage-hero .hero-content {
    text-align: center;
    z-index: 2;
    padding: 60px 20px;
}

.subpage-hero h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #fff;
}

.subpage-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

section {
    padding: 64px 0;
    position: relative;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.section-header {
    margin-bottom: 40px;
    max-width: 640px;
}

.section-header h2 {
    font-size: 2.4rem;
    line-height: 1.12;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.bg-alt {
    background: var(--bg-secondary);
}

.light-section {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* ==========================================================================
   PILLAR CARDS — Service Portfolio
   ========================================================================== */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    position: relative;
    height: 440px; /* Perfectly compact fixed height! No empty space! */
}

.pillar-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

/* Card image area (Fixed at top) */
.pillar-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    z-index: 1;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.pillar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pillar-card:hover .pillar-card-image img {
    transform: scale(1.05);
}

.pillar-card:hover .pillar-card-image {
    height: 100%;
    opacity: 0.15;
}

/* Card Body (Starts below image, slides UP over it) */
.pillar-card-body {
    position: absolute;
    top: 200px;
    left: 0;
    width: 100%;
    height: 100%; /* Spans the card height when slid up */
    background: var(--bg-card);
    z-index: 2;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease;
}

.pillar-card-body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.20), transparent 60%),
        radial-gradient(circle at 0% 100%, rgba(34, 211, 238, 0.15), transparent 60%),
        linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    pointer-events: none;
    z-index: 0;
}

body.dark-mode .pillar-card-body::before {
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.30), transparent 60%),
        radial-gradient(circle at 0% 100%, rgba(34, 211, 238, 0.20), transparent 60%),
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
}

.pillar-card-body > * {
    position: relative;
    z-index: 1;
}

.pillar-card:hover .pillar-card-body {
    transform: translateY(-200px);
    background-color: transparent;
}

/* Header */
.pillar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.pillar-label {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.pillar-header h3 {
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Icon */
.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.pillar-icon--sap { background: rgba(167, 139, 250, 0.1); color: #7C3AED; border: 1px solid rgba(167, 139, 250, 0.2); }
.pillar-icon--digital { background: rgba(34, 211, 238, 0.1); color: #0891B2; border: 1px solid rgba(34, 211, 238, 0.2); }
.pillar-icon--data { background: rgba(52, 211, 153, 0.1); color: #059669; border: 1px solid rgba(52, 211, 153, 0.2); }
.pillar-icon--ai { background: rgba(251, 146, 60, 0.1); color: #D97706; border: 1px solid rgba(251, 146, 60, 0.2); }

body.dark-mode .pillar-icon--sap { color: #A78BFA; }
body.dark-mode .pillar-icon--digital { color: #22D3EE; }
body.dark-mode .pillar-icon--data { color: #34D399; }
body.dark-mode .pillar-icon--ai { color: #FB923C; }

/* Description (Collapses on hover to make room) */
.pillar-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-height: 120px;
    opacity: 1;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-desc {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

/* Service sub-links (Expands internally and centers vertically) */
.pillar-services-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pillar-card:hover .pillar-services-wrapper {
    opacity: 1;
    max-height: 400px;
    flex: 1; /* Stretch to fill remaining space so items are centered */
    margin-top: 8px;
}

/* Explore Indicator */
.explore-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    max-height: 50px;
    opacity: 1;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pillar-card:hover .explore-indicator {
    opacity: 0;
    max-height: 0;
}

/* Mobile fallback */
@media (max-width: 1024px) {
    .pillar-card { height: auto; }
    .pillar-card-image { position: relative; height: 180px; }
    .pillar-card-body { position: relative; top: 0; height: auto; }
    .pillar-services-wrapper { max-height: 1000px; opacity: 1; margin-top: 16px; }
    .explore-indicator { display: none; }
}

.pillar-services {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 16px;
}

@media (max-width: 600px) {
    .pillar-services {
        grid-template-columns: 1fr;
    }
}

.pillar-services li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    line-height: 1.3;
}

.pillar-services li a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    padding-left: 16px;
}

.pillar-services li a span {
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}

.pillar-services li a:hover span {
    opacity: 1;
    transform: translateX(0);
}

.pillar-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-transform: uppercase;
    transition: var(--transition);
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.pillar-cta:hover {
    gap: 16px;
}

.pillar-cta span {
    transition: transform 0.3s ease;
}

.pillar-cta:hover span {
    transform: translateX(4px);
}

/* ==========================================================================
   CASE STUDY — Featured (Home Page)
   ========================================================================== */

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.case-content .badge {
    background: rgba(53, 12, 108, 0.08);
    color: var(--igen-rich-purple);
    border-color: rgba(53, 12, 108, 0.15);
}

body.dark-mode .case-content .badge {
    background: rgba(165, 110, 240, 0.12);
    color: var(--igen-lavender);
    border-color: rgba(165, 110, 240, 0.2);
}

.case-content h2 {
    color: var(--text-primary);
}

.features-list {
    margin: 24px 0 32px;
    list-style: none;
}

.features-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.case-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animated Dashboard (kept for backward compat but simplified) */
.visual-mockup {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.animated-dashboard {
    background: #0D0D12;
    border: 1px solid rgba(53, 12, 108, 0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
    font-family: 'Outfit', sans-serif;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00F2FF;
    box-shadow: 0 0 8px #00F2FF;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.dash-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.dash-period {
    font-size: 0.65rem;
    color: #8a8a95;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.kpi-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    margin-bottom: 2px;
}

.kpi-label {
    font-size: 0.65rem;
    color: #8a8a95;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.kpi-trend { font-size: 0.6rem; font-weight: 600; margin-top: 4px; }
.kpi-trend.up { color: #00e676; }

.sparkline {
    position: absolute;
    bottom: 0; right: 0;
    width: 60%;
    height: 30px;
    opacity: 0.35;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.chart-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px;
}

.chart-wide { grid-column: span 2; }

.chart-label {
    font-size: 0.65rem;
    color: #8a8a95;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100px;
    gap: 8px;
}

.bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    width: 100%;
    max-width: 28px;
    height: 0;
    background: var(--bar-color);
    border-radius: 4px 4px 0 0;
    animation: bar-grow 1s ease-out forwards;
    animation-delay: var(--bar-delay);
}

@keyframes bar-grow { to { height: var(--bar-height); } }

.bar-label {
    font-size: 0.55rem;
    color: #8a8a95;
    margin-top: 6px;
}

/* Donut Chart */
.donut-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 8px;
}

.donut-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-ring { fill: none; stroke: #1E1E28; stroke-width: 12; }

.donut-seg {
    fill: none;
    stroke: var(--seg-color);
    stroke-width: 12;
    stroke-dasharray: 0 314;
    stroke-linecap: round;
    animation: donut-reveal 1.2s ease-out forwards;
    animation-delay: var(--seg-delay);
}

@keyframes donut-reveal {
    to {
        stroke-dasharray: var(--seg-dash) 314;
        stroke-dashoffset: var(--seg-offset);
    }
}

.donut-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-total {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

.donut-sub {
    display: block;
    font-size: 0.5rem;
    color: #8a8a95;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.donut-legend {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 0.55rem;
    color: #8a8a95;
}

.donut-legend i {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Area Chart */
.area-chart {
    width: 100%;
    height: 100px;
    display: block;
}

.area-fill {
    opacity: 0;
    animation: fade-in 1.5s ease-out 0.3s forwards;
}

.area-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: line-draw 2s ease-out 0.2s forwards;
}

@keyframes line-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

.area-dot {
    opacity: 0;
    animation: dot-pop 0.4s ease-out forwards;
    animation-delay: var(--dot-delay);
}

@keyframes dot-pop {
    0% { opacity: 0; r: 0; }
    70% { r: 5; }
    100% { opacity: 1; r: 3.5; }
}

.area-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.5rem;
    color: #8a8a95;
}

/* Gauge */
.gauge-wrap {
    position: relative;
    width: 100px; height: 70px;
    margin: 8px auto 0;
}

.gauge-chart { width: 100%; height: 100%; }

.gauge-fill {
    stroke-dasharray: 0 160;
    animation: gauge-animate 1.5s ease-out 0.3s forwards;
}

@keyframes gauge-animate { to { stroke-dasharray: 145 160; } }

.gauge-value {
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

/* Horizontal Bars */
.h-bars { display: flex; flex-direction: column; gap: 10px; }

.h-bar-item {
    display: grid;
    grid-template-columns: 54px 1fr 30px;
    align-items: center;
    gap: 8px;
}

.h-bar-name { font-size: 0.55rem; color: #8a8a95; }

.h-bar-track {
    height: 6px;
    background: #1E1E28;
    border-radius: 3px;
    overflow: hidden;
}

.h-bar-fill {
    height: 100%;
    width: 0;
    background: var(--fill-color);
    border-radius: 3px;
    animation: h-bar-grow 1s ease-out forwards;
    animation-delay: var(--fill-delay);
}

@keyframes h-bar-grow { to { width: var(--fill-w); } }

.h-bar-pct {
    font-size: 0.55rem;
    color: #8a8a95;
    text-align: right;
    font-family: 'Space Grotesk', sans-serif;
}

/* ==========================================================================
   IMPACT STATS
   ========================================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    display: inline;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-weight: 500;
}

.stat-bar {
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
    position: relative;
}

.stat-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0;
    background: var(--stat-color);
    border-radius: 2px;
    animation: stat-fill 1.5s ease-out 0.3s forwards;
}

@keyframes stat-fill { to { width: var(--stat-w); } }

@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WHY iGEN43
   ========================================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(53, 12, 108, 0.06);
    border: 1px solid rgba(53, 12, 108, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
}

body.dark-mode .why-icon {
    background: rgba(165, 110, 240, 0.1);
    border-color: rgba(165, 110, 240, 0.2);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: #fff;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    position: relative;
    overflow: hidden;
    background: var(--igen-deep-purple);
    color: #fff;
}

.cta-section .cta-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content .badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cta-content h2 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin: 16px 0;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

.cta-content .gradient-text {
    background: linear-gradient(135deg, var(--igen-gold) 0%, #E8D44D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   CASE STUDIES PAGE
   ========================================================================== */

/* Featured case study card */
.case-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    transition: var(--transition);
}

.case-featured:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.case-featured-image {
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.case-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-featured:hover .case-featured-image img {
    transform: scale(1.05);
}

.case-featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-featured-body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.25;
}

.case-featured-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .case-featured {
        grid-template-columns: 1fr;
    }
    .case-featured-image {
        min-height: 240px;
    }
}

/* Case Study Cards Grid */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

.case-study-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.case-study-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-study-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-study-card:hover .case-study-card-image img {
    transform: scale(1.05);
}

/* Industry tag overlay */
.case-study-card-image .industry-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-study-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.3;
}

.case-study-card-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.case-study-industry {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.read-case-study {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.case-study-card:hover .read-case-study {
    letter-spacing: 0.05em;
}

/* Key Outcomes Strip */
.outcomes-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0;
}

.outcome-item {
    text-align: center;
}

.outcome-number {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.outcome-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .outcomes-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    padding: 32px 0 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand { max-width: 360px; }

.footer-logo {
    height: 20px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

footer h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
}

.footer-offices p,
.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 4px;
    font-size: 0.8rem;
    line-height: 1.4;
}

.footer-offices strong,
.footer-contact strong {
    color: var(--text-secondary);
}

/* SAP Partner Logo – heartbeat animation */
@keyframes heartbeat {
    0%   { transform: scale(1); }
    14%  { transform: scale(1.08); }
    28%  { transform: scale(1); }
    42%  { transform: scale(1.05); }
    56%  { transform: scale(1); }
    100% { transform: scale(1); }
}

.sap-partner-footer-logo {
    display: block;
    margin-top: 16px;
    width: 95px;
    opacity: 0.9;
    animation: heartbeat 2.4s ease-in-out infinite;
    transform-origin: center;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 6px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-legal {
    width: 100%;
    padding-top: 16px;
    margin-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-legal a {
    color: var(--text-muted);
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(24px);
}

.reveal.active,
.no-js .reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SUB-PAGE CONTENT STYLES
   ========================================================================== */

/* Two-Column Content */
.two-col-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.content-block h3 {
    font-size: 1.15rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.content-block p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.content-block p strong {
    color: var(--text-secondary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .two-col-content { grid-template-columns: 1fr; gap: 28px; }
    .subpage-hero h1 { font-size: 2.2rem; }
}

/* Expertise Cards */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(53, 12, 108, 0.06);
    border: 1px solid rgba(53, 12, 108, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    transition: var(--transition);
}

body.dark-mode .expertise-icon {
    background: rgba(165, 110, 240, 0.1);
    border-color: rgba(165, 110, 240, 0.2);
}

.expertise-card:hover .expertise-icon {
    background: var(--primary);
    color: #fff;
}

.expertise-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
}

.expertise-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

@media (max-width: 900px) { .expertise-grid { grid-template-columns: 1fr; } }

.expertise-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .expertise-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .expertise-grid-4 { grid-template-columns: 1fr; } }

/* Detail Sections */
.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.detail-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    align-items: flex-start;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.detail-item:hover {
    transform: translateY(-6px);
}

.detail-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    padding-top: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.detail-item:hover .detail-number {
    transform: scale(1.1);
    opacity: 0.9;
}

.detail-content {
    border-left: 2px solid var(--border-color);
    padding-left: 24px;
    transition: border-color 0.3s ease;
}
.detail-item:hover .detail-content {
    border-left-color: var(--primary);
}

.detail-content h3 {
    font-size: 1.15rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.detail-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .detail-item { grid-template-columns: 1fr; gap: 8px; }
    .detail-content {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--border-color);
        padding-top: 12px;
    }
}

.detail-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.detail-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.detail-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   CASE STUDY DETAIL PAGES
   ========================================================================== */

.subpage-hero.cs-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 420px;
}

.subpage-hero.cs-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.subpage-hero.cs-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 32px 0;
    max-width: 960px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.2;
}

.process-step {
    position: relative;
    padding-left: 88px;
    margin-bottom: 56px;
}

.process-step:last-child { margin-bottom: 0; }

.step-number {
    position: absolute;
    left: 0; top: 0;
    width: 72px; height: 72px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.08);
    background: var(--primary);
    color: #fff;
}

.step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.step-content ul {
    list-style: none;
    padding-left: 0;
}

.step-content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.step-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Dark Section Cards */
.dark-section .expertise-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.dark-section .expertise-card h3 {
    color: var(--text-primary);
}

.dark-section .expertise-card p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .process-timeline::before { left: 18px; }
    .process-step { padding-left: 52px; }
    .step-number { width: 36px; height: 36px; font-size: 0.9rem; }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: flex-start;
}

@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.contact-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-detail-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
}

.contact-detail-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-detail-card a {
    color: inherit;
    text-decoration: none;
}

.contact-detail-card a:hover {
    color: var(--primary);
}

/* Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 8px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
}

.form-success h3 {
    color: #059669;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.form-success p { color: var(--text-muted); }

@media (max-width: 600px) {
    .contact-form-container { padding: 28px 20px; }
}

/* ==========================================================================
   PARTNER LOGOS & WORLD MAP (Innovation Lab)
   ========================================================================== */

.partner-logos-container {
    margin-bottom: 48px;
    text-align: center;
}

.partner-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    cursor: default;
}

.partner-logo-item:hover {
    transform: translateY(-4px);
}

.partner-logo-item svg { display: block; }

.partner-badge-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.partner-logo-item img {
    height: 40px;
    width: auto;
}

.world-map-container {
    position: relative;
    width: 100%;
    height: 460px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 32px;
}

#world-map-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: block;
}

.world-map-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.12;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    width: 10px; height: 10px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 5;
}

.marker-label {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.heartbeat-wrap {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
}

.heartbeat {
    position: absolute;
    width: 100%; height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: heartbeat-anim 2s ease-out infinite;
}

.heartbeat:nth-child(2) { animation-delay: 0.5s; }
.heartbeat:nth-child(3) { animation-delay: 1s; }

@keyframes heartbeat-anim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(6); opacity: 0; }
}

.marker-london { top: 17% !important; left: 49% !important; }
.marker-india { top: 38% !important; left: 65.5% !important; }

@media (max-width: 900px) {
    .world-map-container { height: 320px; }
    .partner-logos-grid { gap: 36px; }
    .partner-logo-item img { height: 32px; }
}

/* ==========================================================================
   SERVICES GRID (Legacy, some sub-pages)
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-flow: dense;
    gap: 24px;
}

.services-grid > :nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
.services-grid > :nth-child(2) { grid-column: 4 / 7; grid-row: 1; }
.services-grid > :nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
.services-grid > :nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
.services-grid > :nth-child(5) { grid-column: 5 / 7; grid-row: 2; }

@media (max-width: 900px) {
    .services-grid { display: block; }
    .service-card { width: 100% !important; margin-bottom: 24px; }
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.icon-wrap {
    width: 52px; height: 52px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .icon-wrap {
    background: var(--primary);
    color: #fff;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-link span { transition: var(--transition); }
.service-card:hover .service-link span { transform: translateX(4px); }

/* ==========================================================================
   RESPONSIVE — Global
   ========================================================================== */

@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }
    .case-study-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { min-height: auto; height: auto; padding: 120px 0 60px; }
    .hero h1 { font-size: 2rem; line-height: 1.2; }
    .hero p { font-size: 0.95rem; margin-top: 16px; margin-bottom: 24px; }
    header, header.scrolled { 
        height: 60px !important;
        padding: 0 16px; 
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
    }
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: var(--text-primary);
        cursor: pointer;
        padding: 8px;
    }
    nav {
        display: none; /* hidden by default on mobile */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }
    nav.open {
        display: block;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        white-space: normal;
        margin: 0;
        padding: 0;
    }
    nav ul li a { font-size: 1.1rem; }
    .header-cta { display: none; } /* Hide button to prevent nav overlap on mobile */
    .container { padding: 0 16px; }
    section { padding: 48px 0; }
}

@media (max-width: 600px) {
    .hero-content { padding: 0 36px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-group { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .cta-group .btn { text-align: center; justify-content: center; width: auto; padding: 10px 20px; font-size: 0.85rem; }
}

.video-watermark-patch {
    position: absolute; 
    bottom: 65px; 
    right: 45px; 
    width: 140px; 
    height: 70px; 
    background: rgba(15, 23, 42, 1); 
    border-radius: 8px; 
    z-index: 5; 
    pointer-events: none; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.video-watermark-patch img {
    max-height: 40px; 
    width: auto;
}

@media (max-width: 768px) {
    .video-watermark-patch {
        bottom: 12px;
        right: 12px;
        width: 70px;
        height: 35px;
        border-radius: 4px;
    }
    .video-watermark-patch img {
        max-height: 18px;
    }
}

/* ==========================================================================
   CANVAS (hidden in redesign but kept for innovation-lab)
   ========================================================================== */

#hero-canvas {
    display: none;
}

#lab-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

/* Overflow utility */
.overflow-visible { overflow: visible; }

/* Neon card class (neutralized — no glow) */
.neon-card { /* intentionally empty — removes neon glow */ }
.neon-glow { /* intentionally empty */ }

/* Hide cursor glow & floating orbs */
#cursor-glow { display: none !important; }
.floating-orb { display: none !important; }

/* Animated Dashboard Widget */
.animated-dashboard {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05), inset 0 0 20px rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.dash-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 8px; margin-bottom: 5px; }
.dash-title { color: #1e293b; font-weight: 700; font-size: 1.1rem; }
.dash-status { color: #0284c7; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dash-status::before { content: ''; display: block; width: 8px; height: 8px; background: #0284c7; border-radius: 50%; animation: pulse 1.5s infinite; }

/* Complex Dashboard Elements */
.complex-dash { gap: 15px; padding: 15px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi-box { background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.9); border-radius: 6px; padding: 10px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.kpi-label { display: block; font-size: 0.55rem; color: #64748b; font-weight: 600; text-transform: uppercase; margin-bottom: 5px; letter-spacing: 0.5px; }
.kpi-val { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.kpi-val.neg { color: #ef4444; }
.kpi-val small { font-size: 0.7rem; color: #64748b; font-weight: 600; margin-left: 2px;}

.dash-grid-complex { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.dash-card { background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.9); border-radius: 8px; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 12px; height: 160px; display: flex; box-shadow: 0 4px 6px rgba(0,0,0,0.02);}
.dash-card.full-width { grid-column: 1 / -1; height: 120px; justify-content: center;}
.card-title { font-size: 0.65rem; color: #475569; margin-bottom: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; text-align: center;}

/* Donut */
.donut-chart-animated { position: relative; margin: 0 auto; height: 95px; width: 95px; display: flex; justify-content: center; align-items: center; }
.circular-chart { width: 100%; height: 100%; animation: spin 10s linear infinite; }
.circle-bg { fill: none; stroke: rgba(0,0,0,0.05); stroke-width: 3.8; }
.circle { fill: none; stroke: #0284c7; stroke-width: 2.8; stroke-linecap: round; animation: progress 2s ease-out forwards; }
.circle-inner { fill: none; stroke: #f59e0b; stroke-width: 2.8; stroke-linecap: round; animation: progress-inner 2.5s ease-out forwards; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes progress { 0% { stroke-dasharray: 0 100; } }
@keyframes progress-inner { 0% { stroke-dasharray: 0 100; } }
.donut-center { position: absolute; color: #0f172a; font-weight: 800; font-size: 0.95rem; }

/* Bars */
.bar-chart-animated { display: flex; align-items: flex-end; gap: 8px; height: 100%; width: 100%; padding: 0 5px; }
.bar { flex: 1; background: linear-gradient(to top, #3b82f6, #06b6d4); border-radius: 4px 4px 0 0; animation: bar-grow 2s infinite alternate ease-in-out; }
.dense-bars { padding: 0; gap: 3px; height: 90px;}
.dense-bars .bar { border-radius: 2px 2px 0 0; }
.bar-1 { height: 40%; animation-delay: 0s; }
.bar-2 { height: 70%; animation-delay: 0.2s; }
.bar-3 { height: 50%; animation-delay: 0.4s; }
.bar-4 { height: 90%; animation-delay: 0.6s; }
.bar-5 { height: 60%; animation-delay: 0.8s; }
.bar-6 { height: 80%; animation-delay: 0.3s; }
.bar-7 { height: 45%; animation-delay: 0.5s; }
.bar-8 { height: 75%; animation-delay: 0.7s; }
.bar-9 { height: 85%; animation-delay: 0.9s; }
.bar-10 { height: 55%; animation-delay: 1.1s; }
@keyframes bar-grow { 0% { transform: scaleY(0.5); transform-origin: bottom; } 100% { transform: scaleY(1.2); transform-origin: bottom; } }

/* Area Chart */
.area-chart { width: 100%; height: 90px; overflow: hidden; position: relative; }
.area-chart svg { width: 100%; height: 100%; }
.area-path { fill: url(#area-gradient); animation: fade-in 2s ease-in; }
.line-path { fill: none; stroke: #0284c7; stroke-width: 2; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw-line 3s linear forwards infinite alternate; }
@keyframes draw-line { 100% { stroke-dashoffset: 0; } }
@keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }

/* Region Bars */
.region-bars { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0 10px;}
.region-row { display: flex; align-items: center; gap: 10px; }
.region-name { font-size: 0.7rem; font-weight: 600; color: #475569; width: 70px; text-align: right;}
.region-bar-track { flex: 1; background: rgba(0,0,0,0.05); height: 8px; border-radius: 4px; overflow: hidden; }
.region-bar-fill { height: 100%; background: linear-gradient(90deg, #3b82f6, #06b6d4); border-radius: 4px; animation: region-fill 2s ease-out forwards; transform-origin: left;}
.region-val { font-size: 0.7rem; font-weight: 700; color: #0f172a; width: 35px; }
@keyframes region-fill { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* --- Case Studies Layout --- */
.case-featured { display: flex; flex-wrap: wrap; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; overflow: hidden; margin-bottom: 60px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); backdrop-filter: blur(10px); }
.case-featured-image { flex: 1 1 50%; min-width: 300px; }
.case-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.case-featured-body { flex: 1 1 50%; padding: 0 40px 40px 40px; display: flex; flex-direction: column; justify-content: flex-start; }
.case-featured-body h3 { font-size: 2rem; margin-bottom: 20px; color: var(--text-color); }
.case-featured-body p { font-size: 1.1rem; margin-bottom: 30px; color: var(--text-muted); line-height: 1.6; }

.case-studies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.case-study-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.case-study-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.3); border-color: rgba(255, 255, 255, 0.2); }
.case-study-card-image { position: relative; height: 200px; }
.case-study-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-study-card:hover .case-study-card-image img { transform: scale(1.05); }
.industry-tag { position: absolute; top: 15px; left: 15px; display: inline-block; width: max-content; max-width: calc(100% - 30px); height: max-content; margin: 0; line-height: 1.5; background: rgba(0,0,0,0.7); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; backdrop-filter: blur(5px); text-transform: uppercase; letter-spacing: 0.5px; box-sizing: border-box; }
.case-study-card-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.case-study-card-body h3 { font-size: 1.25rem; margin-bottom: 15px; color: var(--text-color); line-height: 1.4; }
.case-study-card-body p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; flex: 1; line-height: 1.6; }
.case-study-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 15px; font-size: 0.85rem; }
.read-case-study { color: var(--primary-color); font-weight: 600; }

/* --- Subpages Layout --- */
.cs-hero { padding-bottom: 60px; }
.two-col-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
@media (max-width: 768px) { .two-col-content { grid-template-columns: 1fr; gap: 30px; } }
.content-block h3 { font-size: 1.5rem; margin-bottom: 15px; }
.content-block p { font-size: 1.1rem; line-height: 1.8; color: var(--text-muted); }

/* --- Process Timeline --- */
.process-timeline { display: flex; flex-direction: column; gap: 40px; max-width: 800px; margin: 0 auto; position: relative; }
.process-timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.1); }
.process-step { display: flex; gap: 30px; position: relative; z-index: 1; }
.step-number { width: 50px; height: 50px; flex-shrink: 0; background: var(--bg-secondary); border: 2px solid var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-color); font-size: 1.2rem; }
.step-content { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 30px; flex: 1; }
.step-content h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-color); }
.step-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 15px; }
.step-content ul { padding-left: 20px; color: var(--text-muted); }
.step-content li { margin-bottom: 8px; }

/* --- Expertise Grid 4 --- */
.expertise-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.neon-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 30px; transition: all 0.3s ease; box-shadow: inset 0 0 0 1px transparent; }
.neon-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 0 1px var(--primary-color); background: rgba(255, 255, 255, 0.05); }
.neon-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-color); }
.neon-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* --- Video Hero Section --- */
.video-hero { position: relative; width: 100%; max-width: 1920px; aspect-ratio: 16 / 9; max-height: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; background: #0f172a; }

/* Animated Background */
.animated-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.7; animation: float-orb 15s infinite ease-in-out alternate; }
.orb-1 { width: 500px; height: 500px; background: var(--igen-purple); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 600px; height: 600px; background: var(--igen-blue); bottom: -150px; right: -100px; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: #06b6d4; top: 40%; left: 40%; animation-delay: -10s; }
.grid-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 50px 50px; z-index: 1; }
@keyframes float-orb { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(150px, 100px) scale(1.2); } }

.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(59, 130, 246, 0.2) 100%); z-index: 2; backdrop-filter: blur(2px); pointer-events: none; }

.hero-content-glass { position: relative; z-index: 2; width: 100%; max-width: 1200px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 60px; padding: 40px 20px; margin-top: 60px; }

.hero-glass-panel { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 60px 40px; max-width: 800px; backdrop-filter: blur(12px); box-shadow: 0 30px 60px rgba(0,0,0,0.3); animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

.glass-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 8px 24px; font-size: 0.9rem; margin-bottom: 30px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; display: inline-block; }
.gradient-text-light { font-size: 4rem; line-height: 1.1; margin-bottom: 25px; background: linear-gradient(to right, #ffffff, #a5b4fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.hero-glass-panel p { font-size: 1.25rem; color: rgba(255,255,255,0.85); line-height: 1.6; max-width: 600px; margin: 0 auto; }

.hero-metrics-glass { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 40px 60px; width: 100%; backdrop-filter: blur(16px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.metric-glass-item { flex: 1; text-align: center; }
.metric-value { font-size: 3.5rem; font-weight: 800; color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.3); margin-bottom: 10px; background: linear-gradient(to right, #38bdf8, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.metric-label { font-size: 1rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.metric-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.15); margin: 0 30px; }

@media (max-width: 900px) {
    .hero-metrics-glass { flex-direction: column; gap: 30px; padding: 40px; }
    .metric-divider { width: 100%; height: 1px; margin: 15px 0; }
    .gradient-text-light { font-size: 3rem; }
}

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,0.6); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; animation: fade-in-up 1s ease-out 1s both; }
.mouse { width: 30px; height: 50px; border: 2px solid rgba(255,255,255,0.6); border-radius: 15px; position: relative; }
.mouse::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scroll 2s infinite; }
@keyframes scroll { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 20px); opacity: 0; } }
@keyframes fade-in-up { 0% { opacity: 0; transform: translate(-50%, 20px); } 100% { opacity: 1; transform: translate(-50%, 0); } }

/* SAP Partner Logo inside Services Wrapper */
.sap-partner-logo-container {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: auto;
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.sap-partner-logo-container img {
    max-height: 55px; 
    max-width: 130px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    animation: sap-pulse 3s infinite ease-in-out;
}

@keyframes sap-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1)) brightness(1);
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 8px 24px rgba(202, 174, 34, 0.5)) brightness(1.15);
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1)) brightness(1);
    }
}


/* Disable Edge Visual Search Overlay for all images and videos */
img, video {
    pointer-events: none;
    user-select: none; /* Prevent text selection highlight on images */
}


/* Split Layout (Case Studies Context) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .split-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    /* Premium Mobile Overlapping Card & Animation */
    .split-layout .image-wrapper {
        border-radius: 24px 24px 0 0 !important;
        margin-bottom: -40px; 
        z-index: 1;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
        animation: float 6s ease-in-out infinite; 
    }

    .split-layout .content-wrapper {
        background: #ffffff;
        padding: 50px 24px 40px;
        border-radius: 32px 32px 0 0;
        z-index: 2;
        box-shadow: 0 -20px 40px rgba(0,0,0,0.08);
        position: relative;
    }
}
