/**
* Template Name: Mentor
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
/* 罕用字補字：全字庫正楷體 Ext-B 的 subset（檔案與 kaohsiungfun 相同）。
   unicode-range 限定只用於擴充 B 區以後（含 C～F 區、Plane 3）與相容漢字區，排在字型清單第一順位也不影響一般文字。
   順序不可對調：微軟正黑體若排在前面，相容漢字（如兪形的諭 U+2F9D0）會被畫成一般字形；
   擴充 B 區的字在沒裝全字庫字型的電腦上則會變成方框。 */
@font-face {
    font-family: "CNSExt";
    src: url("../../fonts/cns-ext.woff2") format("woff2");
    unicode-range: U+20000-2FA1F, U+30000-3134F;
    font-display: swap;
}

:root {
    --default-font: "CNSExt", "微軟正黑體", sans-serif;
    --heading-font: "CNSExt", "微軟正黑體", sans-serif;
    --nav-font: "CNSExt", "微軟正黑體", sans-serif;
    --bs-body-font-size: 1.125rem;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: rgb(23, 24, 23); /* Default color used for the majority of the text content across the entire website */
    --heading-color: #834a83; /* #8c548c Color for headings, subheadings and title throughout the website */
    --accent-color: #af70af; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --accent-color2: #58c5aa;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #272828; /* The default color of the main navmenu links */
    --nav-hover-color: #70c83a; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #272828; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #70c83a; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f9f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/* ----------------------------------- */
.bg-subtitle {
    --bs-bg-opacity: 1;
    background-color: var(--accent-color) !important;
}



/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    /*background-color: var(--background-color);*/
    font-family: var(--default-font);
    /*background:linear-gradient( #70c83ab8 100%, #70c83ab8 100%),url("../img/close-up-flowering-plant-field.jpg");*/
    background-image: url("../img/closeup-red-poppies-field.jpg");
    background-size: cover;
    background-position: center center;
}

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(--default-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--accent-color);
        border-top-color: var(--surface-color);
        animation: php-email-form-loading 1s linear infinite;
    }

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

    .pulsating-play-btn:before {
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        animation-delay: 0s;
        animation: pulsate-play-btn 2s;
        animation-direction: forwards;
        animation-iteration-count: infinite;
        animation-timing-function: steps;
        opacity: 1;
        border-radius: 50%;
        border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
        top: -15%;
        left: -15%;
        background: rgba(198, 16, 0, 0);
    }

    .pulsating-play-btn:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-40%) translateY(-50%);
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid #fff;
        z-index: 100;
        transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .pulsating-play-btn:hover:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-40%) translateY(-50%);
        width: 0;
        height: 0;
        border: none;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid #fff;
        z-index: 200;
        animation: none;
        border-radius: 0;
    }

    .pulsating-play-btn:hover:after {
        border-left: 15px solid var(--accent-color);
        transform: scale(20);
    }

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    /*background-color: var(--background-color);*/
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
}

    .header .logo {
        line-height: 1;
    }

        .header .logo img {
            max-height: 100px;
            max-width: 85%;
        }

        .header .logo h1 {
            font-weight: 700;
            font-size: 1.875rem;
            margin: 0;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--accent-color);
        }

    .header .btn-getstarted,
    .header .btn-getstarted:focus {
        color: var(--contrast-color);
        background: var(--accent-color2);
        font-size: 1.125rem;
        padding: 8px 25px;
        margin: 0 0 0 30px;
        border-radius: 50px;
        transition: 0.3s;
    }

        .header .btn-getstarted i,
        .header .btn-getstarted i:focus {
            font-size: 1.125rem;
            padding-right: 8px;
        }

        .header .btn-getstarted:hover,
        .header .btn-getstarted:focus:hover {
            color: var(--contrast-color);
            background: color-mix(in srgb, var(--accent-color), transparent 15%);
        }

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 15px;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-color);
            padding: 18px 15px;
            font-size: 1rem;
            font-family: var(--nav-font);
            font-weight: 400;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 1.125rem;
                line-height: 0;
                /*margin-left: 5px;*/
                transition: 0.3s;
            }

        .navmenu li:last-child a {
            /*padding-right: 0;*/
        }

        .navmenu li:hover > a,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: var(--nav-dropdown-background-color);
            display: block;
            position: absolute;
            visibility: hidden;
            left: 14px;
            top: 130%;
            opacity: 0;
            transition: 0.3s;
            border-radius: 4px;
            z-index: 99;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

            .navmenu .dropdown ul li {
                min-width: 200px;
            }

            .navmenu .dropdown ul a {
                padding: 10px 20px;
                font-size: .9375rem;
                text-transform: none;
                color: var(--nav-dropdown-color);
            }

                .navmenu .dropdown ul a i {
                    font-size: .75rem;
                }

                .navmenu .dropdown ul a:hover,
                .navmenu .dropdown ul .active:hover,
                .navmenu .dropdown ul li:hover > a {
                    color: var(--nav-dropdown-hover-color);
                }

        .navmenu .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navmenu .dropdown .dropdown ul {
            top: 0;
            left: -90%;
            visibility: hidden;
        }

        .navmenu .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: -100%;
            visibility: visible;
        }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 2.25em;
        font-weight: 600;
        line-height: 0;
        cursor: pointer;
        transition: color 0.3s;
        background-color: #fff;
        padding: 0px 8px;
        border-radius: 5px;
    }

    .navmenu {
        position: absolute;
        right: 10px;
        /*top:30px;*/
        padding: 0;
        z-index: 9997;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            position: absolute;
            inset: 0px;
            width: 80%;
            padding: 20px;
            margin: 0;
            /*border-radius: 6px;*/
            background-color: var(--nav-mobile-background-color);
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color);
            padding: 5px 8px;
            font-family: var(--nav-font);
            /*font-size: 1.0625em;*/
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 0.75em;
                line-height: 0;
                margin-left: 5px;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: 0.3s;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            }

                .navmenu a i:hover,
                .navmenu a:focus i:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

            .navmenu a:hover,
            .navmenu .active,
            .navmenu .active:focus {
                color: var(--nav-dropdown-hover-color);
            }

                .navmenu .active i,
                .navmenu .active:focus i {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    transform: rotate(180deg);
                }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 10px 0;
            margin: 10px 20px;
            background-color: var(--nav-dropdown-background-color);
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

    .mobile-nav-active {
        overflow: hidden;
    }

    /*.mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 2rem;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
*/

    /* 確保 a.mobile-nav-toggle 的樣式正確應用 (取代原本對 i 的設定) */
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 1.75em;
        font-weight: 600;
        line-height: 0;
        cursor: pointer;
        transition: color 0.3s;
        background-color: #fff;
        padding: 0px 8px;
        border-radius: 5px;
        /* 確保 a 標籤像 i 標籤一樣顯示 */
        display: block; /* 或 inline-block */
    }

    .navmenu ul {
        display: none; /* 保持預設隱藏 */
        /* ... 其他 ul 樣式保持不變 ... */
    }

    /* **核心規則 1: 展開選單** */
    /* 當整個 .navmenu 容器內部有元素獲得焦點時，顯示 ul */
    .navmenu:focus-within > ul {
        display: block !important; /* 確保覆蓋原有的 display: none */
    }

    /* **核心規則 2: 模擬開啟狀態 (手機版遮罩/背景)** */
    /* 當 .navmenu 內部有焦點時，模擬 .mobile-nav-active .navmenu 的效果 */
    .navmenu:focus-within {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8); /* 模擬遮罩 */
        transition: 0.3s;
        z-index: 9998;
    }




        /* **核心規則 3: 調整漢堡按鈕樣式 (模擬關閉按鈕)** */
        /* 當 .navmenu 內部有焦點時，改變漢堡按鈕的樣式 */
        .navmenu:focus-within > .mobile-nav-toggle {
            color: #00000000;
            position: absolute;
            font-size: 0em;
            font-weight: 600;
            top: 30px;
            right: 15px;
            margin-right: 0;
            background-color: #ffffff00;
            padding: 0;
            border-radius: 5px;
            transition: color 0.3s;
            z-index: 9999;
            /* 如果您還需要模擬 bi-list 變成 bi-x 的圖標切換，純 CSS 需使用背景圖或 content，這裡暫時不變動圖標類名 */
        }

            /* 核心規則：當選單開啟 (.navmenu:focus-within) 時，將漢堡圖標切換為關閉圖標 (bi-x) */
            .navmenu:focus-within > .mobile-nav-toggle.bi-list::before {
                /* 覆蓋 bi-list 的 content，使用 bi-x 的 Unicode 碼 */
                content: "\f62a"; /* 假設 bi-x 的 Unicode 是這個 */
            }


    /* 可選：確保 Header 不被覆蓋 */
    header.header {
        z-index: 9999; /* 確保 header 始終在選單之上 */
    }

    /* 移除所有 .mobile-nav-active 相關的規則，因為我們已用 :focus-within 替代 */
    /* 例如移除：
       .mobile-nav-active { overflow: hidden; }
       .mobile-nav-active .mobile-nav-toggle { ... }
       .mobile-nav-active .navmenu { ... }
       .mobile-nav-active .navmenu>ul { display: block; }
    */
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: #dbdbdb6e;
    font-size: 1rem;
    /*padding-bottom: 50px;*/
    position: relative;
}

    .footer .footer-top {
        padding-top: 50px;
    }

    .footer .footer-about .logo {
        margin-bottom: 0;
    }

        .footer .footer-about .logo img {
            max-height: 40px;
            margin-right: 6px;
        }

        .footer .footer-about .logo span {
            font-size: 1.625rem;
            font-weight: 700;
            letter-spacing: 1px;
            font-family: var(--heading-font);
            color: var(--heading-color);
        }

    .footer .footer-about p {
        font-size: 1rem;
        font-family: var(--heading-font);
    }

    .footer .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 1rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-right: 10px;
        transition: 0.3s;
    }

        .footer .social-links a:hover {
            color: var(--accent-color);
            border-color: var(--accent-color);
        }

    .footer h4 {
        font-size: 1rem;
        font-weight: bold;
        position: relative;
        padding-bottom: 12px;
    }

    .footer .footer-links {
        margin-bottom: 30px;
    }

        .footer .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .footer .footer-links ul i {
                padding-right: 2px;
                font-size: 1rem;
                line-height: 0;
            }

            .footer .footer-links ul li {
                padding: 7px 0;
                display: flex;
                align-items: center;
            }

                .footer .footer-links ul li:first-child {
                    padding-top: 0;
                }

            .footer .footer-links ul a {
                color: color-mix(in srgb, var(--default-color), transparent 0%);
                display: inline-block;
                line-height: 1;
                font-size: 1rem;
            }

                .footer .footer-links ul a:hover {
                    color: var(--accent-color);
                }

    .footer .footer-contact p {
        margin-bottom: 5px;
    }

    .footer .footer-newsletter .newsletter-form {
        margin-top: 30px;
        margin-bottom: 15px;
        padding: 6px 8px;
        position: relative;
        border-radius: 50px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
        display: flex;
        background-color: var(--surface-color);
        transition: 0.3s;
    }

        .footer .footer-newsletter .newsletter-form:focus-within {
            border-color: var(--accent-color);
        }

        .footer .footer-newsletter .newsletter-form input[type=email] {
            border: 0;
            padding: 4px 8px;
            width: 100%;
            background-color: var(--surface-color);
            color: var(--default-color);
        }

            .footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
                outline: none;
            }

        .footer .footer-newsletter .newsletter-form input[type=submit] {
            border: 0;
            font-size: 1rem;
            padding: 0 20px 2px 20px;
            margin: -7px -8px -7px 0;
            background: var(--accent-color);
            color: var(--contrast-color);
            transition: 0.3s;
            border-radius: 50px;
        }

            .footer .footer-newsletter .newsletter-form input[type=submit]:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

    .footer .copyright {
        padding-top: 25px;
        padding-bottom: 25px;
        background-color: #b6a2b7de;
    }

        .footer .copyright p {
            margin-bottom: 0;
        }

    .footer .credits {
        margin-top: 6px;
        font-size: .8125rem;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #ffffff;
        border-color: var(--accent-color) transparent var(--accent-color) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 1.5rem;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --default-color: var(--contrast-color);
    --background-color: var(--accent-color);
    /*--heading-color: var(--accent-color);*/
    /*color: var(--default-color);*/
    /*background-color: var(--background-color);*/
    position: relative;
}

    .page-title .heading {
        padding: 15px 0;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    }

        .page-title .heading h1 {
            font-size: 2.375rem;
            font-weight: 700;
        }

    .page-title nav {
        background-color: color-mix(in srgb, var(--surface-color) 85%, rgb(243, 243, 243) 0%);
        padding: 10px 0;
    }

        .page-title nav a {
            /*color: var(--default-color);*/
        }

        .page-title nav ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
            justify-content: right;
        }

            .page-title nav ol li + li {
                padding-left: 10px;
            }

                .page-title nav ol li + li::before {
                    content: "/";
                    display: inline-block;
                    padding-right: 10px;
                    /*color: color-mix(in srgb, var(--default-color), transparent 70%);*/
                }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 900px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 20px;
    position: relative;
}

    .section-title h2 {
        font-size: .875rem;
        font-weight: 500;
        padding: 0;
        line-height: 1px;
        margin: 0;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        position: relative;
    }

        .section-title h2::after {
            content: "";
            width: 120px;
            height: 1px;
            display: inline-block;
            background: var(--accent-color);
            margin: 4px 10px;
        }

    .section-title p {
        color: var(--heading-color);
        margin: 0;
        font-size: 2.125rem;
        font-weight: 500;
        font-family: var(--nav-font);
        text-transform: uppercase;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    /*min-height: 60vh;*/
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--default-color);
}

    /*.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}*/
    /*
.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
  z-index: 2;
}*/

    .hero .container {
        position: relative;
        z-index: 3;
    }

    .hero h2 {
        margin: 0;
        font-size: 3rem;
        font-weight: 700;
    }

    .hero p {
        /*color: color-mix(in srgb, var(--default-color), transparent 20%);*/
        margin: 10px 0 0 0;
        font-size: 1.5rem;
    }

    .hero .btn-get-started {
        font-weight: 500;
        font-size: 1.25rem;
        letter-spacing: 1px;
        display: inline-block;
        padding: 10px 30px;
        border-radius: 50px;
        transition: 0.4s;
        /*margin-top: 15px;*/
        /*border: 2px solid var(--accent-color);*/
        color: var(--surface-color);
        background: var(--accent-color);
        text-align: center;
    }

        .hero .btn-get-started:hover {
            background: var(--accent-color);
            /*border: 2px solid var(--accent-color);*/
        }

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }
}

