/* ===================================
   ONNOFF ARCHITECTS - Nike Style
   =================================== */

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

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #111111;
    --text-color: #111111;
    --text-light: #757575;
    --bg-light: #f5f5f5;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    z-index: 1000;
    padding: 0 48px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 0;
}

.nav-logo a {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    height: 80px;
}

.nav-logo a:hover {
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    height: 80px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    height: 100%;
}

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

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

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('https://sspark.genspark.ai/cfimages?u1=GKQ3oeCNuF0Gn4ankfOMZSCLqSMPnfTCaYE4PfsvYUaFHs3cJwsVR916IzC7lZrR511Jy6xoxyuSnGvMaBU5ssS%2BAv%2FtjPsIbpTSO7Brzki%2BPA09WH3CyU34LyZswNT26rDCbsE887fuh8SKomt9Mr5hORBF4XBQqTRIsVQNGNdruBgT%2FG47f20SHnY%3D&u2=cG%2FaMu67WtAZMV3b&width=2560');
    background-size: cover;
    background-position: center;
    animation: scaleIn 1.2s ease-out;
}

/* Placeholder gradient - replace with actual image */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

@keyframes scaleIn {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

.hero-content {
    text-align: center;
    color: var(--secondary-color);
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.hero-cta {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255,255,255,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--secondary-color);
    animation: fadeIn 1s ease-out 1s both;
}

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

.scroll-indicator span {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--secondary-color);
    animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(20px);
        opacity: 1;
    }
}

/* ===================================
   Featured Section
   =================================== */
.featured-section {
    padding: 120px 48px;
    background: var(--bg-light);
}

