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

}

.cta-button .cta-text {
    display: inline-block;
}

.cta-button .cta-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Komet Heavy", "Komet Heavy Placeholder", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle:focus-visible {
    outline: 2px solid #050505;
    outline-offset: 4px;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    border-radius: 3px;
    background: #050505;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #666;
}

.navbar.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body {
    padding-top: 80px;
}

.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    color: #333;
    line-height: 1.2;
    margin: 0;
}

.title-line {
    display: block;
}

/* Hero Text Animation */
.animated-text {
    position: relative;
    display: inline-block;
    opacity: 1;
}

.first-line::after {
    content: '|';
    position: absolute;
    right: -8px;
    top: 0;
    color: #333;
    opacity: 0;
    animation: blink 1s infinite;
}

.first-line.typing::after {
    opacity: 1;
}

.first-line.completed::after {
    display: none;
}

.second-line {
    opacity: 0;
    transform: translateY(20px);
}

.second-line.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   Parallax Showcase Section
   ========================================================================== */

.parallax-section {
    position: relative;
    background: #ffffff;
    color: #050505;
    min-height: calc(100vh + clamp(16px, 4vh, 48px) * 2);
    display: flex;
    align-items: stretch;
    padding: clamp(16px, 4vh, 48px) 0;
}

.parallax-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: visible;
    padding: 0;
}

.parallax-grid {
    display: grid;
    grid-template-columns: repeat(5, 144px);
    grid-auto-rows: 184px;
    gap: clamp(22px, 2vw, 32px);
    width: fit-content;
    margin: 0 auto;
    perspective: 1600px;
    transition: transform 0.6s ease;
    will-change: transform;
    justify-content: center;
}

.parallax-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
    pointer-events: none;
    transform-origin: center;
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.6s ease,
        filter 0.6s ease;
    transition-delay: calc(var(--item-delay, 0) * 0.045s);
    opacity: var(--item-opacity, 1);
    filter: blur(var(--item-blur, 0px));
    transform:
        translate3d(
            var(--item-translate-x, 0px),
            var(--item-translate-y, 0px),
            var(--item-translate-z, 0px)
        )
        scale(var(--item-scale, 1));
    z-index: var(--item-z, 1);
}

.parallax-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1200px) {
    .parallax-grid {
        gap: clamp(16px, 2vw, 24px);
    }
}

@media (max-width: 900px) {
    .parallax-grid {
        grid-template-columns: repeat(4, 144px);
        grid-auto-rows: 184px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 12px);
        right: 20px;
        left: 20px;
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        pointer-events: none;
    }

    .navbar.is-open .nav-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-menu li a {
        font-size: 16px;
    }

    .parallax-grid {
        grid-template-columns: repeat(3, 120px);
        grid-auto-rows: 154px;
    }
}

@media (max-width: 640px) {
    .parallax-section {
        height: auto;
        min-height: 100vh;
        padding: clamp(32px, 10vh, 72px) 0;
    }
    
    .parallax-wrapper {
        position: relative;
        top: auto;
        height: auto;
        padding: 0 clamp(16px, 5vw, 32px);
        display: block;
    }
    
    .parallax-grid {
        width: 100%;
        max-width: 540px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: auto;
        gap: clamp(12px, 4vw, 20px);
        perspective: none;
        justify-content: center;
    }
    
    .parallax-section.is-compact .parallax-item {
        --item-translate-y: 24px;
        --item-scale: 0.68;
        --item-opacity: 0;
    }

    .parallax-grid[data-compact-active="true"] .parallax-item {
        pointer-events: auto;
    }

    .parallax-item {
        pointer-events: auto;
    }

    .parallax-grid .parallax-item:nth-child(n+10) {
        display: none;
    }
}

@media (max-width: 480px) {
    .parallax-section {
        padding: clamp(40px, 14vh, 72px) 0;
    }
    
    .parallax-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(10px, 4vw, 16px);
    }
}

/* About Section */
.about-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: white;
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Fade In Animation */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.fade-element:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-element:nth-child(3) {
    transition-delay: 0.4s;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.cta p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    font-style: italic;
}

