:host, :root {
    font-size: 20px;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    --yarl__color_backdrop: rgba(59,69,78,.4);
    --yarl__color_button: var(--tblr-color-text-on-dark);
    --yarl__button_filter: none;
    --yarl__thumbnails_thumbnail_background: #fff
}

.yarl__container {
    -webkit-backdrop-filter: var(--tblr-filter-blur-sm);
    backdrop-filter: var(--tblr-filter-blur-sm)
}

.hero-section {
    position: relative;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h1 {
    color: #fff;
    font-weight: bold;
}

.hero-content p {
    color: #fff;
}

.parallax-section {
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.decision-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .decision-image {
        height: 150px;
    }
}

/* Swiper container styles */
.swiper-container {
    padding-bottom: 50px; /* Add padding to make room for pagination */
}

/* Swiper slide styles */
.swiper-slide img {
    width: 100%;
    /* height: 200px; */
    object-fit: none;
}

/* Swiper pagination styles */
.swiper-pagination {
    position: relative;
    /* bottom: auto !important; */
    bottom: 20px !important; /* Adjust this value as needed */
}

.swiper-pagination-bullet {
    background: #999; /* Default gray color */
    opacity: 1;
}

.dark-section .swiper-pagination-bullet {
    background: #ffffff; /* Default gray color */
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #007bff; /* Active blue color */
}

.dark-section .swiper-pagination-bullet-active {
    background: #007bff; /* Active blue color */
}

@media (max-width: 768px) {
    .swiper-slide img {
/*        height: 150px;*/
    }
}

.swiper-slide   {
     text-align:center;
}

.custom-section {
    padding: 2rem 0;
}

.dark-section {
    background-color: #1a2234; /* Tabler의 다크 모드 배경색 */
    color: #ffffff;
}

.dark-section .card {
    background-color: #232e3c; /* Tabler의 다크 모드 카드 배경색 */
}

.dark-consult {
    background-color: #586d9f; /* Tabler의 다크 모드 배경색 */
    color: #ffffff;
}

.dark-consult .card {
    background-color: #ffffff; /* Tabler의 다크 모드 카드 배경색 */
}


.sw-theme-dots > ul.step-anchor {
    margin: 0 auto;
    width: 500px;
}

.sw-theme-dots > ul.step-anchor > li {
    min-width: 100px;
}

.btn-group.mr-2.sw-btn-group {
    display: none;
}

.answer {
    font-size: 17px;
    padding: 25px;
    padding-top: 30px;
}

.answer p {
    font-size: 15px;
    padding-bottom: 5px;
    /* color: #737373; */
    color: #066fd1;
}

.answer textarea {
    margin-top: 15px;
}


.fm {
    max-width: 500px;
    margin: 0 auto;
}

.sw-main {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: .25rem !important;
    /* background-color: #E2DDD7 !important; */
    border-radius: 4px 4px 0 0;
    color: black;
}

.checkbox, .radio {
    margin-bottom: 15px;
}

.num {
    display: inline-block;
    max-width: 130px;
    text-align: right;
    font-size: 16px;
}

.width50 {
    width: 50px;
}

.form-check-input[type=radio] {
    border-color: #9b9b9b;
}


.fgroup, .fgroup2 {
    text-align: left;
    font-weight: normal;
    font-size: 16px
}

.fgroup {
    height: 45px;
    display: table
}

.fgroup span {
    padding-right: 10px;
    font-size: 15px
}

.fgroup input {
    background-color: #fff;
    width: 100%;
    border: 1px solid #d2d2d2;
    padding: 5px;
    font-family: "Noto Sans KR",sans-serif,"Nanum Gothic","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: initial;
    color: #000
}

.fgroup2 textarea {
    background-color: #fff;
    width: 100%;
    border: 1px solid #d2d2d2;
    padding: 10px;
    color: #000;
    font-family: "Noto Sans KR",sans-serif,"Nanum Gothic","Helvetica Neue",Helvetica,Arial,sans-serif
}

.fgroup input {
    width: 83%
}

.fgroup span, .fgroup2 span {
    font-size: 17px;
    float: left;
    min-width: 100px
}


@media(min-width: 768px) {

    .fgroup {
        height: 45px;
        display: block
    }

    .fgroup input {
        width: 73%
    }
}

.max-width-200 {
    max-width: 200px;
}

.service-item {
    padding: 30px;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.service-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(135deg, #6e8efb, #96c03d);
    transition: all 0.3s ease;
}

.icon-wrapper i {
    font-size: 32px;
    color: white;
}

.service-item:hover .icon-wrapper {
    transform: scale(1.1);
}

.service-item h4 {
    margin-top: 20px;
    font-weight: 600;
}

.service-item p {
    color: #6c757d;
    font-size: 0.9rem;
}


.fixed-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.fixed-bottom-menu .btn {
    padding: 10px;
    font-size: 14px;
}

.fixed-bottom-menu .btn i {
    font-size: 20px;
    margin-right: 5px;
}

/* 모바일에서만 표시 */
@media (min-width: 768px) {
    .fixed-bottom-menu {
        display: none;
    }
}

/* 하단 메뉴로 인해 가려지는 컨텐츠 방지 */
body {
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}


/* 면책결정 Swiper 슬라이드 스타일 */
.customer-m-swiper {
    width: 100%;
    padding-bottom: 50px; /* 페이지네이션 공간 확보 */
}

.customer-m-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-m-swiper .card {
    width: 100%;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.customer-m-swiper .card-body {
    text-align: center;
}

.customer-m-swiper .blockquote-footer {
    margin-top: 15px;
    font-style: normal;
    color: #555;
}

/* Swiper 페이지네이션 스타일 */
.customer-m-pagination {
    position: relative !important;
    top: 20px;
    text-align: center;
}

.customer-m-pagination .swiper-pagination-bullet {
    background: #999; /* 기본 회색 */
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 5px !important;
    border-radius: 50%;
}

.customer-m-pagination .swiper-pagination-bullet-active {
    background: #007bff; /* 활성화 시 파란색 */
}

/* 네비게이션 버튼 스타일 */
.customer-m-next,
.customer-m-prev {
    color: #007bff;
}

.customer-m-next:hover,
.customer-m-prev:hover {
    color: #0056b3;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .customer-m-swiper .swiper-slide .card {
        max-width: 300px;
    }
}


/* 고객 후기 Swiper 슬라이드 스타일 */
.customer-reviews-swiper {
    width: 100%;
    padding-bottom: 50px; /* 페이지네이션 공간 확보 */
}

.customer-reviews-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-reviews-swiper .card {
    width: 100%;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.customer-reviews-swiper .card-body {
    text-align: center;
}

.customer-reviews-swiper .blockquote-footer {
    margin-top: 15px;
    font-style: normal;
    color: #555;
}

/* Swiper 페이지네이션 스타일 */
.customer-reviews-pagination {
    position: relative !important;
    top: 20px;
    text-align: center;
}

.customer-reviews-pagination .swiper-pagination-bullet {
    background: #999; /* 기본 회색 */
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 5px !important;
    border-radius: 50%;
}

.customer-reviews-pagination .swiper-pagination-bullet-active {
    background: #007bff; /* 활성화 시 파란색 */
}

/* 네비게이션 버튼 스타일 */
.customer-reviews-next,
.customer-reviews-prev {
    color: #007bff;
}

.customer-reviews-next:hover,
.customer-reviews-prev:hover {
    color: #0056b3;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .customer-m-swiper .swiper-slide .card {
        max-width: 300px;
    }
}

/* 네비게이션 버튼 스타일 */
.customer-m-next,
.customer-m-prev {
    color: #007bff;
}

.customer-m-next:hover,
.customer-m-prev:hover {
    color: #0056b3;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .customer-m-swiper .swiper-slide .card {
        max-width: 300px;
    }
}

/* 하단 고정 메뉴 스타일 */
.fixed-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.fixed-bottom-menu .btn {
    padding: 10px;
    font-size: 14px;
}

.fixed-bottom-menu .btn i {
    font-size: 20px;
    margin-right: 5px;
}

/* 모바일에서만 표시 */
@media (min-width: 768px) {
    .fixed-bottom-menu {
        display: none;
    }
}

/* 하단 메뉴로 인해 가려지는 컨텐츠 방지 */
body {
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* 헤더 고정 스타일 */
body {
    padding-top: 76px; /* 헤더의 높이만큼 상단 패딩 추가 */
}

.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 991px) {
    body {
        padding-top: 56px; /* 모바일에서는 헤더 높이가 다를 수 있으므로 조정 */
    }
}


#review .swiper-slide img, #disclaimer .swiper-slide img, #bestcase .swiper-slide img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

section#review .card-body img, section#disclaimer .card-body img, section#bestcase .card-body img {
    max-height: 350px;
}

