/* ==================== */
/* CSS Reset & Variables */
/* ==================== */

/* High Refresh Rate Optimisation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Enable hardware acceleration and smooth rendering */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
    /* Force high refresh rate rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Enhanced smooth scrolling */
    scroll-padding-top: 80px;
    /* Smooth scroll with native feel */
    scroll-behavior: smooth;
}

/* Ultra-smooth scrolling with custom easing */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* Enhance scrolling physics */
body {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* GPU acceleration for animated elements only */
.gallery-item,
.product-card,
.testimonial-card,
.service-card,
.nav,
.hero-content {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimise images for fast loading and smooth rendering */
img {
    content-visibility: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Smooth scrolling for high refresh rate */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    /* Ultra-smooth easing for all transitions */
    * {
        transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #d4d4d4;
    --accent-color: #a0a0a0;
    --text-dark: #ffffff;
    --text-light: #a0a0a0;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-light: #141414;
    --bg-white: #1a1a1a;
    --border-color: #2a2a2a;
    --overlay-dark: rgba(0, 0, 0, 0.85);
    --overlay-light: rgba(0, 0, 0, 0.6);
    --transition: all 0.15s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-fast: all 0.1s ease-out;
    --transition-medium: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
    --bg-lighter: #1f1f1f;
}

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

/* Fluid typography for better mobile experience */
@media (max-width: 1200px) {
    html { font-size: 15px; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
}

@media (max-width: 480px) {
    html { font-size: 13px; }
}

::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-darker);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    position: relative;
}

/* Glowy white background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 85% 15%, rgba(255, 255, 255, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse 70% 80% at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse 60% 70% at 5% 85%, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    animation: glowPulse 12s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) rotate(1deg);
    }
    100% {
        opacity: 0.85;
        transform: scale(1.02) rotate(-1deg);
    }
}

/* Ensure all sections appear above the glow effect */
section, header, footer, main, nav {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Prevent layout shift */
    aspect-ratio: attr(width) / attr(height);
    /* Faster image decode */
    image-rendering: auto;
    /* Force GPU acceleration */
    transform: translateZ(0);
    will-change: auto;
}

/* Smooth image loading with faster transition */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
    opacity: 1;
}

/* Blur-up effect for progressive loading */
img.loading {
    filter: blur(10px);
    transform: scale(1.05);
}

img.loaded {
    filter: blur(0);
    transform: scale(1);
    transition: filter 0.15s ease-out, transform 0.15s ease-out;
}

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

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

::selection {
    background: var(--primary-color);
    color: var(--bg-darker);
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ==================== */
/* Typography */
/* ==================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Momo Trust Display', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 1rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

.section-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.125rem);
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

/* ==================== */
/* Navigation */
/* ==================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
    will-change: transform;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-decoration: none;
}

.site-logo-img {
    height: 1.6rem;
    width: auto;
    vertical-align: middle;
}

.site-logo-text {
    font-family: 'Momo Trust Display', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    vertical-align: middle;
}

.logo i {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-menu li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.15s ease-out;
}

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

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    padding: 0.5rem;
    /* Larger touch target for mobile */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* ==================== */
/* Hero Section */
/* ==================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0a0a0a;
    overflow: visible;
    padding-top: 80px;
    padding-bottom: 2rem;
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 3rem clamp(1rem, 4vw, 2rem) 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(1.75rem, 8vw, 4.5rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
    text-align: center;
    max-width: 100%;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    /* Better touch targets on mobile */
    min-height: 44px;
    will-change: transform;
}

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

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

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-darker);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-color);
}

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

/* ==================== */
/* About Section */
/* ==================== */

.about-section {
    padding: clamp(3rem, 10vw, 6rem) 0;
    background: var(--bg-darker);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
}

