/* ========================================
   Olpeak - Main Stylesheet
   ======================================== */

/* ========================================
   CSS Custom Properties (Design Tokens)
======================================== */
:root {
    /* Base Colors - Warm Cream Theme */
    --base-cream: #F9F7F2;
    --base-ivory: #FFFBF0;
    --base-off-white: #FEFDFB;
    --base-warm-white: #FDF9F3;
    
    /* Text Colors */
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --text-light: #95A5A6;
    --text-inverse: #FFFFFF;
    
    /* Accent Colors */
    --accent-orange: #E17055;
    --accent-orange-light: #FABAA0;
    --accent-navy: #2C3E50;
    --accent-navy-light: #34495E;
    --accent-gold: #FDCB6E;
    --accent-sage: #A8C5A8;
    
    /* UI Colors */
    --border-light: rgba(45, 52, 54, 0.08);
    --border-medium: rgba(45, 52, 54, 0.15);
    --footer-bg: #E8E4DF;
    --footer-dark: #3D3D3D;
    --error-color: #E74C3C;
    --success-color: #27AE60;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 52, 54, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 52, 54, 0.08);
    --shadow-lg: 0 8px 40px rgba(45, 52, 54, 0.12);
    --shadow-xl: 0 16px 60px rgba(45, 52, 54, 0.15);
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --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;
}

body {
    font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--base-cream);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ========================================
   Utility Classes
======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.section-title .highlight {
    color: var(--accent-orange);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Reveal Animation Base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   Header Styles
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
}

.site-header.scrolled {
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

/* Sub-page header (always has background) */
.site-header.page-header {
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-mark {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-navy), var(--accent-navy-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.logo:hover .logo-mark {
    transform: scale(1.05);
}

/* Logo Image */
.logo-img {
    height: 55px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width var(--transition-medium);
}

.nav-list a:hover {
    color: var(--text-primary);
}

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

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--accent-orange);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(225, 112, 85, 0.3);
    transition: all var(--transition-fast);
}

.header-cta:hover {
    background: #D35F4E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 112, 85, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--base-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 999;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--accent-orange);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    perspective: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(253, 203, 110, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(225, 112, 85, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
}

/* Background Video Styles */
.hero-bg-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-color: var(--base-cream); /* Base color behind video */
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Low opacity to blend with background */
    mix-blend-mode: multiply; /* Helps darken the cream background slightly with video details */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--base-cream);
    opacity: 0.4; /* Final wash to soften everything */
    mix-blend-mode: screen; /* Lighten the dark parts of the video */
}

/* Hero Text Animations - Enhanced */
.hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-orange);
    margin-bottom: 24px;
    opacity: 0;
    animation: revealText 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 28px;
    opacity: 0;
    animation: revealText 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}

.hero-title .highlight {
    color: var(--accent-orange);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 8px;
    background: rgba(225, 112, 85, 0.25);
    z-index: -1;
    animation: markerDraw 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 40px;
    opacity: 0;
    animation: revealText 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: revealText 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}

/* Text Reveal Animation */
@keyframes revealText {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Marker Draw Animation */
@keyframes markerDraw {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-navy);
    color: white;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.25);
}

.btn-primary:hover {
    background: var(--accent-navy-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* ========================================
   Hero 3D Scene - Enhanced Multi-Element Composition
======================================== */
.hero-3d-scene {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transform-style: preserve-3d;
    perspective: 1200px;
    overflow: hidden;
}

/* === FOREGROUND BLUR LAYER (Depth of Field) === */
.blur-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
}

.blur-particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0;
    animation: blurParticleReveal 2s ease-out forwards;
}

.blur-glass-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 5%;
    background: radial-gradient(ellipse at center, rgba(253, 203, 110, 0.25) 0%, transparent 70%);
    animation-delay: 0.5s;
}

.blur-glass-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: 8%;
    background: radial-gradient(ellipse at center, rgba(225, 112, 85, 0.2) 0%, transparent 70%);
    animation-delay: 0.8s;
}

.blur-glass-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 15%;
    background: radial-gradient(ellipse at center, rgba(168, 197, 168, 0.25) 0%, transparent 70%);
    animation-delay: 1.1s;
}

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

