@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700&display=swap');

/* ==========================================================================
   Variables & Theme Setup
   ========================================================================== */
:root {
    /* Colors - Based on Hue Park (Warm, Family, Nature) */
    --color-primary: #00a5e3;     /* SaddleBrown - Warm Earthy Tone */
    --color-secondary: #786b61;   /* Chocolate - Accent */
    --color-dark: #333333;        /* Dark Grey text */
    --color-gray: #666666;        /* Medium Grey text */
    --color-light: #f5f5f5;       /* Light Background */
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    
    /* Samkooin Style UI Colors */
    --header-height: 80px;
    --container-width: 1200px;
    
    /* Fonts */
    --font-main: 'Pretendard', 'Malgun Gothic', sans-serif;
}

/* Override default.css fixed width for responsiveness */
#hd, #wrapper, #ft { min-width: 0 !important; }

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* { box-sizing: border-box; }
body {
    font-family: var(--font-main);
    color: var(--color-dark);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    word-break: keep-all;
    background-color: var(--color-white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--color-primary); }
ul, li { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
img { max-width: 100%; height: auto; vertical-align: top; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Utility: Screen Reader Only (Hide visual text but keep accessible) */
.sound_only, .hd_pops_sound {
    display: inline-block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    border: 0 !important;
    overflow: hidden !important;
}

/* Popup Layer Container */
#hd_pop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    /* z-index: 9999; */
}

#hd_pop div {
}
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }

/* ==========================================================================
   Header (GNB) - Samkooin Style (Transparent to Solid)
   ========================================================================== */
/* ==========================================================================
   Header (GNB) - Left Hamburger Style
   ========================================================================== */
#hd {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.4s ease;
    background: transparent;
    border-bottom: 1px solid rgb(141 43 43 / 1%);
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
}

#hd.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    color: var(--color-dark);
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scrolled .logo-text{
    background: url(../img/huefamily-hlogo.png) no-repeat left center;
    background-size: cover;
}

/* LEFT: Hamburger & Logo */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1; /* Match header-util ratio */
}

/* Hamburger Button */
.all-menu-btn {
    display: none;
    font-size: 24px;
    color: inherit;
    padding: 10px;
    transition: 0.3s;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.all-menu-btn:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none; /* Hidden by default on PC */
    font-size: 24px;
    padding: 10px;
}

/* Logo */
.logo-text {
    position:relative;
    display: flex;
    width: 270px;
    height: 60px;
    background: url('../img/huefamily-logo.png') no-repeat center;
    align-items: center;
    justify-content: center;
    background-size: cover;
    z-index:999999;
}

/* CENTER: GNB */
/* RIGHT: Utils */
.header-util {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1; /* Match header-left ratio for alignment */
}
.tel-box{
    display: flex;
    padding: 10px 20px;
    background: rgba(0,0,0,0.6);
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 2px solid #f8f8f8;
}
.menu-open .tel-box,.scrolled .tel-box{
    /* color:#fff; */
    background: transparent;
    border: 4px solid #716359;
}
.util-links{
    display: flex;
    gap: 5px;
}
.util-links a{
    padding: 8px 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 1.2em; /* Increase icon size slightly */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-header-util{display:none;}
/* CENTER: GNB */
#gnb {
    flex: 2; /* Center align by flex ratio or justify-content */
    display: flex;
    justify-content: center;
}

.gnb-list {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 800px; /* Limit width to ensure alignment */
}

/* Make GNB items equal width to match dropdown columns easily */
.gnb-item {
    flex: 1;
    text-align: center; /* Align text to start to match dropdown list */
    position: relative;
    padding-left: 20px; /* Indent slightly */
}

.gnb-item > a {
    font-size: 18px;
    font-weight: 700;
    padding: 28px 0;
    display: block;
    position: relative;
    letter-spacing: -0.5px;
    color: #fff; /* Initial Color */
}

/* Hover line */
.gnb-item > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

#hd.scrolled .gnb-item > a {
    color: var(--color-dark);
}

/* Hover OR Active Class (added via JS) */
.gnb-item:hover > a::after,
.gnb-item.active > a::after {
    width: 100%;
}

.gnb-item.active > a {
    color: var(--color-primary) !important; /* Force highlight */
}

/* MEGA MENU / Dropdown - Full Width */
.gnb-dropdown-wrapper {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100vw;
    background: #fff;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    /* border-top: 1px solid rgba(0,0,0,0.05); */
    color: var(--color-dark);
}

