/* ===================================
   LAYERS GRAPHICS STUDIO - STYLES
   Design. Visualize. Elevate.
   =================================== */

/* ===================================
   CSS VARIABLES & DESIGN TOKENS
   =================================== */
:root {
    /* Color Palette - Sophisticated Dark Theme with Copper/Orange Accents */
    --color-primary: #FF6B35;
    /* Vibrant Orange (from logo) */
    --color-primary-light: #FF8C61;
    /* Light Orange */
    --color-primary-dark: #E55A2B;
    /* Dark Orange */
    --color-secondary: #D4A574;
    /* Copper/Rose Gold (from reference) */
    --color-secondary-light: #E0B88A;
    /* Light Copper */
    --color-accent: #FF6B35;
    /* Orange Accent */
    --color-accent-orange: #FF8C61;
    /* Light Orange */

    /* Background Colors - Dark Navy/Slate (Refined for better shading) */
    --color-bg-primary: #0B0E14;
    /* Deep Black-Navy */
    --color-bg-secondary: #161A23;
    /* Deep Slate */
    --color-bg-tertiary: #1C222D;
    /* Subtle Medium Slate */
    --color-bg-card: rgba(26, 31, 44, 0.4);
    /* More transparent for fused look */
    --color-bg-card-hover: rgba(30, 36, 50, 0.7);

    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #94A3B8;
    /* Slate gray */
    --color-text-muted: #64748B;
    /* Muted slate */

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #ff7a3d, #f4a261);
    /* Orange to Copper */
    --gradient-secondary: linear-gradient(135deg, #D4A574 0%, #FF8C61 100%);
    /* Copper to Orange */
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #D4A574 50%, #FF8C61 100%);
    /* Full gradient */
    --gradient-radial: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 80%);

    /* Depth & Shading - MATCHING REFERENCE IMAGE */
    --glass-bg: rgba(22, 26, 35, 0.5);
    --glass-border: rgba(255, 255, 255, 0.05);
    /* Extremely subtle border like reference */
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    /* Deep, soft shadow */

    /* Refined Shadows */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.2);
    --shadow-inner: inset 0 1px 1px rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother timing */
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    background-image: radial-gradient(circle at 50% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    /* Global soft glow */
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section {
    position: relative;
    background-image: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.03) 0%, transparent 70%);
    /* Subtle depth for each section */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-light);
    backdrop-filter: blur(10px);
    margin-bottom: var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--color-text-primary);
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.1);
}

.btn-primary:hover {
    background: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.1);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: #000;
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--text-lg);
}

/* ===================================
   PRELOADER
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.layer-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
}

.flame {
    position: absolute;
    width: 40px;
    height: 60px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flameFlicker 1.5s ease-in-out infinite;
}

.flame-1 {
    background: linear-gradient(180deg, #8B5CF6 0%, #A78BFA 100%);
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.flame-2 {
    background: linear-gradient(180deg, #EC4899 0%, #F472B6 100%);
    left: 20%;
    top: 20%;
    animation-delay: 0.3s;
}

.flame-3 {
    background: linear-gradient(180deg, #F59E0B 0%, #FB923C 100%);
    right: 20%;
    top: 20%;
    animation-delay: 0.6s;
}

@keyframes flameFlicker {

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

    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
    }
}

.loading-text {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md) 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
}

.flame-logo {
    position: absolute;
    width: 20px;
    height: 30px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.flame-logo.flame-1 {
    background: linear-gradient(180deg, #8B5CF6 0%, #A78BFA 100%);
    left: 50%;
    transform: translateX(-50%);
}

.flame-logo.flame-2 {
    background: linear-gradient(180deg, #EC4899 0%, #F472B6 100%);
    left: 5px;
    top: 10px;
}

.flame-logo.flame-3 {
    background: linear-gradient(180deg, #F59E0B 0%, #FB923C 100%);
    right: 5px;
    top: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 4vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #FF6B35 0%, transparent 70%);
    /* Orange */
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #D4A574 0%, transparent 70%);
    /* Copper */
    top: 30%;
    right: -5%;
    animation-delay: 5s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #FF8C61 0%, transparent 70%);
    /* Light Orange */
    bottom: -10%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {

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

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-light);
    backdrop-filter: blur(10px);
    margin-bottom: 2vh;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-7xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2.5vh;
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    margin-bottom: 3vh;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 4vh;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.hero-visual {
    position: relative;
}

.visual-card {
    position: relative;
    aspect-ratio: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-radial);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.visual-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    animation: floatElement 6s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 10%;
    color: var(--color-primary);
    animation-delay: 0s;
}

