/* Index Page Styles */
.background-overlay{backdrop-filter: blur(5px);}
/* Hero Section */
.hero {
    height: 100%;
    max-height: 100dvh;
    padding: 80px 0 60px;
    background: #ffffff00;
    color: white;
    text-align: center;
    position: relative;
}

.hero-container {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    text-align: left;
    width: 100%;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.1;
}

.brand-highlight {
    white-space: nowrap;
    font-family: "Inter", "Noto Sans KR", sans-serif;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    text-shadow: 0px 0px 18px #ff6b6b, 0px 2px 0px #feca57, 0px 6px 5px #48dbfb, 0px 11px 4px #ff9ff3;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 4.5rem;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Notice Bar with Infinite Scroll */
.notice-bar {
    background: linear-gradient(90deg, #00ffff, #ffff00, #00ff00);
    background-size: 300% 100%;
    animation: gradient-shift 18s ease infinite;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.notice-scroll-container {
    width: 100%;
    overflow: hidden;
}

.notice-scroll-content {
    display: flex;
    white-space: nowrap;
    text-align: center;
    gap: 80px;
}

.notice-text {
    color: #000;
    width: 100%;
    font-size: 0.85rem;
    text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    display: inline-block;
    flex-shrink: 0;
}

/* About Section */
.about {
    padding: 80px 30px;
    background: #ffffff;
    border-bottom: 1px solid;
}
#about-title{font-size: 2.5rem !important;}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #242424;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0095f6;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #8e8e8e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

/* Services Section */
.services {
    padding: 100px 0 160px;
    background: linear-gradient(#fff 35%, #edeeffcb 65%, #dfeaffb7 80%, #dfeaffb7);
    backdrop-filter: blur(10px);
}

/* Accordion Styles */
.services-accordion {
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover .accordion-title {
    color: #a400f6;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 30px 30px 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:focus {
    outline: none;
}

.accordion-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-title {
    font-size: 3.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #262626;
    text-align: left;
    margin: 0;
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: #0d0d0d;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.service-description {
    padding: 0px 45px 10px 45px;
    color: #666;
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s ease 0.1s;
}

.accordion-item.active .service-description {
    opacity: 1;
    transform: translateX(0);
}

/* Service Items Horizontal Scroll */
.service-items {
    display: flex;
    gap: 20px;
    padding: 3px 7px 10px 7px;
    margin: 10px 40px;
    overflow-x: auto;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease 0.2s;
}

.accordion-item.active .service-items {
    opacity: 1;
    transform: translateX(0);
}

.service-items::-webkit-scrollbar {
    height: 8px;
}

.service-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.434);
    border-radius: 4px;
}

.service-items::-webkit-scrollbar-thumb {
    background: #c6c6c6;
    border-radius: 4px;
}

.service-items::-webkit-scrollbar-thumb:hover {
    background: #ababab;
}

.service-item {
    min-width: 200px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.accordion-item.active .service-item {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for service items */
.accordion-item.active .service-item:nth-child(1) {
    transition-delay: 0.3s;
}

.accordion-item.active .service-item:nth-child(2) {
    transition-delay: 0.4s;
}

.accordion-item.active .service-item:nth-child(3) {
    transition-delay: 0.5s;
}

.accordion-item.active .service-item:nth-child(4) {
    transition-delay: 0.6s;
}

.accordion-item.active .service-item:nth-child(5) {
    transition-delay: 0.7s;
}

.accordion-item.active .service-item:nth-child(6) {
    transition-delay: 0.8s;
}

.accordion-item.active .service-item:hover {
    transform: translateX(0) translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.service-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 15px 15px 8px;
    color: #262626;
}

.service-item p {
    font-size: 0.9rem;
    color: #8e8e8e;
    margin: 0 15px 15px;
    line-height: 1.4;
}

.service-item:has(.service-item-more) {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000000;
    box-shadow: none;
}

.service-item-more {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    color: #00000021;
    transition: all 0.2s ease;
    text-decoration: none;
}

.service-item-more > div {
    transition: all 0.2s ease;
    border: 1px solid #00000021;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-item-more:hover {
    color: #0000007a;
}

.service-item-more:hover > div {
    border: 1px solid #0000007a;
}

/* Responsive Styles */
@media (max-width: 680px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        justify-content: center;
        gap: 20px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .hero-container {
        max-width: auto;
        margin: 0;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .brand-highlight {
        font-size: 6.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Desktop */
@media (max-width: 1399px) and (min-width: 1025px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .brand-highlight {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-container {
        padding: 0 40px;
    }
    
    .accordion-title {
        font-size: 2.7rem;
    }
}

/* Mobile Large */
@media (max-width: 768px) and (min-width: 481px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .brand-highlight {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-container {
        padding: 0 30px;
    }
    
    .accordion-title {
        font-size: 1.7rem;
    }
    
    .notice-bar {
        padding: 10px 0;
    }
    
    .notice-text {
        font-size: 0.8rem;
    }
    
    .notice-scroll-content {
        gap: 60px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .brand-highlight {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    .services{padding: 60px 0;}
    .accordion-header {
        padding: 10px 5px;
    }
    
    .accordion-title {
        font-size: 1.95rem;
    }
    
    .service-description {
        padding: 3px 7px 10px 7px;
    }
    
    .service-items {
        margin: 3px 7px 10px 7px;
    }
    
    .notice-bar {
        padding: 8px 0;
    }
    
    .notice-text {
        font-size: 0.75rem;
    }
    
    .notice-scroll-content {
        gap: 40px;
    }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .brand-highlight {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .about {
        padding: 3rem 1rem;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about .section-title {
        font-size: 2.25rem;
    }
    
    .about-description {
        font-size: .95rem;
    }
}
