﻿/* =========================================
           0. RESET & GLOBAL UTILS
           ========================================= */
* {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif;
    box-sizing: border-box;
}

:root {
    --color-primary: #86cab7;
    --color-primary-dark: #5ac0a3;
    --color-secondary: #14304f;
    --color-navy: #14304f;
    --color-dark: #1a1f3c;
    --color-text-body: #475569;
    --color-bg-light: #f8fafc;
    --color-white: #ffffff;
    --color-border: #e2e8f0;

    --max-width: 1280px;
    --section-spacing: 140px;

    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-card: 0 20px 40px -10px rgba(20, 48, 79, 0.08);
    --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

body {
    background: #ffffff;
    line-height: 1.6;
    color: #334155;
    word-break: keep-all;
    overflow-x: hidden;
}

ul,
li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

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

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

/* P Tag Reset (To use as div alternative if needed, but per guide mainly div/span used) */
p {
    margin: 0;
    padding: 0;
}


.inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Line Break Utility */
.pc_br {
    display: inline;
}

.m_br {
    display: none;
}

@media (max-width: 1024px) {
    .pc_br {
        display: none;
    }

    .m_br {
        display: inline;
    }
}

/* Animation */
.fade-up {
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Unified Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .tag-sm {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(70, 191, 219, 0.1);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-header .title_main {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-header .desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    color: #64748b;
}

@media (max-width: 768px) {
    .section-header .title_main {
        font-size: 24px;
        line-height: 1.4;
    }

    .section-header .desc {
        padding: 0 20px;
        /* Add padding for better reading */
        font-size: 16px;
        word-break: keep-all;
    }
}

/* =========================================
           2. ?�더 (Header)
           ========================================= */
.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    padding: 0 40px;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-wrap.scrolled {
    height: 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 1024px) {
    .header-wrap {
        height: 70px;
        padding: 0 20px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .header-wrap.scrolled {
        height: 70px;
    }
}

.header-logo {
    width: auto;
    height: 50px;
}

.header-logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* GNB PC */
.gnb-pc {
    display: flex;
    gap: 50px;
    height: 100%;
}

.gnb-pc>li {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.gnb-pc>li>a {
    padding: 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s;
}

.header-wrap.scrolled .gnb-pc>li>a {
    color: #222;
}

.gnb-pc>li:hover>a {
    color: #50bba7;
}

.gnb-pc .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 180px;
    visibility: hidden;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.3s;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
}

.gnb-pc>li:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.gnb-pc .submenu li a {
    display: block;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}

.gnb-pc .submenu li a:hover {
    background: #f9fbfd;
    color: #50bba7;
}

@media (max-width: 1024px) {
    .gnb-pc {
        display: none;
    }
}

/* Header Util Btns */
.header-util {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-consult {
    padding: 10px 24px;
    border-radius: 30px;
    background: #50bba7;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    transition: background 0.3s;
}

.btn-consult:hover {
    background: #2a9e89;
}

@media (max-width: 1024px) {
    .btn-consult {
        display: none;
    }
}

.btn-mo-open {
    display: none;
    font-size: 28px;
    color: #222;
}

@media (max-width: 1024px) {
    .btn-mo-open {
        display: block;
        color: #fff;
        /* White on transparent background */
    }

    .header-wrap.scrolled .btn-mo-open {
        color: #222;
        /* Black on white sticky header */
    }
}

/* Mobile Nav */
.gnb-mo-wrap {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 2000;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    opacity: 0;
}

.gnb-mo-wrap.active {
    right: 0;
    visibility: visible;
    opacity: 1;
    z-index: 2000;

}

.gnb-mo-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    padding: 20px;
    background: #fff;
    transition: right 0.4s ease;
    overflow-y: auto;

}

.gnb-mo-wrap.active .gnb-mo-panel {
    right: 0;
}

.mo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.btn-mo-close {
    font-size: 18px;
    color: #333;
    position: absolute;
    top: 10px;
    right: 15px;
}

.gnb-mo-list>li {
    border-bottom: 1px solid #f5f5f5;
}

.gnb-mo-list>li>a {
    display: block;
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.gnb-mo-list>li>a i {
    transition: transform 0.3s;
}

.gnb-mo-list>li.active>a {
    color: #50bba7;
}

.gnb-mo-list>li.active>a i {
    transform: rotate(180deg);
}

.gnb-mo-sub {
    display: none;
    padding: 10px 15px 20px;
    border-radius: 8px;
    background: #fafafa;
    margin-bottom: 10px;
}

.gnb-mo-sub li a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #666;
}

.gnb-mo-list>li.on .gnb-mo-sub {
    display: block;
}

/* =========================================
           3. HERO SECTION (Dynamic)
           ========================================= */
.hero-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 850px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    animation: moveBg 10s infinite alternate;
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
}

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

/* Desktop Hero Images */
.hero-slide.slide-1 {
    background-image: url('/img/main_slide/m1.png');
}

.hero-slide.slide-2 {
    background-image: url('/img/main_slide/m3.png');
}

.hero-slide.slide-3 {
    background-image: url('/img/main_slide/m2.png');
}

/* Mobile Hero Images */
@media (max-width: 767px) {
    .hero-slide.slide-1 {
        background: url('/img/main_slide/mm1.png') no-repeat 50% 50%;
        background-size: cover;
    }

    .hero-slide.slide-2 {
        background: url('/img/main_slide/mm3.png') no-repeat 50% 50%;
        background-size: cover;
    }

    .hero-slide.slide-3 {
        background: url('/img/main_slide/mm2.png') no-repeat 50% 50%;
        background-size: cover;
    }


    .hero-sec {
        height: 100vh;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2));
}

@keyframes moveBg {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}


.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s;
}

.hero-content.active {
    opacity: 1;
    visibility: visible;
}

.hero-badge {
    display: inline-block;
    padding: 8px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0);
    font-size: 24px;
    font-weight: 700;
    color: #0bd8b2;
    letter-spacing: 1px;
    backdrop-filter: blur(2px);
    margin-bottom: 20px;
}