/* === BASE SPHERE STYLES === */
.sphere-3d {
    position: absolute;
    border-radius: 50%;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.sphere-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* === TYPE A: Glassmorphism Spheres === */
.sphere-glass .sphere-inner {
    background: linear-gradient(
        135deg,
        rgba(253, 203, 110, 0.15) 0%,
        rgba(225, 112, 85, 0.08) 50%,
        rgba(253, 203, 110, 0.12) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px rgba(225, 112, 85, 0.15),
        inset 0 0 60px rgba(255, 255, 255, 0.1),
        inset -20px -20px 60px rgba(253, 203, 110, 0.08);
}

.sphere-glass .sphere-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(8px);
}

.sphere-glass .sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at 30% 30%,
        rgba(253, 203, 110, 0.4) 0%,
        rgba(225, 112, 85, 0.2) 50%,
        transparent 80%
    );
    border-radius: 50%;
    animation: coreGlow 4s ease-in-out infinite;
}

@keyframes coreGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.sphere-glass .sphere-reflection {
    position: absolute;
    bottom: 5%;
    right: 10%;
    width: 30%;
    height: 20%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(4px);
}

/* Glass Sphere Positions */
.sphere-glass-primary {
    width: clamp(280px, 28vw, 380px);
    height: clamp(280px, 28vw, 380px);
    top: 8%;
    right: 5%;
    opacity: 0;
    animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards,
               morphFloat1 12s ease-in-out 1.5s infinite;
}

.sphere-glass-secondary {
    width: clamp(140px, 14vw, 180px);
    height: clamp(140px, 14vw, 180px);
    bottom: 20%;
    left: 5%;
    opacity: 0;
    animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards,
               morphFloat2 14s ease-in-out 1.8s infinite;
}

.sphere-glass-tertiary {
    width: clamp(80px, 8vw, 100px);
    height: clamp(80px, 8vw, 100px);
    top: 12%;
    right: 8%;
    opacity: 0;
    animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards,
               morphFloat3 16s ease-in-out 2.1s infinite;
}

/* === TYPE B: Matte Ceramic/Stone Spheres === */
.sphere-ceramic .sphere-inner {
    background: linear-gradient(
        145deg,
        rgba(168, 197, 168, 0.65) 0%,
        rgba(168, 197, 168, 0.4) 50%,
        rgba(140, 170, 140, 0.55) 100%
    );
    box-shadow:
        8px 8px 24px rgba(168, 197, 168, 0.2),
        -4px -4px 16px rgba(255, 255, 255, 0.3),
        inset 4px 4px 12px rgba(255, 255, 255, 0.15),
        inset -6px -6px 20px rgba(140, 170, 140, 0.15);
}

.sphere-ceramic .sphere-highlight {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 35%;
    height: 25%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(6px);
}

.sphere-ceramic-1 {
    width: clamp(160px, 16vw, 220px);
    height: clamp(160px, 16vw, 220px);
    bottom: 25%;
    left: 22%;
    opacity: 0;
    animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards,
               morphFloat2 10s ease-in-out 1.7s infinite;
}

.sphere-ceramic-2 {
    width: clamp(60px, 6vw, 80px);
    height: clamp(60px, 6vw, 80px);
    bottom: 35%;
    right: 15%;
    opacity: 0;
    animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards,
               morphFloat4 11s ease-in-out 2.2s infinite;
}

/* Stone Sphere Styles */
.sphere-stone .sphere-inner {
    background: linear-gradient(
        155deg,
        rgba(44, 62, 80, 0.3) 0%,
        rgba(52, 73, 94, 0.22) 50%,
        rgba(44, 62, 80, 0.28) 100%
    );
    box-shadow:
        6px 6px 20px rgba(44, 62, 80, 0.15),
        -3px -3px 12px rgba(255, 255, 255, 0.2),
        inset 3px 3px 10px rgba(255, 255, 255, 0.1),
        inset -4px -4px 15px rgba(44, 62, 80, 0.1);
}

.sphere-stone .sphere-highlight {
    position: absolute;
    top: 12%;
    left: 18%;
    width: 40%;
    height: 30%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(4px);
}

.sphere-stone-1 {
    width: clamp(100px, 10vw, 140px);
    height: clamp(100px, 10vw, 140px);
    top: 10%;
    left: 15%;
    opacity: 0;
    animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards,
               morphFloat3 14s ease-in-out 1.9s infinite;
}

/* === TYPE C: Wireframe Spheres (Digital/Analytical) === */
.sphere-wireframe {
    border-radius: 50%;
}

.wireframe-structure {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: wireframeSpin 20s linear infinite;
}