.about-text .section-title {
    text-align: left;
    padding: 0;
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
    border: 1px solid transparent;
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Momo Trust Display', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Modern About Me Image Grid */
.about-image-grid {
    position: relative;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.about-image-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    aspect-ratio: 3/4;
    width: 100%;
    max-width: 400px;
}

.about-image-secondary {
    position: absolute;
    bottom: 0.5rem;
    left: 1rem;
    width: 40%;
    max-width: 190px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 
                0 0 0 4px rgba(255, 255, 255, 0.1);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    aspect-ratio: 4/5;
    z-index: 2;
}

.about-image-main img,
.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-out;
}

/* Image labels */
.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

/* Hover effects */
.about-image-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.2), 
                0 10px 40px rgba(0, 0, 0, 0.6);
}

.about-image-secondary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.25), 
                0 12px 40px rgba(0, 0, 0, 0.7),
                0 0 0 4px rgba(255, 215, 0, 0.2);
}

.about-image-main:hover .image-label,
.about-image-secondary:hover .image-label {
    opacity: 1;
    transform: translateY(0);
}

.about-image-main:hover img,
.about-image-secondary:hover img {
    transform: scale(1.03);
}

/* Special positioning for action shot */
.action-img {
    object-position: center center;
}

/* Legacy selectors for backward compatibility - hide old wrapper if it exists */
.about-image-wrapper {
    display: none;
}

/* Responsive About Image Grid */
@media (max-width: 1024px) {
    .about-image-main {
        max-width: 380px;
    }
    
    .about-image-secondary {
        max-width: 160px;
        bottom: 0.5rem;
        left: 0.875rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }

    .about-image-main {
        max-width: 350px;
    }
    
    .about-image-secondary {
        max-width: 140px;
        bottom: 0.5rem;
        left: 0.75rem;
        width: 38%;
    }

    .image-label {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .about-image-main {
        aspect-ratio: 4/5;
        max-width: 100%;
    }

    .about-image-secondary {
        width: 36%;
        max-width: 130px;
        bottom: 0.5rem;
        left: 0.625rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6),
                    0 0 0 3px rgba(255, 255, 255, 0.1);
    }

    .image-label {
        font-size: 0.75rem;
        padding: 0.625rem;
    }
}

/* ==================== */
/* Gallery Section */
/* ==================== */

.gallery-section {
    padding: clamp(4rem, 12vw, 8rem) 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

/* Subtle ambient background */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(255, 255, 255, 0.015) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}



.gallery-header {
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.gallery-header .section-title {
    color: var(--text-dark);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.gallery-header .section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    opacity: 0.8;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    background: transparent;
    color: var(--text-light);
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    min-height: 44px;
    font-family: 'Roboto', sans-serif;
}

.filter-btn:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
    font-weight: 600;
}

.filter-btn:active {
    transform: scale(0.98);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
    padding: 0 2rem;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Feature certain images with larger spans */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(11) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(16) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(21) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(26) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
    contain: layout style paint;
}

/* Subtle border glow on items */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Gradient overlay for depth */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        transparent 50%, 
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.15s ease-out;
    pointer-events: none;
    z-index: 1;
}