.hero-txt {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    transition: 0.8s ease-out;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-desc {
    font-size: 24px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    transition: 0.8s 0.2s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Enhanced Quote Form */
.quote-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 15px;
    display: inline-flex;
    gap: 10px;
    align-items: flex-end;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.q-field {
    text-align: left;
}

.q-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    padding-left: 5px;
}

.q-input,
.q-select {
    width: 180px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0 15px;
    font-size: 15px;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.q-input:focus,
.q-select:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--color-primary);
}

.btn-submit {
    height: 50px;
    padding: 0 35px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}

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


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        padding-top: 0;
        margin-top: 0;
    }

    .hero-txt {
        margin-top: 30px;
        width: 100%;
        min-height: auto;
        text-align: center;

    }

    .hero-title {
        font-size: 42px;
    }

    .hero-desc {
        font-size: 18px;

        br {
            display: none;
        }

        /* Show in single line or allow wrap */
    }

    .quote-form {
        flex-direction: column;
        width: 90%;
        max-width: 400px;
        align-items: stretch;
    }

    .q-input,
    .q-select {
        width: 100%;
    }
}


@media (max-width: 767px) {

    .hero-badge {

        margin-bottom: 15px;
        font-size: 14px;
        padding: 5px 20px;

    }

    .hero-title {
        font-size: 28px;
        word-break: keep-all;
        /* Prevent awkward breaks */

    }

    .hero-desc {
        font-size: 16px;
        word-break: keep-all;
        margin-bottom: 30px;
    }

    .quote-form {
        padding: 20px;
        margin-top: 20px;
        flex-direction: column;
    }
}


/* =========================================
               1. Reset & Global Styles
            ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* 기본 ?�스?�톱 (Base: 20px) */
body {
    background-color: #ffffff;
    font-family: "Pretendard", sans-serif;
    font-size: 20px;
    /* ?�청?�항: PC 최소 20px */
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    word-break: keep-all;
}

/* ?�블�?(Max 1024px) - ??80~85% ?��? */
@media (max-width: 1024px) {
    body {
        font-size: 17px;
    }
}

/* 모바??(Max 767px) - ??70~75% ?��? */
@media (max-width: 767px) {
    body {
        font-size: 16px;
    }
}

ul,
ol {
    list-style: none;
}

a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

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

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

p {
    margin: 0;
    padding: 0;
}

/* =========================================
						   2. Utility Classes (Typography & Colors)
						========================================= */