.wireframe-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(200, 200, 210, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.wireframe-ring.ring-x {
    transform: rotateX(60deg);
}

.wireframe-ring.ring-y {
    transform: rotateY(60deg);
}

.wireframe-ring.ring-z {
    transform: rotateZ(30deg) rotateX(30deg);
}

.wireframe-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    height: 40%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    animation: wireframeGlowPulse 3s ease-in-out infinite;
}

@keyframes wireframeSpin {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    100% { transform: rotateY(360deg) rotateX(180deg); }
}

@keyframes wireframeGlowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.sphere-wireframe-1 {
    width: clamp(180px, 18vw, 240px);
    height: clamp(180px, 18vw, 240px);
    top: 30%;
    right: 8%;
    opacity: 0;
    animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.sphere-wireframe-2 {
    width: clamp(90px, 9vw, 120px);
    height: clamp(90px, 9vw, 120px);
    bottom: 15%;
    left: 35%;
    opacity: 0;
    animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.1s forwards;
}

.sphere-wireframe-2 .wireframe-structure {
    animation: wireframeSpin 25s linear infinite reverse;
}

/* === TYPE D: Metallic Rings & Floating Parts === */
.floating-ring {
    position: absolute;
    transform-style: preserve-3d;
    opacity: 0;
    animation: ringReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.floating-ring .ring-inner {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(192, 192, 200, 0.4), rgba(255, 255, 255, 0.2)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.15),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}

@keyframes ringReveal {
    0% { opacity: 0; transform: scale(0.5) rotateX(45deg); }
    100% { opacity: 1; transform: scale(1) rotateX(0deg); }
}

.ring-metallic-1 {
    width: clamp(200px, 20vw, 280px);
    height: clamp(200px, 20vw, 280px);
    top: 5%;
    left: 30%;
    animation-delay: 0.6s;
    animation: ringReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards,
               ringFloat1 15s ease-in-out 2.1s infinite;
}

.ring-metallic-2 {
    width: clamp(100px, 10vw, 140px);
    height: clamp(100px, 10vw, 140px);
    bottom: 40%;
    right: 5%;
    animation-delay: 0.9s;
    animation: ringReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards,
               ringFloat2 12s ease-in-out 2.4s infinite;
}

@keyframes ringFloat1 {
    0%, 100% { transform: translateY(0) rotateX(15deg) rotateZ(0deg); }
    50% { transform: translateY(-20px) rotateX(25deg) rotateZ(10deg); }
}

@keyframes ringFloat2 {
    0%, 100% { transform: translateY(0) rotateX(-10deg) rotateZ(0deg); }
    50% { transform: translateY(-15px) rotateX(-20deg) rotateZ(-8deg); }
}

/* Floating Metallic Parts */
.floating-part {
    position: absolute;
    background: linear-gradient(135deg, rgba(220, 220, 225, 0.6), rgba(180, 180, 190, 0.3));
    border-radius: 50%;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: partReveal 1s ease-out forwards;
}

@keyframes partReveal {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

.part-metallic-1 {
    width: 16px;
    height: 16px;
    top: 25%;
    left: 25%;
    animation-delay: 1.2s;
    animation: partReveal 1s ease-out 1.2s forwards,
               partFloat 8s ease-in-out 2.2s infinite;
}

.part-metallic-2 {
    width: 10px;
    height: 10px;
    top: 50%;
    right: 18%;
    animation-delay: 1.4s;
    animation: partReveal 1s ease-out 1.4s forwards,
               partFloat 10s ease-in-out 2.4s infinite;
}

.part-metallic-3 {
    width: 8px;
    height: 8px;
    bottom: 25%;
    left: 45%;
    animation-delay: 1.6s;
    animation: partReveal 1s ease-out 1.6s forwards,
               partFloat 12s ease-in-out 2.6s infinite;
}

@keyframes partFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(8px); }
    50% { transform: translateY(-10px) translateX(-5px); }
    75% { transform: translateY(-20px) translateX(3px); }
}

/* === LIGHT DUST PARTICLES === */
.dust-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 50;
    pointer-events: none;
}