.gallery-item:hover::after {
    opacity: 1;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* Faster image loading */
    image-rendering: -webkit-optimize-contrast;
    content-visibility: auto;
    /* Snappy transitions */
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                filter 0.15s ease-out,
                opacity 0.2s ease-out;
    border-radius: 16px;
    /* Prevent layout shift */
    aspect-ratio: auto;
    /* GPU acceleration */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Image loading states */
.gallery-item img.loading {
    opacity: 0;
    filter: blur(10px);
}

.gallery-item img.loaded {
    opacity: 1;
    filter: blur(0);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

/* Responsive grid */
@media (max-width: 1400px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 260px;
        gap: 14px;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(11),
    .gallery-item:nth-child(21) {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(16),
    .gallery-item:nth-child(26) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
        gap: 12px;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(11),
    .gallery-item:nth-child(21) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }
    
    .gallery-header {
        margin-bottom: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 10px;
        padding: 0 1rem;
    }
    
    /* Reset all spans on mobile */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(11),
    .gallery-item:nth-child(16),
    .gallery-item:nth-child(21),
    .gallery-item:nth-child(26) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Feature first and every 5th image */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(10),
    .gallery-item:nth-child(15),
    .gallery-item:nth-child(20) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-item::before {
        border-radius: 12px;
    }
    
    .gallery-item img {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 8px;
        padding: 0 0.75rem;
    }
    
    /* Simpler layout on small screens */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(10),
    .gallery-item:nth-child(15),
    .gallery-item:nth-child(20) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item {
        border-radius: 10px;
    }
    
    .gallery-item::before {
        border-radius: 10px;
    }
    
    .gallery-item img {
        border-radius: 10px;
    }
}



.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    display: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 0;
}

/* Gallery Category Hover Overlay */
.gallery-category-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
    pointer-events: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.gallery-category-overlay::before {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85rem;
    opacity: 0.9;
    color: var(--primary-color);
}

/* Icon variations based on category */
.gallery-item[data-category="Event"] .gallery-category-overlay::before {
    content: '\f073'; /* fa-calendar-alt */
}

.gallery-item[data-category="Landscape"] .gallery-category-overlay::before {
    content: '\f6fc'; /* fa-mountain */
}

.gallery-item[data-category="Urban"] .gallery-category-overlay::before {
    content: '\f64f'; /* fa-city */
}

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

/* Mobile touch optimization */
@media (hover: none) and (pointer: coarse) {
    .gallery-item:active .gallery-category-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive sizing */
@media (max-width: 768px) {
    .gallery-category-overlay {
        font-size: 0.75rem;
        padding: 6px 10px;
        bottom: 8px;
        right: 8px;
        gap: 6px;
    }
    
    .gallery-category-overlay::before {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-category-overlay {
        font-size: 0.7rem;
        padding: 5px 8px;
        bottom: 6px;
        right: 6px;
        gap: 5px;
    }
    
    .gallery-category-overlay::before {
        font-size: 0.75rem;
    }
}

/* Gallery filter visibility classes - optimised for grid layout */
.gallery-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-hidden {
    display: none !important;
}

.gallery-visible {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Prevent layout shift during image load */
.gallery-item img[loading="lazy"] {
    /* Reserve space before image loads */
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.gallery-item img.loading {
    /* Blur placeholder while loading */
    filter: blur(10px);
    transform: scale(1.05);
}

.gallery-item img.loaded {
    /* Smooth transition when loaded */
    filter: blur(0);
    transform: scale(1);
}

.gallery-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.gallery-category i {
    font-size: 0.9rem;
}

/* ==================== */
/* Testimonials Section */
/* ==================== */

.testimonials-section {
    padding: clamp(4rem, 12vw, 8rem) 0;
    background: var(--bg-darker);
    overflow: hidden;
    position: relative;
}

/* Subtle background pattern */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.testimonials-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.testimonials-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    padding: 2rem 0 4rem;
    margin: 0 -2rem;
}

.testimonials-slider::before,
.testimonials-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-darker) 0%, transparent 100%);
}

.testimonials-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-darker) 0%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    padding: 1rem 0;
    /* Ultra-smooth animation */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Pause animation on hover */
.testimonials-slider:hover .testimonials-track {
    animation-play-state: paused !important;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--bg-light) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-radius: 20px;
    padding: 2rem 2rem 1.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease-out,
                box-shadow 0.15s ease-out,
                border-color 0.15s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: min(380px, 85vw);
    max-width: 420px;
    flex-shrink: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    will-change: transform;
    position: relative;
    overflow: hidden;
    /* GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Subtle glow effect on cards */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .testimonial-card:hover .testimonial-quote-icon {
        transform: scale(1.1) rotate(-5deg);
        opacity: 0.25;
    }
    
    .testimonial-card:hover .testimonial-avatar {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    }
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Quote icon styling */
.testimonial-quote-icon {
    position: absolute;
    top: -0.5rem;
    right: 0.5rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.1;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    z-index: 0;
}

