/* ==========================================================================
   AYRSHIRE WEBSITE DESIGN - Premium Stylesheet
   A distinctive, modern design showcasing web design excellence
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Prevent forced dark mode */
    color-scheme: only light;
    
    /* Brand Colors - From logo */
    --color-cyan: #0d95bc;
    --color-gold: #a5a437;
    --color-red: #84141b;
    --color-gray: #acacac;
    --color-gray-light: #c8c9cc;
    --color-sage: #a4b0a8;
    
    /* Semantic Colors */
    --color-primary: var(--color-cyan);
    --color-secondary: var(--color-red);
    --color-accent: var(--color-gold);
    
    /* Light Theme */
    --color-bg-light: #ffffff;
    --color-bg-off-white: #f8f9fa;
    --color-bg-card: #ffffff;
    --color-bg-elevated: #f0f2f5;
    
    /* Text Colors */
    --color-text: #1a1a2e;
    --color-text-muted: #5a5a6e;
    --color-text-subtle: #8b8b9e;
    
    /* Gradients - Logo colors */
    --gradient-brand: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-gold) 50%, var(--color-red) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-sage) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(13, 149, 188, 0.1) 0%, transparent 70%);
    --gradient-hero: linear-gradient(180deg, var(--color-bg-off-white) 0%, var(--color-bg-light) 100%);
    
    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-hero: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Sizing */
    --container-max: 1400px;
    --container-narrow: 900px;
    
    /* Effects */
    --shadow-glow: 0 0 40px rgba(58, 168, 193, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --border-radius: 12px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

html, body {
    max-width: 100vw;
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-elevated);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

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

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul, ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Cursor Follower (Desktop Enhancement)
   -------------------------------------------------------------------------- */
.cursor-follower {
    display: none;
}

@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Layout Components
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-3xl) 0;
}

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

.section--gradient-line {
    position: relative;
    padding-top: var(--space-xl);
}

.section--gradient-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: #1a1a2e;
    transition: var(--transition-base);
}

.site-header.scrolled {
    background: #1a1a2e;
    backdrop-filter: blur(20px);
    padding: var(--space-sm) 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

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

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition-base);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

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

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

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

.nav-link.nav-cta {
    background: var(--gradient-brand);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

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

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 28px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-base);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }
    
    .hamburger span {
        background: white;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #1a1a2e;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        transform: translateX(100%);
        transition: var(--transition-slow);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.5rem;
        color: white;
    }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    -webkit-forced-color-adjust: none;
    forced-color-adjust: none;
}
.forced-dark-mode .btn--primary {
    background: linear-gradient(135deg, #f97316 0%, #facc15 100%);
    color: #111827;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.forced-dark-mode .btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

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

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 149, 188, 0.3);
}

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

.btn--secondary:hover {
    background: var(--color-text);
    color: white;
}

.btn--large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 120px;
    background: url('/assets/images/1.webp') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.90) 40%,
        rgba(255, 255, 255, 0.7) 70%,
        rgba(255, 255, 255, 0.5) 100%);
    z-index: 0;
}

@media (max-width: 768px) {
    .hero::before {
        background: linear-gradient(to right, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(255, 255, 255, 0.90) 40%,
            rgba(255, 255, 255, 0.85) 70%,
            rgba(255, 255, 255, 0.75) 100%);
    }
}

/* Hero gradient wave sweep effect */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(13, 149, 188, 0.075) 20%,
        rgba(165, 164, 55, 0.06) 50%,
        rgba(132, 20, 27, 0.05) 80%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: heroWaveSweep 1.8s ease-out 0.3s forwards;
}

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

@media (max-width: 768px) {
    .hero::after {
        display: none;
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Geometric shapes (legacy - hidden) */
.hero-shapes {
    display: none;
}

/* Hero mockup image */
.hero-mockup {
    position: absolute;
    right: 3%;
    top: 55%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    z-index: 1;
    animation: heroMockupFadeIn 1s ease 0.5s forwards;
    opacity: 0;
    pointer-events: none;
}

.hero-mockup-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}

@keyframes heroMockupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@media (max-width: 1400px) {
    .hero-mockup {
        width: 42%;
        right: 2%;
    }
}

@media (max-width: 1200px) {
    .hero-mockup {
        width: 40%;
        right: 1%;
    }
}

@media (max-width: 992px) {
    .hero-mockup {
        display: none;
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(13, 149, 188, 0.1);
    border: 1px solid rgba(13, 149, 188, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
    -webkit-forced-color-adjust: none;
    forced-color-adjust: none;
}

.hero-title .highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-forced-color-adjust: none;
    forced-color-adjust: none;
}
.forced-dark-mode .hero-title .highlight {
    background: none;
    color: #fef3c7;
    -webkit-text-fill-color: #fef3c7;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

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

.hero-phone a {
    color: var(--color-text);
    font-weight: 600;
}

.hero-phone a:hover {
    color: var(--color-primary);
}

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

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    animation: bounce 2s ease infinite;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 0;
        margin-top: -8rem;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .hero-shapes {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto var(--space-2xl);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--color-primary);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Portfolio / Work Section
   -------------------------------------------------------------------------- */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid var(--color-gray-light);
    border-radius: 50px;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-base);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: var(--space-lg);
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--color-bg-elevated);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.98) 0%, rgba(10, 10, 15, 0.85) 40%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

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

