/* 
 * Omega Consultancy - Premium Corporate Design System v2.0
 * 'Senior Engineer' Edition - Modern, Scalable, Aesthetically Superior.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors (Aligned with Logo) */
    --color-primary: #0f172a;
    /* Slate 900: Deep, authoritative dark blue-grey */
    --color-primary-light: #1e293b;
    /* Slate 800 */

    --color-accent: #f59e0b;
    /* Amber 500: Vibrant Safety Orange (Brand Identity) */
    --color-accent-hover: #d97706;
    /* Amber 600 */
    --color-accent-subtle: #fff7ed;
    /* Amber 50 */

    /* Neutral Scale */
    --color-text-heading: #0f172a;
    --color-text-body: #334155;
    /* Slate 700 */
    --color-text-muted: #64748b;
    /* Slate 500 */
    --color-border: #e2e8f0;
    /* Slate 200 */

    /* Backgrounds */
    --color-bg-body: #ffffff;
    --color-bg-surface: #ffffff;
    --color-bg-alt: #f8fafc;
    /* Slate 50 */
    --color-bg-dark: #020617;
    /* Slate 950 */

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    /* Modern, geometric, tech-forward */
    --font-body: 'Inter', sans-serif;
    /* Clean, highly legible */

    /* Spacing & Layout */
    --header-height: 80px;
    --container-width: 1280px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    max-width: 70ch;
}

.lead-text {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-text-body);
}

.eyebrow {
    font-family: var(--font-display);
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-sm {
    padding: 4rem 0;
}

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

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: white;
}

.bg-dark p {
    color: #94a3b8;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3 {
    color: white;
}

/* Components: Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    border: 1px solid var(--color-accent);
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: white;
    color: var(--color-primary);
    border-color: white;
}

/* Header & Navigation - Dynamic Premium Design */
.site-header {
    height: var(--header-height);
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state - shrink and add shadow */
/* Scrolled state - shrink and add shadow */
.site-header.scrolled {
    height: 75px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.site-header.scrolled .logo-img {
    height: 40px;
}

.site-header.scrolled .brand-name {
    font-size: 1.7rem;
}

.site-header.scrolled .brand-suffix {
    font-size: 0.85rem;
}

.site-header.scrolled .logo-tagline {
    font-size: 0.65rem;
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
}

/* ========================================
   Logo Styling - Premium Design
   ======================================== */
.logo-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-decoration: none;
    height: 100%;
    padding: 12px 0;
    position: relative;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo-container:hover .logo-img {
    filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.3));
    transform: scale(1.02);
}

/* Top Row: Icon + Text Column side by side */
.logo-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Text column: OMEGA on top, CONSULTANCY SERVICE below */
.logo-text-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    color: #F59E0B;
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.brand-suffix {
    font-family: 'Outfit', sans-serif;
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Tagline - Inside text column */
.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-top: 3px;
    display: block;
}

/* Footer Logo Styling */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.footer-brand .footer-logo,
.footer-logo {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    max-width: 32px !important;
}

@media (max-width: 768px) {
    .logo-container {
        gap: 2px;
        padding: 6px 0;
    }

    .logo-top {
        gap: 10px;
    }

    .logo-img {
        height: 36px;
    }

    .brand-name {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .brand-suffix {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .logo-tagline {
        display: none;
        /* Hide tagline on mobile for cleaner layout */
    }

    .site-header.scrolled {
        height: 55px;
    }

    .site-header.scrolled .logo-img {
        height: 35px;
    }

    .site-header.scrolled .brand-name {
        font-size: 1.25rem;
        /* Keep mobile size */
    }

    .site-header.scrolled .brand-suffix {
        font-size: 0.65rem;
        /* Keep mobile size */
    }
}

@media (max-width: 768px) {
    .logo-container {
        gap: 10px;
    }

    .logo-img {
        height: 45px;
    }

    .logo-title {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .brand-suffix {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.7rem;
    }
}

/* Desktop Nav */
.desktop-nav {
    display: none;
    height: 100%;
}

@media(min-width: 1024px) {
    .desktop-nav {
        display: block;
    }

    .nav-list {
        display: flex;
        height: 100%;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-item {
        height: 100%;
        display: flex;
        align-items: center;
        position: relative;
    }

    .nav-link {
        color: var(--color-text-body);
        font-weight: 500;
        font-size: 0.95rem;
        padding: 0.5rem 0;
        position: relative;
    }

    .nav-link:hover {
        color: var(--color-accent);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-accent);
        transition: width 0.3s ease;
    }

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

    /* Dropdown - Modern */
    .dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: white;
        min-width: 240px;
        border-radius: var(--radius-md);
        padding: 0.75rem;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--color-border);
        list-style: none;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
    }

    .nav-item:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .dropdown a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        color: var(--color-text-heading);
        font-size: 0.9rem;
    }

    .dropdown a:hover {
        background-color: var(--color-accent-subtle);
        color: var(--color-accent-hover);
    }
}