.featured-content {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-image {
    width: 100%;
    height: 600px;
    background-image: url('https://sspark.genspark.ai/cfimages?u1=9HjG1V3N3iZM5VfHbW1ZXPG4XglmJpKuVaZCtmRtQOnfNlLgB4l%2BiRUkOkqQsVkLaVaX4iWG9yWJFkrYJIvUYu%2BKMaeO3hX8ufqq%2B%2FKVle2K1IZ%2B8yqsphP8dnEoa2acIk2huVtvRFikAgXWiAaDb8mUXQgDuIthXFupgXaiFRQ%3D&u2=JVupbZai7yhNmUYR&width=2560');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: var(--transition);
}

.featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.featured-text {
    padding: 40px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.section-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: 120px 48px;
    background: var(--secondary-color);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    padding-right: 40px;
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 60px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    width: 100%;
    height: 500px;
    background-image: url('https://sspark.genspark.ai/cfimages?u1=jaH9Vh%2BavQEjbwi0QytKBi05j9jrdXHY85OIxbo54czA%2FIIcUez6gMDv3WtEUDDiQTwoacfqCaPQLTgKH1qUWuMDxlShaNNv9V3Bg82Cmb3HT%2BTNUMGyOpH9k1l6XhlAJr5p1VyjcT2TF2cA45qZSW70HncagP88eRLQlRsKTZFbY8QfmXKd92LAcD2HsMdGUOYXuYhXSI6ZlTKZD1naz1bFi7B4zZAd9dFOyNe9CtrFPzTj%2FlbEOyYtTivcf2VeKA00jsG09m1x4okW9UOK3BBtaLq9iGj3YqfI8WIoqQU4RxP3empyl22U%2BSf5f04B0pz1N57evuup0h2Vo%2BSpuxpc3VUoCKSdw8VoUIo0n4vvrjExwPzHBqsAtrMsWCZ4qt8V7hPhjgx%2FAaehNqxQB55c4uIrvin8msB4oGwFRKyNuyHAqv8j5JUV2JOCn5Dk2Jm35HBWiEYr8eb3BxUtaEigR01N01NfUEmnFR6kwgMTwQ1vtGlobJXKtXTF0UVVb096sNl%2FZLo39TOsB1hG1NM4acqD3bZmSZQxBxjoAjVdcOF1w98%3D&u2=xGgj15j6vRVBcZFJ&width=2560');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ===================================
   Projects Section
   =================================== */
.projects-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.container-full {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-title-center {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    text-align: center;
    letter-spacing: -1px;
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

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

.project-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.project-1 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=Tplnj7Yyagxpi%2BbZBXRm23d%2BFqXpsvS2gTownp6F48XO%2BEb9LV6Ea43YqxRgsM3OgGT5mT4REVW1w118tM2cWPAJPbQpkwCJ%2FCBP7KW39K8t%2Bu6y8Jg%3D&u2=KxbdTUcOo3H0YZal&width=2560');
    background-size: cover;
    background-position: center;
}

.project-2 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=GhAvoEuwr8GLSR5%2BXOWmwlDXUakUU14nd5%2FZvKsjfqcz05BZ9Hge8fiN3T2g2Kt4xmkTR5sRtqTMGLC50cMUZPkgKSYmWZQYPs4EU3A6MWf9psAAzRuGHMeV%2B4SVE0nH&u2=WhNTm2WBN9ECXTr0&width=2560');
    background-size: cover;
    background-position: center;
}

.project-3 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=7RkhbLHVNelvJ1G4j6SJgP9VuF%2Fc6tCykLGZ2ZnVb0NaM%2BStK1lcsxBbol6N4pGg%2Fcgj17WL%2F6tHxw%2BbhvJ7MQ4qtfqMPBy4yxsDTfnuc1Q32mFOEZsXzfi%2BXWKxNd7GCfd5zteKrJpvf%2B9xsVgXpwL7%2BX7VD4NbtI0AinQMRUgsfGcJ62BoFBIy0SuyyOtj3xqWF%2FE1mEP3GcQY2dhDJnNH9iCn89TJGuAAsWY1WnAJVTbdlPnw2L%2FcpGqUJ%2F0drvqn%2Bef12KZHRm2qUZwecQdPohVbHD0utv499ZINaWRugQIkUuZ%2BD%2BczHmmOa06KV5Pl%2BrmpQTzgJYnLYZ%2FohkYReVgSrLWxa9wfYN8A9j3McFgwEFhhMzb0u32mA4dL0l%2FTw2F7YBhzdoqAaRUzLdnDTeZheunR6V6o0O1H1bMJ6t2FfRbakyaieXPpeAnmkF%2BCa3qi8DyrYOTYag%3D%3D&u2=M3gv2lB3bJvGJiQS&width=2560');
    background-size: cover;
    background-position: center;
}

.project-4 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=WEiIG26BOjuqzjoPXjdJELy9SkMYX8hpAiz3vaMBtht8UFzYhhxpmMkJxkL4xOJ4LCyJmmle64wqcyeSOkLjO9xVxV6n9%2Bp%2FgA0hnEtekEG6MEQhyR19IGLIvgovFqj5YVSm98Bo%2FmQIXgH0mT5YWKF1FJp7ow1QmGXL8u8sP3%2FZRaB5qSB5OQ%3D%3D&u2=ZFlmuUWFCeYQiUbC&width=2560');
    background-size: cover;
    background-position: center;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--secondary-color);
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-category {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.9;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    padding: 120px 48px;
    background: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.service-card {
    padding: 48px 32px;
    text-align: center;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.service-icon {
    margin-bottom: 24px;
    color: var(--primary-color);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 120px 48px;
    background: var(--primary-color);
    color: var(--secondary-color);
}

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

.contact-content {
    text-align: center;
}

.contact-content .section-title {
    color: var(--secondary-color);
}

.contact-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 60px;
    opacity: 0.9;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.info-item h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.info-item p {
    font-size: 18px;
    font-weight: 500;
}

.cta-button-large {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 18px 56px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-button-large:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(255,255,255,0.3);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 80px 48px 40px;
    background: var(--accent-color);
    color: var(--secondary-color);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    opacity: 0.7;
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    transform: translateX(4px);
}

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

@media (max-width: 1024px) {
    .navbar {
        padding: 0 32px;
    }

    .nav-container {
        height: 70px;
    }

    .featured-content,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .featured-image,
    .about-image {
        height: 400px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Tablet specific fixes - Enhanced */
    .hero {
        height: 100vh;
        min-height: 600px;
        position: relative;
        overflow: hidden;
    }
    
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        padding: 0 32px;
    }
    
    .hero-title {
        font-size: 56px;
        line-height: 1.1;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-top: 20px;
    }
    
    .hero-cta {
        margin-top: 32px;
    }
    
    .section-title {
        font-size: 42px;
        line-height: 1.2;
    }
    
    .section-title-center {
        font-size: 42px;
        line-height: 1.2;
    }
    
    /* Section spacing and z-index fixes */
    .featured-section,
    .about-section,
    .team-section,
    .philosophy-section,
    .history-section,
    .projects-section,
    .services-section,
    .contact-section {
        padding: 100px 40px;
        position: relative;
        z-index: 1;
        background: var(--secondary-color);
        overflow: hidden;
    }
    
    /* Grid adjustments */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-top: 48px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 48px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        margin-top: 56px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        margin-top: 40px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-top: 56px;
    }
    
    /* Text and content spacing */
    .about-description {
        font-size: 16px;
        line-height: 1.9;
        margin-bottom: 32px;
    }
    
    .featured-text,
    .about-text {
        padding: 0;
    }
    
    .featured-text {
        margin-bottom: 40px;
    }
    
    /* Image height consistency */
    .featured-image,
    .about-image {
        height: 450px;
        margin-bottom: 32px;
    }
    
    .project-image {
        height: 400px;
    }
    
    /* Header overlap prevention */
    .page-header {
        padding: 150px 40px 80px;
        margin-bottom: 0;
        min-height: 400px;
        position: relative;
        z-index: 1;
    }
    
    /* Container max-width for tablet */
    .container {
        max-width: 960px;
        margin: 0 auto;
    }
    
    /* Clear float and prevent overlap */
    section {
        clear: both;
        display: block;
        position: relative;
    }
    
    /* History timeline tablet adjustments */
    .timeline {
        padding-left: 60px;
    }
    
    .timeline-item {
        margin-bottom: 48px;
    }
    
    .timeline-content {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    /* 1. 햄버거 메뉴 우측 정렬 */
    .navbar {
        padding: 0 20px;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    
    .nav-logo {
        order: 1;
        position: static;
        left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 32px 24px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 24px rgba(0,0,0,0.15);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 0;
        text-align: left;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

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

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

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

    /* 3. 모바일 컨텐츠 압축 및 최적화 */
    .hero {
        min-height: 80vh;
        height: 80vh;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-top: 12px;
        line-height: 1.5;
    }
    
    .hero-cta {
        margin-top: 20px;
        padding: 10px 28px;
        font-size: 14px;
    }

    /* 섹션 여백 대폭 축소 */
    .featured-section,
    .about-section,
    .projects-section,
    .services-section,
    .contact-section,
    .team-section,
    .philosophy-section,
    .history-section {
        padding: 48px 20px;
        position: relative;
        z-index: 1;
    }
    
    .page-header {
        padding: 100px 20px 40px;
        min-height: 280px;
    }
    
    /* 이미지 높이 축소 */
    .featured-image,
    .about-image {
        height: 240px;
        margin-bottom: 20px;
    }
    
    .project-image {
        height: 240px;
    }
    
    /* 타이틀 크기 축소 */
    .section-title,
    .section-title-center {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .page-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    /* 텍스트 여백 축소 */
    .section-description,
    .about-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .featured-text,
    .about-text {
        margin-bottom: 24px;
    }

    /* 그리드 간격 축소 */
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-top: 24px;
        margin-bottom: 24px;
    }
    
    .stat-item {
        padding: 16px 8px;
    }
    
    .stat-number {
        font-size: 28px;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    
    .team-card {
        padding: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }
    
    .project-card {
        margin-bottom: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 32px;
    }
    
    .service-card {
        padding: 24px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 20px;
    }
    
    /* Contact 폼 모바일 최적화 */
    .contact-form {
        gap: 16px;
    }
    
    .form-group {
        margin-bottom: 0;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-button {
        padding: 12px 32px;
        font-size: 14px;
        margin-top: 8px;
        width: 100%;
    }
    
    /* Info 카드 압축 */
    .info-card {
        padding: 16px;
        gap: 12px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .info-content h4 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .info-content p {
        font-size: 14px;
    }
    
    /* CTA 섹션 압축 */
    .cta-section {
        padding: 56px 20px;
    }
    
    .cta-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .cta-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .cta-button {
        padding: 12px 32px;
        font-size: 14px;
    }
    
    /* Filter 섹션 압축 */
    .filter-section {
        padding: 24px 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    /* 2. 모바일에서 Footer 링크 섹션 제거 */
    .footer {
        padding: 40px 20px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 24px;
    }
    
    .footer-links {
        display: none !important;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .footer-brand p {
        font-size: 12px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        text-align: center;
        font-size: 11px;
    }
    
    /* History Section Mobile - 압축 */
    .timeline {
        padding-left: 32px;
        margin-top: 32px;
    }
    
    .timeline::before {
        left: 8px;
    }
    
    .timeline-year {
        left: -24px;
        width: 48px;
        height: 48px;
        font-size: 12px;
    }
    
    .timeline-item {
        padding-left: 16px;
        margin-bottom: 24px;
    }
    
    .timeline-content {
        padding: 16px;
    }
    
    .timeline-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .timeline-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* Philosophy 카드 압축 */
    .philosophy-card {
        padding: 20px;
    }
    
    .philosophy-number {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .philosophy-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .philosophy-card p {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .nav-logo a {
        font-size: 15px;
    }
    
    /* 더욱 압축된 히어로 */
    .hero {
        min-height: 70vh;
        height: 70vh;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-top: 8px;
        line-height: 1.4;
    }
    
    .hero-cta {
        margin-top: 16px;
        padding: 9px 24px;
        font-size: 13px;
    }

    /* 섹션 여백 더욱 축소 */
    .section-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .section-title-center {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .page-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .featured-section,
    .about-section,
    .projects-section,
    .services-section,
    .contact-section,
    .team-section,
    .philosophy-section,
    .history-section {
        padding: 36px 16px;
    }
    
    .page-header {
        padding: 90px 16px 32px;
        min-height: 240px;
    }
    
    /* 이미지 더욱 축소 */
    .featured-image,
    .about-image {
        height: 200px;
        margin-bottom: 16px;
    }
    
    .project-image {
        height: 200px;
    }
    
    /* 텍스트 크기 축소 */
    .section-description,
    .about-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    /* 통계 2단 배치 */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .stat-item {
        padding: 12px 6px;
    }
    
    /* 그리드 간격 축소 */
    .team-grid,
    .projects-grid {
        gap: 20px;
        margin-top: 24px;
    }
    
    .services-grid {
        gap: 24px;
        margin-top: 24px;
    }
    
    /* 카드 패딩 축소 */
    .team-card,
    .service-card {
        padding: 16px;
    }
    
    .philosophy-card {
        padding: 16px;
    }
    
    /* Footer 더욱 축소 */
    .footer {
        padding: 32px 16px 20px;
    }
    
    .footer-brand h3 {
        font-size: 18px;
    }
    
    .footer-brand p {
        font-size: 11px;
    }
    
    .footer-bottom {
        font-size: 10px;
    }
    
    /* Timeline 축소 */
    .timeline {
        padding-left: 28px;
        margin-top: 24px;
    }
    
    .timeline-year {
        width: 40px;
        height: 40px;
        font-size: 11px;
        left: -20px;
    }
    
    .timeline-item {
        margin-bottom: 20px;
        padding-left: 12px;
    }
    
    .timeline-content {
        padding: 12px;
    }
    
    .timeline-content h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .timeline-content p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    /* 버튼 크기 조정 */
    .cta-button {
        padding: 10px 28px;
        font-size: 13px;
    }
    
    /* Contact 폼 더욱 압축 */
    .contact-form {
        gap: 12px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .submit-button {
        padding: 10px 28px;
        font-size: 13px;
        margin-top: 4px;
    }
    
    /* Info 카드 더욱 압축 */
    .info-card {
        padding: 12px;
        gap: 10px;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .info-content h4 {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .info-content p {
        font-size: 13px;
    }
    
    /* Contact info 간격 축소 */
    .contact-info {
        gap: 16px;
    }
    
    /* CTA 섹션 더욱 압축 */
    .cta-section {
        padding: 44px 16px;
    }
    
    .cta-title {
        font-size: 24px;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .cta-description {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .cta-button {
        padding: 10px 28px;
        font-size: 13px;
    }
    
    /* Filter 더욱 압축 */
    .filter-section {
        padding: 20px 16px;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 7px 16px;
        font-size: 12px;
    }
}

/* ===================================
   Custom Cursor Effect
   =================================== */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.custom-cursor-follower.hover {
    width: 80px;
    height: 80px;
}

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

/* ===================================
   Project Modal
   =================================== */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.project-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--secondary-color);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    animation: scaleIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-image-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

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

.modal-details {
    padding: 60px 48px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-title {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.modal-category {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.modal-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #eee;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.modal-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-info-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-info-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Modal Responsive */
@media (max-width: 1024px) {
    .modal-content {
        grid-template-columns: 1fr;
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-image-container {
        min-height: 300px;
    }
    
    .modal-details {
        padding: 40px 32px;
    }
    
    .modal-title {
        font-size: 28px;
    }
    
    .modal-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .modal-details {
        padding: 32px 24px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-description {
        font-size: 16px;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
        top: 16px;
        right: 16px;
    }
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    padding: 160px 48px 80px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://sspark.genspark.ai/cfimages?u1=jaH9Vh%2BavQEjbwi0QytKBi05j9jrdXHY85OIxbo54czA%2FIIcUez6gMDv3WtEUDDiQTwoacfqCaPQLTgKH1qUWuMDxlShaNNv9V3Bg82Cmb3HT%2BTNUMGyOpH9k1l6XhlAJr5p1VyjcT2TF2cA45qZSW70HncagP88eRLQlRsKTZFbY8QfmXKd92LAcD2HsMdGUOYXuYhXSI6ZlTKZD1naz1bFi7B4zZAd9dFOyNe9CtrFPzTj%2FlbEOyYtTivcf2VeKA00jsG09m1x4okW9UOK3BBtaLq9iGj3YqfI8WIoqQU4RxP3empyl22U%2BSf5f04B0pz1N57evuup0h2Vo%2BSpuxpc3VUoCKSdw8VoUIo0n4vvrjExwPzHBqsAtrMsWCZ4qt8V7hPhjgx%2FAaehNqxQB55c4uIrvin8msB4oGwFRKyNuyHAqv8j5JUV2JOCn5Dk2Jm35HBWiEYr8eb3BxUtaEigR01N01NfUEmnFR6kwgMTwQ1vtGlobJXKtXTF0UVVb096sNl%2FZLo39TOsB1hG1NM4acqD3bZmSZQxBxjoAjVdcOF1w98%3D&u2=xGgj15j6vRVBcZFJ&width=2560');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--secondary-color);
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 300;
    opacity: 0.95;
}

/* Active Nav Link */
.nav-link.active {
    font-weight: 700;
}

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

/* ===================================
   Philosophy Section
   =================================== */
.philosophy-section {
    padding: 120px 48px;
    background: var(--bg-light);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.philosophy-card {
    background: var(--secondary-color);
    padding: 48px 32px;
    border-radius: 8px;
    transition: var(--transition);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.philosophy-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.1;
    margin-bottom: 16px;
}

.philosophy-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.philosophy-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===================================
   Team Section
   =================================== */
.team-section {
    padding: 120px 48px;
    background: var(--secondary-color);
}

.team-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.team-1 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=cLshOyXg0RbCUoWD483F1TB6wbiLsFlwgrgbggEbZKYUVXBN204PIlzuATJ0Ps57gFsHxyWgo%2FI4hBtdfv3aX%2FzpXJBAhyXypxcqcFWC2RPB1%2BQ1Cdr0slcJkh4O8uWUQsNB48PqdRW5r3442Zii%2BcVd5f92UFfpUsR0e6XKvMDoSrw9VPLrdu%2BKlY3juOzKbv2PY70hG2FQr16vgjROJQ%3D%3D&u2=fT7iT8evBTNm3qqw&width=2560');
    background-size: cover;
    background-position: center;
}

.team-2 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=s6EwFFyAQpXln%2FMIPiJWYRgIzDpR5U3L91612r0qFOqu72oxualbTdXgVVSXHZ%2FnZoStntS9jYiZOms6mjUm573Ai95n2kCpXQAznD1tcDxO7cij7V%2BWiRtlJoq4ILcZlNVuCklDpHbPySmuj8kjEpuqqFbbXOFWNFUmqJZwumCau9OEgiXcG4rM&u2=jswXOrnuj%2FsuF3z3&width=2560');
    background-size: cover;
    background-position: center;
}

.team-3 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=xM9My1aPIbFdcissjiI%2B4BLgOFqdZMmJ196GqAXV7kmgqcVFbTI4vS1zzHJ7gPdIRJJIzAsFwKKD%2BqS%2FXrEnlLv62n1jWeVoyptYZB64Nt5rI%2FkV3ztMOCBZAKTFInm5K3w2O6uW%2BxZ7bgUVCWFF2WB6XlJ%2BWlkF%2FlurodnRjsZfPevu7RXhQQ2HwgfnLisS%2FHxSGw%3D%3D&u2=viT59GK9jiAIcc%2B1&width=2560');
    background-size: cover;
    background-position: center;
}

.team-4 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=Lj4ERODhz0iWRLNqsJG8WhrQ1sNXgfTyV1HJvAvehEVq3cK9oviSbXNBb7AJfxFqs%2BzBrtII6or472u0QT365TZFVlsv7usico8%2FQGauGY5wVVTRiW8udAsZyB3ORPqujh1tXlRIK%2F1%2BYJBLAqoQFdLqMpa%2BUwpOIxDp6VR40KaICjEjr8yE1miOSLouCThoPL2qv8WpfnQ78Kw4&u2=63zJXoo8f%2B5UH%2BC1&width=2560');
    background-size: cover;
    background-position: center;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-role {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ===================================
   History Section
   =================================== */
.history-section {
    padding: 120px 48px;
    background: var(--bg-light);
}

.history-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 80px;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -40px;
    top: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

.timeline-content {
    background: var(--secondary-color);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.timeline-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.timeline-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 120px 48px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ===================================
   Filter Section
   =================================== */
.filter-section {
    padding: 40px 48px;
    background: var(--secondary-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 32px;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-light);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

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

/* ===================================
   Project Additional Styles
   =================================== */
.project-5 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=m2SYCzvqAWlAT5Mw%2BQgGT594MmiCsbjA1Ipd2Yso728QJZR6tC%2Ff98yZqnvf7%2BUM6DKLbqg%2F4C5txT52rZRjIDCCaPnQCoWy53Xg2VVQMSqER1FraD0S3YCD70GXNIQ9WLcma%2F3ijdzJJC2kZqUrFXiI0g%3D%3D&u2=mWbQ6aDY1IkmOs%2FV&width=2560');
    background-size: cover;
    background-position: center;
}

.project-6 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=4ozx5VZct1y7lxcKKpt2tgRMK5uf8JI8baD%2FbQsA%2Bvg7S%2BF07YRbytntGGm4HHltK5CslhFhqOxi%2FXmLXVUd3AIm0%2BDWn2to%2BQotUejJt2lXmMWCGCcqfOXRTFbjovXDNxEgWYA604IYbuBSuAd1vg6WoB2bBJUKnYHp8iGDUwkmqvAxU%2F8s0O38jQuvCHyG5VbB1y2M7R6TOVk7zFsPhqWdtExDzM8nXgFngnuwoNhBAFqC3cKvEh7C16FQ1w8fSGUmkcjb8xAgOt0jYQrwkXnX%2BQgD6pGKgUqQvvsLbDFb6jTc94PUxqbFZvkSmjyZtUH%2F%2FPAINJXmkgrWI0CiweEHkqBEd3M6a5dMdBR1Ptb3hlf193yzsIIqkyafOnfJ1wRP5Kec1PX%2B69WruKcyHJH76EavT9ABoQ9EsLnrw1fjduljIQ%2F5MjspdrJ1KNsZ%2BQQ%2Bzh6Vg0bW0qdw2%2FHmzc1OwRUZhsW0hFQkWEzjjyHqjASKs3Ld2bkGYSqq0FO8Pd8t&u2=ctYgmacL7HgmunJB&width=2560');
    background-size: cover;
    background-position: center;
}

.project-7 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=T9JNlC%2FQisoZvEWuXr9GpXfBxLr3uYYLpLXru8GV1laSGU2Dkndo1yK%2FhIuTeDP3bE%2B1JZjxtr3DJ5qrQeTByIJiN%2BHg4jzf4j%2FYnCicAy0d&u2=R7DX5hZFjpenRow2&width=2560');
    background-size: cover;
    background-position: center;
}

.project-8 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=ZHtM%2FhuNAm7Toj2sWreYYdmKzcLi%2Fw3f0S8ZZMWnsYCnnesDFInygMleuannTWtxQmE6eDKlwyvhc%2FNIwsKTGSFVaZtV2ZZED7axvYSt0hvCxLk8FZA%3D&u2=vjgQxUvli%2FarkCYG&width=2560');
    background-size: cover;
    background-position: center;
}

.project-description {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.9;
}

/* ===================================
   Service Detail Section
   =================================== */
.service-details-section {
    padding: 120px 48px;
    background: var(--bg-light);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: var(--transition);
}

.detail-1 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=7RkhbLHVNelvJ1G4j6SJgP9VuF%2Fc6tCykLGZ2ZnVb0NaM%2BStK1lcsxBbol6N4pGg%2Fcgj17WL%2F6tHxw%2BbhvJ7MQ4qtfqMPBy4yxsDTfnuc1Q32mFOEZsXzfi%2BXWKxNd7GCfd5zteKrJpvf%2B9xsVgXpwL7%2BX7VD4NbtI0AinQMRUgsfGcJ62BoFBIy0SuyyOtj3xqWF%2FE1mEP3GcQY2dhDJnNH9iCn89TJGuAAsWY1WnAJVTbdlPnw2L%2FcpGqUJ%2F0drvqn%2Bef12KZHRm2qUZwecQdPohVbHD0utv499ZINaWRugQIkUuZ%2BD%2BczHmmOa06KV5Pl%2BrmpQTzgJYnLYZ%2FohkYReVgSrLWxa9wfYN8A9j3McFgwEFhhMzb0u32mA4dL0l%2FTw2F7YBhzdoqAaRUzLdnDTeZheunR6V6o0O1H1bMJ6t2FfRbakyaieXPpeAnmkF%2BCa3qi8DyrYOTYag%3D%3D&u2=M3gv2lB3bJvGJiQS&width=2560');
    background-size: cover;
    background-position: center;
}

.detail-2 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=WEiIG26BOjuqzjoPXjdJELy9SkMYX8hpAiz3vaMBtht8UFzYhhxpmMkJxkL4xOJ4LCyJmmle64wqcyeSOkLjO9xVxV6n9%2Bp%2FgA0hnEtekEG6MEQhyR19IGLIvgovFqj5YVSm98Bo%2FmQIXgH0mT5YWKF1FJp7ow1QmGXL8u8sP3%2FZRaB5qSB5OQ%3D%3D&u2=ZFlmuUWFCeYQiUbC&width=2560');
    background-size: cover;
    background-position: center;
}

.detail-3 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=m2SYCzvqAWlAT5Mw%2BQgGT594MmiCsbjA1Ipd2Yso728QJZR6tC%2Ff98yZqnvf7%2BUM6DKLbqg%2F4C5txT52rZRjIDCCaPnQCoWy53Xg2VVQMSqER1FraD0S3YCD70GXNIQ9WLcma%2F3ijdzJJC2kZqUrFXiI0g%3D%3D&u2=mWbQ6aDY1IkmOs%2FV&width=2560');
    background-size: cover;
    background-position: center;
}

.detail-4 {
    background-image: url('https://sspark.genspark.ai/cfimages?u1=4ozx5VZct1y7lxcKKpt2tgRMK5uf8JI8baD%2FbQsA%2Bvg7S%2BF07YRbytntGGm4HHltK5CslhFhqOxi%2FXmLXVUd3AIm0%2BDWn2to%2BQotUejJt2lXmMWCGCcqfOXRTFbjovXDNxEgWYA604IYbuBSuAd1vg6WoB2bBJUKnYHp8iGDUwkmqvAxU%2F8s0O38jQuvCHyG5VbB1y2M7R6TOVk7zFsPhqWdtExDzM8nXgFngnuwoNhBAFqC3cKvEh7C16FQ1w8fSGUmkcjb8xAgOt0jYQrwkXnX%2BQgD6pGKgUqQvvsLbDFb6jTc94PUxqbFZvkSmjyZtUH%2F%2FPAINJXmkgrWI0CiweEHkqBEd3M6a5dMdBR1Ptb3hlf193yzsIIqkyafOnfJ1wRP5Kec1PX%2B69WruKcyHJH76EavT9ABoQ9EsLnrw1fjduljIQ%2F5MjspdrJ1KNsZ%2BQQ%2Bzh6Vg0bW0qdw2%2FHmzc1OwRUZhsW0hFQkWEzjjyHqjASKs3Ld2bkGYSqq0FO8Pd8t&u2=ctYgmacL7HgmunJB&width=2560');
    background-size: cover;
    background-position: center;
}

.service-detail-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-detail-content {
    padding: 40px;
}

.service-detail-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 32px;
}

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

.service-detail-list li {
    font-size: 16px;
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-color);
}

.service-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

/* ===================================
   Process Section
   =================================== */
.process-section {
    padding: 120px 48px;
    background: var(--secondary-color);
}

.process-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 80px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
}

.process-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ===================================
   Contact Content Section
   =================================== */
.contact-content-section {
    padding: 80px 48px;
    background: var(--secondary-color);
}

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

/* ===================================
   Contact Form
   =================================== */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 48px;
    border-radius: 8px;
}

.form-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

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

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--secondary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-button {
    padding: 16px 48px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===================================
   Contact Info
   =================================== */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 8px;
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 8px;
}

.info-content h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.info-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.social-links {
    margin-top: 24px;
}

.social-links h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===================================
   Map Section
   =================================== */
.map-section {
    height: 400px;
    background: var(--bg-light);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
    color: var(--secondary-color);
    background: rgba(0,0,0,0.5);
    padding: 48px 64px;
    border-radius: 8px;
}

.map-overlay h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.map-overlay p {
    font-size: 18px;
    line-height: 1.6;
}

/* ===================================
   Responsive for New Pages
   =================================== */
@media (max-width: 1024px) {
    .contact-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .process-timeline {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 140px 24px 60px;
    }
    
    .philosophy-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        gap: 12px;
    }
    
    .filter-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .service-detail-image {
        height: 300px;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
}