.hero-bgimg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        padding-bottom: 10px;
    }

    .about .content ul i {
        font-size: 1.25rem;
        margin-right: 4px;
        color: var(--accent-color);
    }

.about .content p:last-child {
    margin-bottom: 0;
}

.about .content .read-more {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: .9375rem;
    letter-spacing: 1px;
    padding: 10px 24px 12px 24px;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .about .content .read-more i {
        font-size: 1.125rem;
        margin-left: 5px;
        line-height: 0;
        transition: 0.3s;
    }

    .about .content .read-more:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 20%);
        padding-right: 19px;
    }

        .about .content .read-more:hover i {
            margin-left: 10px;
        }

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/
.counts {
    padding: 25px 0;
}

    .counts .stats-item {
        padding: 30px;
        width: 100%;
    }

        .counts .stats-item span {
            font-size: 3rem;
            display: block;
            color: var(--accent-color);
            font-weight: 700;
        }

        .counts .stats-item p {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            padding: 0;
            margin: 0;
            font-family: var(--heading-font);
            font-size: .9375rem;
            font-weight: 600;
        }

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .why-box {
    color: var(--contrast-color);
    background: var(--accent-color);
    padding: 30px;
}

    .why-us .why-box h3 {
        color: var(--contrast-color);
        font-weight: 700;
        font-size: 2.125rem;
        margin-bottom: 30px;
    }

    .why-us .why-box p {
        margin-bottom: 30px;
    }

    .why-us .why-box .more-btn {
        display: inline-block;
        background: color-mix(in srgb, var(--contrast-color), transparent 85%);
        padding: 8px 40px 10px 40px;
        color: var(--contrast-color);
        transition: all ease-in-out 0.4s;
        border-radius: 50px;
    }

        .why-us .why-box .more-btn i {
            font-size: .875rem;
        }

        .why-us .why-box .more-btn:hover {
            color: var(--accent-color);
            background: var(--surface-color);
        }

