/* ============================================
   WEST APPLICATIONS - Premium Website Styles
   Colors extracted from brand identity:
   - Primary Cyan: #00B4D8
   - Dark Charcoal: #2D3E50
   - Light variants and supporting colors
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary: #00B4D8;
    --primary-dark: #0096B4;
    --primary-light: #33C4E0;
    --primary-glow: rgba(0, 180, 216, 0.3);

    /* Dark Theme Colors */
    --dark: #1a2634;
    --dark-light: #2D3E50;
    --dark-medium: #3d5066;
    --dark-surface: #243447;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px var(--primary-glow);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

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

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

/* ============================================
   INTRO BUMPER (First Visit)
   ============================================ */
.intro-bumper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0f14;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    overflow: hidden;
}

.intro-bumper.hidden {
    animation: introFadeOut 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes introFadeOut {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.2); visibility: hidden; pointer-events: none; }
}

/* Animated Background */
.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.intro-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.intro-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    animation: particleFloat 3s ease-in-out infinite;
}

.intro-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.intro-particles span:nth-child(2) { left: 20%; top: 80%; animation-delay: 0.3s; }
.intro-particles span:nth-child(3) { left: 35%; top: 30%; animation-delay: 0.6s; }
.intro-particles span:nth-child(4) { left: 50%; top: 70%; animation-delay: 0.9s; }
.intro-particles span:nth-child(5) { left: 65%; top: 25%; animation-delay: 1.2s; }
.intro-particles span:nth-child(6) { left: 75%; top: 85%; animation-delay: 0.2s; }
.intro-particles span:nth-child(7) { left: 85%; top: 40%; animation-delay: 0.5s; }
.intro-particles span:nth-child(8) { left: 90%; top: 60%; animation-delay: 0.8s; }
.intro-particles span:nth-child(9) { left: 5%; top: 50%; animation-delay: 1.1s; }
.intro-particles span:nth-child(10) { left: 45%; top: 15%; animation-delay: 0.4s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

.intro-flare {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
    animation: flarePulse 3s ease-in-out infinite;
}

@keyframes flarePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Cinematic Bars */
.cinema-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    background: #000;
    z-index: 10;
}

.cinema-bar-top {
    top: 0;
    animation: barSlideIn 0.8s ease 0.2s forwards;
    transform: translateY(-100%);
}

.cinema-bar-bottom {
    bottom: 0;
    animation: barSlideIn 0.8s ease 0.2s forwards;
    transform: translateY(100%);
}

@keyframes barSlideIn {
    0% { transform: translateY(var(--start, -100%)); }
    100% { transform: translateY(0); }
}

.cinema-bar-bottom { --start: 100%; }

/* Main Content */
.intro-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 5;
}

/* Logo */
.intro-logo-container {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-logo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ringExpand 1.5s ease 0.3s forwards, ringSpin 3s linear 0.3s infinite;
}

.intro-logo-ring-2 {
    width: 120%;
    height: 120%;
    border-top-color: transparent;
    border-right-color: rgba(0, 180, 216, 0.5);
    animation: ringExpand 1.5s ease 0.5s forwards, ringSpinReverse 4s linear 0.5s infinite;
}

@keyframes ringExpand {
    0% { transform: scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

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

@keyframes ringSpinReverse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1) rotate(-360deg); }
}

.intro-logo-wrapper {
    position: relative;
    width: 100px;
    height: auto;
}

.intro-logo {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    filter: drop-shadow(0 0 30px rgba(0, 180, 216, 0.8)) drop-shadow(0 0 60px rgba(0, 180, 216, 0.4));
    animation: logoReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.intro-logo-dot {
    position: absolute;
    top: 50%;
    left: 36%;
    width: 14%;
    height: 18%;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 0;
    animation: logoReveal 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0) rotateY(180deg);
        filter: drop-shadow(0 0 0px rgba(0, 180, 216, 0));
    }
    60% {
        transform: scale(1.2) rotateY(-20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        filter: drop-shadow(0 0 40px rgba(0, 180, 216, 0.8));
    }
}

.intro-logo-flash {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(0, 180, 216, 0.4) 30%, transparent 70%);
    border-radius: 50%;
    animation: logoFlash 0.6s ease 0.8s forwards;
    pointer-events: none;
}