/* Mobile Menu */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

@media(min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

/* Hero Section - Dynamic Wireframe Construction Background */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Richer, deeper gradient */
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    color: white;
    overflow: hidden;
    perspective: 1000px;
}

/* Blueprint Grid Floor with Glow */
.hero-bg-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(60deg);
    animation: gridScroll 20s linear infinite;
    z-index: 1;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.2));
}

/* Rising Building Blocks */
.hero-shapes {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    z-index: 2;
}

.shape {
    position: absolute;
    bottom: -100px;
    /* More vibrant blue gradient */
    background: linear-gradient(to top, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.6);
    border-top: none;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3), inset 0 0 10px rgba(59, 130, 246, 0.1);
    animation: buildUp 8s ease-in-out infinite;
    backdrop-filter: blur(2px);
}

/* Building Column 1 */
.shape-1 {
    width: 60px;
    height: 300px;
    left: 20%;
    animation-delay: 0s;
}

/* Building Column 2 - Main Orange one, brighter */
.shape-2 {
    width: 100px;
    height: 450px;
    left: 50%;
    transform: translateX(-50%);
    border-color: rgba(245, 158, 11, 0.6);
    background: linear-gradient(to top, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.05));
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.3), inset 0 0 15px rgba(245, 158, 11, 0.1);
    animation-duration: 12s;
    animation-delay: 2s;
}

/* Building Column 3 */
.shape-3 {
    width: 80px;
    height: 350px;
    right: 20%;
    animation-delay: 4s;
    /* Varied color - lighter cyan/blue */
    border-color: rgba(6, 182, 212, 0.5);
    background: linear-gradient(to top, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0));
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

/* Building Column 4 */
.shape-4 {
    width: 40px;
    height: 200px;
    left: 35%;
    animation-duration: 6s;
    animation-delay: 1s;
}

/* Building Column 5 */
.shape-5 {
    width: 50px;
    height: 250px;
    right: 35%;
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(to top, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0));
    animation-delay: 3s;
}

/* About Hero - Dynamic Network Connection Background */
.about-hero {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Tech grid pattern */
    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: 30px 30px;
    z-index: 1;
}

.network-grid {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 40%);
    animation: pulseNetwork 10s ease-in-out infinite alternate;
    z-index: 1;
}

/* Floating Particles */
.particles {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0.3;
    animation: floatParticle 20s infinite linear;
}

/* Connected lines simulation */
.particle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
    transform-origin: left center;
    transform: rotate(var(--angle, 45deg));
}

.p1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    --angle: 45deg;
    animation-duration: 25s;
}

.p2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    --angle: 135deg;
    animation-duration: 30s;
}

.p3 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 40%;
    --angle: -45deg;
    animation-duration: 20s;
}

.p4 {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 20%;
    --angle: 60deg;
    animation-duration: 28s;
}

.p5 {
    width: 4px;
    height: 4px;
    top: 15%;
    left: 70%;
    --angle: 180deg;
    animation-duration: 22s;
}

.p6 {
    width: 3px;
    height: 3px;
    top: 70%;
    left: 90%;
    --angle: -120deg;
    animation-duration: 26s;
}