.container,
.wrap {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-wrap {
    padding: 120px 0;
}

@media (max-width:767px) {
    .section-wrap {
        padding: 80px 0;
    }
}

.bg-gray {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

/* Typography Update (PC 기�?) */
.fs-h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.3;
}

.fs-h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.4;
}

.fs-h3 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
}

.fs-h4 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
}

.fs-body {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
}

.fs-desc {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: #888;
}

/* Typography Responsive (?�블�? ~80%) */
@media (max-width:1024px) {
    .fs-h1 {
        font-size: 40px;
    }

    .fs-h2 {
        font-size: 32px;
    }

    .fs-h3 {
        font-size: 28px;
    }

    .fs-h4 {
        font-size: 22px;
    }

    .fs-body {
        font-size: 18px;
    }

    .fs-desc {
        font-size: 17px;
    }
}

/* Typography Responsive (모바?? ~70%) */
@media (max-width:767px) {
    .fs-h1 {
        font-size: 36px;
    }

    .fs-h2 {
        font-size: 24px;
    }

    .fs-h3 {
        font-size: 20px;
    }

    .fs-h4 {
        font-size: 18px;
    }

    .fs-body {
        font-size: 16px;
    }

    .fs-desc {
        font-size: 15px;
    }
}

.text-blue {
    color: #044ea1;
}

.text-green {
    color: #00975a;
}

.mat-highlight {
    font-weight: 700;
    color: #044ea1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #044ea1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    color: #222;
    margin-bottom: 20px;
}

.section-title span {
    color: #044ea1;
}

.section-desc {
    max-width: 800px;
    margin: 0 auto;
}

/* Section Header Responsive */
@media (max-width: 1024px) {
    .section-tag {
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .section-tag {
        font-size: 14px;
    }

    .section-header {
        margin-bottom: 30px;
    }
}

/* =========================================
						   3. Header & Navigation
						========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s, box-shadow 0.3s, height 0.4s ease-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.header.scrolled,
.header.menu-open,
.header:hover {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.header .logo {
    display: flex;
    align-items: center;
    width: 200px;
    height: 50px;
}

.header .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header .logo-dark {
    display: none;
}

.header .logo-white {
    display: block;
}

.header.scrolled .logo-dark,
.header.menu-open .logo-dark,
.header:hover .logo-dark {
    display: block;
}

.header.scrolled .logo-white,
.header.menu-open .logo-white,
.header:hover .logo-white {
    display: none;
}

@media (max-width:767px) {

    .header,
    .header .wrap {
        height: 65px;
    }

    .header .logo {
        width: 150px;
    }
}

/* Desktop Nav */
.nav-desktop .gnb {
    display: flex;
}

.nav-desktop .gnb>li>a {
    display: flex;
    align-items: center;
    position: relative;
    height: 90px;
    padding: 0 25px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.3s;
}

.header.scrolled .nav-desktop .gnb>li>a,
.header.menu-open .nav-desktop .gnb>li>a,
.header:hover .nav-desktop .gnb>li>a {
    color: #333333;
}

.header:hover .nav-desktop .gnb>li>a:hover {
    color: #044ea1;
    transition: all ease 0.3s 0s;
}

@media (max-width:1200px) {

    /* ?�비게이???�트 ?�폭 축소 */
    .nav-desktop .gnb>li>a {
        padding: 0 15px;
        font-size: 1rem;
    }
}

@media (max-width:1024px) {
    .nav-desktop {
        display: none;
    }
}

/* Header Contact */
.header-contact a {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s;
}

.header.scrolled .header-contact a,
.header:hover .header-contact a,
.header.menu-open .header-contact a {
    border: 1px solid #044ea1;
    color: #044ea1;
}

@media (max-width:1024px) {
    .header-contact {
        display: none;
    }
}

/* Mobile Menu Toggle */
#menu-toggle {
    display: none;
    z-index: 1002;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.header.scrolled #menu-toggle,
.header:hover #menu-toggle {
    color: #333;
}

@media (max-width:1024px) {
    #menu-toggle {
        display: block;
    }
}

/* Sidebar */
#layoutDimmed {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

#aside {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -100%;
    z-index: 1002;
    width: 85%;
    max-width: 320px;
    visibility: hidden;
    background: #fff;
    transition: all 0.4s;
    overflow-y: auto;
}

