/* Restaurant.Ink - Minimal & Modern Design */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
    /* Prevent layout shift during font loading */
    font-display: swap;
}

/* Font loading states */
.fonts-loaded body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Font loading states for headings */
.fonts-loaded h1, 
.fonts-loaded h2, 
.fonts-loaded h3, 
.fonts-loaded h4, 
.fonts-loaded h5, 
.fonts-loaded h6 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #666666;
    --accent-color: #f5f5f5;
    --border-color: #e5e5e5;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-container {
    height: 65px;
}

.nav-logo {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fonts-loaded .nav-logo {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.navbar.scrolled .nav-logo {
    font-size: 1.35rem;
}

.nav-logo:focus,
.nav-logo:active {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
    background: transparent;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Gradient Blobs Background */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.08) 0%, rgba(102, 126, 234, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob1 25s ease-in-out infinite;
    pointer-events: none;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(118, 75, 162, 0.06) 0%, rgba(118, 75, 162, 0.03) 50%, transparent 80%);
    border-radius: 50%;
    animation: floatBlob2 30s ease-in-out infinite reverse;
    pointer-events: none;
    filter: blur(50px);
}

/* Additional gradient blobs */
.hero-container::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 60%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.05) 0%, rgba(255, 107, 107, 0.02) 60%, transparent 80%);
    border-radius: 50%;
    animation: floatBlob3 20s ease-in-out infinite;
    pointer-events: none;
    filter: blur(30px);
    z-index: 1;
}

.hero-container::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 70%;
    width: 35%;
    height: 45%;
    background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.04) 0%, rgba(52, 211, 153, 0.02) 50%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob4 35s ease-in-out infinite;
    pointer-events: none;
    filter: blur(35px);
    z-index: 1;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hero-badge i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

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

.hero-badge:hover::before {
    left: 100%;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.hero-actions .btn-primary {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-actions .btn-secondary {
    animation: fadeInUp 1s ease-out 1.1s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: white;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Mobile Hero Visual - Hidden by default */
.hero-visual-mobile {
    display: none;
    position: relative;
    margin: var(--spacing-lg) 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Mobile Image Carousel */
.mobile-image-carousel {
    display: none;
    position: relative;
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--accent-color);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Carousel Overlay */
.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.carousel-slide:hover .carousel-overlay {
    transform: translateY(0);
}

.carousel-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.carousel-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Carousel Touch Indicators */
.carousel-touch-hint {
    position: absolute;
    top: 50%;
    right: var(--spacing-md);
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInOut 3s ease-in-out 2s;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}

/* Carousel cursor styles */
.mobile-image-carousel {
    cursor: grab;
}

.mobile-image-carousel:active {
    cursor: grabbing;
}

/* Smooth carousel animations */
.carousel-track {
    will-change: transform;
}

.carousel-slide {
    will-change: transform;
}

/* Enhanced mobile carousel styles */
@media (max-width: 768px) {
    .mobile-image-carousel {
        margin: var(--spacing-md) 0;
        border-radius: var(--radius-md);
    }
    
    .carousel-container {
        height: 240px;
    }
    
    .carousel-overlay {
        padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
    }
    
    .carousel-overlay h3 {
        font-size: 1rem;
    }
    
    .carousel-overlay p {
        font-size: 0.8rem;
    }
    
    .carousel-touch-hint {
        font-size: 0.7rem;
        padding: 6px 10px;
        right: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 200px;
    }
    
    .carousel-overlay {
        padding: var(--spacing-sm) var(--spacing-xs) var(--spacing-xs);
    }
    
    .carousel-overlay h3 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }
    
    .carousel-overlay p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .carousel-nav {
        bottom: var(--spacing-sm);
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
    
    .carousel-touch-hint {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.05) 50%, transparent 70%);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    animation: pulseGlow 3s ease-in-out infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    height: 500px;
}

.grid-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
}

.grid-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.grid-item.item-1 {
    grid-row: 1 / 3;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.grid-item.item-2 {
    grid-row: 1 / 2;
    animation: fadeInUp 1s ease-out 1.0s both;
}

.grid-item.item-3 {
    grid-row: 2 / 3;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    /* Improve image loading */
    background-color: var(--accent-color);
}

/* Loading state for images */
.grid-item img[src=""] {
    background-color: var(--accent-color);
    background-image: linear-gradient(45deg, transparent 30%, rgba(0,0,0,0.1) 50%, transparent 70%);
    background-size: 20px 20px;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -20px 0; }
    100% { background-position: 20px 0; }
}

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

/* Work Section */
.work-section {
    padding: 120px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.work-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 30%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.02) 0%, transparent 70%);
    animation: float 30s ease-in-out infinite;
    pointer-events: none;
}