.why-us .icon-box {
    background-color: var(--surface-color);
    text-align: center;
    padding: 40px 30px;
    width: 100%;
    height: 100%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .why-us .icon-box i {
        color: var(--accent-color);
        font-size: 2rem;
        margin-bottom: 30px;
        background: color-mix(in srgb, var(--accent-color), transparent 95%);
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 72px;
        transition: 0.3s;
    }

    .why-us .icon-box h4 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0 0 30px 0;
    }

    .why-us .icon-box p {
        font-size: .9375rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

    .why-us .icon-box:hover i {
        color: var(--contrast-color);
        background: var(--accent-color);
    }

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
    padding: 10px 0;
}

    .features .features-item {
        background-color: var(--surface-color);
        display: flex;
        align-items: center;
        padding: 20px;
        transition: 0.3s;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        position: relative;
    }

        .features .features-item i {
            font-size: 2rem;
            padding-right: 10px;
            line-height: 0;
        }

        .features .features-item h3 {
            font-weight: 700;
            margin: 0;
            padding: 0;
            line-height: 1;
            font-size: 1rem;
        }

            .features .features-item h3 a {
                color: var(--heading-color);
                transition: 0.3s;
            }

        .features .features-item:hover {
            border-color: var(--accent-color);
        }

            .features .features-item:hover h3 a {
                color: var(--accent-color);
            }