.dust-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.dust-1 { top: 10%; left: 20%; animation: dustFloat 15s linear infinite, dustFade 4s ease-in-out infinite; animation-delay: 0s; }
.dust-2 { top: 25%; right: 30%; animation: dustFloat 18s linear infinite, dustFade 5s ease-in-out infinite; animation-delay: 1s; }
.dust-3 { top: 40%; left: 40%; animation: dustFloat 20s linear infinite, dustFade 6s ease-in-out infinite; animation-delay: 2s; }
.dust-4 { top: 55%; right: 20%; animation: dustFloat 16s linear infinite, dustFade 4.5s ease-in-out infinite; animation-delay: 0.5s; }
.dust-5 { top: 70%; left: 30%; animation: dustFloat 22s linear infinite, dustFade 5.5s ease-in-out infinite; animation-delay: 1.5s; }
.dust-6 { top: 85%; right: 40%; animation: dustFloat 14s linear infinite, dustFade 3.5s ease-in-out infinite; animation-delay: 2.5s; }
.dust-7 { top: 15%; right: 15%; animation: dustFloat 19s linear infinite, dustFade 4.2s ease-in-out infinite; animation-delay: 0.8s; }
.dust-8 { top: 35%; left: 15%; animation: dustFloat 17s linear infinite, dustFade 5.2s ease-in-out infinite; animation-delay: 1.8s; }
.dust-9 { top: 60%; left: 55%; animation: dustFloat 21s linear infinite, dustFade 4.8s ease-in-out infinite; animation-delay: 0.3s; }
.dust-10 { top: 75%; right: 25%; animation: dustFloat 13s linear infinite, dustFade 3.8s ease-in-out infinite; animation-delay: 1.3s; }
.dust-11 { top: 45%; right: 50%; animation: dustFloat 23s linear infinite, dustFade 5.8s ease-in-out infinite; animation-delay: 2.3s; }
.dust-12 { top: 80%; left: 45%; animation: dustFloat 15s linear infinite, dustFade 4.3s ease-in-out infinite; animation-delay: 0.7s; }

@keyframes dustFloat {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(20px); }
    50% { transform: translateY(-50px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(15px); }
    100% { transform: translateY(0) translateX(0); }
}

@keyframes dustFade {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

/* === BACKGROUND PARTICLES (Depth) === */
.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    filter: blur(1px);
}

.bg-particle-1 {
    width: 4px;
    height: 4px;
    background: rgba(253, 203, 110, 0.3);
    top: 20%;
    right: 60%;
    animation: bgParticleFloat 25s linear infinite, bgParticleFade 8s ease-in-out infinite;
    animation-delay: 1s;
}

.bg-particle-2 {
    width: 3px;
    height: 3px;
    background: rgba(168, 197, 168, 0.25);
    top: 50%;
    right: 70%;
    animation: bgParticleFloat 30s linear infinite, bgParticleFade 10s ease-in-out infinite;
    animation-delay: 2s;
}

.bg-particle-3 {
    width: 5px;
    height: 5px;
    background: rgba(225, 112, 85, 0.2);
    top: 70%;
    right: 55%;
    animation: bgParticleFloat 28s linear infinite, bgParticleFade 9s ease-in-out infinite;
    animation-delay: 3s;
}

.bg-particle-4 {
    width: 3px;
    height: 3px;
    background: rgba(200, 200, 210, 0.25);
    top: 35%;
    right: 75%;
    animation: bgParticleFloat 32s linear infinite, bgParticleFade 11s ease-in-out infinite;
    animation-delay: 1.5s;
}

.bg-particle-5 {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    top: 80%;
    right: 65%;
    animation: bgParticleFloat 27s linear infinite, bgParticleFade 7s ease-in-out infinite;
    animation-delay: 2.5s;
}

@keyframes bgParticleFloat {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    50% { transform: translateY(-40px) translateX(20px) scale(1.2); }
}

@keyframes bgParticleFade {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.4; }
}

/* === ANIMATIONS === */
/* Sphere Reveal Animation */
@keyframes sphereReveal {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(40px) rotateX(15deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0);
    }
}

/* Morphing Float Animations */
@keyframes morphFloat1 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg) scale(1); border-radius: 50%; }
    25% { transform: translateY(-15px) translateX(8px) rotate(2deg) scale(1.02); border-radius: 48% 52% 53% 47% / 52% 48% 52% 48%; }
    50% { transform: translateY(-8px) translateX(-5px) rotate(-1deg) scale(0.98); border-radius: 52% 48% 47% 53% / 48% 52% 48% 52%; }
    75% { transform: translateY(-20px) translateX(3px) rotate(1deg) scale(1.01); border-radius: 47% 53% 52% 48% / 53% 47% 53% 47%; }
}