@keyframes logoFlash {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Text */
.intro-text {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.intro-word-container {
    overflow: hidden;
    position: relative;
}

.intro-word {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 12px;
    position: relative;
}

.intro-west {
    color: var(--white);
    opacity: 0;
    transform: translateX(-100%);
    animation: wordSlideRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

.intro-applications {
    color: var(--primary);
    opacity: 0;
    transform: translateX(100%);
    animation: wordSlideLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
    text-shadow: 0 0 30px rgba(0, 180, 216, 0.5);
}

@keyframes wordSlideRight {
    0% { opacity: 0; transform: translateX(-100%); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes wordSlideLeft {
    0% { opacity: 0; transform: translateX(100%); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Glitch effect on hover/after animation */
.intro-word::before,
.intro-word::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.intro-west::before {
    color: #ff0080;
    animation: glitch1 0.3s ease 2s forwards, glitchLoop 4s ease 2.3s infinite;
}

.intro-west::after {
    color: #00ffff;
    animation: glitch2 0.3s ease 2s forwards, glitchLoop2 4s ease 2.3s infinite;
}

@keyframes glitch1 {
    0%, 100% { opacity: 0; transform: translate(0); }
    20% { opacity: 0.8; transform: translate(-3px, 2px); }
    40% { opacity: 0.8; transform: translate(3px, -2px); }
    60% { opacity: 0; transform: translate(0); }
}

@keyframes glitch2 {
    0%, 100% { opacity: 0; transform: translate(0); }
    20% { opacity: 0.8; transform: translate(3px, -2px); }
    40% { opacity: 0.8; transform: translate(-3px, 2px); }
    60% { opacity: 0; transform: translate(0); }
}

@keyframes glitchLoop {
    0%, 90%, 100% { opacity: 0; }
    92% { opacity: 0.5; transform: translate(-2px, 1px); }
    94% { opacity: 0; }
    96% { opacity: 0.3; transform: translate(2px, -1px); }
}

@keyframes glitchLoop2 {
    0%, 90%, 100% { opacity: 0; }
    93% { opacity: 0.5; transform: translate(2px, -1px); }
    95% { opacity: 0; }
    97% { opacity: 0.3; transform: translate(-2px, 1px); }
}

/* Separator Line */
.intro-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: lineExpand 0.8s ease 1.8s forwards;
}

@keyframes lineExpand {
    0% { width: 0; }
    100% { width: 300px; }
}

/* Tagline - Letter by Letter */
.intro-tagline {
    display: flex;
    gap: 2px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gray-400);
}

.intro-tagline span {
    opacity: 0;
    transform: translateY(10px);
    animation: letterReveal 0.1s ease forwards;
}

.intro-tagline span:nth-child(1) { animation-delay: 2s; }
.intro-tagline span:nth-child(2) { animation-delay: 2.03s; }
.intro-tagline span:nth-child(3) { animation-delay: 2.06s; }
.intro-tagline span:nth-child(4) { animation-delay: 2.09s; }
.intro-tagline span:nth-child(5) { animation-delay: 2.12s; }
.intro-tagline span:nth-child(6) { animation-delay: 2.15s; }
.intro-tagline span:nth-child(7) { animation-delay: 2.18s; }
.intro-tagline span:nth-child(8) { animation-delay: 2.21s; }
.intro-tagline span:nth-child(9) { animation-delay: 2.24s; }
.intro-tagline span:nth-child(10) { animation-delay: 2.27s; }
.intro-tagline span:nth-child(11) { animation-delay: 2.3s; }
.intro-tagline span:nth-child(12) { animation-delay: 2.33s; }
.intro-tagline span:nth-child(13) { animation-delay: 2.36s; }
.intro-tagline span:nth-child(14) { animation-delay: 2.39s; }
.intro-tagline span:nth-child(15) { animation-delay: 2.42s; }
.intro-tagline span:nth-child(16) { animation-delay: 2.45s; }
.intro-tagline span:nth-child(17) { animation-delay: 2.48s; }
.intro-tagline span:nth-child(18) { animation-delay: 2.51s; }
.intro-tagline span:nth-child(19) { animation-delay: 2.54s; }
.intro-tagline span:nth-child(20) { animation-delay: 2.57s; }
.intro-tagline span:nth-child(21) { animation-delay: 2.6s; }
.intro-tagline span:nth-child(22) { animation-delay: 2.63s; }
.intro-tagline span:nth-child(23) { animation-delay: 2.66s; }
.intro-tagline span:nth-child(24) { animation-delay: 2.69s; }
.intro-tagline span:nth-child(25) { animation-delay: 2.72s; }
.intro-tagline span:nth-child(26) { animation-delay: 2.75s; }
.intro-tagline span:nth-child(27) { animation-delay: 2.78s; }
.intro-tagline span:nth-child(28) { animation-delay: 2.81s; }
.intro-tagline span:nth-child(29) { animation-delay: 2.84s; }

@keyframes letterReveal {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Progress Bar */
.intro-progress {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: visible;
    z-index: 10;
}

.intro-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
    border-radius: 3px;
    animation: progressFill 3.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
    position: relative;
}

.intro-progress-glow {
    position: absolute;
    top: -4px;
    right: 0;
    width: 20px;
    height: 11px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0;
    animation: progressGlow 3.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes progressFill {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes progressGlow {
    0% { left: 0; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { left: calc(100% - 20px); opacity: 0; }
}

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

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

.loader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-loader {
    width: 60px;
    height: auto;
    animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.3)); }
    50% { opacity: 0.8; transform: scale(0.95); filter: drop-shadow(0 0 20px rgba(0, 180, 216, 0.6)); }
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(26, 38, 52, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.nav-logo .logo-icon {
    width: 40px;
    height: 32px;
    color: var(--primary);
}

.logo-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-highlight {
    color: var(--gray-400);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-300);
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    margin-left: 12px;
}

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

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 20px 40px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(26, 38, 52, 0.95) 0%, rgba(45, 62, 80, 0.9) 100%),
        url('https://images.unsplash.com/photo-1620626011761-996317b8d101?w=1920&q=80') center/cover no-repeat;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.08) 0%, transparent 50%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding-bottom: 100px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.title-line {
    display: block;
}

.title-highlight {
    display: block;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 500;
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 8px;
}

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

/* Scroll Indicator - Mouse Animation */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--gray-400);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all var(--transition-base);
}

.scroll-indicator:hover {
    color: var(--primary);
}

.scroll-indicator:hover .scroll-mouse {
    border-color: var(--primary);
}

.scroll-indicator:hover .scroll-wheel {
    background: var(--primary);
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--gray-400);
    border-radius: 20px;
    position: relative;
    transition: all var(--transition-base);
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
    transition: background var(--transition-base);
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.scroll-arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gray-400);
    border-bottom: 2px solid var(--gray-400);
    transform: rotate(45deg);
    animation: scrollArrows 2s ease-in-out infinite;
}