.gnb-dropdown-wrapper.active {
    height: 320px; /* Adjusted Height */
}

/* Dropdown Inner Layout */
.gnb-dropdown-inner {
    display: flex;
    height: 100%;
    padding-top: 20px; /* Top padding */
}

/* Spacers to mimic Header Left/Right layout */
.gnb-spacer-left {
    flex: 1; /* Matches Header Left */
}

.gnb-spacer-right {
    flex: 1; /* Matches Header Right */
}

.gnb-dropdown-content {
    flex: 2; /* Matches GNB Center */
    display: flex;
    justify-content: center;
    max-width: 800px; /* Must match .gnb-list max-width */
    width: 100%;
}

.gnb-col {
    flex: 1; /* Matches .gnb-item */
    padding-left: 20px; /* Matches .gnb-item padding */
    border-right: 1px solid #eee; /* Optional separator */
}

.gnb-col:last-child {
    border-right: none;
}

.gnb-col ul {
    margin-top: 10px;
}

.gnb-col ul li {
    margin-bottom: 15px;
}

.gnb-col ul li a {
    font-size: 15px;
    color: #555;
    transition: 0.2s;
    display: block;
}

.gnb-col ul li a:hover {
    color: var(--color-primary);
    font-weight: 500;
    transform: translateX(3px);
}

#hd.menu-open {
    background: #fff;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-border);
}

#hd.menu-open .gnb-item > a {
    color: var(--color-dark);
}

#hd.menu-open #logo img {
    filter: none;
}
#hd.menu-open .logo-text{
    background: url(../img/huefamily-hlogo.png) no-repeat center;
    background-size: cover;
}
#container {	
    width:100%;
    margin:0;
    padding:0;
    z-index:1;
    background:#fff;
    margin-top:0px;
}
.container-custom{
    width:100%;
    max-width: 1400px;
    margin: auto;
}



/* Sidebar Drawer Style */
.all-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.all-menu-drawer {
    position: fixed;
    top: 0;
    left: -320px; /* Slide from Left */
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999999999;
    padding: 20px;
    transition: 0.3s ease-in-out;
    color: var(--color-dark);
}

.all-menu-overlay.active { opacity: 1; visibility: visible; }
.all-menu-drawer.active { left: 0; }

.all-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.all-menu-header .logo-text{
    background: url(../img/huefamily-hlogo.png) no-repeat center;
    background-size: cover;
}
.all-menu-close {
    font-size: 24px;
    color: #333;
}

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

.all-menu-list > li > a.depth1 {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 700;
}

.all-menu-list > li > ul.depth2 {
    display: none;
    background: #fcfcfc;
    padding: 10px 0;
}

.all-menu-list > li.open > ul.depth2 {
    display: block;
}

.depth2 li a {
    display: block;
    padding: 8px 15px;
    color: #666;
    font-size: 15px;
}

.depth2 li a:hover {
    color: var(--color-primary);
}

.mobile-util-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mobile-util-links a {
    font-size: 14px;
    color: #666;
    text-decoration: underline;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0s cubic-bezier(0.22, 0.61, 0.36, 1);
    visibility: hidden;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transform: scale(1.1);
    transition: transform 10s ease;
}

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

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
    text-align: left;
    color: #fff;
    width: 100%;
    max-width: 600px;
    padding: 0;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease 0.3s;
}

.hero-desc {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease 0.5s;
}

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

.btn-hero {
    display: inline-flex;
    padding: 15px 40px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    border-radius: 50px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    /* opacity: 0; */
    gap: 4px;
    transform: translateY(30px);
    transition: all 0.3s, opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
    align-items: center;
}

.btn-hero:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 100px;
    left: 15%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--color-white);
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