/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.courses .course-item {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 5px;
}

.courses .course-content {
    padding: 15px;
}

    .courses .course-content h3 {
        font-weight: 700;
        font-size: 1.25rem;
    }

        .courses .course-content h3 a {
            color: var(--heading-color);
            transition: 0.3s;
        }

            .courses .course-content h3 a:hover {
                color: var(--accent-color);
            }

    .courses .course-content .category {
        background: var(--accent-color);
        color: var(--contrast-color);
        font-size: .875rem;
        padding: 6px 14px;
        margin: 0;
        border-radius: 5px;
    }

    .courses .course-content .price {
        margin: 0;
        font-weight: 700;
        font-size: 1.125rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

    .courses .course-content .description {
        font-size: .875rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

.courses .trainer {
    padding-top: 15px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .courses .trainer .trainer-profile img {
        max-width: 50px;
        border-radius: 50px;
    }

    .courses .trainer .trainer-profile .trainer-link {
        padding-left: 10px;
        font-weight: 600;
        font-size: 1rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        transition: 0.3s;
    }

        .courses .trainer .trainer-profile .trainer-link:hover {
            color: var(--accent-color);
        }

    .courses .trainer .trainer-rank {
        font-size: 1.125rem;
        color: color-mix(in srgb, var(--default-color), transparent 60%);
    }

        .courses .trainer .trainer-rank .user-icon {
            font-size: 1.375rem;
        }

/*--------------------------------------------------------------
# Trainers Index Section
--------------------------------------------------------------*/
.trainers-index .member {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    text-align: center;
    margin-bottom: 20px;
}

    .trainers-index .member img {
        margin: -1px -1px 30px -1px;
    }

    .trainers-index .member .member-content {
        padding: 0 20px 30px 20px;
    }

    .trainers-index .member h4 {
        font-weight: 700;
        margin-bottom: 2px;
        font-size: 1.125rem;
    }

    .trainers-index .member span {
        font-style: italic;
        display: block;
        font-size: .8125rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

    .trainers-index .member p {
        padding-top: 10px;
        font-size: .875rem;
        font-style: italic;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }

    .trainers-index .member .social {
        margin-top: 15px;
    }

        .trainers-index .member .social a {
            color: color-mix(in srgb, var(--default-color), transparent 60%);
            transition: 0.3s;
        }

            .trainers-index .member .social a:hover {
                color: var(--accent-color);
            }

        .trainers-index .member .social i {
            font-size: 1.125rem;
            margin: 0 2px;
        }

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.about-us .content ul {
    list-style: none;
    padding: 0;
}

    .about-us .content ul li {
        padding-bottom: 10px;
    }

    .about-us .content ul i {
        font-size: 1.25rem;
        margin-right: 4px;
        color: var(--accent-color);
    }

.about-us .content p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
    padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-sizing: content-box;
    padding: 30px 30px 30px 60px;
    margin: 30px 15px;
    min-height: 200px;
    position: relative;
}

    .testimonials .testimonial-item .testimonial-img {
        width: 90px;
        border-radius: 10px;
        border: 6px solid var(--background-color);
        position: absolute;
        left: -45px;
    }

    .testimonials .testimonial-item h3 {
        font-size: 1.125rem;
        font-weight: bold;
        margin: 10px 0 5px 0;
    }

    .testimonials .testimonial-item h4 {
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: .875rem;
        margin: 0;
    }

    .testimonials .testimonial-item .stars {
        margin: 10px 0;
    }

        .testimonials .testimonial-item .stars i {
            color: #ffc107;
            margin: 0 1px;
        }

    .testimonials .testimonial-item .quote-icon-left,
    .testimonials .testimonial-item .quote-icon-right {
        color: color-mix(in srgb, var(--accent-color), transparent 60%);
        font-size: 1.625rem;
        line-height: 0;
    }

    .testimonials .testimonial-item .quote-icon-left {
        display: inline-block;
        left: -5px;
        position: relative;
    }

    .testimonials .testimonial-item .quote-icon-right {
        display: inline-block;
        right: -5px;
        position: relative;
        top: 10px;
        transform: scale(-1, -1);
    }

    .testimonials .testimonial-item p {
        font-style: italic;
        margin: 15px auto 15px auto;
    }

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .testimonials .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: var(--background-color);
        opacity: 1;
        border: 1px solid var(--accent-color);
    }

    .testimonials .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

@media (max-width: 767px) {
    .testimonials .testimonial-wrap {
        padding-left: 0;
    }

    .testimonials .testimonials-carousel,
    .testimonials .testimonials-slider {
        overflow: hidden;
    }

    .testimonials .testimonial-item {
        padding: 30px;
        margin: 15px;
    }

        .testimonials .testimonial-item .testimonial-img {
            position: static;
            left: auto;
        }
}

/*--------------------------------------------------------------
# Courses Course Details Section
--------------------------------------------------------------*/
.courses-course-details {
    padding-bottom: 20px;
}

    .courses-course-details h3 {
        font-size: 1.5rem;
        margin: 30px 0 15px 0;
        font-weight: 700;
        position: relative;
        padding-bottom: 10px;
    }

        .courses-course-details h3:before {
            content: "";
            position: absolute;
            display: block;
            width: 100%;
            height: 1px;
            background: color-mix(in srgb, var(--default-color), transparent 90%);
            bottom: 0;
            left: 0;
        }

        .courses-course-details h3:after {
            content: "";
            position: absolute;
            display: block;
            width: 60px;
            height: 1px;
            background: var(--accent-color);
            bottom: 0;
            left: 0;
        }

    .courses-course-details .course-info {
        background: color-mix(in srgb, var(--default-color), transparent 95%);
        padding: 10px 15px;
        margin-bottom: 15px;
    }

        .courses-course-details .course-info h5 {
            font-weight: 400;
            font-size: 1rem;
            margin: 0;
            font-family: var(--nav-font);
        }

        .courses-course-details .course-info p {
            margin: 0;
            font-weight: 600;
        }

        .courses-course-details .course-info a {
            color: var(--accent-color);
        }

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
    padding-top: 30;
}

    .tabs .nav-tabs {
        border: 0;
    }

    .tabs .nav-link {
        background-color: var(--background-color);
        border: 0;
        padding: 12px 15px;
        transition: 0.3s;
        color: var(--default-color);
        border-radius: 0;
        border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
        font-weight: 600;
        font-size: .9375rem;
    }

        .tabs .nav-link:hover {
            color: var(--accent-color);
        }

        .tabs .nav-link.active {
            background-color: var(--surface-color);
            color: var(--accent-color);
            border-color: var(--accent-color);
        }

    .tabs .tab-pane.active {
        animation: fadeIn 0.5s ease-out;
    }

    .tabs .details h3 {
        font-size: 1.625rem;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .tabs .details p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

        .tabs .details p:last-child {
            margin-bottom: 0;
        }

@media (max-width: 992px) {
    .tabs .nav-link {
        border: 0;
        padding: 15px;
    }

        .tabs .nav-link.active {
            color: var(--accent-color);
            background: var(--accent-color);
        }
}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
.trainers .member {
    position: relative;
}

    .trainers .member .member-img {
        margin: 0 80px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
    }

@media (max-width: 1024px) {
    .trainers .member .member-img {
        margin: 0 60px;
    }
}

.trainers .member .member-img img {
    position: relative;
    z-index: 1;
}

.trainers .member .member-img .social {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding-bottom: 20px;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
}

    .trainers .member .member-img .social a {
        transition: 0.3s;
        color: var(--contrast-color);
        font-size: 1.25rem;
        margin: 0 8px;
    }

        .trainers .member .member-img .social a:hover {
            color: var(--accent-color);
        }

.trainers .member .member-info {
    margin-top: 30px;
}

    .trainers .member .member-info h4 {
        font-weight: 700;
        margin-bottom: 6px;
        font-size: 1.125rem;
    }

    .trainers .member .member-info span {
        font-style: italic;
        display: block;
        font-size: .9375rem;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        margin-bottom: 10px;
    }

    .trainers .member .member-info p {
        margin-bottom: 0;
        font-size: .875rem;
    }

.trainers .member:hover .member-img .social {
    padding-bottom: 0;
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
    background-color: var(--background-color);
    border: 0;
    padding: 0 30px;
    margin-bottom: 60px;
    position: relative;
}

.events .card-img {
    width: calc(100% + 60px);
    margin-left: -30px;
    overflow: hidden;
    z-index: 9;
    border-radius: 0;
}

    .events .card-img img {
        max-width: 100%;
        transition: all 0.3s ease-in-out;
    }

.events .card-body {
    z-index: 10;
    background: var(--surface-color);
    border-top: 4px solid var(--surface-color);
    padding: 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    transition: 0.3s;
}

.events .card-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

    .events .card-title a {
        color: var(--default-color);
        transition: 0.3s;
    }

.events .card-text {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
    transform: scale(1.1);
}

.events .card:hover .card-body {
    border-color: var(--accent-color);
}

    .events .card:hover .card-body .card-title a {
        color: var(--accent-color);
    }

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

    .pricing .pricing-item h3 {
        margin: -20px -20px 20px -20px;
        padding: 20px 15px;
        font-size: 1rem;
        font-weight: 600;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        background: color-mix(in srgb, var(--default-color), transparent 95%);
    }

    .pricing .pricing-item h4 {
        font-size: 2.25rem;
        font-weight: 600;
        font-family: var(--heading-font);
    }

        .pricing .pricing-item h4 sup {
            font-size: 1.25rem;
            top: -15px;
            left: -3px;
        }

        .pricing .pricing-item h4 span {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            font-size: 1rem;
            font-weight: 300;
        }

    .pricing .pricing-item ul {
        padding: 15px 0;
        list-style: none;
        text-align: center;
        line-height: 20px;
        font-size: .875rem;
    }

        .pricing .pricing-item ul li {
            padding-bottom: 16px;
        }

        .pricing .pricing-item ul i {
            color: var(--accent-color);
            font-size: 1.125rem;
            padding-right: 4px;
        }

        .pricing .pricing-item ul .na {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            text-decoration: line-through;
        }

.pricing .btn-wrap {
    background: color-mix(in srgb, var(--default-color), transparent 95%);
    margin: 0 -20px -20px -20px;
    padding: 20px 15px;
    text-align: center;
}

.pricing .btn-buy {
    background: var(--accent-color);
    color: var(--contrast-color);
    display: inline-block;
    padding: 8px 35px 10px 35px;
    border-radius: 4px;
    transition: none;
    font-size: .875rem;
    font-weight: 400;
    font-family: var(--heading-font);
    font-weight: 600;
    transition: 0.3s;
}

    .pricing .btn-buy:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 20%);
    }

