/* ============================================
   Sun47 Microsystems - Main Stylesheet
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Color Palette - New Brand Identity */
    /* Base: Soft silver-gray - intelligence, precision, stability */
    --color-silver-light: #F5F5F5;
    --color-silver: #E8E8E8;
    --color-silver-medium: #D4D4D4;
    --color-silver-dark: #C0C0C0;
    
    /* Accent: Warm sunlight amber/pale gold - energy, innovation, vitality */
    --color-amber: #F4A460;
    --color-gold: #FFD700;
    --color-gold-pale: #E6C200;
    --color-amber-light: #FFE4B5;
    
    /* Secondary: Deep graphite/midnight blue - depth, confidence, trust */
    --color-graphite: #2C2C2C;
    --color-graphite-light: #3A3A3A;
    --color-midnight-blue: #1E293B;
    --color-midnight-blue-light: #334155;
    
    /* Sustainable: Subtle teal/sage - harmony, environmental balance */
    --color-teal: #5F9EA0;
    --color-teal-light: #87CEEB;
    --color-sage: #9CAF88;
    --color-teal-muted: #7FB3B5;
    
    /* Legacy colors for transition (will be replaced) */
    --color-deep-blue: #1E293B;
    --color-cyan: #5F9EA0;
    --color-dark-gray: #2C2C2C;
    --color-light-gray: #F5F5F5;
    
    /* Text Colors */
    --color-text-dark: #2C2C2C;
    --color-text-light: #FFFFFF;
    --color-text-muted: #6B7280;
    --color-text-on-light: #1E293B;
    
    /* Typography */
    --font-primary: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto; /* Changed from smooth to auto for instant scroll */
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-on-light);
    background: linear-gradient(180deg, #F5F5F5 0%, #E8E8E8 50%, #F5F5F5 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Subtle ambient background - Light energy flow */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(244, 164, 96, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(95, 158, 160, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: ambientPulse 20s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Subtle grid pattern - Modular structure */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 212, 212, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 212, 212, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* ===== Loading Screen - Elegant ===== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F5F5F5 0%, #E8E8E8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}

.loader-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(244, 164, 96, 0.06) 0%, transparent 50%);
    animation: loaderBgRotate 10s linear infinite;
}

@keyframes loaderBgRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    position: relative;
    z-index: 1;
}

.data-stream {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.stream-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
    animation: streamFlow 2s linear infinite;
    opacity: 0.4;
}

.stream-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.stream-line:nth-child(2) {
    left: 40%;
    animation-delay: 0.5s;
}

.stream-line:nth-child(3) {
    left: 60%;
    animation-delay: 1s;
}

.stream-line:nth-child(4) {
    left: 80%;
    animation-delay: 1.5s;
}

@keyframes streamFlow {
    0% {
        top: -100px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    position: relative;
}

.logo-ring {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--color-gold);
    border-right-color: var(--color-gold);
    border-radius: 50%;
    animation: logoRotate 2s linear infinite;
    position: absolute;
}

.logo-ring::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border: 2px solid transparent;
    border-bottom-color: var(--color-amber);
    border-left-color: var(--color-amber);
    border-radius: 50%;
    animation: logoRotateReverse 1.5s linear infinite;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoRotateReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.logo-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    animation: corePulse 1.5s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

.loader-text {
    color: var(--color-text-on-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    opacity: 0.8;
}

@keyframes textGlitch {
    0%, 90%, 100% {
        opacity: 1;
        transform: translateX(0);
    }
    92% {
        opacity: 0.8;
        transform: translateX(-2px);
    }
    94% {
        opacity: 1;
        transform: translateX(2px);
    }
    96% {
        opacity: 0.8;
        transform: translateX(-1px);
    }
    98% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-graphite);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--color-text-dark);
}

a {
    text-decoration: none;
    color: var(--color-deep-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--color-gold);
}

/* ===== Container & Layout ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    scroll-margin-top: 80px; /* Offset for sticky header */
    position: relative;
    z-index: 1;
}

/* ===== Header & Navigation ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: var(--color-text-on-light);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(44, 44, 44, 0.08);
    border-bottom: 1px solid rgba(212, 212, 212, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    font-family: 'Inter', 'Poppins', sans-serif;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-silver-medium) 0%, var(--color-gold) 50%, var(--color-amber) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGradient 12s ease-in-out infinite;
    filter: drop-shadow(0 1px 2px rgba(44, 44, 44, 0.1));
}

@keyframes logoGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.logo::before {
    content: 'Sun47 Microsystems';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--color-silver-medium), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.3;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.4;
}

.logo:hover {
    transform: scale(1.05);
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-text-on-light);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold);
    background-color: rgba(255, 215, 0, 0.1);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-on-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-xs);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 50%, #E8E8E8 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 164, 96, 0.05) 0%, transparent 50%);
    color: var(--color-text-on-light);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(212, 212, 212, 0.3);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 164, 96, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.08) 50%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    color: var(--color-text-on-light);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.hero .tagline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    color: var(--color-text-on-light);
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-midnight-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .hero .tagline {
        -webkit-text-fill-color: var(--color-text-on-light);
        background: none;
    }
}

.hero .tagline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.6;
}

.hero .sub-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-on-light);
    opacity: 0.9;
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

/* ===== Core Focus Grid ===== */
.core-focus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