.slide-counter {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.current-slide {
    font-size: 24px;
    font-weight: 700;
}

.total-slides {
    opacity: 0.6;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-white);
    width: 0;
    transition: width 0.3s linear;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-slide .hero-content {padding: 0 20px;top: 40%;left: 4%;}
    .slider-controls {
    bottom: 30%;
    left: 10%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--color-white);
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.prev-btn, .next-btn {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

.slide-counter {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.current-slide {
    font-size: 18px;
    font-weight: 700;
}

.total-slides {
    opacity: 0.6;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-white);
    width: 0;
    transition: width 0.3s linear;
}
}

/* ==========================================================================
   Main Page Sections
   ========================================================================== */
.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.section-desc {
    font-size: 18px;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.about-text p {
    font-size: 17px;
    color: var(--color-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Reviews / Service Highlights */
.service-section {
    background-color: var(--color-light);
}

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

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.05);
    border-color: var(--color-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--color-primary);
    transition: 0.3s;
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: #fff;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-gray);
    font-size: 15px;
}

/* Footer & Other tweaks */
#ft {
    background-color: #222;
    color: #999;
    padding: 60px 0;
    font-size: 14px;
}

.ft-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.ft-links a {
    color: #ccc;
    margin-right: 20px;
}

.ft-links a strong {
    color: #fff;
}

.ft-info p {
    margin-bottom: 10px;
}

/* Family Site */
.family-site {
    position: relative;
}


/* Review Slider Floating */
.review-slider-wrap {
    position: absolute;
    top: 57%;
    left: 50%; /* Adjust for balance */
    transform: translateY(-50%);
    width: 660px; /* (320px * 2) + 20px gap */
    height: auto;
    z-index: 20;
    overflow: hidden;
    /* Mask fade on right edge? Optional */
}

.review-track {
    display: flex;
    gap: 20px;
    width: max-content; /* Allow logic to handle width */
    padding: 10px 0; /* Space for shadows */
}

.review-item {
    width: 320px;
    flex-shrink: 0;
    cursor: grab;
    background:rgba(0,0,0,0.5);
    padding:20px;
    border-top-left-radius:20px;
    border-bottom-right-radius:20px;
    transition: opacity 1s cubic-bezier(0.69, 0.12, 0.18, 1.26); /* Add transition for fade effect */
}

.review-img-box {
    position: relative;
    width: 100%;
    height: 240px; /* Square-ish or portrait */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: #000;
}

.review-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.review-item:hover .review-img-box img {
    transform: scale(1.1);
    opacity: 1;
}

.review-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 2;
}

.review-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.badge-blue::before { background: #00a5e3; }     /* Main Blue */
.badge-green::before { background: #4caf50; }    /* Nature Green */
.badge-orange::before { background: #ff9800; }   /* Warm Orange */

.review-txt-box {
    padding: 0 5px;
    text-align: left;
}

.review-txt-box h4 {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.review-txt-box p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    font-weight: 300;
}
.ctt_provision{width:100%;max-width:1400px;margin:50px auto;}
.mobile_only{display:none;}
/* Responsive */
@media (max-width: 1400px) {
    .review-slider-wrap {
        right: 4%;
        width: 600px;
    }
    .review-item {
        width: 290px;
    }
    .review-img-box {
        height: 200px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%; /* Make room */
    }
    .review-slider-wrap {
        width: 45%; 
        right: 2%;
    }
    .review-item {
        width: 100%; /* Stack or single slider? */
        /* Let's keep 2 but smaller? limit space */
        min-width: 200px; 
    }
}

@media (max-width: 768px) {
    .pc_only{display:none;}
    .mobile_only{
        display:flex;
    }
    .review-slider-wrap {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        padding: 30px 20px;
        background: #111; /* Separate section on mobile */
    }
    .review-track {
        width: 100%;
         /* Scroll on mobile */
        padding-bottom: 20px;
    }
    .review-item {
        /* width: 260px; */
    }
    .review-txt-box h4, .review-txt-box p {
        text-shadow: none;
    }
    .ctt_provision{width:100%;max-width:100%;padding:20px;margin: 0;}
}


.family-list {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    background: #333;
    border: 1px solid #444;
    display: none;
}

.family-list li a {
    display: block;
    padding: 10px 15px;
    color: #ccc;
    font-size: 13px;
}

.family-list li a:hover {
    background: #444;
    color: #fff;
}

/* Quick Menu Banner (Below Review Slider) */
.banner-bottom{
    padding-top: 10px;
}
.banner-bottom h4{
    font-size: 24px;
    color: #ffffff;
    padding: 10px 30px;
    text-align: center;
}
.notice-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.35); /* Darker for contrast */
    padding: 15px 30px;
    border-radius: 50px; /* Pill shape like image? Or rounded box? Image shows items with lines. Let's do rounded box first */
    /* Wait, the user image shows a white background bar with icons.
       BUT user said "Tone and style should be similar to current review (which is dark)".
       So I will use Dark background with White text/icons.
    */
    margin-bottom: 20px;
    /* backdrop-filter: blur(10px); */
    border: 1px solid rgba(255,255,255,0.1);
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.3); */
}

