:root {
    --primary-color: #61099b;
    --secondary-color: #8E44AD;
    --accent-color: #61099b;
    --text-color: #333;
    --light-text: #666;
    --background-color: #F8F9FA;
    --white: #FFFFFF;
    --dark-bg: #2C003E;
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    word-break: keep-all;
}

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

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    transition: var(--transition);
}

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

.mobile-nav-header,
.mobile-menu-footer {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2001; /* Ensure above menu */
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        z-index: 9999; /* Highest priority */
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        display: flex;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        padding: 20px;
        border-bottom: 0px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-menu-logo {
        width: 100%;
        display: flex;
        justify-content: start;
    }
    .mobile-menu-logo img {
        height: 40px;
        width: auto;
        display: block;
    }

    .mobile-close-btn {
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        color: var(--white);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        padding:0 0px;
        border-bottom: 0px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        display: block;
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--white);
    }

    .nav-link:hover {
        color: #e0e0e0;
    }

    .mobile-menu-footer {
        display: block;
        margin-top: auto;
        padding: 30px 20px;
        background: rgba(0, 0, 0, 0.2);
        width: 100%;
    }

    .mobile-contact-info {
        margin-bottom: 20px;
        text-align: center;
    }

    .contact-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 5px;
    }

    .contact-number, .mobile-number {
        display: block;
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 5px;
    }

    .mobile-action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .btn-kakao, .btn-quote {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        border-radius: 4px;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .btn-kakao {
        background: #FEE500;
        color: #3c1e1e;
    }

    .btn-quote {
        background: var(--white);
        color: var(--primary-color);
    }
}

/* Hero Section (Slider) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* Slightly lighter overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
}

.hero-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.hero-slide.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1,
.hero-content .hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-desc {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.7s;
    max-width: 700px;
    margin: 0 auto;
}

.hero-slide.active .hero-desc {
    opacity: 0.9;
    transform: translateY(0);
}

.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-pagination {
    display: flex;
    gap: 15px;
    margin-bottom:20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Portfolio Highlight */
.section-portfolio {
    padding: 100px 0;
    background-color: var(--white);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.portfolio-desc {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 3rem;
}

.portfolio-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tag {
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    color: #555;
    background: var(--white);
}

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

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-more:hover {
    color: var(--secondary-color);
    gap: 15px;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

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

.gallery-info .category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,0.8);
}

.gallery-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.gallery-info .date {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Service Cards */
.section-services {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card:hover .service-content h3,
.service-card:hover .service-content p {
    transform: translateY(-5px);
}

.service-img {
    height: 250px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 25px;
    background: var(--white);
    border-top: 1px solid #eee;
}

.service-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Vision & CTA Section */
.vision-cta-section {
    padding:0;
    background-color: var(--white);
}
/* Open API Style Banner Section */
.open-api-section {
    width: 100%;
    min-height: 600px;
    position: relative;
    /* Background handled by child elements */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #FFFFFF;
    overflow: hidden;
}

.api-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/api_bg.png') no-repeat center/cover;
    z-index: 0;
}

.api-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.api-container {
    position: relative;
    z-index: 2;
    /* Existing styles... */
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.open-api-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.api-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.api-text-area {
    flex: 1;
    max-width: 500px;
}

.api-title-group {
    margin-bottom: 20px;
}

.api-sub-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    opacity: 0.9;
    color:#e5a7ff;
}

.api-main-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
}