.scroll-arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrows span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollArrows {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

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

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

.about-text {
    margin-bottom: 20px;
    color: var(--gray-600);
}

.about-text strong {
    color: var(--dark);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 14px;
    color: var(--gray-500);
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    background: url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?w=800&q=80') center/cover no-repeat;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(26, 38, 52, 0.3) 100%);
}

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.exp-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 216, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-letter {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    transition: color var(--transition-base);
}

.service-card:hover .service-letter {
    color: rgba(0, 180, 216, 0.1);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.service-desc {
    color: var(--gray-500);
    margin-bottom: 20px;
    position: relative;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
    position: relative;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--gray-600);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.service-link svg {
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.process .section-badge {
    background: rgba(0, 180, 216, 0.2);
}

.process .section-title {
    color: var(--white);
}

.process .section-subtitle {
    color: var(--gray-400);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    padding: 30px;
    background: var(--dark-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.process-step:hover {
    background: var(--dark-light);
    border-color: rgba(0, 180, 216, 0.3);
    transform: translateY(-4px);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.process-step:hover .step-number {
    opacity: 1;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-400);
}

/* ============================================
   HOME RENOVATION SECTION
   ============================================ */
.home-reno {
    padding: 80px 0;
    background: var(--white);
}

.reno-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.home-reno .section-badge.dark {
    color: var(--primary);
    border-color: var(--primary);
}

.home-reno .section-title.dark {
    color: var(--dark);
    margin-top: 16px;
}

.reno-text {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.8;
    margin: 24px 0 32px;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--dark-medium) 0%, var(--dark) 100%);
    transition: transform var(--transition-slow);
}

/* Waterproofing project */
.project-1 { background: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?w=600&q=80') center/cover no-repeat; }
/* Epoxy flooring project */
.project-2 { background: url('https://images.unsplash.com/photo-1562663474-6cbb3eaa4d14?w=600&q=80') center/cover no-repeat; }
/* Tiling project */
.project-3 { background: url('https://images.unsplash.com/photo-1620626011761-996317b8d101?w=600&q=80') center/cover no-repeat; }
/* Silicone/facade project */
.project-4 { background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=600&q=80') center/cover no-repeat; }
/* Epoxy showroom project */
.project-5 { background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=600&q=80') center/cover no-repeat; }
/* Waterproofing rooftop project */
.project-6 { background: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=600&q=80') center/cover no-repeat; }

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(26, 38, 52, 0.95) 0%, transparent 100%);
    color: #ffffff;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.project-desc {
    font-size: 14px;
    color: #ffffff;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

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

.testimonial-content {
    text-align: center;
    padding: 40px;
}

.quote-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    color: var(--primary);
    opacity: 0.3;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-text {
    font-size: 20px;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 14px;
    color: var(--gray-500);
}

.rating {
    display: flex;
    gap: 4px;
}

.rating svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.testimonial-btn svg {
    width: 20px;
    height: 20px;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(0, 180, 216, 0.9) 0%, rgba(0, 150, 180, 0.95) 100%),
        url('https://images.unsplash.com/photo-1620626011761-996317b8d101?w=1920&q=80') center/cover no-repeat;
}

.cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-badge {
    background: rgba(0, 180, 216, 0.2);
}

.contact-info .section-title {
    color: var(--white);
}

.contact-text {
    color: var(--gray-400);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-surface);
    border-radius: var(--radius-md);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.contact-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-content a,
.contact-content span {
    font-size: 16px;
    color: var(--white);
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-surface);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--dark-surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--white);
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 15px;
    color: var(--gray-500);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    color: var(--primary);
    background: var(--dark-surface);
    padding: 0 6px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

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

.contact-form .btn {
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f1720;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 28px;
    color: var(--primary);
}

.footer-logo span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact p,
.footer-contact a {
    font-size: 14px;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--gray-500);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        order: -1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 0;
        transition: right var(--transition-base);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .nav-link.nav-cta {
        margin: 24px 0 0;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
    }

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 16px;
    }

    /* Intro Bumper Mobile */
    .intro-logo-container {
        width: 120px;
        height: 120px;
    }

    .intro-logo-wrapper {
        width: 70px;
    }

    .intro-text {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .intro-word {
        font-size: 32px;
        letter-spacing: 8px;
    }

    .intro-line {
        animation: lineExpand 0.8s ease 1.8s forwards;
    }

    @keyframes lineExpand {
        0% { width: 0; }
        100% { width: 200px; }
    }

    .intro-tagline {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .intro-progress {
        width: 180px;
        bottom: 50px;
    }

    .cinema-bar {
        height: 40px;
    }

    .intro-flare {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .service-card {
        padding: 30px 24px;
    }

    .service-letter {
        font-size: 80px;
    }

    .experience-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 24px;
    }
}

/* ============================================
   ANIMATIONS & REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children animations */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-reveal.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-reveal.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-reveal.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-reveal.active > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-reveal.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PREMIUM ENHANCEMENTS
   ============================================ */

/* Glowing Button Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

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

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

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

/* Floating Animation for Elements */
.float-element {
    animation: floatElement 6s ease-in-out infinite;
}

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

/* Pulse Glow Effect */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 180, 216, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 180, 216, 0.6); }
}

/* Enhanced Hero Background Particles */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(0, 180, 216, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 180, 216, 0.2), transparent),
        radial-gradient(2px 2px at 50px 160px, rgba(0, 180, 216, 0.3), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(0, 180, 216, 0.2), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(0, 180, 216, 0.3), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(0, 180, 216, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.5;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

/* Enhanced Service Cards */
.service-card {
    position: relative;
    background: linear-gradient(145deg, var(--white) 0%, var(--off-white) 100%);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

/* Animated Border Effect */
.animated-border {
    position: relative;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--primary));
    border-radius: inherit;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
    background-size: 200% 200%;
}

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

/* Enhanced Stats with Glow */
.stat-number {
    text-shadow: 0 0 30px rgba(0, 180, 216, 0.5);
}

/* Premium Project Cards Hover */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
    border-radius: var(--radius-lg);
}

.project-card:hover::before {
    opacity: 1;
}

/* Service Areas Badge */
.service-areas {
    padding: 80px 0;
    background: var(--off-white);
    text-align: center;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.area-tag {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.area-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Enhanced Contact Form */
.contact-form-wrapper {
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Shimmer Effect for Loading States */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: textReveal 0.8s ease forwards;
}

@keyframes textReveal {
    to { transform: translateY(0); }
}

/* Icon Bounce on Hover */
.feature-icon:hover svg {
    animation: iconBounce 0.5s ease;
}

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

/* Premium Footer Enhancement */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer {
    position: relative;
}

/* CTA Section Enhancement */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    pointer-events: none;
}

/* Smooth Image Loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Noise Texture Overlay (Premium Feel) */
.noise-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Perth WA Specific - Service Coverage Map Styling */
.coverage-map {
    position: relative;
    padding: 60px 40px;
    background: var(--dark-surface);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 40px;
}

.coverage-map h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 16px;
}

.coverage-map p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

.coverage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
}

.coverage-badge svg {
    width: 20px;
    height: 20px;
}