.element-2 {
    top: 10%;
    right: 10%;
    color: var(--color-secondary);
    animation-delay: 2s;
}

.element-3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-accent);
    animation-delay: 4s;
}

@keyframes floatElement {

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

    50% {
        transform: translateY(-20px);
    }
}

.central-graphic {
    position: relative;
    width: 200px;
    height: 200px;
}

.rotating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: rotateRing 10s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(139, 92, 246, 0.3);
    animation-duration: 10s;
}

.ring-2 {
    width: 150px;
    height: 150px;
    border-color: rgba(236, 72, 153, 0.3);
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3 {
    width: 100px;
    height: 100px;
    border-color: rgba(245, 158, 11, 0.3);
    animation-duration: 20s;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-glow);
}

/* ===================================
   FLOATING BOTTLE ANIMATION
   =================================== */
.floating-bottle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: bottleFloat 4s ease-in-out infinite;
}

.bottle-container {
    position: relative;
    width: 120px;
    height: 200px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.bottle-body {
    position: relative;
    width: 80px;
    height: 160px;
    margin: 0 auto;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.15) 0%,
            rgba(212, 165, 116, 0.25) 50%,
            rgba(255, 107, 53, 0.15) 100%);
    border-radius: 15px 15px 20px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 30px rgba(255, 107, 53, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.bottle-neck {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 35px;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.2) 0%,
            rgba(212, 165, 116, 0.3) 100%);
    border-radius: 8px 8px 0 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    backdrop-filter: blur(10px);
}

.bottle-cap {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 15px;
    background: linear-gradient(135deg, #FF6B35 0%, #D4A574 100%);
    border-radius: 5px 5px 0 0;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.bottle-cap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

.bottle-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.3) 0%,
            rgba(212, 165, 116, 0.4) 100%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-primary);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bottle-shine {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 20px;
    height: 80px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    border-radius: 10px;
    transform: rotate(-10deg);
    animation: shine 3s ease-in-out infinite;
}

.bottle-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 15px;
    background: radial-gradient(ellipse,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 70%);
    border-radius: 50%;
    animation: shadowPulse 4s ease-in-out infinite;
}

/* Bottle Float Animation */
@keyframes bottleFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-25px) rotate(0deg);
    }

    75% {
        transform: translate(-50%, -50%) translateY(-15px) rotate(-2deg);
    }
}

/* Shine Animation */
@keyframes shine {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Shadow Pulse Animation */
@keyframes shadowPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.5;
    }
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    transition: all var(--transition-base);
    overflow: hidden;
    box-shadow: var(--glass-shadow), var(--shadow-inner);
    /* Unified shading */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 107, 53, 0.1);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card.featured {
    border-color: rgba(255, 107, 53, 0.2);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(212, 165, 116, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-glow);
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.service-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.service-features {
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.service-features i {
    color: var(--color-primary);
    font-size: var(--text-sm);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-primary-light);
    font-weight: 600;
    transition: var(--transition-base);
}

.service-link:hover {
    gap: var(--spacing-sm);
    color: var(--color-primary);
}

/* ===================================
   INDUSTRIES SECTION
   =================================== */
.industries {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.industry-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all var(--transition-base);
}

.industry-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.industry-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition-base), box-shadow var(--transition-base); /* Isolated transitions */
}

/* Isolated Icon Hover Animation Settings */
@keyframes rotate-icon {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.industry-card:hover .industry-icon {
    animation: rotate-icon 0.6s ease;
}

.industry-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.industry-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    padding: var(--spacing-3xl) 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    text-align: center;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

.portfolio-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #0F1623, #111C2E);
    border: none;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    z-index: 5;
}

/* Ensure iconic cards (placeholders) keep the brand orange gradient */
.portfolio-item:has(.image-placeholder) {
    background: var(--gradient-primary);
}

/* Specific fix for Effort Ceramic to ensure visibility in grid */
.portfolio-item.effort-fix {
    background: #f4f4f4 !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-item.effort-fix img {
    padding: 20px;
}

/* Logo Preview Scaling (Gallery) */
.portfolio-item.logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-item.logo-preview img {
    width: auto !important;
    height: auto !important;
    max-width: 85% !important;
    max-height: 70% !important;
    object-fit: contain !important;
    display: block !important;
    margin: auto !important;
}

/* Effort Ceramic Hero Display Fix (Detail Page) */
.project-main-display.effort-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f4f4f4 !important;
}