@keyframes morphFloat2 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg) scale(1); border-radius: 50%; }
    33% { transform: translateY(-12px) translateX(-10px) rotate(-2deg) scale(1.03); border-radius: 53% 47% 48% 52% / 47% 53% 47% 53%; }
    66% { transform: translateY(-18px) translateX(6px) rotate(1.5deg) scale(0.97); border-radius: 47% 53% 52% 48% / 53% 47% 53% 47%; }
}

@keyframes morphFloat3 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg) scale(1); border-radius: 50%; }
    20% { transform: translateY(-8px) translateX(5px) rotate(3deg) scale(1.02); border-radius: 52% 48% 47% 53% / 48% 52% 48% 52%; }
    50% { transform: translateY(-15px) translateX(-8px) rotate(-2deg) scale(0.98); border-radius: 48% 52% 53% 47% / 52% 48% 52% 48%; }
    80% { transform: translateY(-5px) translateX(3px) rotate(1deg) scale(1.01); border-radius: 50% 50% 52% 48% / 48% 52% 50% 50%; }
}

@keyframes morphFloat4 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg) scale(1); border-radius: 50%; }
    30% { transform: translateY(-10px) translateX(7px) rotate(2deg) scale(1.01); border-radius: 51% 49% 48% 52% / 49% 51% 50% 50%; }
    60% { transform: translateY(-18px) translateX(-4px) rotate(-1deg) scale(0.99); border-radius: 49% 51% 52% 48% / 51% 49% 50% 50%; }
}

/* Parallax Transform Integration */
.sphere-3d,
.floating-ring,
.floating-part {
    transform: 
        translate(var(--parallax-x, 0), var(--parallax-y, 0))
        rotateX(var(--parallax-rotate-x, 0))
        rotateY(var(--parallax-rotate-y, 0));
}

/* Mobile / Tablet - Reduce 3D scene complexity */
@media (max-width: 1024px) {
    .hero-3d-scene {
        opacity: 0.85;
    }
    
    /* Reduce wireframe and ring visibility on tablet */
    .sphere-wireframe {
        opacity: 0.7;
    }
    
    .floating-ring {
        opacity: 0.6;
    }
    
    /* Reduce dust particles on tablet */
    .dust-particle:nth-child(n+7) {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Mobile: Full-screen hero with spheres as background decoration */
    .hero-3d-scene {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.75;
        z-index: 1;
    }
    
    /* === TYPE A: Glass Spheres Mobile Positions === */
    .sphere-glass-primary {
        width: clamp(180px, 50vw, 240px);
        height: clamp(180px, 50vw, 240px);
        top: 5%;
        right: -10%;
    }
    
    .sphere-glass-secondary {
        width: clamp(100px, 28vw, 130px);
        height: clamp(100px, 28vw, 130px);
        top: 55%;
        right: auto;
        left: -5%;
    }
    
    .sphere-glass-tertiary {
        width: clamp(60px, 18vw, 80px);
        height: clamp(60px, 18vw, 80px);
        bottom: 20%;
        right: 5%;
    }
    
    /* === TYPE B: Ceramic/Stone Spheres Mobile === */
    .sphere-ceramic-1 {
        width: clamp(90px, 25vw, 120px);
        height: clamp(90px, 25vw, 120px);
        top: 30%;
        right: auto;
        left: 60%;
    }
    
    .sphere-ceramic-2 {
        display: none; /* Hide on mobile */
    }
    
    .sphere-stone-1 {
        width: clamp(60px, 16vw, 80px);
        height: clamp(60px, 16vw, 80px);
        top: auto;
        bottom: 35%;
        right: 60%;
    }
    
    /* === TYPE C: Wireframe Spheres Mobile === */
    .sphere-wireframe-1 {
        width: clamp(120px, 35vw, 160px);
        height: clamp(120px, 35vw, 160px);
        top: 20%;
        right: 15%;
        opacity: 0.5;
    }
    
    .sphere-wireframe-2 {
        display: none; /* Hide second wireframe on mobile */
    }
    
    /* Slower wireframe spin on mobile for performance */
    .sphere-wireframe-1 .wireframe-structure {
        animation: wireframeSpin 30s linear infinite;
    }
    
    /* === TYPE D: Metallic Elements Mobile === */
    .floating-ring {
        display: none; /* Hide rings on mobile for cleaner look */
    }
    
    .floating-part {
        display: none; /* Hide floating parts on mobile */
    }
    
    /* === Particles Mobile === */
    .blur-layer {
        opacity: 0.6;
    }
    
    .blur-glass-1,
    .blur-glass-3 {
        display: none;
    }
    
    /* Reduce dust particles significantly on mobile */
    .dust-particle:nth-child(n+5) {
        display: none;
    }
    
    /* Hide background particles on mobile */
    .bg-particles {
        display: none;
    }
    
    /* Reduce animation intensity on mobile for performance */
    .sphere-glass-primary,
    .sphere-glass-secondary,
    .sphere-glass-tertiary {
        animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards,
                   morphFloat1 18s ease-in-out 1.5s infinite;
    }
    
    .sphere-ceramic-1,
    .sphere-stone-1 {
        animation: sphereReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards,
                   morphFloat2 16s ease-in-out 1.7s infinite;
    }
}

/* ========================================
   Services Section
======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--base-cream);
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-header .section-subtitle {
    margin: 0 auto;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-visual {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--base-cream);
}

.card-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.service-card:hover .card-visual-img {
    transform: scale(1.05);
}

.service-card.dental .card-visual {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.service-card.ec .card-visual {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
}

.card-visual-icon {
    font-size: 80px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-navy);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.service-card.ec .card-badge {
    background: var(--accent-orange);
}

.card-body {
    padding: 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.9;
}

.card-features {
    margin-bottom: 28px;
    flex: 1;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--accent-sage);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--base-cream);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid var(--border-medium);
    transition: all var(--transition-fast);
    align-self: flex-start;
}

.card-btn:hover {
    background: var(--accent-navy);
    color: white;
    border-color: var(--accent-navy);
    gap: 12px;
}

/* ========================================
   About Section
======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--base-warm-white);
    position: relative;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-navy) 0%, var(--accent-navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--accent-gold);
    border-radius: 50%;
    bottom: -40px;
    right: -40px;
    opacity: 0.6;
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

.message-lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-navy);
    margin-bottom: 24px;
    position: relative;
    padding-left: 24px;
}

.message-lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.message-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: 32px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-navy);
    transition: all var(--transition-fast);
}

.text-link:hover {
    gap: 14px;
    color: var(--accent-orange);
}

/* ========================================
   Contact CTA Section
======================================== */
.contact-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-navy) 0%, var(--accent-navy-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact-cta-content {
    position: relative;
    z-index: 1;
}

.contact-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.contact-cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.btn-cta {
    background: var(--accent-orange);
    color: white;
    padding: 18px 48px;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(225, 112, 85, 0.4);
}

.btn-cta:hover {
    background: #D35F4E;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(225, 112, 85, 0.5);
}

/* ========================================
   Page Hero (Sub-pages)
======================================== */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--base-off-white);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.page-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
}