body.expand #layoutDimmed {
    display: block;
}

body.expand #aside {
    left: 0;
    visibility: visible;
}

#aside .btnClose {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #333;
}

#aside .intro {
    padding: 40px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

#aside .intro img {
    width: 150px;
}

/* Sidebar Contact */
#aside .scustom {
    padding: 20px;
    background: #f8f9fa;
    margin-top: auto;
}

#aside .scustom h2 {
    font-size: 17px;
    margin: 0 0 5px;
}

#aside .scustom h3 a {
    color: #044ea1;
    display: flex;
    align-items: center;
    gap: 5px;
}

#aside .social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    border-top: 1px solid #e9ebf0;
    padding-top: 20px;
}

#aside .social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.kakao-link {
    background: #fee500;
    color: #191919;
}

.naver-link {
    background: #03c75a;
    color: #fff;
}

#lnb {
    flex: 1;
    padding: 0;
}

#lnb>ul>li {
    border-bottom: 1px solid #f1f1f1;
}

#lnb>ul>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

#lnb ul ul {
    display: none;
    padding: 10px 0;
    background: #fdfdfd;
    border-top: 1px solid #f1f1f1;
}

#lnb ul ul li a {
    padding: 12px 20px 12px 30px;
    font-size: 18px;
    color: #666;
}

/* Quick Menu */
.quick-menu-wrap {
    display: flex;
    gap: 12px;
    flex-direction: column;
    position: fixed;
    bottom: 15%;
    ;
    right: 20px;
    z-index: 999;
}

.qm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 90px;
    height: 90px;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    text-align: center;
    transition: all 0.3s;
}

.qm-btn:hover {
    transform: scale(1.1);
    border-color: #044ea1;
}

.qm-btn i {
    font-size: 32px;
    color: #555;
    margin-bottom: 6px;
}

.qm-btn span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
}

.qm-btn.highlight {
    background-color: #044ea1;
    border-color: #044ea1;
}

.qm-btn.highlight i,
.qm-btn.highlight span,
.qm-btn.q_green i,
.qm-btn.q_green span,
.qm-btn.blog i,
.qm-btn.blog span {
    color: #fff;
}

.qm-btn.kakao i,
.qm-btn.kakao span {
    color: #000;
}

.qm-btn.q_green {
    background-color: #009956;
    border-color: #009956;
}

.qm-btn.kakao {
    background-color: #f5de00;
    border-color: #f5de00;
}

.qm-btn.blog {
    background: #06c052;
    border-color: #06c052;
}

@media (max-width:1024px) {
    .quick-menu-wrap {
        right: 5px;
        bottom: 15%;
    }

    .qm-btn {
        width: 40px;
        height: 40px;
    }

    .qm-btn i {
        font-size: 22px;
        padding: 0;
        margin: 0;
    }

    .qm-btn span {
        display: none;
    }

    .highlight,
    .q_green {
        display: none;
    }
}