.project-main-display.effort-hero img {
    width: auto !important;
    height: auto !important;
    max-width: 90% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Specific fix for Apron mockup to fill the card */
.portfolio-item.apron-fix {
    background: transparent !important;
    overflow: hidden;
}

.portfolio-item.apron-fix img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
}

/* Specific fix for Vishal Store to ensure visibility */
.vishal-fix {
    background: white !important;
    padding: 20px !important;
}

.vishal-fix img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Specific fix for Seiko Showroom Stand to fill the card */
.portfolio-item.seiko-fix {
    background: transparent !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seiko-logo-fix {
    width: 85% !important;
    height: 85% !important;
    max-width: 85% !important;
    max-height: 85% !important;
    object-fit: contain !important;
    margin: auto !important;
    display: block !important;
}

.project-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Seiko Showroom Stand specific fix */
.project-card.seiko-stand-card {
    overflow: hidden;
}

.portfolio-item.seiko-stand-card .seiko-stand-fix {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
    padding: 0 !important;
    display: block !important;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.portfolio-item img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
    display: block;
    z-index: 0;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    flex: 1;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: var(--text-4xl);
    color: var(--color-text-primary);
}

.image-placeholder p {
    font-size: var(--text-lg);
    font-weight: 600;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}
.portfolio-item:hover .image-placeholder > * {
    opacity: 0;
    transition: opacity var(--transition-base);
}

.overlay-content {
    text-align: center;
    padding: var(--spacing-lg);
}

.overlay-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.overlay-content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.view-project {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-text-primary);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-bounce);
}

.view-project:hover {
    transform: scale(1.1);
    gap: var(--spacing-sm);
}

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

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-3xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-description {
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    margin: var(--spacing-xl) 0;
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.feature-item:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.feature-content p {
    color: var(--color-text-secondary);
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.grid-item {
    aspect-ratio: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.grid-item:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

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

.item-content i {
    font-size: var(--text-4xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.item-content p {
    font-weight: 600;
    color: var(--color-text-secondary);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}

.info-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.info-content p,
.info-content a {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.info-content a:hover {
    color: var(--color-primary);
}

.social-links {
    margin-top: var(--spacing-xl);
}

.social-links h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    grid-column: 1 / -1;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: var(--spacing-xs);
}

.footer-contact li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-social-col {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.footer-social-icon:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--glass-border);
    color: var(--color-text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom-links a {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    transition: var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--color-text-primary);
}

.footer-social {
    display: none;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
}


/* ===================================
   CLIENTS SECTION
   =================================== */
/* Layered glow + vertical wash: continues primary/radials from Featured Projects, softens into About (secondary) */
.clients {
    padding-top: 100px;
    padding-bottom: 100px;
    margin-top: 0;
    position: relative;
    background: var(--color-bg-secondary);
}

.logos-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: var(--spacing-md) 0;
    background: transparent;
}

.logos-track {
    display: flex;
    gap: 24px;
    animation: scrollLogos 40s linear infinite;
    width: max-content;
    background: transparent;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.client-card {
    flex: 0 0 240px;
    height: 130px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.client-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-text-secondary);
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.client-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
    background: rgba(30, 36, 50, 0.8);
}

.client-card:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--color-text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12px)); /* Half of track width + half of gap */
    }
}

.logos-track:hover {
    animation-play-state: paused;
}

/* Specific Logo Counts per device as requested */
@media (max-width: 1400px) {
    .client-card {
        flex: 0 0 calc((100% / 5) - (24px * 4 / 5));
        min-width: 220px;
    }
}