.work-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.section-badge i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

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

.section-badge:hover::before {
    left: 100%;
}

.section-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--secondary-color);
    line-height: 1.7;
}

/* Projects Showcase */
.projects-showcase {
    margin-bottom: var(--spacing-2xl);
}

/* Featured Project */
.featured-project {
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.featured-project .project-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.featured-project .project-link:hover {
    transform: translateY(-2px);
}

.project-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--accent-color);
    aspect-ratio: 16/10;
}

.featured-project .project-image-container {
    aspect-ratio: 16/10;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: var(--transition);
}

.project-link:hover .project-overlay {
    opacity: 1;
}

.project-link:hover .project-image {
    transform: scale(1.05);
}

.project-details {
    padding: var(--spacing-sm) 0;
}

.featured-project .project-details {
    padding: 0;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.project-category {
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-year {
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.featured-project .project-title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
}

.project-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.project-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.project-link:hover .tag {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.project-card {
    animation: fadeInUp 1s ease-out both;
}

.project-card:nth-child(1) { animation-delay: 0.8s; }
.project-card:nth-child(2) { animation-delay: 1.0s; }
.project-card:nth-child(3) { animation-delay: 1.2s; }
.project-card:nth-child(4) { animation-delay: 1.4s; }

.project-card .project-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.project-card .project-link:hover {
    transform: translateY(-4px);
}

.project-card .project-image-container {
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card .project-link:hover .project-image-container {
    box-shadow: var(--shadow-lg);
}

.project-card .project-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.project-card .project-description {
    margin-bottom: 0;
}

.project-badge {
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.project-link:hover .project-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(2px, -2px);
}

/* Contact CTA Integration */
.contact-cta {
    margin-top: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.cta-highlights {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-highlight {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.cta-highlight:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.cta-highlight i {
    font-size: 1.1rem;
    color: rgba(102, 126, 234, 0.8);
    transition: var(--transition);
}

.cta-highlight:hover i {
    color: rgba(102, 126, 234, 1);
    transform: scale(1.1);
}

.cta-highlight span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.cta-highlight:hover span {
    color: rgba(102, 126, 234, 0.9);
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: radial-gradient(ellipse at top, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 200%;
    background: conic-gradient(from 45deg, rgba(102, 126, 234, 0.02) 0%, transparent 50%, rgba(118, 75, 162, 0.01) 100%);
    animation: float 40s ease-in-out infinite;
    pointer-events: none;
}

.contact-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
}

/* Contact Hero */
.contact-hero {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

/* Contact Methods Grid */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.03), transparent);
    transition: left 0.8s ease;
}

.contact-method:hover::before {
    left: 100%;
}

.contact-method:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.2);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.method-content p {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.method-action {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(102, 126, 234, 0.8);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.contact-method:hover .method-action {
    opacity: 1;
    transform: translateY(0);
}

/* Main Contact Content */
.contact-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.02), transparent);
    transition: left 1.2s ease;
}

.contact-form-container:hover::before {
    left: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.form-header p {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.5;
}

/* Form Sections */
.form-section {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.form-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    position: relative;
}

.form-field label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-field input,
.form-field textarea,
.form-field select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    background: white;
    transition: var(--transition);
    position: relative;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1.5 4.5h9L6 9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-sm);
}

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

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

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Team Introduction */
.team-intro {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.team-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.team-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

.team-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.team-info p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.team-info blockquote {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding: 0 var(--spacing-md);
}

.team-info blockquote::before {
    content: '"';
    font-size: 3rem;
    color: rgba(102, 126, 234, 0.2);
    position: absolute;
    top: -10px;
    left: 0;
    line-height: 1;
}

/* Contact Stats */
.contact-stats {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    background: var(--accent-color);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Process Preview */
.process-preview {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.process-preview h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.process-step {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: 40px;
    background: var(--border-color);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.step-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--secondary-color);
    line-height: 1.5;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    position: relative;
}

.fonts-loaded .footer-logo {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.footer-logo:hover::after {
    width: 100%;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

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

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.social-link i {
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-sm);
}

.footer-copyright {
    display: flex;
    align-items: center;
}

.footer-copyright span {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-status {
    display: flex;
    align-items: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    transition: var(--transition);
}

.status-indicator:hover {
    background: rgba(16, 185, 129, 0.15);
    transform: translateY(-1px);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    /* Show mobile hero visual and hide desktop one on tablets and mobile */
    .hero-visual-mobile {
        display: none;
    }
    
    .mobile-image-carousel {
        display: block;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-grid {
        height: 400px;
    }
    
    .featured-project .project-link {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .featured-project .project-title {
        font-size: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
        align-items: center;
    }
    
    .footer-links {
        order: -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 var(--spacing-md);
    }
    
    .navbar.scrolled .nav-container {
        height: 55px;
    }
    
    .nav-logo {
        font-size: 1.25rem;
    }
    
    .navbar.scrolled .nav-logo {
        font-size: 1.15rem;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        height: 250px;
    }
    
    .hero-visual-mobile .hero-grid {
        height: 250px;
        grid-template-columns: 1fr;
    }
    
    .grid-item.item-1 {
        grid-row: auto;
    }
    
    .featured-project .project-link {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .project-image-container {
        margin-bottom: var(--spacing-sm);
    }
    
    .featured-project .project-image-container {
        aspect-ratio: 16/9;
        margin-bottom: var(--spacing-md);
    }
    
    .project-card .project-image-container {
        aspect-ratio: 4/3;
    }
    
    .featured-project .project-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .project-card .project-title {
        font-size: 1rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .featured-project .project-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .project-meta {
        margin-bottom: var(--spacing-xs);
    }
    
    .project-category,
    .project-year {
        font-size: 0.8rem;
    }
    
    .work-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .contact-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
        line-height: 1.5;
    }
    
    .contact-intro {
        margin-bottom: var(--spacing-xl);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .section-header {
        margin-bottom: var(--spacing-xl);
    }
    
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-xl);
    }
    
    .contact-method {
        padding: var(--spacing-md);
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .method-content h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .method-content p {
        font-size: 0.875rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .contact-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-sidebar {
        order: -1;
    }
    
    .contact-form-container {
        padding: var(--spacing-lg);
    }
    
    .form-header h3 {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .form-section-title {
        font-size: 1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }
    
    .footer-main {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
        text-align: center;
        padding-bottom: var(--spacing-md);
    }
    
    .footer-logo {
        font-size: 1.125rem;
    }
    
    .footer-links {
        order: -1;
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-xs);
        text-align: center;
        padding-top: var(--spacing-xs);
    }
    
    .footer-copyright span {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link i {
        font-size: 0.8rem;
    }
    
    .status-indicator {
        padding: 4px 8px;
    }
    
    .status-indicator span {
        font-size: 0.7rem;
    }
    
    .status-dot {
        width: 5px;
        height: 5px;
    }
    
    .cta-highlights {
        gap: var(--spacing-md);
    }
    
    .cta-highlight {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .cta-highlight span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .hero-container,
    .work-container,
    .contact-container,
    .footer-container {
        padding: 0 var(--spacing-md);
    }
    
    .nav-container {
        height: 55px;
    }
    
    .navbar.scrolled .nav-container {
        height: 50px;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .navbar.scrolled .nav-logo {
        font-size: 1rem;
    }
    
    .hero {
        padding: 70px 0 30px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
        line-height: 1.5;
    }
    
    .hero-grid {
        height: 200px;
    }
    
    .hero-visual-mobile .hero-grid {
        height: 200px;
        grid-template-columns: 1fr;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .work-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: var(--spacing-xs);
    }
    
    .section-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
        line-height: 1.5;
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 6px var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .featured-project .project-link {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .featured-project .project-title {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .project-card .project-title {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    
    .project-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .featured-project .project-description {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .project-meta {
        margin-bottom: 6px;
    }
    
    .project-category,
    .project-year {
        font-size: 0.75rem;
    }
    
    .featured-project .project-image-container {
        aspect-ratio: 16/10;
        margin-bottom: var(--spacing-sm);
    }
    
    .project-card .project-image-container {
        aspect-ratio: 4/3;
        margin-bottom: var(--spacing-xs);
    }
    
    .project-tags {
        gap: 6px;
        margin-top: var(--spacing-xs);
    }
    
    .tag {
        padding: 4px 8px;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .projects-showcase {
        margin-bottom: var(--spacing-xl);
    }
    
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-title {
        font-size: clamp(1.5rem, 6vw, 1.75rem);
        margin-bottom: var(--spacing-xs);
    }
    
    .contact-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
        line-height: 1.4;
    }
    
    .contact-intro {
        margin-bottom: var(--spacing-lg);
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-lg);
    }
    
    .contact-method {
        padding: var(--spacing-sm);
    }
    
    .method-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .method-content h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    
    .method-content p {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .method-action {
        font-size: 0.8rem;
    }
    
    .contact-main {
        gap: var(--spacing-md);
    }
    
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    .form-header {
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-sm);
    }
    
    .form-header h3 {
        font-size: 1.125rem;
        margin-bottom: 4px;
    }
    
    .form-header p {
        font-size: 0.85rem;
    }
    
    .form-section {
        margin-bottom: var(--spacing-md);
    }
    
    .form-section-title {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .form-field input,
    .form-field textarea,
    .form-field select {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .form-field label {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .team-intro {
        padding: var(--spacing-md);
    }
    
    .team-avatar img {
        width: 90px;
        height: 90px;
    }
    
    .team-info h4 {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .team-info p {
        font-size: 0.8rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .team-info blockquote {
        font-size: 0.8rem;
        padding: 0 var(--spacing-xs);
        line-height: 1.4;
    }
    
    .contact-stats {
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
    }
    
    .stat-item {
        padding: var(--spacing-xs);
    }
    
    .stat-number {
        font-size: 1.125rem;
        margin-bottom: 2px;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .footer {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }
    
    .footer-main {
        gap: var(--spacing-xs);
        padding-bottom: var(--spacing-sm);
    }
    
    .footer-logo {
        font-size: 1rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-xs);
    }
    
    .footer-link {
        font-size: 0.8rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .footer-bottom {
        gap: 6px;
        padding-top: 6px;
    }
    
    .footer-copyright span {
        font-size: 0.75rem;
    }
    
    .footer-social {
        gap: 6px;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-link i {
        font-size: 0.75rem;
    }
    
    .status-indicator {
        padding: 3px 6px;
    }
    
    .status-indicator span {
        font-size: 0.65rem;
    }
    
    .status-dot {
        width: 4px;
        height: 4px;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

/* Gradient Blob Animations */
@keyframes floatBlob1 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-30px, -20px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-10px, -40px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(20px, -15px) rotate(270deg) scale(1.05);
    }
}

@keyframes floatBlob2 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
    }
    30% {
        transform: translate(25px, -30px) rotate(-45deg) scale(1.15);
    }
    60% {
        transform: translate(-15px, -50px) rotate(-90deg) scale(0.85);
    }
    90% {
        transform: translate(10px, -20px) rotate(-135deg) scale(1.1);
    }
}

@keyframes floatBlob3 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
    }
    20% {
        transform: translate(-20px, 15px) rotate(60deg) scale(0.95);
    }
    40% {
        transform: translate(-35px, -10px) rotate(120deg) scale(1.2);
    }
    60% {
        transform: translate(-15px, -25px) rotate(180deg) scale(0.9);
    }
    80% {
        transform: translate(5px, -5px) rotate(240deg) scale(1.05);
    }
}

@keyframes floatBlob4 {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg) scale(1);
    }
    35% {
        transform: translate(30px, -25px) rotate(-30deg) scale(1.1);
    }
    70% {
        transform: translate(-20px, -40px) rotate(-60deg) scale(0.95);
    }
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, .work-item, .grid-item {
    transition: var(--transition);
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Remove black highlight box on navbar links */
.nav-link:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-link:active {
    -webkit-tap-highlight-color: transparent;
}

/* Remove tap highlight on all links and buttons */
a, button {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    backdrop-filter: blur(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: #333333;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.back-to-top svg {
    transition: var(--transition);
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Responsive adjustments for back to top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top svg {
        width: 16px;
        height: 16px;
    }
}