@media (min-width: 768px) {
    .sw-main {
        max-width: 700px;
        margin: 0 auto;
    }
}


.container.fixContact {
    max-width: 798px;
    margin: 0 auto;
    margin-top: 70px !important
}

.fix-contact {
    background-color: #8a97ab;
    color: #fff;
    text-align: center;
    height: 60px;
    position: fixed;
    bottom: 0;
    z-index: 100;
    width: 100%;
    margin-left: -15px
}

.fix-contact div {
    width: 33%;
    float: left;
    height: 100%;
    vertical-align: middle
}

.fix-contact .btn-theme {
    margin-top: 13px;
    font-size: 17px
}

.fix-contact h3 {
    max-width: 85px;
    font-size: 20px;
    text-align: center;
    margin: 0 auto;
    margin-top: 7px
}

.fix-contact .btn-theme {
    color: #fff;
    background-color: #6f410b;
    border-color: #6f410b
}

@media(min-width: 768px) {
    .fix-contact {
        background-color: #8a97ab;
        color: #fff;
        text-align: center;
        height: 60px;
        position: relative;
        bottom: 0;
        z-index: 100;
        width: 100%;
        margin-left: 0
    }

    .fix-contact h3 {
        max-width: inherit;
        font-size: 20px;
        text-align: center;
        margin: 0 auto;
        margin-top: 20px
    }
}

.decision-swiper .swiper-slide img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