@media (max-width: 768px) {
    .core-focus {
        grid-template-columns: 1fr;
    }
}

.focus-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.focus-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
    transition: left 0.6s;
}

.focus-item:hover::after {
    left: 100%;
}

.focus-item:nth-child(1) {
    animation-delay: 0.3s;
}

.focus-item:nth-child(2) {
    animation-delay: 0.4s;
}

.focus-item:nth-child(3) {
    animation-delay: 0.5s;
}

.focus-item:nth-child(4) {
    animation-delay: 0.6s;
}

.focus-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s;
}

.focus-item:hover::before {
    left: 100%;
}

.focus-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--color-gold);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(255, 215, 0, 0.2),
        0 0 20px rgba(255, 215, 0, 0.1);
}

.focus-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    color: var(--color-gold);
    transition: all 0.4s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.focus-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.focus-item:hover .focus-icon {
    transform: scale(1.1) rotate(3deg);
    color: var(--color-amber);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4));
}

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

.focus-item h3 {
    color: var(--color-text-on-light);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    font-weight: 600;
}

.focus-item:hover h3 {
    color: var(--color-midnight-blue);
    transform: scale(1.02);
}

/* ===== Message Block ===== */
.message-block {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--color-gold);
    margin: var(--spacing-lg) 0;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 212, 212, 0.5);
}

.message-block p {
    color: var(--color-text-on-light) !important;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

.message-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-gold), var(--color-amber));
    opacity: 0.6;
}

.message-block:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 25px rgba(44, 44, 44, 0.12);
    background: rgba(255, 255, 255, 0.95);
    border-left-color: var(--color-amber);
}

/* ===== CTA Buttons ===== */
.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-amber));
    color: var(--color-text-on-light);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
    border: 2px solid var(--color-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-on-light);
    border: 2px solid var(--color-gold);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--color-text-on-light);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    border-color: var(--color-amber);
}

/* ===== Content Sections ===== */
.content-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    color: var(--color-text-on-light);
    border-top: 1px solid rgba(212, 212, 212, 0.3);
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-amber), var(--color-gold));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
    opacity: 0.6;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.content-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-on-light);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-amber));
    border-radius: 2px;
}

.content-section p {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-on-light);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===== Solutions Grid ===== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.solution-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.solution-card:nth-child(1) {
    animation-delay: 0.1s;
}

.solution-card:nth-child(2) {
    animation-delay: 0.2s;
}

.solution-card:nth-child(3) {
    animation-delay: 0.3s;
}

.solution-card:nth-child(4) {
    animation-delay: 0.4s;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px) scale(1.02);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-gold);
    transition: all 0.4s ease;
    animation: iconPulse 2s ease-in-out infinite;
}

.solution-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.2));
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(-3deg);
    color: var(--color-amber);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.solution-card h3 {
    color: var(--color-text-on-light);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.solution-card:hover h3 {
    color: var(--color-midnight-blue);
}

.solution-card p {
    text-align: left;
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===== Collaborations Section ===== */
.collaboration-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.collaboration-content p {
    text-align: left;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-on-light);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out both;
}

.collaboration-content p:nth-child(1) {
    animation-delay: 0.1s;
}

.collaboration-content p:nth-child(2) {
    animation-delay: 0.2s;
}

.collaboration-content p:nth-child(3) {
    animation-delay: 0.3s;
}

.collaboration-highlight {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--color-gold);
    margin: var(--spacing-md) 0;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    border: 1px solid rgba(212, 212, 212, 0.5);
}

.collaboration-highlight:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 25px rgba(44, 44, 44, 0.12);
    border-left-color: var(--color-amber);
    background: rgba(255, 255, 255, 0.95);
}

.collaboration-highlight a {
    color: var(--color-gold);
    font-weight: 600;
    transition: all 0.3s ease;
}

.collaboration-highlight a:hover {
    color: var(--color-amber);
    text-decoration: underline;
}

.collaboration-highlight h4 {
    color: var(--color-text-on-light) !important;
    font-weight: 600;
}

.collaboration-highlight p {
    color: var(--color-text-on-light) !important;
    opacity: 0.85;
}

.client-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold), var(--color-amber));
    color: var(--color-text-on-light);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    text-align: center;
}

.collaboration-highlight:hover .client-logo {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

blockquote {
    border-left: 4px solid var(--color-gold);
    padding: var(--spacing-md) var(--spacing-md);
    margin: var(--spacing-md) 0;
    font-style: italic;
    color: var(--color-text-on-light);
    background: rgba(255, 215, 0, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    border: 1px solid rgba(212, 212, 212, 0.3);
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 10px;
    top: -10px;
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* ===== Contact Section ===== */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-heading {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-on-light);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out;
}

.contact-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-amber));
    border-radius: 2px;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-on-light);
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.office-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    animation: fadeInUp 0.8s ease-out both;
}