.api-desc {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.api-cards-area {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.api-card {
    background-color: #FFFFFF;
    border-radius: 4px;
    padding: 30px;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.api-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-icon-wrap {
    margin-bottom: 20px;
}

.card-icon {
    font-size: 36px;
    color: var(--primary-color);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.card-title {
    font-size: 18px;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    word-break: keep-all;
}

@media (max-width: 1024px) {
    .api-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
    }

    .api-text-area {
        max-width: 80%;
    }

    .api-cards-area {
        width: 100%;
        max-width: 700px;
    }
}

@media (max-width: 767px) {
    .open-api-section {
        padding: 60px 20px;
    }

    .api-sub-title {
        font-size: 20px;
    }

    .api-main-title {
        font-size: 36px;
    }

    .api-desc {
        font-size: 16px;
    }

    .api-cards-area {
        grid-template-columns: 1fr;
        gap: 15px;
        padding:0 20px;
        width: 100%;
    }

    .api-card {
        min-height: auto;
        padding: 25px;
    }
}

/* Vision CTA Section (Process & Speciality) */
.vision-cta-section {
    width: 100%;
    max-width: 1400px;
    margin: 130px auto;
    background-color: #FFFFFF;
    min-height: 500px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.content-block {
    grid-area: 1 / 1;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    z-index: 1;
}

.content-block.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.vision-image-container {
    flex: 1;
    min-width: 50%;
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    transition: transform 6s ease;
}

.content-block.active .vision-image-container {
    transform: scale(1);
}

.vision-text-content {
    flex: 1;
    padding: 40px 60px;
    display: flex;

    flex-direction: column;
    justify-content: center;
    position: relative;
}

.text-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s;
}

.content-block.active .text-anim {
    opacity: 1;
    transform: translateY(0);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 900;
    color: #212529;
    margin-bottom: 20px;
    line-height: 1.1;
}

.sub-title {
    font-size: 28px;
    font-weight: 700;
    color: #343A40;
    margin-bottom: 12px;
}

.description-text {
    font-size: 16px;
    font-weight: 400;
    color: #6C757D;
    line-height: 1.6;
    margin-bottom: 30px;
}

.detail-list {
    margin-bottom: 40px;
}

.detail-list li {
    font-size: 16px;
    color: #495057;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.detail-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #888;
}

.tabs-wrapper {
    position: absolute;
    bottom: 60px;
    left: calc(50% + 60px);
    z-index: 10;
    display: flex;
    gap: 25px;
    padding-top: 10px;
    border-top: 1px solid #E9ECEF;
    width: calc(50% - 120px);
}

.tab-item {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #868E96;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab-item:hover {
    color: #212529;
}

.tab-item.active {
    color: #212529;
    font-weight: 700;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    width: 0%; /* Start at 0 */
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: tabProgress 4s linear forwards; /* 4s matches JS interval */
}

@keyframes tabProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@media (max-width: 1024px) {
    .vision-text-content { padding: 30px 40px; }
    .main-title { font-size: 50px; }
    .sub-title { font-size: 24px; }

    .tabs-wrapper {
        left: calc(50% + 40px);
        width: calc(50% - 80px);
    }
}

@media (max-width: 767px) {
    .vision-cta-section {
        display: flex;
        flex-direction: column;
        min-height: auto;
        margin: 30px auto;
        padding:0 20px;
        min-height: 700px;
    }

    .content-block {
        display: none;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
    }


.portfolio-tags {display:grid; grid-template-columns: repeat(2, 1fr); gap: 15px;}
.portfolio-tags .active {grid-column: 1 / -1; width:100%; }
    .portfolio-tag-item {font-size:12px;}

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

    .vision-image-container {
        width: 100%;
        min-height: 300px;
        height: 300px;
        border-radius: 0;
    }

    .vision-text-content {
        height:400px;
        padding: 30px 20px;
        text-align: center;
        align-items: center;
    }

    .main-title { font-size: 40px; }
    .sub-title { font-size: 20px; }
    .detail-list { text-align: left; width: 100%; }

    .tabs-wrapper {
        position: static;
        width: 100%;
        justify-content: center;
        padding: 20px 0;
        margin-top: 0;
        border-top: 1px solid #E9ECEF;
        order: 2;
    }
}

/* News Section (Removed/Replaced) */
/* .section-news { ... } */

/* Contact Form Hero Section (Added) */
.contact-form-hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--white);

    /* Background Image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/hero.png');
    background-size: 100% auto; /* Start with 100% width */
    background-position: center;
    background-attachment: scroll; /* Changed from fixed to scroll for smoother zoom */
    animation: bgZoom 20s infinite alternate linear;
    overflow: hidden; /* Ensure zoomed image doesn't overflow */
}

@keyframes bgZoom {
    0% {
        background-size: 100% auto;
    }
    100% {
        background-size: 110% auto;
    }
}

@media (max-width: 768px) {
    .contact-form-hero-section {
        background-size: auto 100%; /* Cover height on mobile */
        animation: bgZoomMobile 20s infinite alternate linear;
    }

    @keyframes bgZoomMobile {
        0% {
            background-size: auto 100%;
        }
        100% {
            background-size: auto 110%;
        }
    }
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;

}

/* Left Text Area */
.contact-text-area {
    max-width: 500px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.contact-title span {
    font-weight: 300;
    opacity: 0.8;
}

.contact-desc {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-info-box {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    opacity: 0.8;
}

.info-value {
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.main-phone .info-value {
    font-size: 36px;
    font-weight: 700;

}

.sub-phone .info-value {
    font-size: 36px;
}

.fax .info-value {
    font-size: 24px;
    opacity: 0.9;
}

/* Right Form Area */
.contact-form-area {
    max-width: 480px;
    width:100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-group.half {
    width: 50%;
    margin-bottom: 0;
}

.form-group label {color:#fff;}

.form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
    opacity: 0.9;
    color: var(--white);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.2);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

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

/* Footer */
footer {
    background-color: #222;
    color: #888;
    padding: 3rem 0;
    border-top: 1px solid #333;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-info {
    text-align: center;
    font-size: 0.9rem;
}

.footer-sns {
    display: flex;
    gap: 1rem;
}

.footer-sns a,
.footer-sns .sns-icon {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-sns a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-gallery, .services-grid, .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-text-area{
        padding: 30px 0px;
        flex-direction: column;
        align-items: center;

    }


    .form-label {margin-bottom:0; padding:0;}


    .section-banner {
        height: auto;
        flex-direction: column;
    }

    .process-wrapper {
        flex-direction: column;
    }

    .process-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 80%;
        text-align: center;
    }


.main-phone .info-value {
    font-size: 26px;
    font-weight: 700;

}

.sub-phone .info-value {
    font-size: 26px;
}

.fax .info-value {
    font-size: 14px;
    opacity: 0.9;
}


    /* Contact Form/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1,
    .hero-content .hero-title {
        font-size: 3.5rem;
    }

    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .api-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .api-text-area {
        text-align: center;
        padding-right: 0;
    }

    .contact-container {

        flex-direction: column;
        gap: 40px;
    }
}



@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1,
    .hero-content .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .section-header h2,
    .portfolio-header h2,
    .api-main-title,
    .contact-title,
    .main-title {
        font-size: 2.2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .api-cards-area {
        grid-template-columns: 1fr;
    }

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

    .detail-list {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .tabs-wrapper {
        display: none; /* Hide tabs on mobile, maybe show auto-slide indicator instead */
    }

    .vision-cta-section {
        height: 500px;
    }

    .quick-menu-floating {
        bottom: 80px;
        right: 20px;
    }

    .quick-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    footer {
        padding-bottom: 60px;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
}


    .form-group.half {
        width: 100%;
        margin-bottom:15px;
    }
}
/* Floating Quick Menu */
.quick-menu-floating {
    position: fixed;
    right: 30px;
    bottom: 50px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    font-size: 24px;
    color: var(--primary-color);
}

.quick-btn:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: var(--white);
}

.quick-btn.kakao { color: #3c1e1e; background-color: #FEE500; }
.quick-btn.kakao:hover { background-color: #FDD835; color: #3c1e1e; }

.quick-btn.blog { color: #fff; background-color: #03C75A; }
.quick-btn.blog:hover { background-color: #02b351; }

.quick-btn.quote { color: var(--white); background-color: var(--accent-color); }
.quick-btn.quote:hover { background-color: #e69500; }

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--white);
    z-index: 50;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.bottom-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.bottom-btn.call {
    background-color: var(--primary-color);
}

.bottom-btn.sms {
    background-color: var(--secondary-color);
}

@media (max-width: 767px) {
    .quick-menu-floating {
        bottom: 80px; /* Above bottom bar */
        right: 20px;
    }

    .quick-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    /* Adjust footer padding for bottom bar */
    footer {
        padding-bottom: 60px;
    }
}



/* Reservation Ticker */
.reservation-ticker-wrap {
    position: absolute; /* Changed to absolute for overlay */
    bottom: 0;
    left: 0;
  padding:0 100px;
    width: 100%;
    background: rgba(0, 0, 0, 0.3); /* Darker background */
    display: flex;
    align-items: center;
    height: 60px; /* Slightly taller */
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-title {
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    z-index: 2;
}

.reservation-ticker {
    overflow: hidden;
    position: relative;
  width:1080px;
  margin:0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Center content */
}

.ticker-track {
    display: flex;
    flex-direction: column;
    width: auto;
    transition: transform 0.5s ease-in-out;
    margin-top:60px;
}

.ticker-item {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Center content */
    height: 60px; /* Match container height */
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    flex-shrink: 0;
}

.ticker-item .status {
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-left: 15px;
}

.ticker-item .status.received { background: #9b59b6; color: #fff; }
.ticker-item .status.completed { background: #9b59b6; color: #fff; }
.ticker-item .status.consult-done { background: #9b59b6; color: #fff; }
.ticker-item .status.waiting { background: #9b59b6; color: #333; }

.ticker-item .location {
    font-weight: 700;
    color: #fff;
    margin-right: 15px;
}

.ticker-item .name {
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.ticker-item .type {
    color: #e5a7ff;
}

@media (max-width: 768px) {
    /* Header */
    .header-container {
        padding: 0 20px;
        height: 60px;
    }

    .logo img {
        height: 30px;
    }

    .ticker-track {margin-top:55px;}

    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }



    .hero-desc {
        font-size: 1rem;
    }

    /* Ticker */
    .reservation-ticker-wrap {
        height: 50px;
        padding:0 20px;
    }

    .ticker-title {
        font-size: 0.8rem;
        padding: 0 10px;
        width: auto;
    }

    .ticker-item {
        height: 50px;
        font-size: 0.8rem;
        justify-content: flex-start; /* Align left on mobile if needed, or keep center */
        padding-left: 10px;
    }

    .ticker-item .status {
        padding: 2px 6px;
        font-size: 0.7rem;
        margin-left: 10px;
    }

    .ticker-item .location {
        font-size: 0.8rem;
        margin-right: 5px;
    }

    .ticker-item .name {
        margin-right: 5px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr; /* Stack vertically */
    }

    .service-card {width:90%; margin:0 auto;}

    /* Portfolio Grid */
    .portfolio-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); /* 1 column */
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        margin: 20px 0;
    }

    .footer-sns {
        justify-content: center;
    }

    /* Sub Visual */
    .sub-visual {
        height: 200px;
    }

    .sub-visual-content h1 {
        font-size: 1.8rem;
    }

    .sub-visual-content p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    /* Quick Menu */
    .quick-menu-floating {
        bottom: 70px; /* Adjust for ticker if needed, or keep standard */
        right: 10px;
    }
}

@media (max-width: 480px) {
    .ticker-title {
        display: none; /* Hide title on very small screens to save space */
    }

    .reservation-ticker {
        padding-left: 10px;
    }

    .ticker-item {
        font-size: 0.75rem;
        justify-content: center;
    }
}