.testimonial-stars {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    color: #fbbf24;
    font-size: 0.9rem;
}

.testimonial-stars i {
    filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.4));
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    font-style: italic;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-darker);
    flex-shrink: 0;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.15);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Testimonial Controls */
.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.testimonials-control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 20, 0.8);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.1s ease-out, border-color 0.1s ease-out, transform 0.1s ease-out;
    backdrop-filter: blur(8px);
}

.testimonials-control-btn i {
    color: #ffffff;
    font-size: 1.1rem;
}

.testimonials-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.testimonials-control-btn:active {
    transform: scale(0.95);
}

.testimonials-pause-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pause-text {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.7;
    letter-spacing: 0.02em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-section {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }
    
    .testimonials-slider::before,
    .testimonials-slider::after {
        width: 60px;
    }
    
    .testimonial-card {
        min-width: min(320px, 80vw);
        padding: 1.5rem;
    }
    
    .testimonial-quote-icon {
        font-size: 2.5rem;
        top: -0.25rem;
        right: 0.25rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.75;
    }
    
    .testimonials-controls {
        gap: 1rem;
    }
    
    .testimonials-control-btn {
        width: 42px;
        height: 42px;
    }
    
    .testimonials-pause-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        min-width: min(290px, 78vw);
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .testimonial-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .testimonial-name {
        font-size: 1rem;
    }
    
    .testimonial-stars {
        font-size: 0.8rem;
    }
}

/* ==================== */
/* Contact Section */
/* ==================== */

.contact-section {
    padding: clamp(3rem, 10vw, 6rem) 0;
    background: var(--bg-dark);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    width: 100%;
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    font-size: 1rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-light);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    /* Better touch targets */
    min-width: 44px;
    min-height: 44px;
    will-change: transform;
}

@media (hover: hover) {
    .social-link:hover {
        background: var(--primary-color);
        color: var(--bg-darker);
        transform: translateY(-5px) rotate(5deg);
        box-shadow: var(--shadow-md);
        border-color: var(--primary-color);
    }
}

/* Contact Form */

.footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 4rem 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.footer-nav,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav li a,
.footer-contact li a,
.footer-contact li span {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-nav li a:hover,
.footer-contact li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.footer-legal {
    margin-top: 0.75rem;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
    padding: 0 0.5rem;
    border-right: 1px solid var(--border-color);
}

.footer-legal a:last-child {
    border-right: none;
}

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

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-main {
        gap: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-nav,
    .footer-contact {
        align-items: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
}

/* ==================== */
/* Lightbox */
/* ==================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.15s ease-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
    will-change: opacity, transform;
    display: block;
    margin: 0 auto;
}

/* Smooth image switching animation */
.lightbox-content img.switching {
    opacity: 0;
    transform: scale(0.98);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.1s ease-out;
    backdrop-filter: blur(10px);
    /* Better touch targets */
    min-width: 44px;
    min-height: 44px;
}

@media (hover: hover) {
    .lightbox-close:hover,
    .lightbox-prev:hover,
    .lightbox-next:hover {
        background: rgba(255,255,255,0.2);
        color: #fff !important;
        /* Remove transform: scale(1.1); to prevent movement */
    }
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ==================== */
/* Animations */
/* ==================== */

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

.fade-in-delay-1 {
    animation: fadeIn 0.4s ease-out 0.1s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 0.4s ease-out 0.15s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
        -webkit-transform: translateY(15px); /* Safari fix */
    }
    to {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0); /* Safari fix */
    }
}

/* ==================== */
/* Responsive Design */
/* ==================== */

/* Tablet and below */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        padding-top: 90px;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
        overflow-y: auto;
        z-index: 999;
    }

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

    .nav-link {
        font-size: 1.125rem;
        padding: 1rem;
        text-align: center;
        display: inline-block;
        position: relative;
    }
    
    /* Center the underline animation on mobile */
    .nav-link::after {
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }

    .nav-toggle {
        display: flex;
        transition: transform 0.3s ease;
    }
    
    /* Make X icon more prominent when menu is active */
    .nav-menu.active ~ .nav-toggle {
        z-index: 1001;
    }
    
    .nav-toggle i.fa-times {
        font-size: 1.75rem;
        font-weight: 300;
    }
    
    .nav-toggle i.fa-bars {
        font-size: 1.5rem;
    }

    .about-text h2,
    .contact-info h2 {
        text-align: center;
    }

    .about-image-wrapper::after {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
    }

    .hero-title {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 350px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2.25rem);
        padding: 0 0.75rem;
        text-align: center;
    }

    .hero-subtitle {
        padding: 0 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
    
    /* Mini photos deck - even smaller on small mobile */
    .mini-photos-deck {
        margin-top: 1.5rem;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mini-photo {
        width: 80px;
        height: 100px;
        border-radius: 8px;
    }
    
    .mini-photo-1 {
        transform: rotate(-12deg) translateX(-40px);
    }
    
    .mini-photo-3 {
        transform: rotate(12deg) translateX(40px);
    }
    
    .mini-photo-1:hover {
        transform: rotate(-12deg) translateX(-50px) translateY(-10px) scale(1.2);
    }
    
    .mini-photo-2:hover {
        transform: rotate(0deg) translateY(-12px) scale(1.2);
    }
    
    .mini-photo-3:hover {
        transform: rotate(12deg) translateX(50px) translateY(-10px) scale(1.2);
    }
    
    /* Fan out effect on small mobile */
    .mini-photos-deck:hover .mini-photo-1 {
        transform: rotate(-20deg) translateX(-65px) translateY(-8px) scale(1.15);
    }
    
    .mini-photos-deck:hover .mini-photo-2 {
        transform: rotate(0deg) translateY(-12px) scale(1.15);
    }
    
    .mini-photos-deck:hover .mini-photo-3 {
        transform: rotate(20deg) translateX(65px) translateY(-8px) scale(1.15);
    }
    
    .mini-photos-deck:hover .mini-photo-1:hover {
        transform: rotate(-20deg) translateX(-75px) translateY(-15px) scale(1.25);
    }
    
    .mini-photos-deck:hover .mini-photo-2:hover {
        transform: rotate(0deg) translateY(-18px) scale(1.25);
    }
    
    .mini-photos-deck:hover .mini-photo-3:hover {
        transform: rotate(20deg) translateX(75px) translateY(-15px) scale(1.25);
    }
    
    .scroll-arrow {
        margin-top: 1.5rem;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
    
    .scroll-link i {
        font-size: 1.25rem;
    }

    .about-stats {
        gap: 1rem;
    }

    .stat {
        padding: 1rem;
    }

    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .social-links {
        justify-content: center;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
    }
}

/* Small mobile devices */
@media (max-width: 400px) {
    .gallery-grid {
        gap: 0.4rem;
    }

    .gallery-expand {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 1rem;
        right: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .contact-item {
        gap: 1rem;
    }

    .contact-item i {
        font-size: 1.25rem;
    }
}

/* Improve performance on lower-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Optimise for touch devices */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .gallery-item:hover img {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
    
    /* Add subtle active state for touch feedback */
    .gallery-item:active img {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* Make overlay visible on touch */
    .gallery-overlay {
        opacity: 0;
    }
    
    .gallery-item:active .gallery-overlay {
        opacity: 1;
    }
    
    /* Increase touch targets */
    .nav-link {
        padding: 1rem;
    }
    
    .filter-btn {
        min-width: 80px;
    }
    
    /* Ensure smooth scrolling on mobile */
    .gallery-grid {
        -webkit-overflow-scrolling: touch;
    }
}

/* ==================== */
/* Touch Device Optimizations */
/* ==================== */

/* Remove tap highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Add custom tap feedback */
button:active,
a:active,
.nav-link:active,
.filter-btn:active,
.btn:active {
    opacity: 0.7;
}

/* Prevent text selection on interactive elements */
button,
.nav-toggle,
.filter-btn,
.gallery-expand,
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    -webkit-user-select: none;
    user-select: none;
}

/* Smooth scrolling on iOS */
body {
    -webkit-overflow-scrolling: touch;
}

/* Prevent zoom on input focus on iOS */
input,
select,
textarea {
    font-size: 16px;
}

/* ==================== */
/* Print Styles */
/* ==================== */

@media print {
    .nav,
    .hero-buttons,
    .gallery-filters,
    .gallery-overlay,
    .footer,
    .lightbox {
        display: none !important;
    }
}

/* ==================== */
/* Image Protection - Prevent Copying */
/* ==================== */

/* Prevent image dragging and selection */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Re-enable pointer events for interactive containers */
.gallery-item,
.about-image-wrapper,
.lightbox-content {
    pointer-events: auto;
}

/* Prevent right-click context menu on images */
img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

/* Invisible watermark layer for additional protection */
.gallery-item::before,
.about-image-wrapper::before,
.lightbox-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: auto;
}

/* Ensure gallery overlay is above the protection layer */
.gallery-overlay {
    z-index: 2;
}

.gallery-expand {
    z-index: 3;
}

/* ==================== */
/* Services Section */
/* ==================== */

.services-section {
    padding: clamp(3rem, 10vw, 6rem) 0;
    background: var(--bg-dark);
}

.services-header {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: background 0.15s ease-out, color 0.15s ease-out, transform 0.15s ease-out;
}

.service-icon i {
    color: #ffffff;
    font-size: 1.75rem;
    display: inline-block;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--bg-darker);
    transform: scale(1.08);
}

.service-card:hover .service-icon i {
    color: #000000;
}

.service-title {
    font-family: 'Momo Trust Display', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.services-cta {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

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

.services-cta:hover::before {
    left: 100%;
}

.services-cta-content h3 {
    font-family: 'Momo Trust Display', sans-serif;
    font-size: clamp(1.25rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

.services-cta-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta .btn {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

/* Responsive Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .services-cta {
        padding: 2rem 1.5rem;
    }
}

/* ==================== */
/* Mini Photos Deck */
/* ==================== */

.mini-photos-deck {
    position: relative;
    margin-top: 5rem;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    will-change: opacity;
}

.mini-photo {
    position: absolute;
    width: 200px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.mini-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    opacity: 1 !important;
    /* Optimise critical images */
    image-rendering: -webkit-optimize-contrast;
}

.mini-photo:hover img {
    transform: scale(1.1);
}

/* Deck of cards positioning */
.mini-photo-1 {
    transform: rotate(-8deg) translateX(-90px);
    z-index: 1;
}

.mini-photo-2 {
    transform: rotate(0deg);
    z-index: 3;
}

.mini-photo-3 {
    transform: rotate(8deg) translateX(90px);
    z-index: 2;
}

/* Individual card hover - scale up without overlap */
.mini-photo-1:hover {
    transform: rotate(-8deg) translateX(-100px) translateY(-15px) scale(1.2);
    z-index: 5;
}

.mini-photo-2:hover {
    transform: rotate(0deg) translateY(-20px) scale(1.2);
    z-index: 5;
}

.mini-photo-3:hover {
    transform: rotate(8deg) translateX(100px) translateY(-15px) scale(1.2);
    z-index: 5;
}

/* Fan out effect on deck hover - spreads all cards and makes them bigger */
.mini-photos-deck:hover .mini-photo-1 {
    transform: rotate(-15deg) translateX(-130px) translateY(-10px) scale(1.15);
}

.mini-photos-deck:hover .mini-photo-2 {
    transform: rotate(0deg) translateY(-20px) scale(1.15);
}

.mini-photos-deck:hover .mini-photo-3 {
    transform: rotate(15deg) translateX(130px) translateY(-10px) scale(1.15);
}

/* When hovering individual card within deck hover, make it even bigger */
.mini-photos-deck:hover .mini-photo-1:hover {
    transform: rotate(-15deg) translateX(-150px) translateY(-25px) scale(1.25);
    z-index: 5;
}

.mini-photos-deck:hover .mini-photo-2:hover {
    transform: rotate(0deg) translateY(-30px) scale(1.25);
    z-index: 5;
}

.mini-photos-deck:hover .mini-photo-3:hover {
    transform: rotate(15deg) translateX(150px) translateY(-25px) scale(1.25);
    z-index: 5;
}

.mini-photos-deck:hover .mini-photo-4 {
    transform: rotate(15deg) translateX(130px) translateY(-10px) scale(1.15);
}

/* When hovering individual card within deck hover, make it even bigger */
.mini-photos-deck:hover .mini-photo-1:hover {
    transform: rotate(-15deg) translateX(-150px) translateY(-25px) scale(1.25);
    z-index: 5;
}

.mini-photos-deck:hover .mini-photo-2:hover {
    transform: rotate(0deg) translateY(-30px) scale(1.25);
    z-index: 5;
}

.mini-photos-deck:hover .mini-photo-3:hover {
    transform: rotate(15deg) translateX(150px) translateY(-25px) scale(1.25);
    z-index: 5;
}

/* Subtle always-visible mini-photos-deck style */
.subtle-mini-photos {
    opacity: 0.85;
    filter: grayscale(30%) blur(0.5px);
    transition: opacity 0.3s, filter 0.3s;
}

.subtle-mini-photos:hover {
    opacity: 1;
    filter: grayscale(0%) blur(0);
}

/* ==================== */
/* Scroll Arrow */
/* ==================== */

.scroll-arrow {
    margin-top: 4rem;
    text-align: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    will-change: opacity;
}

.scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1rem;
}

.scroll-link:hover {
    color: var(--primary-color);
    transform: translateY(5px);
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-link i {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

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

/* ==================== */
/* Animation Delays */
/* ==================== */

.fade-in-delay-3 {
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.fade-in-delay-4 {
    animation: fadeInUp 0.4s ease-out forwards;
    animation-delay: 0.25s;
    opacity: 0;
}

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

/* ==================== */
/* Cookie Consent Popup */
/* ==================== */

.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: calc(100% - 2rem);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    animation: slideUp 0.25s ease-out;
    pointer-events: auto;
    display: none;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: auto;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cookie-text i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

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

.cookie-consent h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-family: 'Momo Trust Display', sans-serif;
}

.cookie-consent p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.cookie-consent p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.1s ease-out, transform 0.1s ease-out;
    font-size: 0.95rem;
    pointer-events: auto;
    position: relative;
    z-index: 10000;
}

.cookie-btn.accept,
.cookie-btn.cookie-accept {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.cookie-btn.accept:hover,
.cookie-btn.cookie-accept:hover {
    background: #f0f0f0;
    transform: scale(1.03);
}

.cookie-btn.decline,
.cookie-btn.cookie-decline {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.cookie-btn.decline:hover,
.cookie-btn.cookie-decline:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: 1rem;
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
    }
    
    .cookie-consent h3 {
        font-size: 1.1rem;
    }
    
    .cookie-consent p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* ==================== */
/* Typewriter Effect */
/* ==================== */

.typewriter-text {
    display: inline-block;
    font-weight: 500;
}

/* Mobile typography adjustment */
@media (max-width: 768px) {
    .typewriter-text {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .typewriter-text {
        font-size: 1.1rem;
    }
}

.typewriter-rotating {
    display: inline-block;
    border-right: 2px solid var(--primary-color);
    animation: blink 0.7s step-end infinite;
    min-width: 1px;
    font-weight: 700;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* ==================== */
/* Enhanced Mobile Experience */
/* ==================== */

/* Improved touch targets and spacing */
@media (max-width: 768px) {
    /* Better hero on mobile */
    .hero {
        min-height: 100svh; /* Use small viewport height for mobile browsers */
        padding-top: 80px;
        padding-bottom: 2rem;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .hero-content {
        padding: 3.5rem 1.25rem 1rem;
        gap: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-top: 0;
        margin-bottom: 0.75rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        margin-bottom: 1.25rem;
        text-align: center;
    }
    
    /* Better buttons on mobile */
    .hero-buttons {
        width: 100%;
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        min-height: 52px; /* Larger touch target */
        width: 100%;
        max-width: 280px;
    }
    
    /* Better navigation */
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-toggle {
        width: 48px;
        height: 48px;
    }
    
    .nav-menu {
        padding-top: 100px;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        display: block;
        text-align: left;
        border-radius: 12px;
        margin: 0 1rem;
        background: rgba(255, 255, 255, 0.03);
    }
    
    .nav-link:active {
        background: rgba(255, 255, 255, 0.08);
    }
    
    /* Better about section */
    .about-section {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }
    
    .about-content {
        gap: 2.5rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-description {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: 100px;
        max-width: 120px;
        padding: 1rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Better about image */
    .about-image-main {
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Better section titles */
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Better testimonials header */
    .testimonials-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
    
    /* Better service cards */
    .services-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .service-card {
        padding: 1.75rem 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .service-features li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    /* Better footer */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-brand {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-tagline {
        font-size: 0.95rem;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-heading {
        margin-bottom: 1rem;
    }
    
    .footer-nav li,
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-contact li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
}

/* Extra small mobile (under 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat {
        width: 100%;
        max-width: 200px;
    }
    
    .testimonial-card {
        min-width: calc(100vw - 3rem);
        padding: 1.25rem 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .testimonial-avatar {
        margin: 0 auto;
    }
    
    .service-card {
        padding: 1.5rem 1.25rem;
    }
    
    .cookie-consent {
        bottom: 1rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Landscape mobile orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100svh;
        padding-top: 3.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.25rem, 5vw, 2rem);
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .btn {
        width: auto;
        max-width: none;
    }
    
    .mini-photos-deck {
        display: none;
    }
    
    .scroll-arrow {
        display: none;
    }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
    .nav {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .nav-menu {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    .footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    .cookie-consent {
        bottom: max(1rem, env(safe-area-inset-bottom));
        margin-left: max(1rem, env(safe-area-inset-left));
        margin-right: max(1rem, env(safe-area-inset-right));
        width: calc(100% - max(2rem, env(safe-area-inset-left) + env(safe-area-inset-right)));
    }
}

/* Better scrolling feel on mobile */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
    
    /* Smoother scroll snap for testimonials */
    .testimonials-track {
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    
    .testimonial-card {
        scroll-snap-align: center;
    }
}

/* Disable hover effects on touch - improves performance */
@media (hover: none) {
    .gallery-item::before,
    .gallery-item::after {
        display: none;
    }
    
    .gallery-item img {
        transition: transform 0.15s ease-out;
    }
    
    .gallery-item:active img {
        transform: scale(0.98);
    }
    
    .service-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
    
    .service-card:active {
        transform: scale(0.99);
    }
    
    .stat:hover {
        transform: none;
    }
    
    .stat:active {
        transform: scale(0.98);
    }
    
    .testimonial-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.97);
    }
    
    .about-image-main:hover,
    .about-image-secondary:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .gallery-item {
        border: 2px solid var(--border-color);
    }
    
    .testimonial-card {
        border: 2px solid var(--border-color);
    }
    
    .service-card {
        border: 2px solid var(--border-color);
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Dark mode already default, but ensure it works */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}