.pricing .featured h3 {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .advanced {
    background: var(--accent-color);
    color: var(--contrast-color);
    width: 200px;
    position: absolute;
    top: 18px;
    right: -68px;
    transform: rotate(45deg);
    z-index: 1;
    font-size: .875rem;
    padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    padding-top: 8px;
    padding-bottom: 40px;
}

    .contact .info-item + .info-item {
        margin-top: 40px;
    }

    .contact .info-item i {
        color: var(--contrast-color);
        background: var(--accent-color);
        font-size: 1.25rem;
        width: 48px;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        margin-right: 15px;
    }

    .contact .info-item h3 {
        padding: 0;
        font-size: 1.125rem;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .contact .info-item p {
        padding: 0;
        margin-bottom: 0;
        font-size: .875rem;
    }

    .contact .php-email-form {
        height: 100%;
    }

        .contact .php-email-form input[type=text],
        .contact .php-email-form input[type=email],
        .contact .php-email-form textarea {
            font-size: .875rem;
            padding: 10px 15px;
            box-shadow: none;
            border-radius: 0;
            color: var(--default-color);
            background-color: color-mix(in srgb, var(--background-color), transparent 50%);
            border-color: color-mix(in srgb, var(--default-color), transparent 80%);
        }

            .contact .php-email-form input[type=text]:focus,
            .contact .php-email-form input[type=email]:focus,
            .contact .php-email-form textarea:focus {
                border-color: var(--accent-color);
            }

            .contact .php-email-form input[type=text]::placeholder,
            .contact .php-email-form input[type=email]::placeholder,
            .contact .php-email-form textarea::placeholder {
                color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

        .contact .php-email-form button[type=submit] {
            color: var(--contrast-color);
            background: var(--accent-color);
            border: 0;
            padding: 10px 30px 12px 30px;
            transition: 0.4s;
            border-radius: 50px;
        }

            .contact .php-email-form button[type=submit]:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    /* Add your styles here */
    min-height: 500px;
}


/*--------------------------------------------------------------
# 
--------------------------------------------------------------*/

.topbar .social-links a {
    color: var(--heading-color);
    line-height: 0;
    transition: 0.3s;
    margin-left: 20px;
}

    .topbar .social-links a i {
        color: var(--accent-color);
        margin-right: 5px;
    }

.topbar {
    /*background-color: var(--accent-color);*/
    height: 40px;
    padding: 0;
    font-size: .875rem;
    transition: all 0.5s;
}


.by_qrcode {
    text-align: center;
    padding: 1.2em 0;
    width: 250px;
    line-height: 1.8;
    margin-top: 1.4em auto;
    background-color: var(--accent-color);
    border-radius: 2.5em;
}

    .by_qrcode img {
        width: 108px;
        height: 108px;
        object-fit: contain;
        margin: auto auto 0.5em;
    }

    .by_qrcode i {
        font-size: 5rem;
        color: var(--accent-color);
        background: #fff;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        padding: 16px 30px;
    }

/*-------form 高度置中-------------------*/
.form-floating > .form-select {
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
}

.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
}

.form-floating > label {
    font-size: 1rem;
}

.form-floating > .form-control-plaintext ~ label, .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
    color: rgb(255 255 255 / 65%);
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

    .form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-select ~ label::after {
        background-color: #ffffff00;
        border-radius: #ffffff00;
    }

/*.form-control{
  padding: 1rem .75rem;
}*/


/*--------table01---------------------------------------------------*/

#table01 {
    table

{
    border: 1px solid #e7e7e7;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

table caption {
    font-size: 1.2em;
    margin: .5em 0 .75em;
}

table tr {
    background-color: #f1f1f1;
    border: 1px solid #e7e7e7;
    padding: .35em;
}

@media only screen and (min-width: 600.5px) {
    tr {
        &:nth-child(odd)

{
    background-color: #fff;
}

&:nth-child(even) {
    background-color: #f5f5f5;
}

}
}

table th {
    background-color: #333645;
    color: #ffffff;
    padding: .625em;
    text-align: center;
    /* font-size: 1.25em;*/
    letter-spacing: .1em;
    border: 1px solid #fff;
}

table td {
    /*font-size: 1.125em;*/
    padding: .625em;
    text-align: center;
    border: 1px solid #e9e9e9;
}

table a {
    color: #fff;
}

@media screen and (max-width: 600px) {
    table {
        border: 0;
    }

        table caption {
            font-size: 1.3em;
        }

        table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table th {
            font-size: 1em;
        }

        table tr {
            border-bottom: 3px solid #bbbbbb;
            display: block;
            margin-bottom: .625em;
        }

        table td {
            border-bottom: 1px solid #bbbbbb;
            display: block;
            font-size: 1em;
            text-align: right;
        }

            table td::before {
                /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            table td:last-child {
                border-bottom: 0;
            }
}

}




/*列表-2 form*/

.table_change_2 {
    margin: auto;
    width: 100%;
    margin: 1rem 0;
    .form-check-input

{
    float: none;
}

tr {
    margin: 10px 0;
}

th {
    /*background-color: #0000000a;*/
    text-align: end;
}

th,
td {
    padding: 10px 10px;
    /*align-content: baseline;*/
    @media only screen and (min-width: 769px) {
        /*border: 1px solid #000;*/
    }
}

thead {
    background-color: #01977a;
    th

{
    color: #fff;
    font-weight: bold;
}

}

tbody {
    position: relative;

    @media only screen and (min-width: 769px) {
        tr {
            &:nth-child(odd)

{
    background-color: #c5c5c53d;
}

&:nth-child(even) {
    background-color: #dadada2c;
}

}
}
}

@media only screen and (max-width: 768px) {
    thead {
        display: none;
    }

    tbody {
        tr

{
    display: block;
    border: 1px solid #ebeaea;
    margin: 10px 0;
    border-radius: 5pt;
    background-color: #f0f0f0;
}

td {
    display: block;
    text-align: left;
    padding: 10px;
    color: black;
    background-color: none;
}

}
}

.form-control {
    min-width: 270px;
}

}

.form-floating > .form-control, .form-floating > .form-control-plaintext {
    padding: 1rem .75rem;
}
/*----------------------------*/
/* 步驟條容器 */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0;
    counter-reset: step;
}

    /* 每個步驟 */
    .stepper .step {
        text-align: center;
        position: relative;
        flex: 1;
    }

        /* 圓形標記 */
        .stepper .step::before {
            content: counter(step);
            counter-increment: step;
            width: 40px;
            height: 40px;
            line-height: 40px;
            border: 2px solid #ffc107;
            background-color: #fff;
            color: #ffc107;
            border-radius: 50%;
            display: inline-block;
            z-index: 1;
            position: relative;
        }

        /* 標題 */
        .stepper .step .label {
            display: block;
            margin-top: 0.5rem;
            /*font-size: 0.9rem;*/
        }

        /* 連接線 */
        .stepper .step::after {
            content: "";
            position: absolute;
            top: 20px;
            left: 50%;
            width: 100%;
            height: 2px;
            background-color: #ffc107;
            z-index: 0;
        }

        /* 最後一個步驟不畫線 */
        .stepper .step:last-child::after {
            display: none;
        }

        /* 完成狀態 */
        .stepper .step.completed::before {
            background-color: #ffc107;
            color: #fff;
        }

/* RWD: 小螢幕調整步驟條為直向 */
@media (max-width: 576px) {
    .stepper {
        flex-direction: column;
        align-items: flex-start;
    }

        .stepper .step {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

            .stepper .step::before {
                margin-right: 0.5rem;
            }

            .stepper .step .label {
                margin-top: 0;
            }

            .stepper .step::after {
                width: 2px;
                height: 40px;
                top: 40px;
                left: 20px;
            }
}

/*------------------------------------*/
.icon-success {
    font-size: 4rem;
}

.main01 {
    background: #000,
}