.portfolio-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}

.portfolio-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

.portfolio-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

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

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

/* --------------------------------------------------------------------------
   Features / Services Section
   -------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* About Intro */
.about-intro {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.about-intro p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-intro .about-lead {
    font-size: 1.2rem;
    color: var(--color-text);
}

/* Process Grid - 2x2 layout */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    opacity: 1;
    visibility: visible;
}

.process-grid .feature-card {
    opacity: 1;
    visibility: visible;
}

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

/* Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

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

.area-card {
    display: block;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--color-bg-elevated);
    transition: var(--transition-base);
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-brand-primary);
}

.area-card .area-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-brand);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.area-card .area-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.area-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.area-card p {
    color: var(--color-text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.feature-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    border: 1px solid var(--color-bg-elevated);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 149, 188, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 149, 188, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Services List Style */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.service-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    border: 1px solid var(--color-bg-elevated);
}

.service-item:hover {
    background: var(--color-bg-off-white);
    transform: translateX(10px);
    border-color: var(--color-primary);
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.service-content h4 {
    margin-bottom: 0.25rem;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Testimonials / Reviews Section
   -------------------------------------------------------------------------- */
.reviews-section {
    background: var(--color-bg-off-white);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.reviews-wrapper {
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.review-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    position: relative;
    border: 1px solid var(--color-bg-elevated);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.review-card::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 1;
    position: absolute;
    top: -20px;
    left: 20px;
    color: var(--color-primary);
    opacity: 0.15;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--space-md);
    color: var(--color-gold);
}

.review-stars svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.review-info h4 {
    margin-bottom: 0.25rem;
}

.review-info span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Google Reviews Embed Container */
.google-reviews-widget {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    min-height: 400px;
    border: 1px solid var(--color-bg-elevated);
}

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.stats-section {
    padding: var(--space-2xl) 0;
    background: var(--gradient-brand);
    position: relative;
}

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

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
    background: var(--color-bg-off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-intro {
    margin-bottom: var(--space-xl);
}

.contact-intro h2 {
    margin-bottom: var(--space-md);
}

.contact-intro p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    border: 1px solid var(--color-bg-elevated);
}

.contact-item:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 149, 188, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    margin-bottom: 0.25rem;
}

.contact-text p,
.contact-text a {
    color: var(--color-text-muted);
    margin: 0;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-bg-elevated);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-label {
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--color-bg-off-white);
    border: 2px solid var(--color-bg-elevated);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-bg-light);
    box-shadow: 0 0 0 4px rgba(13, 149, 188, 0.1);
}

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

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

.form-submit {
    align-self: flex-start;
    margin-top: var(--space-sm);
}

/* Form placeholder styling */
.form-placeholder {
    background: var(--color-bg-off-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    border: 2px dashed var(--color-gray-light);
}

.form-placeholder h3 {
    margin-bottom: var(--space-sm);
}

.form-placeholder p {
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(13, 149, 188, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: #1a1a2e;
    position: relative;
    overflow: hidden;
    color: white;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: var(--color-bg-light);
    line-height: 0;
    transform: translateY(-99%);
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-content {
    padding: var(--space-3xl) 0 var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: var(--space-md) 0;
    max-width: 300px;
}

.footer-logo {
    height: 80px;
    width: auto;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition-base);
}

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

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

.footer-links h4 {
    margin-bottom: var(--space-md);
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-contact h4 {
    margin-bottom: var(--space-md);
    color: white;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Page Headers
   -------------------------------------------------------------------------- */
.page-header {
    padding: calc(100px + var(--space-3xl)) 0 var(--space-2xl);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(13, 149, 188, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(165, 164, 55, 0.06) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header-content h1 {
    margin-bottom: var(--space-md);
}

.page-header-content p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Separator */
.section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin-bottom: var(--space-xl);
}

/* Reduce spacing for section after page-header */
.page-header + .section {
    padding-top: var(--space-xl);
}

/* No padding for sections with separator line */
.page-header + .section.section--with-separator {
    padding-top: 0;
}

/* But keep spacing for gradient line sections */
.page-header + .section.section--gradient-line {
    padding-top: var(--space-xl);
}

.page-header + .section .section-separator {
    margin-top: 0;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.breadcrumbs a {
    color: var(--color-primary);
}

.breadcrumbs span {
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Animations & Utilities
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Text utilities */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }

/* Spacing utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* --------------------------------------------------------------------------
   Loading States
   -------------------------------------------------------------------------- */
.skeleton {
    background: linear-gradient(90deg, var(--color-bg-card) 25%, var(--color-bg-elevated) 50%, var(--color-bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: var(--border-radius);
}

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

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .site-header,
    .site-footer,
    .hero-shapes,
    .cursor-follower {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* --------------------------------------------------------------------------
   Project/Case Study Pages
   -------------------------------------------------------------------------- */
.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (max-width: 900px) {
    .project-content {
        grid-template-columns: 1fr;
    }
}

.project-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-details h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.project-details p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: var(--color-bg-elevated);
    border-radius: var(--border-radius);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-item strong {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-item span {
    color: var(--color-text-primary);
    font-weight: 500;
}

.project-nav {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-bg-elevated);
}