.nb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    padding: 5px 10px;
}

.nb-item:hover {
    color: var(--color-primary); /* Highlight color */
    transform: translateY(-2px);
}

.nb-icon {
    font-size: 24px; /* Icon size */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%; /* Circle icon wrapper per image style somewhat? Image had circle. */
    /* Actually image shows circle around exclamation. Let's replicate generally. */
}

.nb-item:hover .nb-icon {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.nb-text {
    font-size: 16px;
    font-weight: 500;
}

.nb-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    margin: 0 10px;
}

/* Mobile tweak */

/* Service Products Section */
.service-products {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7f5 100%);
    padding: 80px 0;
}

.sec-header {
    margin-bottom: 50px;
}

.sub-title-en {
    display: block;
    color: #9ac715;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Red Hat Display', sans-serif; /* Applied Requested Font */
}

.main-title {
    font-size: 50px;
    margin-bottom: 15px;
    color: #333;
}

.desc-text {
    color: #666;
    font-size: 16px;
}

.sp-content-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Left Info Area */
.sp-info-box {
    flex: 0 0 35%;
}

.sp-info-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.sp-info-box p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
}

.sp-icons {
    display: flex;
    gap: 30px;
}

.sp-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #555;
}

.sp-icon-item i {
    font-size: 32px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin-bottom: 5px;
    transition: 0.3s;
}

.sp-icon-item span {
    font-size: 14px;
}

.sp-icon-item:hover i {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

/* Right Cards Area */
.sp-cards-box {
    flex: 1;
    display: flex;
    gap: 20px;
}

.sp-card {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 20px;
    text-align: center;
    border-radius: 5px; /* Boxy look per image */
    transition: 0.3s;
}

.sp-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: var(--color-secondary);
}

.sp-card h4 {
    font-size: 22px;
    margin-bottom: 20px;
}

.sp-divider {
    width: 20px;
    height: 2px;
    background: #333;
    margin: 0 auto 30px;
}

.sp-card-details {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sp-card-details dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Internal spacing */
    gap: 10px;
}

.sp-card-details dt {
    color: #888;
    font-size: 15px;
}

.sp-card-details dd {
    font-size: 16px;
    font-weight: 500;
}

.sp-card-details dd strong {
    font-size: 20px; /* Emphasize numbers */
    color: #333;
}

.btn-more {
    display: inline-block;
    padding: 10px 30px;
    background: #eee;
    color: #555;
    border-radius: 50px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-more:hover {
    background: var(--color-secondary);
    color: #fff;
}


/* Floating Vertical Menu */
#floating-menu {
    position: fixed;
    right: 20px;
    bottom: 50px; /* Adjust vertical position */
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s;
}

#floating-menu.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#floating-menu a,
#floating-menu button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5); /* Grey circle as per image */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: none;
}

#floating-menu a:hover,
#floating-menu button:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

#floating-menu i {
    font-size: 20px;
    margin-bottom: 3px;
}

.fm-text {
    font-size: 10px;
    font-weight: 500;
}

#fm-top-btn {
    display: none;
    background: #444; /* Darker for top btn */
    margin-top: 10px;
}

/* Quote Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
}

.modal-overlay.active {
    display: block !important;
}

.modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    padding: 5px;
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
}

.modal-header h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.modal-header p {
    color: #666;
    font-size: 14px;
}

.modal-body .form-group {
    margin-bottom: 15px;
}

.box-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.box-input input {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 15px;
    font-size: 15px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    height: 50px;
    background: #333;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    border-radius: 5px;
    transition: 0.3s;
}


/* Service Process Steps */
.sp-process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* Compact spacing */
    margin-bottom: 20px;
    /* background: #f8f8f8; */
    padding: 15px 10px;
    border-radius: 10px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #555;
    flex: 1; /* Distribute evenly */
}

.step-item i {
    font-size: 20px;
    color: var(--color-white);
    background: #9ac715;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* border: 4px solid #00a5e3; */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.step-item span {
    font-size: 14px;
    font-weight: 600;
}

.step-arrow {
    color: #ccc;
    font-size: 24px;
    margin-top: -21px;
}