@media (max-width: 768px) {
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
}

/* ==========================================================================
   Services Section - Refactored
   ========================================================================== */

/* Main Section Container */
.services-section {
    --services-bg: #f8f8f8;
    --services-text: #1c1c1c;
    --services-text-muted: rgba(28, 28, 28, 0.25);
    --services-text-secondary: rgba(28, 28, 28, 0.75);
    --services-transition-duration: 0.9s;
    --services-transition-easing: cubic-bezier(0.22, 1, 0.36, 1);
    --services-track-tail: 0px;
    --services-lock-spacer: 0px;
    
    position: relative;
    background: var(--services-bg);
    color: var(--services-text);
}

.services-section::after {
    content: '';
    display: block;
    height: var(--services-lock-spacer, 0px);
}

.services-section.is-locked .services-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(96vw, 1180px);
    z-index: 10;
}

.services-track {
    position: relative;
    padding-top: 24px;
    padding-bottom: calc(24px + var(--services-track-tail));
}

/* Sticky Container for Visual Content */
.services-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: center;
    padding: clamp(24px, 6vh, 72px) clamp(24px, 5vw, 48px);
    gap: clamp(28px, 4vh, 52px);
    will-change: transform;
    width: min(96vw, 1180px);
    margin: 0 auto;
}

