/**
* Template Name: Avilon
* Template URL: https://bootstrapmade.com/avilon-bootstrap-landing-page-template/
* 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 */
: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: "Poppins", sans-serif;
}

/* 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: #272829; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #149ddd; /* 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. */
}


/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2:after {
            content: "";
            position: absolute;
            display: block;
            width: 50px;
            height: 3px;
            background: var(--accent-color);
            left: 0;
            bottom: 0;
        }

    .section-title p {
        margin-bottom: 0;
    }



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

.dark-background {
    --background-color: #040b14;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #151f2b;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .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 70%);*/
        position: absolute;
        inset: 0;
        z-index: 2;
    }

    .hero .container {
        position: relative;
        z-index: 3;
    }

    .hero h2 {
        margin: 0;
        font-size: 64px;
        font-weight: 700;
    }

    .hero p {
        margin: 5px 0 0 0;
        font-size: 26px;
    }

        .hero p span {
            letter-spacing: 1px;
            border-bottom: 2px solid var(--accent-color);
        }

    .hero .social-links {
        margin-top: 25px;
    }

        .hero .social-links a {
            font-size: 24px;
            display: inline-block;
         /*   color: color-mix(in srgb, var(--default-color), transparent 50%);*/
            line-height: 1;
            margin-right: 20px;
            transition: 0.3s;
        }

            .hero .social-links a:hover {
                color: var(--accent-color);
            }

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
    font-weight: 700;
    font-size: 24px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .about .content ul strong {
        margin-right: 10px;
    }

    .about .content ul i {
        font-size: 16px;
        margin-right: 5px;
        color: var(--accent-color);
        line-height: 0;
    }


/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
    background: #ffffff;
    padding: 20px 20px;
    /*border-radius: 0px;*/
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
}

.clients .swiper-wrapper {
    height: auto;
}

.swiper-slide {
    opacity: 1;
    transition: 0.3s;
    filter: grayscale(100%);
    background-color: transparent !important; /* 強制透明背景 */
    padding: 40px 20px;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 0px;
    height: 40px;
    
}

.swiper {
    position: relative; /* 讓 pagination 的 absolute 以這個為定位基準 */
    padding-bottom: 45px; /* 避免內容被進度條遮住 */
}

    .swiper-slide:hover {
        opacity: 1;
        filter: none;
        background-color: #ffffff;
        color: #0ea8ac;
    }

.swiper-scrollbar {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 10; /* 確保在 slide 上層 */
}

    .swiper-scrollbar-drag {
        background: var(--accent-color, #0ea8ac);
    }