@keyframes pulseNetwork {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(50px, 50px);
    }

    50% {
        transform: translate(0, 100px);
    }

    75% {
        transform: translate(-50px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* Enhanced 3D Home Animation Additions */
.hero .crane-arm {
    position: absolute;
    width: 4px;
    height: 150px;
    background: rgba(245, 158, 11, 0.4);
    top: 20%;
    right: 25%;
    transform-origin: bottom center;
    animation: craneSwing 10s ease-in-out infinite alternate;
    z-index: 2;
}

.hero .crane-arm::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: rgba(245, 158, 11, 0.4);
}

.hero .light-beam {
    position: absolute;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    bottom: -100px;
    left: 50%;
    animation: beamScan 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    z-index: 3;
}

@keyframes craneSwing {
    0% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

@keyframes beamScan {

    0%,
    100% {
        height: 0;
        opacity: 0;
        left: 20%;
    }

    50% {
        height: 100vh;
        opacity: 0.8;
        left: 80%;
    }
}

@keyframes gridScroll {
    0% {
        transform: rotateX(60deg) translateY(0);
    }

    100% {
        transform: rotateX(60deg) translateY(50px);
    }
}

@keyframes buildUp {
    0% {
        transform: translateY(100%) scaleY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(-20%) scaleY(1.2);
        opacity: 0;
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 60px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rotate, 45deg));
        opacity: 0.6;
    }

    50% {
        transform: translateY(-30px) rotate(calc(var(--rotate, 45deg) + 10deg));
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Cards & Grid System */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: var(--color-accent-subtle);
    border-radius: 50%;
}

.card h3 {
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* USP / Features Grid */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.usp-item {
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.usp-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.usp-item i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.usp-item h4 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    /* Bright white for visibility */
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.02em;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-dark);
    color: #cbd5e1;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-link {
    display: block;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    text-align: right;
    margin-bottom: 2rem;
}

.mobile-menu-close button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-heading);
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    color: var(--color-text-heading);
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-toggle {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding-left: 1rem;
    background: var(--color-bg-alt);
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 0.8rem 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.mobile-submenu li a:hover {
    color: var(--color-accent);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel {
    animation: fadeIn 0.4s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        min-height: 600px;
    }

    /* Mobile Service Card Optimizations */
    .card {
        padding: 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .card ul {
        text-align: left;
        display: inline-block;
        margin: 1.5rem auto !important;
    }

    .card h3,
    .card p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Form Elements */
input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
    background: white;
    transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-heading);
}


/* Backward Compatibility & Helper Aliases */
:root {
    --color-text-main: var(--color-text-body);
    --color-text-light: var(--color-text-muted);
    --space-xl: 6rem;
    --space-lg: 4rem;
    --space-md: 2rem;
}


/* Helper for Section Intros */
.intro-box {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* Why Omega Section Grid (Responsive) */
.why-omega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .why-omega-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* --- Immersive VR Section Styles --- */
.vr-container {
    background-color: #000000;
    color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-top: -2rem;
    /* Pull up to overlay slightly if needed, or just standard */
}

.vr-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1622979135228-5b19699fa5d6?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.vr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.vr-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 1.5rem;
}

.vr-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    backdrop-filter: blur(4px);
}

.vr-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.vr-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 2rem;
}

.vr-features-section {
    padding: 5rem 3rem;
    background: linear-gradient(to bottom, #000000, #0f172a);
}

.vr-feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.vr-feature-row:last-child {
    margin-bottom: 0;
}

.vr-feature-row.reverse {
    flex-direction: row-reverse;
}

.vr-visual {
    flex: 1;
    position: relative;
}

.vr-visual img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.15);
    transition: transform 0.4s ease;
}

.vr-visual:hover img {
    transform: scale(1.02);
}

.vr-text {
    flex: 1;
    text-align: left;
}

.vr-text h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.vr-text p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.vr-tech-stack {
    padding: 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a;
}

.vr-tech-stack p {
    text-align: center;
    width: 100%;
    margin: 0 auto 1.5rem auto;
}

.vr-tech-stack span {
    color: #64748b;
    font-size: 1.5rem;
    /* Placeholder style for pill replacement */
    font-family: var(--font-display);
    font-weight: 700;
    margin: 0 1rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.vr-tech-stack span:hover {
    opacity: 1;
    color: white;
}

@media(max-width: 768px) {

    .vr-feature-row,
    .vr-feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .vr-text {
        text-align: center;
    }

    .vr-title {
        font-size: 2.5rem;
    }

    .vr-features-section {
        padding: 3rem 1.5rem;
    }
}

/* --- Tabs System (Global) --- */
.tabs-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tabs-list {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 1rem 2rem;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.tabs-list::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: #f8fafc;
    border: 2px solid var(--color-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: all 0.25s ease;
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
    position: relative;
}

.tab-btn:hover {
    background: #f1f5f9;
    color: var(--color-text-heading);
    border-color: #cbd5e1;
}

.tab-btn.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.tab-btn.active:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

@media (max-width: 768px) {
    .tabs-list {
        justify-content: flex-start;
        padding: 1rem 0;
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 0.5rem;
        /* Ensure scroll starts at the beginning */
        scroll-snap-type: x mandatory;
    }

    .tabs-list .tab-btn {
        scroll-snap-align: start;
    }

    .tab-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }

    .tabs-header {
        top: 60px;
    }
}

/* Tab Panel Logic - Spacious & Clean */
.tab-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Section Spacing */
.service-intro {
    margin-bottom: 5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-intro h2 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.service-intro p {
    color: var(--color-text-body);
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Grid Refinement */
.deliverables-grid,
.viz-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}