/* ========================================
   Contact Form Section
======================================== */
.contact-section {
    padding: 80px 0 120px;
}

.contact-section .container {
    max-width: 700px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 48px;
}

.contact-intro p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
}

/* Form Message */
.form-message {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.form-message.error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: var(--error-color);
}

.form-message.success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: var(--success-color);
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 48px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-group label .required {
    color: var(--accent-orange);
    font-size: 0.85rem;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--base-off-white);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(225, 112, 85, 0.1);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23636E72' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.required-notice {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.required-notice .required {
    color: var(--accent-orange);
}

.recaptcha-notice {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.8;
}

.recaptcha-notice a {
    color: var(--accent-navy);
    text-decoration: underline;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 18px 32px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: var(--accent-navy);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.25);
}

.submit-btn:hover {
    background: var(--accent-navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.35);
}

/* Back Button */
.back-section {
    text-align: center;
    padding: 40px 0 80px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--border-medium);
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.back-btn:hover {
    background: var(--accent-navy);
    color: white;
    border-color: var(--accent-navy);
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--footer-bg);
    position: relative;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 80px 0 60px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-address {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 2;
}

.footer-nav h4,
.footer-services h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-nav ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-services a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-services a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 24px;
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        order: 2;
    }
    
    .about-content {
        order: 1;
        max-width: 100%;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .main-nav,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Full-screen hero on mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
        padding: 100px 0 60px;
        display: flex;
        align-items: center;
        position: relative;
    }
    
    .hero .container {
        position: relative;
        z-index: 10;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .about-image-placeholder {
        height: 280px;
    }
    
    .page-hero {
        padding: 140px 0 60px;
    }
    
    .form-card {
        padding: 32px 24px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .header-inner {
        padding: 0 16px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 28px;
    }
    
    .card-visual {
        height: 160px;
    }
    
    .card-visual-icon {
        font-size: 60px;
    }
}
