:root {
    --primary-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    --secondary-gradient: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 50%, #0a0a0a 100%);
    --accent-gradient: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
    --premium-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    --luxury-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    --glow-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    --gold-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    
    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    --text-muted: #888888;
    --text-gold: #d4af37;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-luxury: #1a1a1a;
    --border-luxury: #333333;
    --border-gold: #d4af37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    font-weight: 400;
    position: relative;
    height: 100%;
}

main {
    height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scroll-padding-top: 0px;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

main::-webkit-scrollbar {
    display: none;
}

/* Enhanced scroll snap with better momentum */
@supports (scroll-behavior: smooth) {
    main {
        scroll-timeline: --scroll-timeline;
        animation-timeline: --scroll-timeline;
    }
}

/* Smooth scroll enhancements for better snap behavior */
@media (prefers-reduced-motion: no-preference) {
    main {
        scroll-timeline: --main-scroller;
        scroll-snap-type: y mandatory;
        scroll-padding: 0;
    }
    
    section {
        scroll-snap-align: start;
        scroll-snap-stop: always;
        scroll-margin: 0;
        perspective: 1000px;
    }
    
    /* Add subtle parallax effect on scroll - disabled for performance */
    .featured-projects-grid {
        transform-style: preserve-3d;
        /* animation: parallaxFloat 0.1s linear infinite;
        animation-timeline: scroll(root); */
    }
}

@keyframes parallaxFloat {
    from {
        transform: translateZ(0) translateY(0);
    }
    to {
        transform: translateZ(0) translateY(-2px);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

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

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

.section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.1;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    flex-shrink: 0;
}

.portfolio-section .section-header {
    margin-bottom: 0.2rem;
}

/* Premium Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -1px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #d4af37;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.5);
}

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

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

.nav-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Ultra-Premium Hero Section */
.hero-section {
    height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .container {
    padding: 2rem 3rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    filter: brightness(0.9) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}

.hero-text {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
}

.hero-badge {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    backdrop-filter: blur(20px);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.badge-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gold-gradient);
    border-radius: 50px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.hero-badge:hover .badge-glow {
    opacity: 0.3;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3rem;
    position: relative;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.title-line:nth-child(2) {
    animation-delay: 0.6s;
}

.highlight {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.3), 0 0 45px rgba(255, 255, 255, 0.2);
    position: relative;
}

.title-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s both;
}

.cta-primary, .cta-secondary {
    position: relative;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-primary {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    box-shadow: var(--gold-shadow);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary:hover .btn-glow {
    transform: translateX(100%);
}

.cta-primary:hover .btn-particles {
    opacity: 1;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-shine {
    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.5s ease;
}

.cta-secondary:hover .btn-shine {
    left: 100%;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 80% 80%, rgba(212, 175, 55, 0.3), transparent);
    background-size: 100px 100px, 80px 80px, 60px 60px, 40px 40px;
    animation: float 20s infinite linear;
    opacity: 0.6;
}

/* Sections */
section {
    min-height: 100dvh;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section .container {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 3rem 4rem;
}


.contact-section .container {
    justify-content: flex-start;
    padding: 8rem 3rem 2rem;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

/* Ultra-Premium Services Section */
.services-section {
    background: url('assets/ourservices_bg.jpeg'), var(--secondary-gradient);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    min-height: auto;
    padding: 1rem 0;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--luxury-shadow);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-number {
    font-size: 2rem;
    font-weight: 200;
    color: var(--text-gold);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.service-features span {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.service-features span:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: var(--text-primary);
}

/* Ultra-Premium Portfolio Section */
.portfolio-section {
    background: var(--primary-gradient);
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-section .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Featured Projects Grid */
.featured-projects-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    height: 65dvh;
    max-height: 500px;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

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

/* Staggered animation delays for project items */
.project-item:nth-child(1) { animation-delay: 0.1s; }
.project-item:nth-child(2) { animation-delay: 0.2s; }
.project-item:nth-child(3) { animation-delay: 0.3s; }
.project-item:nth-child(4) { animation-delay: 0.4s; }
.project-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes projectItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.project-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: var(--bg-secondary);
    transform: translateY(0) translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    opacity: 0;
    animation: projectItemFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    contain: layout style paint;
}

/* Flagship project - larger and spans two rows */
.project-item.flagship {
    grid-row: span 2;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--gold-shadow);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.8) contrast(1.1);
    will-change: transform;
    backface-visibility: hidden;
}

.project-item:hover img {
    transform: scale(1.03) translateZ(0);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-item.flagship .project-overlay {
    padding: 3rem;
}

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

.project-item:hover {
    transform: translateY(-6px) translateZ(0);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15), 
                0 4px 8px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.project-item.flagship:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), 
                0 6px 12px rgba(212, 175, 55, 0.15);
}

.project-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100px;
}

.project-item.flagship .project-info {
    min-height: 120px;
    justify-content: flex-end;
}

.project-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: fit-content;
}

.project-item.flagship .project-category {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border-color: var(--border-gold);
    margin-bottom: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: fit-content;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.project-item.flagship .project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-item.flagship .project-info p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.project-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    padding-top: 0.5rem;
}

.project-item.flagship .project-action {
    font-size: 1rem;
}

.project-action svg {
    transition: transform 0.3s ease;
}

.project-item:hover .project-action svg {
    transform: translate(3px, -3px) translateZ(0);
}

/* Project Modal Styles */
.project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.project-modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    background: var(--bg-primary);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    box-shadow: var(--luxury-shadow);
}

.project-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    background: var(--bg-secondary);
}