/* 3D Viewport for Images */
.services-viewport {
    --viewport-width: min(90vw, 960px);
    --viewport-height: clamp(420px, 40vw, 580px);
    
    width: var(--viewport-width);
    max-width: 960px;
    height: var(--viewport-height);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Images Container with 3D Space */
.services-images {
    --images-width: clamp(360px, 54vw, 740px);
    --images-height: clamp(220px, 28vw, 460px);
    
    position: relative;
    width: var(--images-width);
    height: var(--images-height);
    transform-style: preserve-3d;
}

/* Individual Service Image Card */
.service-image {
    --image-width: clamp(320px, 39vw, 561px);
    --image-height: clamp(180px, 26vw, 401px);
    
    /* Positioning */
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--image-width);
    height: var(--image-height);
    margin: calc(-0.5 * var(--image-height)) 0 0 calc(-0.5 * var(--image-width));
    
    /* Styling */
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    
    /* 3D Transform Properties */
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
    
    /* Dynamic Properties (controlled by JS) */
    opacity: var(--service-opacity, 0);
    filter: blur(var(--service-blur, 0px));
    transform:
        translate3d(
            var(--service-translate-x, 0px),
            var(--service-translate-y, 0px),
            var(--service-translate-z, -400px)
        )
        rotateX(var(--service-rotate-x, 0deg))
        rotateY(var(--service-rotate-y, 0deg))
        scale(var(--service-scale, 0.75));
    
    /* Smooth Transitions */
    transition:
        transform var(--services-transition-duration) var(--services-transition-easing),
        opacity 0.6s ease,
        filter 0.6s ease;
    
    z-index: var(--service-z, 1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Content Container */
.services-copy {
    display: grid;
    gap: clamp(24px, 4vh, 40px);
    justify-items: stretch;
    text-align: center;
    width: min(96vw, 980px);
}

/* Service Navigation Tabs */
.service-tabs {
    display: flex;
    gap: clamp(32px, 4vw, 60px);
    flex-wrap: wrap;
    justify-content: center;
}

.service-item {
    font-size: clamp(1.4rem, 1.6vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--services-text-muted);
    cursor: default;
    user-select: none;
    transition: 
        color 0.6s ease,
        text-shadow 0.6s ease;
}

.service-item.active {
    color: var(--services-text);
    text-shadow: 0 0 22px rgba(0, 0, 0, 0.14);
}

/* Service Descriptions */
.service-descriptions {
    position: relative;
    min-height: 120px;
    display: grid;
    align-items: center;
}

.service-desc {
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    line-height: 1.7;
    color: var(--services-text-secondary);
    position: absolute;
    inset: 0;
    margin: 0;
    
    /* Hidden by default */
    opacity: 0;
    transform: translateY(12px);
    transition: 
        opacity 0.4s ease,
        transform 0.4s ease;
}

.service-desc.active {
    opacity: 1;
    transform: translateY(0);
}


/* Services Section - Tablet Responsive */
@media (max-width: 900px) {
    .services-viewport {
        --viewport-width: min(92vw, 720px);
        --viewport-height: clamp(360px, 50vw, 500px);
    }
    
    .service-item {
        letter-spacing: 0.16em;
    }
}

/* Services Section - Mobile Responsive */
@media (max-width: 768px) {
    .services-track {
        min-height: auto;
        padding-top: 24px;
        padding-bottom: calc(24px + var(--services-track-tail));
    }
    
    .services-container {
        position: relative;
        top: auto;
        height: auto;
        gap: 32px;
        padding: clamp(20px, 7vh, 60px) clamp(20px, 5vw, 32px);
    }
    
    .services-viewport {
        perspective: none;
        height: auto;
    }
    
    .services-images {
        --images-width: 100%;
        --images-height: 360px;
        
        max-width: 420px;
        transform-style: flat;
    }
    
    /* Mobile-specific image behavior */
    .service-image {
        /* Reset all 3D transforms for mobile */
        position: absolute;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        
        /* Disable 3D effects */
        opacity: 0;
        filter: none;
        transform: none !important;
        box-shadow: none;
        border-radius: 22px;
    }
    
    /* Active state for mobile */
    .service-image.is-active-mobile {
        opacity: 1 !important;
        transition: opacity 0.45s ease;
    }
    
    .service-tabs {
        gap: 18px;
    }
    
    .service-item {
        font-size: 1.4rem;
        letter-spacing: 0.12em;
    }
}

/* Services Section - Small Mobile */
@media (max-width: 520px) {
    .services-images {
        --images-height: 300px;
    }
    
    .service-item {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
    }
    
    .service-desc {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: white;
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(32px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.cta-content.cta-in-view {
    transform: translateY(0);
    opacity: 1;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 20px 44px;
    background: #ffffff;
    color: #464648;
    border: 2px solid #464648;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
}

.cta-button .cta-text {
    display: inline-block;
}

.cta-button .cta-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.cta-button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

/* CTA Section Responsive */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
        gap: 14px;
    }
    
    .cta-section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-button {
        padding: 14px 28px;
        gap: 12px;
    }
    
    .cta-button .cta-icon {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================================
   Portfolio Page
   ========================================================================== */

.portfolio-hero {
    min-height: 40vh;
    background: #f8f8f8;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: flex-start;
}

.portfolio-heading {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.portfolio-hero .container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.portfolio-heading h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #333;
    margin: 0;
    letter-spacing: 2px;
    line-height: 1.1;
}

/* Portfolio Filter Section */
.portfolio-filters-section {
    background: white;
    padding: 40px 0;
}

.portfolio-filters {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 2px solid #333;
    color: #333;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #333;
    color: white;
}

.filter-btn.active {
    background: #333;
    color: white;
}

/* Portfolio Page Responsive */
@media (max-width: 768px) {
    .portfolio-hero {
        padding: 100px 0 40px 0;
        min-height: 30vh;
    }
    
    .portfolio-heading h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .portfolio-filters-section {
        padding: 30px 0;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .portfolio-heading h1 {
        font-size: 2rem;
    }
    
    .portfolio-filters-section {
        padding: 20px 0;
    }
    
    .portfolio-filters {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .filter-btn {
        text-align: center;
        padding: 12px 20px;
    }
}

/* ==========================================================================
   Portfolio Grid
   ========================================================================== */

.portfolio-grid-section {
    background: white;
    padding: 60px 0 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-item {
    position: relative;
    cursor: pointer;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
}

.portfolio-item:hover {
    background-color: #f8f8f8;
}

.portfolio-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.portfolio-info {
    text-align: left;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.portfolio-tag {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ccc;
    border-radius: 50px;
    background: transparent;
}

.portfolio-item.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Portfolio Grid Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
    }
    
    .portfolio-image {
        height: 300px;
    }
    
    .portfolio-title {
        font-size: 1.3rem;
    }
    
    .portfolio-grid-section {
        padding: 40px 0 80px 0;
    }
}

@media (max-width: 480px) {
    .portfolio-image {
        height: 250px;
        margin-bottom: 15px;
    }
    
    .portfolio-title {
        font-size: 1.2rem;
    }
    
    .portfolio-tag {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    
    .portfolio-grid-section {
        padding: 30px 0 60px 0;
    }
}

/* ==========================================================================
   Project Detail Page
   ========================================================================== */

.project-hero {
    background: #f8f8f8;
    padding: 120px 0 60px 0;
}

.project-header {
    max-width: 1000px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #333;
}

.project-title h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #333;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    line-height: 1.1;
}

.project-category {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ccc;
    border-radius: 50px;
    background: white;
}

.project-content {
    background: white;
    padding: 80px 0;
}

.project-main-image {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    overflow: hidden;
}

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

.project-overview {
    max-width: 1200px;
    margin: 0 auto;
}

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

.overview-left h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #333;
    margin: 0;
    letter-spacing: 1px;
}

.overview-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.overview-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.detail-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
}

.detail-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Project Detail Responsive */
@media (max-width: 768px) {
    .project-hero {
        padding: 100px 0 40px 0;
    }
    
    .project-title h1 {
        font-size: 2.5rem;
    }
    
    .back-link {
        margin-bottom: 30px;
    }
    
    .project-content {
        padding: 60px 0;
    }
    
    .project-main-image {
        margin-bottom: 40px;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-left h2 {
        font-size: 2rem;
    }
    
    .project-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .project-title h1 {
        font-size: 2rem;
    }
    
    .project-category {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .project-main-image {
        margin-bottom: 30px;
    }
    
    .overview-left h2 {
        font-size: 1.8rem;
    }
    
    .overview-description p {
        font-size: 1rem;
    }
    
    .overview-right {
        gap: 30px;
    }
}

/* ==========================================================================
   Project Gallery
   ========================================================================== */

.project-gallery {
    max-width: 1200px;
    margin: 80px auto 0 auto;
}

.gallery-section {
    margin-bottom: 80px;
}

.gallery-section:last-child {
    margin-bottom: 0;
}

.gallery-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.gallery-1col {
    display: grid;
    grid-template-columns: 1fr;
}

.gallery-1col-vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-text {
    padding: 20px 0;
}

.gallery-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .project-gallery {
        margin-top: 60px;
    }
    
    .gallery-section {
        margin-bottom: 60px;
    }
    
    .gallery-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-text {
        padding: 10px 0;
    }
    
    .gallery-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .project-gallery {
        margin-top: 40px;
    }
    
    .gallery-section {
        margin-bottom: 40px;
    }
    
    .gallery-2col {
        gap: 20px;
    }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-hero {
    min-height: 40vh;
    background: #f8f8f8;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: flex-start;
}

.contact-hero .container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-heading {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.contact-heading h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #333;
    margin: 0;
    letter-spacing: 2px;
    line-height: 1.1;
}

.contact-content {
    background: white;
    padding: 80px 0;
}

.company-intro h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #333;
    line-height: 1.2;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.contact-info p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

/* Contact Form Styles */
.contact-form-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

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

.submit-btn {
    padding: 15px 40px;
    background: #333;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 40px 0;
        min-height: 30vh;
    }
    
    .contact-heading h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .contact-content {
        padding: 60px 0;
    }
    
    .company-intro h2 {
        font-size: 1.3rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .contact-heading h1 {
        font-size: 2rem;
    }
    
    .company-intro h2 {
        font-size: 1.1rem;
    }
    
    .contact-layout {
        gap: 40px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-info h3,
    .contact-form-section h3 {
        font-size: 1.1rem;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
}

.social-icon:hover {
    color: white;
    background: #333;
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: #333;
    padding: 60px 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left {
    flex: 1;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ccc;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-tagline p {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 1px;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        flex: none;
    }
    
    .footer-right {
        justify-content: center;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .footer {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-tagline p {
        font-size: 0.9rem;
    }
    
    .footer-logo img {
        height: 40px;
    }
}