/* =========================================
						   4. Hero Section
						========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: #222;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
}

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

.hero .hero-bg {
    width: 100%;
    height: 100%;
    transition: transform 8s ease-out;
    object-fit: cover;
    transform: scale(1.1);
}

.hero .slide.active .hero-bg {
    transform: scale(1);
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(4, 78, 161, 0.4), rgba(0, 0, 0, 0.5));
}

.hero .container {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 90%;
    color: #fff;
    text-align: left;
    transform: translate(-50%, -50%);
}

/* Animation for text */
.hero .slide-subtitle,
.hero .title,
.hero .subtitle,
.hero .buttons {
    transition: all 0.8s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

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

.hero .slide.active .title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

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

.hero .slide.active .buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Hero Typography (PC) */
.hero .slide-subtitle {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.hero .title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero .subtitle {
    max-width: 700px;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
}

.hero .buttons .btn {
    padding: 16px 32px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    margin-right: 12px;
}

/* Hero Typography Responsive (?�블�? */
@media (max-width: 1024px) {
    .hero .container {
        text-align: center;
    }

    .hero .slide-subtitle {
        font-size: 18px;
    }

    .hero .title {
        font-size: 50px;
    }

    .hero .subtitle {
        font-size: 20px;
    }

    .hero .buttons {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero .buttons .btn {
        font-size: 16px;
        padding: 15px 25px;
    }
}

/* Hero Typography Responsive (모바?? */
@media (max-width: 767px) {
    .hero .slide-subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .hero .title {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .hero .subtitle {
        font-size: 17px;
        margin-bottom: 30px;
    }

    .hero .buttons .btn {
        font-size: 15px;
        padding: 10px 15px;
    }
}

.hero .buttons .btn-primary {
    background-color: #044ea1;
    color: #fff;
    border-color: #044ea1;
}

.hero .buttons .btn-primary:hover {
    background-color: #033a80;
    transform: translateY(-3px);
}

.hero .buttons .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.hero .buttons .btn-secondary:hover {
    background-color: #fff;
    color: #333;
    transform: translateY(-3px);
}

.hero-controls {
    display: flex;
    gap: 12px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
}

.hero-controls .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.hero-controls .dot.active {
    background: #fff;
}

/* =========================================
						   5. Why 3A Section
						========================================= */
.company-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.company-text {
    flex: 1;
    text-align: left;
}

.company-img-placeholder {
    width: 100%;
    height: 590px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.company-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-grid-wrap {
    flex: 1;
    width: 100%;
}

.strengths-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.strength-card {
    padding: 30px 24px;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    background-color: #ffffff;
    text-align: center;
    transition: all 0.3s;
}

.strength-card:hover {
    box-shadow: 0 15px 30px rgba(4, 78, 161, 0.1);
    border-color: #044ea1;
    transform: translateY(-8px);
}

.strength-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 16px;
    background-color: #eef6ff;
    color: #044ea1;
    margin-bottom: 15px;
}

.strength-icon span {
    font-size: 36px;
}

/* Strength Card Typography */
.strength-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.strength-card p {
    font-size: 20px;
    line-height: 1.5;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width:1024px) {
    .company-wrapper {
        gap: 30px;
        flex-direction: column;
    }

    .company-text {
        text-align: center;
    }

    .strength-card h3 {
        font-size: 20px;
    }

    .strength-card p {
        font-size: 17px;
    }
}

@media (max-width:767px) {
    .company-img-placeholder {
        height: 320px;
    }

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

    .strength-card h3 {
        font-size: 19px;
    }

    .strength-card p {
        font-size: 16px;
    }
}

/* =========================================
						   6. Process Section
						========================================= */
.process-grid {
    display: flex;
    gap: 40px;
    flex-direction: column;
}

.process-card {
    display: flex;
    border: 1px solid #eee;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-card:hover {
    box-shadow: 0 15px 40px rgba(4, 78, 161, 0.1);
    transform: translateY(-5px);
    border-color: #044ea1;
}

.process-img-side {
    position: relative;
    width: 45%;
    min-height: 400px;
}

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

.process-content-side {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    width: 55%;
    padding: 0 0 0 100px;
}

/* Process Typography */
.process-title {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.process-title i {
    font-size: 36px;
    color: #044ea1;
}

.process-desc {
    font-size: 22px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.process-desc .mat-highlight {
    font-weight: 700;
    color: #044ea1;
}

.btn-process-check {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #044ea1;
    border-radius: 50px;
    background-color: transparent;
    font-size: 20px;
    font-weight: 700;
    color: #044ea1;
    transition: all 0.3s;
}

.btn-process-check:hover {
    box-shadow: 0 5px 15px rgba(4, 78, 161, 0.3);
    background-color: #044ea1;
    color: #ffffff;
}

.btn-process-check i {
    vertical-align: middle;
    font-size: 18px;
    margin-left: 5px;
}

/* Responsive Adjustments */
@media (max-width:1024px) {
    .process-card {
        flex-direction: column;
    }

    .process-img-side {
        width: 100%;
        height: 300px;
        min-height: auto;
    }

    .process-content-side {
        width: 100%;
        padding: 30px;
    }

    /* Font resizing */
    .process-title {
        font-size: 26px;
    }

    .process-title i {
        font-size: 30px;
    }

    .process-desc {
        font-size: 18px;
    }

    .btn-process-check {
        font-size: 17px;
        padding: 12px 30px;
    }
}

@media (max-width:767px) {
    .process-title {
        font-size: 22px;
    }

    .process-title i {
        font-size: 26px;
    }

    .process-desc {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .btn-process-check {
        font-size: 16px;
        padding: 10px 24px;
        width: 100%;
        text-align: center;
    }
}



/* =========================================
						   8. Solutions Section
						========================================= */
.solutions-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}

.solution-card {
    display: flex;
    align-items: stretch;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-img-side {
    position: relative;
    width: 50%;
}

.solution-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: 50%;
    padding: 50px 100px;
}

.solution-icon-wrap {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eef6ff;
    font-size: 32px;
    color: #044ea1;
}

.solution-icon span {
    font-size: 35px;
}

.solution-step {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 24px;
    background: #eef6ff;
    font-size: 16px;
    font-weight: 700;
    color: #044ea1;
}

@media (max-width:1024px) {
    .solution-card {
        flex-direction: column;
    }

    .solution-img-side,
    .solution-body {
        width: 100%;
    }

    .solution-img-side {
        height: 250px;
    }

    .solution-body {
        padding: 30px;
    }

    /* Font Resizing */
    .solution-step {
        font-size: 14px;
    }
}

@media (max-width:767px) {
    /* Mobile styles handled by utility classes and body scaling */
}

/* =========================================
						   9. FAQ Section
						========================================= */
.faq-grid {
    display: flex;
    gap: 20px;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-item details {
    width: 100%;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 24px 30px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    font-family: 'Material Symbols Outlined';
    font-size: 24px;
    color: #044ea1;
    transition: transform 0.3s;
    content: "\e313";
}

.faq-item details[open] summary::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 30px 30px;
    background-color: #fcfcfc;
    font-size: 20px;
    line-height: 1.7;
    color: #555;
    border-top: 1px solid #f0f0f0;
}

.faq-answer strong {
    color: #044ea1;
}

/* Responsive Adjustments */
@media (max-width:1024px) {
    .faq-item summary {
        font-size: 19px;
        padding: 20px 24px;
    }

    .faq-answer {
        font-size: 17px;
        padding: 24px 24px;
    }
}

@media (max-width:767px) {
    .faq-item summary {
        font-size: 17px;
        padding: 16px 20px;
    }

    .faq-answer {
        font-size: 15px;
        padding: 20px 20px;
    }
}



.contact-wrap {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background: url("/img/online_bg.png") no-repeat 50% 50%;
    background-size: cover;
    color: #fff;
}

.contact-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 16, 110, 0.92), rgba(0, 62, 132, 0.90));
    background-size: cover;
    content: "";
    opacity:1;
    filter: blur(0px);
}

.contact-inner {
    display: flex;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* Contact Form Design (MatBefore Custom) */
.contact-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.contact-box {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cb-title {
    font-size: 28px;
    font-weight: 800;
    color: #14304f;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.cb-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.cb-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cb-row {
    display: flex;
    gap: 12px;
}

.cb-field {
    flex: 1;
}

.cb-input,
.cb-select,
.cb-textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
}

.cb-textarea {
    height: 120px;
    resize: none;
}

.cb-input::placeholder,
.cb-textarea::placeholder {
    color: #94a3b8;
}

.cb-input:focus,
.cb-select:focus,
.cb-textarea:focus {
    border-color: #86cab7;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(134, 202, 183, 0.2);
}

.cb-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0 10px;
}

.cb-agree input {
    width: 18px;
    height: 18px;
    accent-color: #14304f;
}

.cb-agree label {
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.cb-submit {
    width: 100%;
    padding: 18px;
    background: #14304f;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #14304f;
}

.cb-submit:hover {
    background: #86cab7;
    border-color: #86cab7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(134, 202, 183, 0.3);
}

@media (max-width:1024px) {
    .contact-right {
        justify-content: center;
        padding-top: 30px;
    }

    .contact-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-left {
        text-align: center;
        margin-bottom: 30px;
    }

    .contact-box {
        padding: 30px 20px;
        max-width: 100%;
    }

    .cb-title {
        font-size: 24px;
    }

    .cb-row {
        flex-direction: column;
        gap: 15px;
    }
}



/* =========================================
   10. Footer (MatBefore Custom)
   ========================================= */
footer {
    background-color: #14304f;
    padding: 60px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.foot-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.f-logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.f-sns {
    display: flex;
    gap: 15px;
}

.f-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    transition: all 0.3s;
}

.f-sns a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.f-info {
    line-height: 1.8;
    margin-bottom: 30px;
}

.f-info span {
    display: inline-block;
    margin-right: 20px;
}

.f-info b {
    color: #fff;
    font-weight: 600;
    margin-right: 5px;
}

.f-contact-line {
    margin-top: 10px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 100px;
    }

    .foot-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .f-info span {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .f-contact-line span {
        display: block;
    }
}

/* =========================================
   11. Quick Menu (PC)
   ========================================= */
.quick-pc {
    position: fixed;
    right: 30px;
    bottom: 50px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.q-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: #333;
    font-size: 24px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.q-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(134, 202, 183, 0.4);
    color: #86cab7;
}

.q-btn.kakao {
    color: #3c1e1e;
    background: #fae100;
    border: none;
}

.q-btn.kakao:hover {
    background: #ffe812;
    color: #3c1e1e;
}

.q-btn.naver {
    color: #fff;
    background: #03c75a;
    border: none;
}

.q-btn.naver:hover {
    background: #00b350;
    color: #fff;
}

.q-btn.mail {
    color: #fff;
    background: #044ea1;
    border: none;
}

.q-btn.mail:hover {
    background: #00418a;
    color: #fff;
}

.q-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.q-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #333;
}

.q-btn:hover .q-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

@media (max-width: 1024px) {
    .quick-pc {
        display: flex;
        bottom: 80px;
        /* Above mobile bar */
        right: 5px;
        gap: 8px;
    }

    .q-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .q-tooltip {
        display: none;
        /* Hide tooltips on touch devices */
    }
}

/* =========================================
   12. Quick Menu (Mobile)
   ========================================= */
.quick-mo {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
}

.quick-mo ul {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.quick-mo li {
    flex: 1;
}

.quick-mo a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    gap: 4px;
}

.quick-mo a i {
    font-size: 22px;
    color: #888;
}

.quick-mo a.call-btn {
    background: #14304f;
    color: #fff;
}

.quick-mo a.call-btn i {
    color: #fff;
}

.quick-mo a.sms-btn {
    background: #37a385;
    color: #fff;
}

.quick-mo a.sms-btn i {
    color: #fff;
}

@media (max-width: 1024px) {
    .quick-mo {
        display: block;
    }
}

/* =========================================
   7. Info Section (Redesign: Feature List)
   ========================================= */
.info-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    gap: 30px;
}

.info-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

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

.info-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: #f1f8f6;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.info-icon-box i,
.info-icon-box img {
    font-size: 32px;
    color: #86cab7;
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: all 0.3s;
}

.info-card:hover .info-icon-box i,
.info-card:hover .info-icon-box img {
    color: #fff;
    filter: brightness(0) invert(1);
}

.info-content {
    padding: 0 10px;
    width: 100%;
}

.info-badge {
    width: fit-content;
    display: flex;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.info-badge.danger {
    background: #fff1f0;
    color: #e11d48;
}

.info-badge.check {
    background: #f0fdf4;
    color: #15803d;
}

.info-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
    line-height: 1.4;
}

.info-desc {
    font-size: 17px;
    line-height: 1.6;
    color: #64748b;
    word-break: keep-all;
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-card {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-card {
        align-items: center;
        padding: 15px;
        gap: 20px;
    }

    .info-icon-box {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .info-icon-box img {
        width: 24px;
        height: 24px;
    }

    .info-card::before {
        display: none;
    }

    .info-title {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .info-desc {
        font-size: 15px;
        line-height: 1.4;
    }
}

/* =========================================
   13. Gallery Infinite Slide (Marquee)
   ========================================= */
.gallery-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 20s linear infinite;
    padding-bottom: 20px;
    overflow-x: visible;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    flex: 0 0 350px;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s;
}


.gallery-caption {
    padding: 30px 15px;
    font-size: 20px;
    line-height: 1.4;
    color: #000000;
    text-align: center;
}

.gallery-item img {
    height: 250px;
    object-fit: cover;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 3 - 30px * 3));
    }
}

#gallery .container {
    overflow: hidden;
    max-width: 100%;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 280px;
    }

    .gallery-item img {
        height: 200px;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-280px * 3 - 30px * 3));
        }
    }
}