.project-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-gold);
    margin: 0;
}

.project-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-modal-close:hover {
    color: var(--text-gold);
}

.project-modal-body {
    height: calc(100% - 80px);
    padding: 2rem;
}

.project-gallery-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-image-container {
    position: relative;
    flex: 1;
    background: var(--bg-luxury);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-project-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-nav:hover {
    background: rgba(212, 175, 55, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.thumbnail-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    /* padding: 1rem 0; */
    height: 120px;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: var(--border-gold);
    border-radius: 3px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item.active {
    border-color: var(--border-gold);
    box-shadow: var(--gold-shadow);
}

.thumbnail-item:hover {
    transform: scale(1.05);
    border-color: rgba(212, 175, 55, 0.5);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ultra-Premium Contact Section */
.contact-section {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 100%),
        url('assets/contactus_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
    margin-bottom: 2rem;
}

.contact-info .section-header {
    text-align: left;
}

.contact-info .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2.5rem;
}

.contact-info .section-subtitle {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Modern Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.contact-method:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--text-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gold);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-method:hover .method-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    transform: rotate(360deg);
}

.method-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.method-label {
    font-size: 1.1rem;
    color: var(--text-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-value {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 400;
    font-family: 'Space Grotesk', sans-serif;
}

.method-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

.method-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.contact-method:hover .method-glow {
    width: 200px;
    height: 200px;
}

/* WhatsApp specific styling */
.whatsapp-method:hover .method-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-method .method-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}


.contact-value {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.contact-form:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--text-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(0, 0, 0, 0.7);
}

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

.submit-btn {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.submit-btn::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.5s ease;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

/* Contact Footer */
.contact-footer {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}

.contact-footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0;
}

/* Hide contact footer on mobile to save space */
@media (max-width: 768px) {
    .contact-footer {
        display: none;
    }
}

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

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

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

/* Mobile Navigation Styles */
.nav-menu.mobile-active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-menu.mobile-active .nav-link {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    animation: slideInMobile 0.6s ease-out forwards;
}

.nav-menu.mobile-active .nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.mobile-active.show .nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-menu.mobile-active.show .nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-menu.mobile-active.show .nav-link:nth-child(4) { animation-delay: 0.4s; }

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

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

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

@keyframes slideInMobile {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 2.5rem;
    }
    
    .featured-projects-grid {
        gap: 1.2rem;
        height: 55vh;
        max-height: 400px;
    }
    
    .services-grid {
        gap: 1.2rem;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav-container {
        padding: 2rem;
    }
    
    section .container {
        padding: 5rem 2rem 3rem;
    }
    
    .hero-section .container {
        padding: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .featured-projects-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr 1fr;
        height: 50vh;
        max-height: 450px;
        gap: 1rem;
    }
    
    .project-item.flagship {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 160px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(3.5rem, 8vw, 5rem);
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-height: none;
        height: auto;
    }
    
    .featured-projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        height: auto;
    }
    
    .project-item {
        min-height: 250px;
    }
    
    .project-item.flagship {
        grid-column: span 1;
        grid-row: 1;
        min-height: 280px;
    }
    
    .project-item.flagship .project-overlay {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    /* Restore fixed section heights for perfect viewport fit */
    section {
        height: 100dvh;
        min-height: 100dvh;
        padding: 0;
    }
    
    .portfolio-section {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }
    
    .hero-section {
        height: 100dvh;
        min-height: 100dvh;
        padding: 0;
    }
    
    .nav-container {
        padding: 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    section .container {
        height: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .hero-section .container {
        padding: 1.5rem;
    }
    
    .hero-text {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2.8rem, 10vw, 4rem);
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }
    
    .section-badge {
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        padding: 0;
        height: calc(100dvh - 20rem);
        max-height: 50dvh;
    }
    
    .service-card {
        min-height: auto;
        height: 100%;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .service-card h3 {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .service-number {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }
    
    .featured-projects-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
        min-height: 45dvh;
        max-height: 70dvh;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        gap: 1rem;
    }
    
    .project-item:not(.flagship) {
        min-height: 200px;
    }
    
    .project-item.flagship {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 240px;
    }
    
    .project-overlay {
        padding: 1.2rem;
        opacity: 1;
        background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.95) 100%);
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
    }
    
    .project-item.flagship .project-overlay {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .project-info p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .project-action {
        font-size: 0.75rem;
        margin-top: auto;
    }
    
    .project-category {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: fit-content;
    }
    
    .project-item.flagship .project-category {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-bottom: 0.7rem;
    }
    
    .project-item.flagship .project-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-item.flagship .project-info p {
        font-size: 0.85rem;
        margin-bottom: 0.9rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .contact-info .section-badge {
        display: none;
    }
    
    .contact-info .section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: 0.8rem;
    }
    
    .contact-info .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .contact-method {
        padding: 0.5rem;
        gap: 0.6rem;
        border-radius: 10px;
    }
    
    .method-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
    
    .method-label {
        font-size: 0.7rem;
    }
    
    .method-value {
        font-size: 0.8rem;
    }
    
    .method-description {
        font-size: 0.6rem;
    }
    
    .contact-form {
        padding: 1rem;
        height: auto;
        max-height: none;
        overflow-y: visible;
    }
    
    .contact-section .container {
        padding: 6rem 1rem 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .form-group textarea {
        min-height: 60px;
    }
    
    .submit-btn {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    section {
        height: 100dvh;
        min-height: 100dvh;
    }
    
    .portfolio-section {
        padding-top: 5rem;
        padding-bottom: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    section .container {
        height: 100%;
        justify-content: center;
        padding: 0.8rem 1rem;
    }
    
    .hero-section .container {
        padding: 1rem;
    }
    
    .hero-text {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        height: calc(100dvh - 16rem);
        max-height: 45dvh;
    }
    
    .service-card {
        min-height: auto;
        height: 100%;
        padding: 0.8rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .service-card h3 {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .service-number {
        font-size: 1.4rem;
    }
    
    .featured-projects-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.8rem;
        height: auto;
        min-height: 40dvh;
        max-height: 65dvh;
        margin-top: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .project-item:not(.flagship) {
        min-height: 180px;
    }
    
    .project-item.flagship {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 220px;
    }
    
    .project-overlay {
        padding: 1rem 0.8rem;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
    }
    
    .project-item.flagship .project-overlay {
        padding: 1.2rem 1rem;
    }
    
    .project-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .project-info p {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    
    .project-action {
        font-size: 0.7rem;
        margin-top: auto;
    }
    
    .project-category {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.4rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: fit-content;
    }
    
    .project-item.flagship .project-category {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .project-item.flagship .project-info h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .project-item.flagship .project-info p {
        font-size: 0.8rem;
        margin-bottom: 0.7rem;
    }
    
    .contact-info .section-title {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
        margin-bottom: 0.6rem;
    }
    
    .contact-info .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-method {
        padding: 0.4rem;
        gap: 0.5rem;
        border-radius: 8px;
    }
    
    .method-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
    }
    
    .method-label {
        font-size: 0.65rem;
    }
    
    .method-value {
        font-size: 0.75rem;
    }
    
    .method-description {
        font-size: 0.55rem;
    }
    
    .contact-form {
        padding: 0.8rem;
        height: auto;
        max-height: none;
        overflow-y: visible;
    }
    
    .contact-section .container {
        padding: 5rem 1rem 2.5rem;
    }
    
    .form-group {
        margin-bottom: 0.6rem;
    }
    
    .form-group label {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .form-group textarea {
        min-height: 50px;
    }
    
    .submit-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    section {
        height: 100dvh;
        min-height: 100dvh;
    }
    
    .portfolio-section {
        padding-top: 5rem;
        padding-bottom: 1rem;
    }
    
    section .container {
        height: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 14vw, 2.8rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 10vw, 2.2rem);
    }
    
    .section-badge {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        height: calc(100dvh - 13rem);
        max-height: 40dvh;
    }
    
    .cta-primary, .cta-secondary {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .service-card {
        min-height: auto;
        height: 100%;
        padding: 0.6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .service-card h3 {
        font-size: 0.8rem;
        line-height: 1.1;
    }
    
    .featured-projects-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.7rem;
        height: auto;
        min-height: 35dvh;
        max-height: 60dvh;
        margin-top: 0.6rem;
        margin-bottom: 0.3rem;
    }
    
    .project-item:not(.flagship) {
        min-height: 150px;
    }
    
    .project-item.flagship {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 180px;
    }
    
    .contact-info .section-title {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        margin-bottom: 0.5rem;
    }
    
    .contact-info .section-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-methods {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .contact-method {
        padding: 0.4rem;
        gap: 0.4rem;
        border-radius: 6px;
    }
    
    .method-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }
    
    .method-label {
        font-size: 0.6rem;
    }
    
    .method-value {
        font-size: 0.7rem;
    }
    
    .method-description {
        font-size: 0.5rem;
    }
    
    .contact-form {
        padding: 0.6rem;
        height: auto;
        max-height: none;
        overflow-y: visible;
    }
    
    .contact-section .container {
        padding: 4.5rem 1rem 2rem;
    }
    
    .form-group {
        margin-bottom: 0.5rem;
    }
    
    .form-group label {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .form-group textarea {
        min-height: 40px;
    }
    
    .submit-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        height: 100dvh;
        min-height: 100dvh;
    }
    
    section {
        height: auto;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .services-grid,
    .featured-projects-grid {
        height: auto;
    }
}

/* High-end accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --text-secondary: #ffffff;
        --border-luxury: #ffffff;
    }
}

/* PDF Modal Styles */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.pdf-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    margin: 2% auto;
    padding: 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    overflow: hidden;
    box-shadow: var(--luxury-shadow);
    backdrop-filter: blur(20px);
}

.pdf-modal-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-modal-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.pdf-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pdf-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: scale(1.1);
}

.pdf-modal-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tab-button {
    flex: 1;
    padding: 1rem 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: inherit;
}

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

.tab-button:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-button.active {
    color: var(--text-primary);
    background: rgba(212, 175, 55, 0.1);
}

.tab-button.active::after {
    width: 100%;
}

.pdf-modal-body {
    height: calc(100% - 130px);
    padding: 0;
    position: relative;
}

.tab-content {
    display: none;
    width: 100%;
    height: 100%;
}

.tab-content.active {
    display: block;
}

.pdf-modal-body iframe {
    border-radius: 0 0 20px 20px;
    pointer-events: auto;
}

/* Disable PDF controls and context menu */
.pdf-modal-body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.pdf-modal-body iframe {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Visuals Gallery Styles */
.visuals-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem 3rem;
    padding: 4rem 3rem;
    height: 100%;
    align-items: start;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.6) rgba(255, 255, 255, 0.1);
    justify-items: center;
}

/* Modern Webkit Scrollbar for Gallery */
.visuals-gallery::-webkit-scrollbar {
    width: 8px;
}

.visuals-gallery::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 1rem 0;
}

.visuals-gallery::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.visuals-gallery::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #ffd700 100%);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.visuals-gallery::-webkit-scrollbar-corner {
    background: transparent;
}

.visual-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    cursor: pointer;
    width: 100%;
    max-width: 450px;
    margin-bottom: 2rem;
}

.visual-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--luxury-shadow);
    border-color: rgba(212, 175, 55, 0.5);
}

.visual-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.visual-item:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2);
}

.visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-primary);
    padding: 1.5rem 1rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.visual-item:hover .visual-caption {
    transform: translateY(0);
}

/* Modal Animation */
.pdf-modal.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.pdf-modal.show .pdf-modal-content {
    animation: slideIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile responsiveness for PDF modal */
@media (max-width: 768px) {
    .pdf-modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .pdf-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .pdf-modal-title {
        font-size: 1.2rem;
    }
    
    .tab-button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .visuals-gallery {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 1.5rem;
        justify-items: stretch;
    }
    
    .visuals-gallery::-webkit-scrollbar {
        width: 6px;
    }
    
    .visuals-gallery::-webkit-scrollbar-thumb {
        border-radius: 6px;
    }
    
    .visual-item img {
        height: 250px;
    }
    
    .visual-caption {
        transform: translateY(0);
        position: static;
        background: rgba(0, 0, 0, 0.8);
        margin-top: -1px;
    }
}