.office-card:nth-child(1) {
    animation-delay: 0.2s;
}

.office-card:nth-child(2) {
    animation-delay: 0.3s;
}

.office-card:nth-child(3) {
    animation-delay: 0.4s;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.office-card:hover::before {
    transform: scaleX(1);
}

.office-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
}

.office-card h3 {
    color: var(--color-text-on-light);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.office-card:hover h3 {
    color: var(--color-midnight-blue);
}

.office-card p {
    text-align: left;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.7;
}

.office-card em {
    color: var(--color-text-on-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

.contact-info {
    text-align: center;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: rgba(255, 215, 0, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    border: 1px solid rgba(212, 212, 212, 0.3);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.contact-info p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-on-light);
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--color-text-on-light);
    font-size: 1.1rem;
    margin: 0 var(--spacing-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
}

.contact-info a:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
    border-bottom-width: 2px;
}

/* ===== WhatsApp Contact ===== */
.whatsapp-contact-wrapper {
    width: 100%;
    margin: var(--spacing-xl) 0;
}

.whatsapp-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    border: 1px solid rgba(212, 212, 212, 0.5);
    text-align: center;
    transition: all 0.4s ease;
    width: 100%;
}

.whatsapp-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.12);
    border-color: #25D366;
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    color: #25D366;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.6));
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(37, 211, 102, 0.9));
    }
}

.whatsapp-box h3 {
    color: var(--color-text-on-light);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.whatsapp-box p {
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #FFFFFF;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.6),
        0 0 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #2EE576, #1BA085);
}

.btn-whatsapp svg {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* ===== Gallery Section ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
    border: 1px solid rgba(212, 212, 212, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--color-gold);
}

.gallery-placeholder {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background: rgba(212, 212, 212, 0.2);
    overflow: hidden;
    border: 1px solid rgba(212, 212, 212, 0.3);
}

.gallery-placeholder svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: var(--spacing-md);
    color: #FFFFFF;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: #FFFFFF;
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(180deg, #E8E8E8 0%, #D4D4D4 100%);
    color: var(--color-text-on-light);
    padding: var(--spacing-md) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(212, 212, 212, 0.5);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

footer p {
    color: var(--color-text-on-light);
    opacity: 0.8;
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===== Abstract Tech Visuals ===== */
.tech-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.tech-pattern::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(45deg, var(--color-gold) 1px, transparent 1px),
        linear-gradient(-45deg, var(--color-gold) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 25s linear infinite;
}

.tech-pattern::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: 
        radial-gradient(circle, var(--color-gold) 2px, transparent 2px);
    background-size: 60px 60px;
    animation: patternMoveReverse 30s linear infinite;
    opacity: 0.5;
}

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

@keyframes patternMoveReverse {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-50px, -50px) rotate(360deg);
    }
}

/* Floating particles */
.hero .floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 3s;
    animation-duration: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10vh) translateX(20px) scale(1);
        opacity: 1;
    }
}

/* Gradient overlay for sections */
.gradient-overlay {
    position: relative;
}

.gradient-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 164, 96, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.gradient-overlay > .container {
    position: relative;
    z-index: 1;
}

/* ===== Solution Detail Pages ===== */
.solution-detail-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.solution-detail-header h1 {
    color: var(--color-text-on-light);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.solution-icon-large {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-gold);
    animation: float 3s ease-in-out infinite;
}

.solution-icon-large svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.solution-content {
    max-width: 1000px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.content-block h2 {
    color: var(--color-text-on-light);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: var(--spacing-xs);
}

.content-block p {
    color: var(--color-text-on-light);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

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

.achievement-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
}

.achievement-card h3 {
    color: var(--color-text-on-light);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.achievement-card p {
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.application-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.application-list li {
    color: var(--color-text-on-light);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 2;
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    border-bottom: 1px solid rgba(212, 212, 212, 0.3);
}

.application-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

.application-list li strong {
    color: var(--color-text-on-light);
    font-weight: 600;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(212, 212, 212, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 44, 44, 0.08);
}

.ai-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
    transition: left 0.6s;
}

.ai-feature-card:hover::before {
    left: 100%;
}

.ai-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
}

.ai-feature-card h3 {
    color: var(--color-text-on-light);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.ai-feature-card p {
    color: var(--color-text-on-light);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.cta-section {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Responsive Design ===== */
/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-amber));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Parallax effect for hero */
.hero {
    transform: translateZ(0);
}

/* Interactive cursor effect on cards */
.solution-card,
.office-card,
.collaboration-highlight,
.gallery-item {
    cursor: pointer;
}

.solution-card:active,
.office-card:active {
    transform: scale(0.98);
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--color-graphite);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--spacing-lg);
        transition: left 0.3s ease;
        gap: var(--spacing-md);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .core-focus {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .office-details {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
    
    .message-block {
        padding: var(--spacing-md);
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

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

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