.sp-card-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    word-break: keep-all;
    background: #fff;
    padding: 0 10px;
}

/* Quick Menu */
#quick-consult-banner {
    display: block !important; /* Force display to prevent interaction conflicts */
    position: fixed;
    right: -3px;
    bottom: 126px; /* Above the quick menu buttons */
    width: 200px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 901;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    text-align: center;
    border: 3px solid rgb(255 255 255 / 50%);
    font-family: 'Pretendard', dotum, sans-serif;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    transition: right 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s, visibility 0.5s; /* Slide & Fade Animation */
    opacity: 1; 
    visibility: visible;
}

/* Hidden when scrolled out of Hero (User Logic: Hide when scroll > 300) */
#quick-consult-banner.hidden-by-scroll {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#quick-consult-banner.closed {
    right: -200px !important; /* Move off-screen but keep button visible */
}

.banner-close {
    display: flex;
    position: absolute;
    top: 20px;
    left: -43px; /* Left side closing button like image */
    width: 40px;
    height: 40px;
    background: rgb(255 255 255 / 50%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.banner-header {
    padding-top: 20px;
}

.banner-title {
    color: #ffffff;
    font-size: 18px; /* Increased font size */
    font-weight: 600; /* Extra bold */
    line-height: 1.2;
    margin-bottom: 5px;
    letter-spacing: -.5px;
}

.banner-highlight {
    color: #7adbff;
    font-size: 38px; /* Large 100% */
    font-weight: 700;
    line-height: 1;
    margin: 5px 0;
    letter-spacing: -1.5px;
}

.banner-highlight span {
    font-size: 24px;
    display: block;
    margin-top: 5px;
    color: #9ac715;
}

.banner-img {
    margin-top: 10px;
    height: 157px;
    overflow: hidden;
    /* border-radius: 6px; */
}

.banner-img img {
    max-width: 100%;
    margin-bottom: 0px; /* Pull closer to input area */
    margin-top: -69px;
}

.banner-form {
    /* background: #fff; */
    padding: 15px;
}

.banner-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px;
    margin-bottom: 5px;
    font-size: 16px;
    outline: none;
    color: #fff;
    border-radius: 6px;
    background: #1d1d1d96;
}

.banner-agree {
    margin-top: 10px;
    text-align: left;
    font-size: 11px;
    color: #cfcfcf;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.banner-agree label {
    line-height: 1.3;
    cursor: pointer;
}

.banner-submit {
    width: 84%;
    background: #949494;
    color: #fff;
    border: none;
    padding: 5px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 15px;
    border-radius: 17px;
}

.banner-submit:hover {
    background: #008ac9;
}

@media (max-width: 768px) {
    #quick-consult-banner {
        display: none !important; /* Hide on mobile by default unless requested */
    }
}

.quick-menu {
    position: fixed;
    right: 58px;
    bottom: 100px;
    z-index: 900;
    display: flex;
    gap: 10px;
}

.quick-btn {
    width: 100%;
    height: 50px;
    /* background: #9ac715; */
    color: #9ac715;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 16px;
    font-size: 26px;
    font-weight: 700;
    transition: 0.3s;
    letter-spacing: -1.5px;
}

.quick-btn i {
    display: flex;
    width: 30px;
    height: 30px;
    /* background: #ffffff; */
    font-size: 18px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    color: #9ac715;
    margin-right: 5px;
    border: 1px solid #fff;
}

.quick-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-5px);
    color: #fff;
}

#top_btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #333;
    color: #fff;
    border-radius: 5px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

#top_btn.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Responsive / Media Queries
   ========================================================================== */
/* PC Large (Default > 1200px) is handled by base styles */

/* Laptop (1024px ~ 1200px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    :root {
        --container-width: 1000px; /* Shrink container */
    }
    
    .gnb-list { gap: 30px; }
    .gnb-list > li > a { font-size: 16px; padding: 28px 0; }
    .logo-text { font-size: 20px; }
    .tel-box { font-size: 16px; }
    
    .gnb-col { width: 180px; }
}

