/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Nunito", sans-serif;
}

:root {
    --background-color: #ffffff;
    --default-color: #444444;
    --heading-color: #111111;
    --accent-color: #c5c1c1;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    /* color: var(--accent-color); */
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    padding: 0;
}

.hero .carousel {
    width: 100%;
    min-height: calc(100vh - 75px);
    padding: 0;
    margin: 0;
    position: relative;
}

@media (max-height: 500px),
(max-width: 1200px) {
    .hero .carousel {
        min-height: calc(100vh - 48px);
    }
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 918px;
    object-fit: cover;
    z-index: 1;
}

.hero .carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero .container {
    background: color-mix(in srgb, var(--surface-color), transparent 40%);
    position: relative;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 50px;
    border-top: 4px solid var(--accent-color);
    z-index: 3;
}

@media (max-width: 1200px) {
    .hero .container {
        margin-left: 50px;
        margin-right: 50px;
    }
}

.hero h1,
.hero h2 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 700;
}

@media (max-width: 768px) {

    .hero h1,
    .hero h2 {
        font-size: 30px;
    }
}

.hero p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
    color: white;
}

.hero .btn-get-started,
.hero .btn-calculator {
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 32px;
    transition: 0.5s;
    margin: 10px;
    border-radius: 4px;
    color: var(--contrast-color);
    border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover,
.hero .btn-calculator:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.hero .carousel-control-prev {
    justify-content: start;
}

@media (min-width: 640px) {
    .hero .carousel-control-prev {
        padding-left: 15px;
    }
}

.hero .carousel-control-next {
    justify-content: end;
}

@media (min-width: 640px) {
    .hero .carousel-control-next {
        padding-right: 15px;
    }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
    background: none;
    font-size: 26px;
    line-height: 0;
    background: color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 50px;
    color: var(--contrast-color);
    transition: 0.3s;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    transition: 0.3s;
    opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
    opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 0.9;
}

.hero .carousel-control-prev:hover .carousel-control-next-icon,
.hero .carousel-control-prev:hover .carousel-control-prev-icon,
.hero .carousel-control-next:hover .carousel-control-next-icon,
.hero .carousel-control-next:hover .carousel-control-prev-icon {
    background: var(--accent-color);
    color: var(--default-color);
}

.hero .carousel-indicators {
    margin-bottom: 30px;
}

.hero .carousel-indicators li {
    cursor: pointer;
    background: var(--default-color);
    overflow: hidden;
    border: 0;
    width: 12px;
    height: 12px;
    border-radius: 50px;
    opacity: 0.6;
    transition: 0.3s;
}

.hero .carousel-indicators li.active {
    opacity: 1;
    background: var(--accent-color);
}

.hero .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

.intro__item {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.intro__item__icon {
    text-align: center;
    margin-bottom: 15px;
}

.intro__item__icon i {
    font-size: 2.5rem;
    color: #ffc107;
}

.intro__item__title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.intro__item__text p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.intro__item__text i {
    color: #28a745;
    font-size: 1.1rem;
}

.intro__item__text .watchout i {
    color: #dc3545;
}

.intro__item__text .fa-times-circle {
    color: #dc3545;
}

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

@media (max-width: 576px) {
    .intro__list {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    background-color: var(--surface-color);

    height: 100%;
    padding: 80px 30px;
    text-align: center;
    border-radius: 5px;
}

.services .service-item .icon {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* transition: ease-in-out 0.3s; */
    position: relative;
}

.services .service-item .icon i {
    font-size: 36px;
    /* transition: 0.5s; */
    position: relative;
}

.services .service-item .icon svg {
    position: absolute;
    top: 0;
    left: 0;
}

.services .service-item .icon svg path {
    /* transition: 0.5s; */
    fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
    font-weight: 700;
    margin: 10px 0 15px 0;
    font-size: 22px;
}

.services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .service-item.item-cyan i {
    color: #0dcaf0;
}

.services .service-item.item-orange i {
    color: #fd7e14;
}

.services .service-item.item-teal i {
    color: #20c997;
}

.services .service-item.item-red i {
    color: #df1529;
}

.services .service-item.item-indigo i {
    color: #6610f2;
}

.services .service-item.item-pink i {
    color: #f3268c;
}

section,
.section {
    color: var(--default-color);
    /* background-color: var(--background-color); */
    padding: 70px 0;
    scroll-margin-top: 100px;
    overflow: clip;
}

.light-background {
    background-color: #f7f7f7;
    --surface-color: #ffffff;
}

.form-table {
    width: 700px;
    padding: 70px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(35, 57, 55, 0.45);
    background-image: linear-gradient(to bottom, #fff, #fff);
    background-color: transparent;
    margin: 40px 0px;
}

.form-title {
    white-space: nowrap;
    margin-right: 10px;
    font-weight: 700 !important;
    font-size: 22px !important;
    letter-spacing: 0.1em;
    font-family: "Noto Sans TC", Sans-serif;
    color: #7A7A7A;
}

.table-select {
    margin-top: 10px;
    flex-basis: 75%;
    font-size: 22px !important;
    font-weight: 700 !important;
    border: 0;
    letter-spacing: 0.1em;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e4efee), to(#e4efee));
}

.table-select option {
    font-size: 22px;
}

.lineFormTable input {
    width: 100%;
    margin-top: 10px;
    border: 0px;
    flex-basis: 75%;
    font-size: 22px;
    font-weight: 700;
    font-family: "Noto Sans TC", sans-serif;
    letter-spacing: 0.1em;
    font-family: "Noto Sans TC", Sans-serif;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e4efee), to(#e4efee))
}

.sub-btn {
    margin-top: 50px;
    transition: 0.4s all;
    border-radius: 10px;
    width: 200px;
    height: 60px;
    font-size: 22px !important;
    font-family: 700 !important;
}

.Kv_FormTitle {
    font-size: 2rem !important;
    color: #0f484f;
    position: relative;
    font-weight: bold !important;
    z-index: 0;
    display: inline-block;
    letter-spacing: 0.05em;
}

.step {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.step .service-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.step .service-item:hover {
    transform: translateY(-10px);
}

.step .icon {
    margin-bottom: 20px;
}

.step .icon i {
    font-size: 48px;
    color: #0ea2bd;
}

.step .step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
}

.step .service-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c4964;
}

.step .service-item p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 0;
}

.form-container {
    display: flex;
    justify-content: center;
}

/* 響應式調整 */
@media (max-width: 991px) {
    .step .service-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {

    section,
    .section {
        color: var(--default-color);
        /* background-color: var(--background-color); */
        padding: 0px 0;
        scroll-margin-top: 100px;
        overflow: clip;
    }

    .step {
        padding: 40px 0;
    }

    .step .service-item {
        padding: 30px 20px;
    }

    .step .icon i {
        font-size: 36px;
    }

    .step .service-item h3 {
        font-size: 18px;
    }

    .step .service-item p {
        font-size: 14px;
    }
}

.info {
    padding: 60px 0;
    background-color: #fff;
}

.info .feature-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.info .feature-item:hover {
    transform: translateY(-10px);
    background: #fff;
}

.info .icon {
    margin-bottom: 20px;
}

.info .icon i {
    font-size: 48px;
    color: #0ea2bd;
}

.info .feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c4964;
}

.info .feature-item p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 0;
}

/* 響應式調整 */
@media (max-width: 991px) {
    .info .feature-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .info {
        padding: 40px 0;
    }

    .info .feature-item {
        padding: 30px 20px;
    }

    .info .icon i {
        font-size: 36px;
    }

    .info .feature-item h3 {
        font-size: 18px;
    }

    .info .feature-item p {
        font-size: 14px;
    }
}