@media (max-width: 1024px) {
    .client-card {
        flex: 0 0 calc((100% / 3) - (24px * 2 / 3));
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .clients {
        padding-top: 100px;
        padding-bottom: 100px;
        margin-top: 0;
    }
    .client-card {
        flex: 0 0 calc((100% / 2) - (24px * 1 / 2));
        min-width: 160px;
        height: 110px;
    }
    .client-logo {
        font-size: var(--text-lg);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* ---- LAPTOP BREAKPOINT (1440px) ---- */
@media (max-width: 1440px) {
    .hero {
        padding-top: 110px;
    }
}

/* ---- TABLET BREAKPOINT (1024px) ---- */
@media (max-width: 1024px) {
    /* Hero */
    .hero {
        padding-top: 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .visual-grid {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }

    /* Gradient orbs - scale down for tablets */
    .orb-1 {
        width: 350px;
        height: 350px;
    }

    .orb-2 {
        width: 280px;
        height: 280px;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
    }
}

/* ---- MOBILE BREAKPOINT (768px) ---- */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    section {
        overflow: hidden;
        max-width: 100vw;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 var(--spacing-md);
        overflow-x: hidden;
    }

    :root {
        --spacing-3xl: 4rem;
        --text-7xl: 3rem;
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
    }

    /* === NAVIGATION === */
    .nav-wrapper {
        position: relative; /* Anchor for nav-menu */
    }

    /* Full Screen Mobile Menu Overlay */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 14, 20, 0.98); /* Deep dark overlay */
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-xl);
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        max-height: none;
    }

    .nav-link {
        width: auto;
        text-align: center;
        font-size: var(--text-2xl);
        font-weight: 600;
        color: var(--color-text-primary);
        padding: var(--spacing-sm) 0;
        border-bottom: none;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .nav-link:hover, 
    .nav-link.active {
        color: var(--color-primary);
        transform: scale(1.1);
    }

    .nav-link::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 40px;
        height: 30px;
        position: relative;
        z-index: 2001;
        background: rgba(255, 255, 255, 0.05);
        padding: 5px;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
    }

    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #FFFFFF !important;
        border-radius: 10px;
        transition: all 0.3s ease-in-out;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logo {
        position: relative;
        z-index: 2001; /* Stay visible over menu */
    }

    /* Hide desktop CTA in nav */
    .nav-actions .btn {
        display: none;
    }

    /* === HERO SECTION === */
    .hero {
        padding: calc(90px + var(--spacing-xl)) 0 var(--spacing-3xl);
        text-align: center;
        overflow: hidden;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        position: relative;
        z-index: 10; /* Ensure content is above background layers */
    }

    .hero-text {
        align-items: center;
        position: relative;
        z-index: 20; /* Hero text above all else */
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-description {
        font-size: var(--text-base);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        position: relative;
        z-index: 30; /* Buttons always clickable and on top */
    }

    .hero-stats {
        grid-template-columns: 1fr;
        width: 100%;
        gap: var(--spacing-md);
        position: relative;
        z-index: 100 !important; /* Highest Top Layer */
        opacity: 1 !important;
        visibility: visible !important;
    }

    .stat-item {
        background: rgba(30, 36, 50, 0.95); /* Deeper, more opaque background for contrast */
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 107, 53, 0.3); /* Accent border to "pop" on mobile */
        padding: var(--spacing-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .stat-number {
        font-size: var(--text-3xl) !important;
        opacity: 1 !important;
        color: #FFFFFF !important; /* Forced bright white if gradient is too dim */
        text-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    }

    .hero-visual {
        display: block !important;
        width: 100%;
        max-width: 100%;
        min-height: 380px; /* Adjusted to balance visibility and space */
        order: 1; 
        margin: var(--spacing-lg) auto var(--spacing-3xl); /* Increased bottom margin to prevent overlap */
        position: relative;
        z-index: 50; 
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
    }

    .visual-card {
        width: 85%;
        max-width: 280px;
        height: 300px; /* More compact card size */
        margin: 0 auto;
        padding: var(--spacing-sm); 
        overflow: visible !important;
        transform: scale(0.75); /* Tighter scale to fit smaller devices comfortably */
        aspect-ratio: auto;
    }

    .visual-content {
        overflow: visible !important;
        height: 100%;
        width: 100%;
    }

    /* === GRIDS & LAYOUT === */
    .services-grid,
    .portfolio-grid,
    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .portfolio-filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-2xl);
    }

    .filter-btn {
        width: 100%;
        text-align: center;
        font-size: var(--text-sm);
        padding: var(--spacing-sm) var(--spacing-xs);
    }

    .filter-btn:first-child {
        grid-column: span 2;
    }

    .visual-grid {
        max-width: 100%;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    /* Keep Get In Touch form fully inside mobile viewport */
    .contact-content > * {
        min-width: 0;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
        overflow-x: hidden;
    }

    .contact-form,
    .contact-form .form-group {
        width: 100%;
        min-width: 0;
    }

    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* ---- SMALL MOBILE BREAKPOINT (480px) ---- */
@media (max-width: 480px) {
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
    }

    section {
        overflow: hidden;
        max-width: 100vw;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 var(--spacing-md);
        overflow-x: hidden;
    }

    .navbar {
        width: 100%;
        max-width: 100vw;
    }

    :root {
        --text-4xl: 2.25rem;
        --spacing-2xl: 3rem;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .stat-number {
        font-size: var(--text-2xl);
    }
}


/* ---- EXTRA SMALL (360px and below) ---- */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: var(--text-sm);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .hero-visual {
        max-width: 220px;
    }

    .btn-large {
        padding: var(--spacing-xs) var(--spacing-lg);
        font-size: var(--text-sm);
    }
}