/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 60px; /* Smaller Header */
    }

    /* Common */
    .container-custom {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Header */
    .header-left { flex: 0; }
    .all-menu-btn.pc-only { display: none !important; }
    
    /* Hide GNB */
    #gnb, .gnb-dropdown-wrapper { display: none !important; }
    
    /* Mobile Toggle */
    .mobile-menu-btn {display: block;font-size: 24px;color: #fff;}
    .scrolled .mobile-menu-btn{
        color: #716359;
    }
    /* Logo */
    .logo-text {font-size: 0;width: 166px;height: 76px;margin-left: -20px;}
    
    /* Utils */
    .header-util { flex: 0; gap: 0; }
    .util-links, .tel-box { display: none; } 
    
    .header-inner { justify-content: space-between; }
    
    /* Hero */
    .hero-title { font-size: 3rem; }
    .hero-desc { font-size: 1.2rem; }
    
    /* Service Grid (2 cols) */
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* About */
    .about-content { flex-direction: column; gap: 30px; }
    .about-img, .about-text { width: 100%; flex: auto; }
}
/* Responsive */
@media (max-width: 991px) {
    .sp-content-wrap {
        flex-direction: column;
        text-align: center;
    }
    
    .sp-info-box {
        margin-bottom: 30px;
    }
    .sec-header{
        margin-bottom: 20px;
    }
    .sub-title-en{
        font-size: 1em;
        letter-spacing: -.5px;
    }
    .main-title{
        font-size: 1.8em;
    }
    .sp-info-box p{
        font-size: 1em;
        margin-bottom: 20px;
    }
    .desc-text{font-size: 0.875em;line-height: 1.2;}
    .sp-icons {
        justify-content: center;
    }
    
    .sp-cards-box {
        width: 100%;
        flex-direction: column;
    }
    .step-item i{
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    .ctt_join_step .step-item i{
        width: 50px;
        height: 50px;
        font-size: 0.7em;
    }
    .sp-cards-box {
        flex: 1;
        display: flex;
        gap: 20px;
    }
    
    .sp-card {
        flex: 1;
        background: #fff;
        border: 1px solid #eee;
        padding: 40px 20px;
        text-align: center;
        border-radius: 5px; /* Boxy look per image */
        transition: 0.3s;
    }
    
    .sp-card:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transform: translateY(-5px);
        border-color: var(--color-secondary);
    }
    
    .sp-card h4 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .sp-divider {
        width: 20px;
        height: 2px;
        background: #333;
        margin: 0 auto 30px;
    }
    
    .sp-card-details {
        gap: 5px;
    }
    
    .sp-card-details dl {
        padding: 0 10px; /* Internal spacing */
        gap: 5px;
    }
    
    .sp-card-details dt {
        color: #888;
        font-size: 15px;
    }
    
    .sp-card-details dd {
        font-size: 16px;
        font-weight: 500;
    }
    
    .sp-card-details dd strong {
        font-size: 20px; /* Emphasize numbers */
        color: #333;
    }
}
/* Mobile ( < 768px) */
@media (max-width: 767px) {
    /* Hero */
    .hero-title { font-size: 2.2rem; margin-bottom: 15px; }
    .hero-desc { font-size: 1rem; margin-bottom: 30px; }
    .hero-content { padding: 0 15px; }
    .btn-hero { padding: 12px 30px; font-size: 14px; }
    .mobile-header-util{display:flex;}
    .mobile-header-util a{width: auto;font-size:14px;padding: 0px 5px;border-radius: 4px;height: auto;border: 1px solid #ddd;}
    
    /* Section Formatting */
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .section-desc { font-size: 15px; }
    
    /* Service Grid (1 col) */
    .service-grid { grid-template-columns: 1fr; gap: 20px; }

    .service-grid {}
    .service-card { padding: 30px; }
    .banner-bottom h4{font-size:18px}
    .notice-banner {
        display: flex; 
        padding: 30px;
        margin-bottom: 20px;
        border: 1px solid rgba(255,255,255,0.1);
        flex-wrap: wrap;
        border-radius: 6px;
    }

    .nb-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: #fff;
        transition: 0.3s;
        padding: 5px 10px;
    }
    
    .nb-item:hover {
        color: var(--color-primary); /* Highlight color */
        transform: translateY(-2px);
    }
    
    .nb-icon {
        font-size: 24px; /* Icon size */
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 50%; 
    }
    
    .nb-item:hover .nb-icon {
        border-color: var(--color-primary);
        background: var(--color-primary);
        color: #fff;
    }
    
    .nb-text {
        font-size: 16px;
        font-weight: 500;
    }
    
    .nb-divider {
        display: none;
    }
    
    /* Footer */
    #ft{
        padding: 30px 0;
    }
    .ft-top {flex-direction: column;align-items: flex-start;gap: 0;}
    .ft-links {display: flex;width: 100%;padding: 10px 0;flex-direction: row;gap: 5px;justify-content: space-between;}
    .ft-info {font-size: 12px;line-height: 1.6;}
    
    /* Quick Menu */
    .quick-menu { right: 15px; bottom: 80px; }
    .quick-btn { width: 50px; height: 50px; font-size: 10px; }
    .quick-btn i { font-size: 16px; }
    #top_btn { right: 15px; bottom: 15px; }
    #floating-menu{
        right:10px;
        bottom: 80px; /* Above 70px bar */
    }
    .ft-links a{
        margin-right: 10px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Mobile Quick Consult Banner (Sticky Bottom)
   ========================================================================== */
#mobile-quick-bar {
    display: none; /* Hidden on Desktop */
}

#mobile-consult-sheet {
    display: none; /* Hidden on Desktop */
}

@media (max-width: 768px) {
    #mobile-quick-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 0 20px;
        z-index: 9999;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
    }
    
    .mq-text p {
        font-size: 16px;
        font-weight: 700;
        color: #333;
        margin-bottom: 2px;
    }
    
    .mq-text span {
        font-size: 12px;
        color: var(--color-primary);
        font-weight: 500;
    }
    
    .mq-btns {
        display: flex;
        gap: 10px;
    }
    
    .mq-btn {
        height: 40px;
        padding: 0 15px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        text-decoration: none;
        transition: 0.3s;
    }
    
    .btn-call {
        background: #333;
        color: #fff;
    }
    
    .btn-consult {
        background: var(--color-primary);
        color: #fff;
        border: none;
    }
    
    /* Bottom Sheet Modal */
    #mobile-consult-sheet {
        display: block; /* Active in DOM but hidden via positioning */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10000;
        visibility: hidden;
        opacity: 0;
        transition: 0.3s;
    }
    
    #mobile-consult-sheet.active {
        visibility: visible;
        opacity: 1;
    }
    
    .mcs-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
    }
    
    .mcs-container {
        position: absolute;
        bottom: -100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        padding: 25px;
        transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        padding-bottom: 40px; /* Safe area */
    }
    
    #mobile-consult-sheet.active .mcs-container {
        bottom: 0;
    }
    
    .mcs-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
    
    .mcs-header h3 {
        font-size: 18px;
        font-weight: 700;
        color: #333;
    }
    
    .mcs-close {
        font-size: 20px;
        background: none;
        border: none;
        color: #999;
        padding: 5px;
    }
    
    .mcs-desc {
        font-size: 14px;
        color: #666;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .mcs-input-group {
        margin-bottom: 15px;
    }
    
    .mcs-input-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 5px;
        color: #333;
    }
    
    .mcs-input {
        width: 100%;
        height: 45px;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 0 10px;
        font-size: 14px;
    }
    
    .mcs-agree {
        margin-top: 15px;
        margin-bottom: 25px;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .mcs-submit-btn {
        width: 100%;
        height: 50px;
        background: var(--color-primary);
        color: #fff;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
    }
}
/* ==========================================================================
   Family Site Dropdown Styles
   ========================================================================== */
.ft-family {
    position: relative;
}

.family-site {
    position: relative;
    display: inline-block;
}

.family-btn {
    border: 1px solid #747474;
    background: #000;
    padding: 5px 20px;
    font-size: 14px;
    color: #c0c0c0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 30px;
    min-width: 160px;
    justify-content: space-between;
    transition: 0.3s;
}

.family-btn:hover, .family-btn.active {
    border-color: #999;
    color: #888;
}

.family-btn i {
    transition: 0.3s;
}

.family-btn.active i {
    transform: rotate(180deg);
}

.family-list {
    display: none; /* Hidden by default */
    position: absolute;
    bottom: 27px; /* Above the button height approx */
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 10;
    box-shadow: 0 -5px 10px rgba(0,0,0,0.05);
    max-height: 200px;
    overflow-y: auto;
}

.family-list li {
    border-bottom: 1px solid #f5f5f5;
}

.family-list li:last-child {
    border-bottom: none;
}

.family-list li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
    transition: 0.2s;
}

.family-list li a:hover {
    background: #f9f9f9;
    color: #00a5e3; /* Primary Color approximation or var(--color-primary) */
}

