
/* 

v1.0.1
added captcha css


*/


/* project specific css */

/* header css */
#headerTopBar{
    z-index: 10;
    background-color: #DCDCDC;
    border-bottom: 1px solid #9b9b9bff;
}


#headerTopBar a.dropbtn:hover {
    color: var(--tertiary-color) !important;
}

.dropbtn span{
    white-space: normal;
}

.header_menu_div {
    margin-right: 40px;
}

#headerMobileTopBar{
    background: white;
    width: 100%;
}

.dropdown-menu.show{
    max-height: 800px !important;
    max-width: 15px;
}
.dropdown-menu>.dropdown-item{
    max-width: max-content;
    text-wrap: auto;
    white-space: normal;
}

#dropdownMenu1 .dropdown-item:focus,#dropdownMenu1 .dropdown-item:hover{
    background-color: unset;
    color: var(--tertiary-color);
}

#dropdownMenuButton.dropdown-menu {
    left: unset !important;
    right: 0;
}

#dropdownMenuButton .dropdown-item:hover {
    color: var(--secondary-text-color)
}

html {
    scroll-padding-top: 36px; 
}

body {
    background: #202738;
    background: linear-gradient(180deg, #FFFFFF 0%, #EAEAEA 48%, #FFFFFF 100%);
}

.pcheader-fixed{
    transform: scale(0.75);
    transform-origin: top left;
    width: 133.33%; /* Compensate for the scaling effect */
}

.page-wrapper{
    transform: scale(0.75);
    transform-origin: top left;
    width: 133.33%; /* Compensate for the scaling effect */

}

.primary-bg-color {
    background-color: #E9E9E9;
}

.secondary-bg-color {
    background: linear-gradient(180deg, #FFFFFF 0%, #EAEAEA 48%, #FFFFFF 100%);
}
.mobileSidebar.open {
	left: 0;
	transition: 0.3s ease;
	width: 45%;
}

.mobileSidebar {
	bottom: 0;
	top: 0;
	left: -110%;
	z-index: 100;
	position: fixed;
	height: 100%;
	background: white;
	flex-direction: column;
	display: flex;
	justify-content: flex-start;
	padding: 0 15px;
	overflow-y: auto;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    background-image:  var(--sidebar-bg-img), linear-gradient(to bottom, #BDBDBD, white);
}

.mobileSidebar.open ~ .transparentBG {
	display: block;
}

.transparentBG {
	background: rgba(0, 0, 0, 0.7);
	top: 0;
	left: 0%;
	right: 0;
	position: fixed;
	z-index: 50;
	height: 100%;
	width: 100%;
	display: none;
}

.mobileSidebar .dropdown-content {
	max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 5px;
}

.dropdown-section.open .dropdown-content {
    max-height: 1000px;
}

.closeSidebar {
	position: absolute;
	right: 20px;
	top: 20px;
	color: #fff;
}

.sidebar {
	position: fixed;
	z-index: 999;
	height: 100%;
	width: 40%;
	left: -100%;
	top: 0;
	border: 0;
	border-radius: 0;
	background-color: #fff;
	/*transition: all .5s ease;*/
	overflow-y: auto;
}

.sidebar.show {
	left: 0;
}

.homepage_header_logo{
    width: 100%;
    max-width: 220px;
    height: auto;
}

.menuIcon{
    font-size: 24px;
}
/* end of header css */

/* start of footer css */
.grid-solution {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.grid-left { 
    justify-self: start; 
}

.grid-center { 
    justify-self: center; 
}

.grid-right { 
    justify-self: end; 
}

#footerbar{
    z-index: 10;
    background-color: #DCDCDC;
}

.border-footer{
    border-top: 1px solid #6C6C6C;
}

.footer-nav{
    gap: 50px;
}

.mobile-nav {
    transition: all 0.3s ease;
}
/* end of footer css */

.secondary-text-color{
    color: var(--secondary-text-color );

}
.font-xxl {
    font-size: 42px;
}

.font-xxxl {
    font-size:64px;
}

.font-medium-lg {
    font-size: 20px;
}

.font-200{
    font-weight: 200;
}

.font-400{
    font-weight: 400;
}

.font-700{
    font-weight: 700;
}

.video-container{
    position: relative;
    justify-content: center;
    display:flex;
    max-height: 550px;
    contain: layout;
}

/* Video element - CRITICAL: Force proper aspect ratio */
.video-container video {
    width: 75%;
    height: auto !important; /* Force auto height */
    max-width: 100%;
    max-height: none !important; /* Remove any height restrictions */
    aspect-ratio: 16/9; /* Force 16:9 aspect ratio if video doesn't have proper dimensions */
    object-fit: cover; /* Maintain aspect ratio while covering the container */
    border-radius: 12px;
    display: block; /* Ensure proper display */
}

#introSection{
    position: relative;
    overflow: hidden;
}

#introSection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 70%;
    width: 100%;
    background-image: linear-gradient(to bottom, #ffffff, #cccccc);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

#introSection::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 70%;
    width: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
}

#introSection > .kt-container {
    position: relative;
    z-index: 2;
}

.navigation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    flex-direction: row;
}

.navigation-container-buttons {
    display: flex;
    gap: 20px;
}

.nav-button {
    background: transparent;
    color: black;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-button:hover {
    transform: translateY(-2px);
}

.nav-button:active {
    transform: translateY(0);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.services-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    max-width: 1000px;
    position: relative;
    contain: layout;
}

.service-item {
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    transform: translateZ(0);
    will-change: opacity;
    flex: 1; /* Equal width distribution */
    min-width: 0; /* Allow shrinking */
    max-width: 300px; /* Prevent items from getting too wide */
}

.service-title {
    display: inline-block;
    text-align: center;
    width: 100%; /* Take full width of parent */
    margin-bottom: 20px; /* Space for indicator */
    white-space: normal; /* Allow wrapping */
    hyphens: auto;
}

.service-item.left {
    color: #8a95a6;
    font-size: 24px;
    font-weight: 400;
    opacity: 0.7;
}

.service-item.center {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    transform: scale(1.1);
}

.service-item.right {
    color: #8a95a6;
    font-size: 24px;
    font-weight: 400;
    opacity: 0.7;
}

.service-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.service-item.center:hover {
    transform: scale(1.15);
}

.indicator {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: black;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item.center .indicator {
    opacity: 1;
}

.fade-transition {
    opacity: 0.5 !important;
    transition: opacity 0.15s ease;
    transform: translateZ(0);
}

.gradientText{
    background: linear-gradient(90deg, #4a4949 0%, #e1e1e1 50%, #4a4949 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2rem, 10vw, 180px);
}

.gradientText2{
    background: linear-gradient(90deg, #bbbbbb 0%, #242424ff 50%, #bbbbbb 75%, #bbbbbb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 36px;
}

.image-wrapper {
    position: relative;
    width: 100%;
}

.image-wrapper img.bg-image {
    display: block;
    width: 100%;
    height: auto;
}

.image-wrapper img.centered-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%; /* Optional: control the size of the centered image */
}

.background-text-wrapper{
    position: relative;
    text-align: center;
}

.background-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 0; 
    pointer-events: none;
}

.carousel-container {
    /* Optimize entire carousel for no flashing */
    contain: layout style;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.carousel-container * {
    /* Prevent any flashing on all child elements */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    /* Prevent font rendering changes */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
    /* Prevent layout shifts */
    contain: layout;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.line-height2{
    line-height: 2;
}

.line-height1{
    line-height: 1;
}

#section4{
    padding-bottom: 100px;
}

#section4 .kt-container{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 1000px;
    box-shadow:
       inset 0 120px 70px -20px #E9E9E9,   /* long top shadow */
        inset 0 -120px 70px -20px #E9E9E9;  /* long bottom shadow */
}

.pt-10{
    padding-top: 10rem !important;
}

#section4 .position-absolute{
    bottom: -80px; 
    left: 0;
}

.carousel-wrapper {
    position: relative;
    padding: 50px 0;
    margin: 0 auto;
}

.carousel-spacer {
    flex: 0 0 auto;
    width: var(--carousel-slide-width, 300px);
    pointer-events: none;
    opacity: 0;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 50px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-top:25px;
    padding-bottom:25px;
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-thumb {
    flex: 0 0 500px;
    width: 500px;
    height: 300px;
    scroll-snap-align: center;
    opacity: 0.6;
    filter: grayscale(80%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    position: relative;
}

.carousel-thumb.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.15);
}

.carousel-thumb.active .skewed-container {
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    line-height: 1;
    text-align: center;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 50%;
}

.carousel-nav.left { 
    left: 10px; 
}
.carousel-nav.right { 
    right: 10px; 
}

.skewed-container {
    width: 100%;
    height: 100%;
    transform: skewX(-12deg);
    overflow: hidden;
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: inherit;
}

.unskewed-image {
    width: 120%;
    height: 100%;
    object-fit: cover;
    transform: skewX(12deg) translateX(-10%);
    transition: inherit;
}

.textgrey{
    color: #666666;
}

.whatsapp-icon{
    background-color: #25D366; 
    color: white; 
    padding: 6px; 
    border-radius: 50px; 
    width: 30px; 
    height: 30px; 
    text-align: center; 
    line-height: 18px;
    font-size: 20px;
}

.form-group label{
    color: black;
}

.btn-submit{
    background-color: #808080;
}

.margin-top-adjust {
    margin-top: -60px;
}

.social-media-container img{
    height: 30px;
    width: 30px;
    margin-inline:10px;
}

.dropdown-item.active, .dropdown-item:active{
    background-color: transparent;
    color: var(--secondary-text-color);
}

.dropdown-item:focus, .dropdown-item:hover{
    background-color: transparent;
    color: var(--secondary-text-color);
}

@media (max-width: 1250px) {
    #introSection::before {
        height: 69%
    }

    #introSection::after {
        height: 69%
    }
}

@media (max-width: 1360px) and (min-width: 768px) {
    .video-container-middle video {
        object-fit: contain !important;
    }
}

/* iPad Pro View */
@media (max-width: 1199px) and (min-width: 990px) {

    .homepage_header_logo {
        max-width: 160px;
    }

    .custom-responsive-width {
        width: 75% !important;
    }

    .mobile-nav{
        justify-content: center !important;
    }

    #section4 .position-absolute {
    bottom: -170px;
    }

    #introSection::before {
        height: 68%
    }

    #introSection::after {
        height: 68%
    }
}

/* iPad View */
@media (max-width: 989px) and (min-width: 768px) {

   .homepage_header_logo {
        max-width: 160px;
    }

    .custom-responsive-width {
        width: 75% !important;
    }

    .service-title{
        font-size: 18px;
    }

    .mobile-nav{
        justify-content: center !important;
    }

    .grid-solution {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .grid-left,
    .grid-center,
    .grid-right {
        justify-self: center;
        padding: 5px;
    }

    .pt-10{
        padding-top: 5rem !important;
    }

    #section4 .position-absolute {
    bottom: -170px;
    }

    #introSection::before {
        height: 68%
    }

    #introSection::after {
        height: 68%
    }
}

@media (max-width: 930px) {
    #introSection::before {
        height: 67%
    }

    #introSection::after {
        height: 67%
    }
}

@media (max-width: 820px) {
    #introSection::before {
        height: 66%
    }

    #introSection::after {
        height: 66%
    }
}

/* Mobile View */
@media (max-width: 767px) {

    .homepage_header_logo {
        max-width: 120px;
    }

    .custom-responsive-width {
        width: 75% !important;
    }

    .service-title{
        font-size: 12px;
    }

    .mobile-font-md{
        font-size: 25px;
    }

    .mobile-font-sm{
        font-size: 12px;
    }

    .font-xxxl{
        font-size: 32px;
    }
   
    .carousel-wrapper {
        padding: 20px 0;
    }
    
    .scroll-container {
        gap: 20px;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .carousel-thumb {
        flex: 0 0 220px;
        width: 220px;
        height: 130px;
    }
    
    .carousel-thumb.active {
        transform: scale(1.05);
    }
    
    .carousel-thumb.active .skewed-container {
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    
    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .carousel-nav.left { 
        left: 5px; 
    }
    .carousel-nav.right { 
        right: 5px; 
    }
    
    .skewed-container {
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
        transform: skewX(-8deg); /* Less skew on mobile */
    }
    
    .unskewed-image {
        transform: skewX(8deg) translateX(-8%); /* Adjust for less skew */
    }
    
    .video-container video {
        width: 98% !important;
        height: 270px !important;
        aspect-ratio: 16/9 !important;
    }
    
    .loading-overlay {
        width: 98%;
        aspect-ratio: 16/9;
    }

    .homepageHeaderMobile .section{
        padding-left: 30px;
        padding-right: 30px;
    }

    .mobile-nav{
        justify-content: center !important;
    }

    .header_menu_div {
        margin-right: 0px;
        white-space: nowrap;
    }

    .grid-solution {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .grid-left,
    .grid-center,
    .grid-right {
        justify-self: center;
        padding: 5px;
    }

    .navigation-container {
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .services-display {
        order: 1;
        justify-content: center;
        width: 100%;
    }

    .pt-10{
        padding-top: 3rem !important;
    }

    #prevBtn,
    #nextBtn {
        position: absolute;
        bottom: 0;
    }

    #prevBtn {
        left: 0;
    }

    #nextBtn {
        right: 0;
    }

    #introSection::before {
        height: 73%
    }

    #introSection::after {
        height: 73%
    }

    .footer-nav {
        gap: 25px;
    }

    .margin-top-adjust {
        margin-top: 0;
    }
}


@media (max-width: 710px) {
    #introSection::before {
        height: 71%
    }

    #introSection::after {
        height: 71%
    }
}


@media (max-width: 650px) {
    #introSection::before {
        height: 69%
    }

    #introSection::after {
        height: 69%
    }
}

@media (max-width: 600px) {
    #introSection::before {
        height: 68%
    }

    #introSection::after {
        height: 68%
    }
}

@media (max-width: 550px) {
    #introSection::before {
        height: 67%
    }

    #introSection::after {
        height: 67%
    }
}


/* Mobile View for smaller phone */
@media (max-width: 480px) {

    .mobileSidebar.open {
        width: 70%;
    }

    .pt-10{
        padding-top: 0rem !important;
    }

    #introSection::before {
        height: 68%
    }

    #introSection::after {
        height: 68%
    }

    .video-container video {
        width: 98% !important;
        height: 200px !important;
        aspect-ratio: 16/9 !important;
    }
}

@media (max-width: 450px) {
    #introSection::before {
        height: 67%
    }

    #introSection::after {
        height: 67%
    }
}

@media (max-width: 430px) {
    #introSection::before {
        height: 66%
    }

    #introSection::after {
        height: 66%
    }
}

@media (max-width: 400px) {
    #introSection::before {
        height: 66%
    }

    #introSection::after {
        height: 66%
    }
}

@media (max-width: 381px) {
    #introSection::before {
        height: 64%
    }

    #introSection::after {
        height: 64%
    }
}

@media (max-width: 375px){
    .video-container video {
        height: 170px !important;
    }
}


.up-menu {
    bottom: 100%;
    top: unset;
}
/* solar_window_film */
.top-font-title, .automotive-title {
    position: relative;
    font-size: clamp(41px, 6vw, 100px);
    top: unset;
    left: unset;
    transform: unset;
    margin-bottom: 3rem;
    line-height: 1;
}
.top-font-content {
    font-size: clamp(31px, 2.8vw, 100px);
    font-weight: 100;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0 auto;
    color:rgba(0, 0, 0, 0.6);
    padding-bottom: 2rem;
}
.top-font-content span {
    font-size: clamp(31px, 2.8vw, 100px);
    font-weight: 800;
}
.top-font-normal {
    margin: 0 auto;
    max-width: 1200px;
}
.top-img {
    max-width: 1300px;
    margin: 5rem auto;
}
.top-img-container {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    align-content: center;
    gap: 2.5rem;
}
.top-image-size {
    width: 10rem;
    height: auto;
}
.top-img-container img {
    object-fit: contain;
}

.content2-container {
    font-size: clamp(1.5rem, 2.5vw, 5rem);
    max-width: 900px;
    margin: 0 auto;
}
.scrolling-container {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
}
.scrolling-content {
    display: flex;
    transition: transform 0.5s ease;
}
.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    margin: 0 3.5rem;
    transition: all 0.5s ease;
    flex-shrink: 0;
}
.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.item-icon img {
    max-width: 120%;
    height: auto;
}
.item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
    text-align: center;
}
.scroll-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.indicator.active {
    background: #3498db;
    transform: scale(1.2);
}
.instructions {
    margin-top: 30px;
    text-align: center;
    color: #7f8c8d;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 8px;
    max-width: 600px;
}
@media (max-width: 820px) {
    .top-img-container {
        gap: 1.5rem;
    }
    .top-image-size {
        width: 7rem;
    }
}
@media (max-width: 768px) {
    .item {
        width: 250px;
    }
    .title-section h1 {
        font-size: 24px;
    }
    .top-font-title, .automotive-title {
        white-space: normal;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
@media (max-width: 767px) {
    .top-img-container {
        grid-auto-flow: initial;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        gap: 2rem;
    }
    .top-image-size {
        width: 6rem;
    }
}

.demo-install {
    background-size: cover;         /* 讓圖片覆蓋整個區塊 */
    background-position: center;    /* 保持圖片中心 */
    background-repeat: no-repeat;

    /* 大小與置中內容 */
    display: flex;
    flex-direction: column;
    justify-content: center;        /* 垂直置中 */
    align-items: center;            /* 水平置中 */
    text-align: center;

    color: #000;
    position: relative;
}
.demo-install p {
    font-size: 26px;
}
.demo-install h2 {
    font-weight: 900;
}

/* Performance Section */
.performance-section {
    color: #000;
}
.performance-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}
.performance-question {
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
    color: #555;
}
.performance-answer {
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    /* color: #1a5276; */
}

/* Tables Section */
.tables-section {
    margin-bottom: 40px;
}
.table-container {
    overflow-x: auto;
}
.sunstop-overlay, .ravo-overlay {
    background-size: 70% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.table-title {
    font-size: 1.5rem;
    /* color: #1a5276; */
    margin-bottom: 15px;
    text-align: center;
}
#solar-content4 table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    color: #000;
}
#solar-content4 th, #solar-content4 td {
    padding: 22px 15px;
    text-align: center;
    border: 1px solid #000;
}
#solar-content4 th {
    font-weight: bold;
}
#solar-content4 tr img {
    width: 100%;
    max-width: 20px;
    margin: auto;
}
#solar-content4 tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}
/* ---------- Responsive Table Carousel Styles ---------- */
#solar-content4 {
  position: relative;
}
.table-split {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.table-fixed {
  flex: 0 0 auto;
  min-width: 100px;
  max-width: 150px;
  text-align: center;
}
.table-fixed table th,
.table-fixed table td {
  white-space: normal;
  word-break: break-word;
  padding: 10px;
}
.table-scroll-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.table-scroll-content {
  display: flex;
  transition: transform 0.3s ease;
}
.scroll-table th, .scroll-table td {
  min-width: 140px;
  max-width: 152px;
  text-align: center;
  padding: 10px;
}
.carousel-controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.carousel-arrow {
  background: #000;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
}
.carousel-dots {
  display: flex;
  gap: 5px;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
}
.carousel-dots .dot.active {
  background: #000;
}
@media (max-width: 768px) {
    #solar-content4 th, #solar-content4 td {
        padding: 22px 10px;
    }
    #solar-content4 table {
        margin-bottom: 0;
    }
    #solar-content4 .carousel-controls {
        display: flex;
    }
    #solar-content4 .table-container table {
        display: none;
    }
    #solar-content4 .table-bottom {
        margin-bottom: 10rem;
    }
}


.solar-content6-container {
    align-items: center;
    text-align: center;
}
.solar-content6-container h1{
    font-weight: 900;
}
.solar-content6-btn {
    border: 0;
    border-radius: 10px;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    margin: 10px 0;
}

.windscreen-master-title {
    font-size: clamp(41px, 6vw, 100px);
    line-height: 1;
    margin-bottom: 2rem;
}
.windscreen-title {
    font-size: 40px;
}
.windscreen-text {
    font-size: 20px;
}
.windscreen-text2 {
    font-size: 20px;
}
.windscreen-btn {
    background-color: #000;
    border-radius: 10px;
    border: 0;
    color: #fff;
    padding: 5px 35px;
}
/* end solar_window_film */

/* car_care_maintenance */
.car-box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    grid-auto-flow: column;
    justify-content: center;
    align-content: center;
    gap: 2.5rem;
}
.car-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    overflow: hidden;
}
.car-card h2 {
    background: #f8f8f8;
    padding: 20px 10px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    border-bottom: 1px solid #ddd;
    line-height: 1.3em;
    min-height: 82px;
    align-content: center;
}
.car-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.car-card li {
    display: flex;
    justify-content: space-between;
    padding: 12px 30px;
    font-size: 14px;
    color: #333;
}
.car-card li:last-child {
    border-bottom: none;
}
@media (max-width: 1024px) {
    .car-box-container {
        grid-auto-flow: row;
    }
}
@media (max-width: 992px) {
    .car-box-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .car-box-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .car-card h2 {
        font-size: 15px;
    }
    .car-card li {
        padding: 10px 20px;
        font-size: 13px;
    }
    .windscreen-master-title {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
@media (max-width: 480px) {
    .car-box-container {
        grid-template-columns: 1fr; /* 單欄 */
    }
    .car-card {
        width: 100%;
    }
    #section5, #automotive {
        padding-top: 5rem !important;
    }
}

.car-banner {
    position: relative;
    max-width: 1300px;
    width: 90%;
    aspect-ratio: 856 / 268;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
}
.car-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.car-text {
    position: absolute;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.car-top-text {
    top: 15px;
    left: 10%;
    font-size: clamp(14px, 2vw, 22px);
}
.car-bottom-text {
    bottom: 15px;
    font-size: clamp(16px, 3vw, 28px);
    font-style: italic;
    width: 100%;
    text-align: center;
}

.membership {
    text-align: center;
    width: 90%;
    max-width: 1200px;
    color: #333;
    margin: 0 auto;
}
.membership h1 {
    font-size: clamp(41px, 6vw, 100px);
    position: relative;
    top: unset;
    left: unset;
    transform: unset;
    font-weight: bold;
    margin-bottom: 25px;
    letter-spacing: 1px;
}
.membership h1 span {
    font-style: italic;
    font-size: clamp(41px, 6vw, 100px);
    letter-spacing: 2px;
}
.membership h1 em {
    font-family: "Times New Roman", serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(43px, 6vw, 100px);
}
.membership-benefits {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-weight: bold;
    margin-bottom: 25px;
}
.membership-benefits p {
    margin: 5px 0;
    font-size: clamp(14px, 2vw, 18px);
}
.membership-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.membership-plan {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 385px;
    max-width: 90%;
}
.membership-plan h2 {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 15px;
}
.membership-plan h2 span {
    font-weight: 400;
    margin-left: 5px;
    color: #444;
}
.membership-divider {
    height: 1px;
    background: #ddd;
    margin: 12px 0;
}
.membership-plan p {
    margin: 10px 0;
    font-size: 15px;
    color: #333;
    padding: 10px;
}
.membership-plan strong {
    color: #000;
}
/* 手機排版 */
@media (max-width: 820px) {
    .membership-plan {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .membership-plans {
        flex-direction: column;
        align-items: center;
    }
}

.automotive-container {
    margin: 0 auto;
    max-width: 90%;
}
.automotive-container p {
    max-width: 70%;
    margin: 0 auto;
}
#car-content2 .item{
    justify-content: unset;
}
#car-content2 img {
    height: 190px;
}
#car-content2 span{
    font-weight: bolder;
    font-size: 24px;
    font-weight: 900;
}

.car-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}
/* ---- Each Card ---- */
.car-services-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.car-services-card h2 {
  text-align: center;
  border-bottom: 1px solid gray;
  padding: 20px;
  font-size: 20px;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 15px;
}
/* ---- Price List ---- */
.car-services-price-list p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 15px;
  color: #333;
}
/* ---- Images ---- */
.car-services-image-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.car-services-img-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
}
.car-services-img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
/* Larger single image */
.car-services-img-box.wide {
  margin-top: 15px;
  height: auto;
}
.car-services-img-box.tall {
  margin-top: 15px;
}
.window-treatment {
  flex: 2 1 591px;
}
.interior-coat {
  flex: 1 1 319px;
}
/* ---- Responsive ---- */
@media (max-width: 768px) {
  .car-services {
    flex-direction: column;
    align-items: center;
  }
  .window-treatment, .interior-coat {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}


.car-couting-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}
.card-wrapper {
    position: relative;
    width: 100%;
}
.car-couting-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
  clip-path: polygon(1% 0, 100% 0, 99% 100%, 0 100%);
  width: 100%;
  z-index: 2;
}
.card-shadow {
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    /* filter: blur(15px); */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
    transition: all 0.3s ease;
}
.card-shadow {
    /* filter: blur(20px); */
    width: 99%;
}
.car-couting-card.gray {
  background: #E5E5E5;
}
.car-couting-card.gray2 {
  background: #D5D5D5;
}
.car-couting-card.gray3 {
  background: #B7B7B7;
}
.car-couting-card.dark {
    color: #fff;
    background: #8D8D8D;
}
.car-couting-card.dark h2, .car-couting-card.dark p, .car-couting-card.dark li, .car-couting-card.dark span {
    color: #fff;
    background: #8D8D8D;
}
.car-couting-card:hover {
  transform: translateY(-3px);
}
.card-wrapper:hover .card-shadow {
    transform: translateY(-3px);
}
.car-couting-card-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px 30px;
}
.car-couting-info {
  flex: 1 1 320px;
  border-right: 1px solid rgba(90, 90, 90, 0.3);
}
.car-couting-info img {
    width: 7rem;
    padding: 10px;
    height: auto;
}
.car-couting-info2 {
  flex: 1 1 280px;
  border-right: 1px solid rgba(90, 90, 90, 0.3);
}
.car-couting-info h2 {
  font-size: 36px;
  margin-bottom: 5px;
  font-style: italic;
}
.car-couting-info p {
  font-size: 16px;
}
.car-couting-maintenance {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.car-couting-info2 ul {
  list-style: disc;
  line-height: 1.7;
}
.car-couting-ratings {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-left: 40px;
  padding-right: 40px;
}
.car-couting-rating {
  display: flex;
  width: 100%;
  max-width: 270px;
  font-size: 0.9rem;
  align-items: center;
}
.car-couting-rating span {
  font-weight: 600;
}
.car-couting-stars i {
  margin-left: 3px;
}
.car-couting-ratings img {
  margin-top: 10px;
  width: 100%;
  max-width: 310px;
  border-radius: 6px;
  object-fit: cover;
}
.car-couting-stars img {
  width: 100%;
  max-width: 20px;
  margin: auto;
}
/* Responsive */
@media (max-width: 1024px) {
  .car-couting-info, .car-couting-info2 {
    flex: 1 1 220px;
  }
}
@media (max-width: 840px) {
  .car-couting-info, .car-couting-info2 {
    flex: 1 1 100%;
    width: 100%;
    border-bottom: 1px solid rgba(90, 90, 90, 0.3);
    border-right: unset;
    padding: 2rem 0;
  }
  .car-couting-info ul, .car-couting-info2 ul, .car-couting-ratings ul {
    padding-left: 20px;
  }
  .car-couting-ratings {
    flex: 1 1 100%;
    width: 100%;
    padding: 2rem 0;
  }
}
@media (max-width: 768px) {
  .car-couting-card-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .car-couting-ratings {
    align-items: flex-start;
  }
  .car-couting-rating {
    max-width: 100%;
  }
  .car-couting-ratings img {
    max-width: 100%;
  }
  .car-couting-stars img {
    max-width: 20px;
  }
  .car-couting-card {
    clip-path: unset;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  }
  .card-shadow {
    width: 100%;
  }
  .paint-top-title {
    white-space: unset;
  }
  .top-img {
    margin: 5rem auto 0;
  }
  #member-price {
    padding-top: 5rem !important;
  }
  #solar-content7 {
    padding-top: 6rem !important;
  }
}
/* end */

/* PPF */
.paint-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-auto-flow: column;
    justify-content: center;
    align-content: center;
    gap: 2.5rem;
}
@media (max-width: 1024px) {
    .paint-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
@media (max-width: 992px) {
    .paint-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
        grid-auto-flow: row;
    }
}
@media (max-width: 768px) {
    .paint-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}
@media (max-width: 480px) {
    .paint-container {
        grid-template-columns: 1fr; /* 單欄 */
    }
}
.paint-font-normal {
    margin: 0 auto;
    max-width: 1000px;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 30px;
}
.paint-image-size {
    max-width: 100%;
    height: auto;
}
.paint-container p {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 35px;
}

.ppf-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}
/* --- Card --- */
.ppf-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.25s ease;
}
/* --- Images --- */
.ppf-images {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1 1 300px;
  justify-content: center;
}
.ppf-images img {
  border-radius: 10px;
  width: 95%;
  max-width: 250px;
  object-fit: cover;
}
.ppf-images.single img {
  max-width: 350px;
}
.ppf-images.multiple {
  flex-direction: column;
}
.ppf-img-box {
  text-align: center;
}
.ppf-img-box p {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #555;
}
/* --- Info --- */
.ppf-info {
    flex: 1 1 250px;
    text-align: left;
}
.ppf-info span {
    color: #343434;
    font-size: 36px;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 1.08px;
}

.ppf-price {
    color: #343434;
    margin-top: 5px;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1.08px;
}
.ppf-info ul {
    list-style: none;
    color: #343434;
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: 30px; /* 150% */
    letter-spacing: 0.6px;
    text-transform: capitalize;
    padding-left: 0;
}
.ppf-info ul li {
  line-height: 1.6;
}
.ppf-btn {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 32px;
  margin: 15px 0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.ppf-btn:hover {
  background: #444;
}
/* --- Responsive --- */
@media (max-width: 768px) {
  .ppf-card {
    flex-direction: column;
    text-align: center;
  }

  .ppf-info {
    text-align: center;
    margin-top: 15px;
    flex: 1 1 100%;
  }

  .ppf-images {
    flex-direction: row;
    justify-content: center;
  }

  .ppf-images.multiple {
    flex-direction: column;
  }
}

.ppf-contain-container {
    display: block;
    justify-content: center;
    align-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}
.ppf-contain-container h1 {
    margin:0 auto;
    max-width: 800px;
    font-size: 36px;
    font-style: normal;
    font-weight: 300;
}
.ppf-contain-container p {
    margin:2rem auto;
    max-width: 1150px;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; 
}
.ppf-image-size {
    max-width: 100%;
    height: auto;
}
.ppf-img-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-flow: column;
    justify-content: center;
    align-content: center;
    gap: 2.5rem;
}
@media (max-width: 992px) {
    .ppf-img-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        grid-auto-flow: row;
    }
}
@media (max-width: 768px) {
    .ppf-img-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}
@media (max-width: 480px) {
    .ppf-img-container {
        grid-template-columns: 1fr; /* 單欄 */
    }
}
/* End PPF */

/* automotive */
.automotive-img-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-flow: column;
    justify-content: center;
    align-content: center;
    gap: 2.5rem;
    max-width: 900px;
    width: 90%;
    margin: 5rem auto;
}
.automotive-image-size {
    max-width: 14rem;
    height: auto;
    margin: auto;
}
.automotive-special-size {
    max-width: 9rem;
}
@media (max-width: 992px) {
    .automotive-img-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        grid-auto-flow: row;
    }
}
@media (max-width: 768px) {
    .automotive-img-container {
        grid-auto-flow: initial;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 1rem;
    }
}

.wrap-img-container {
    display: block;
    justify-content: center;
    align-content: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 90%;
}
.wrap-img-grid{
    display:grid;
    gap:36px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items:start;
}
.wrap-img-card{
    background:transparent;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    text-align:center;
}
/* image container keeps aspect ratio and rounded corners */
.wrap-img-thumb{
    position:relative;
    width:100%;
    aspect-ratio: 16 / 10; /* keeps consistent card image height */
    overflow:hidden;
    border-radius:18px;
    transition:transform .36s cubic-bezier(.2,.9,.2,1), box-shadow .24s;
}
/* Slight tilt to emulate your screenshot's rounded slanted corners */
.wrap-img-thumb::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
}
.wrap-img-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transform-origin:center center;
    transition:transform .36s ease;
}
.wrap-img-caption{
    font-weight:700;
    font-size: 20px;
    line-height:1.2;
    color:v#333;
    padding:6px 8px 0;
}
.wrap-content6 {
    margin: 5rem auto 2rem;
    max-width: 1050px;
    width: 90%;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
}
/* smaller captions for narrow screens */
@media (max-width:520px){
    .wrap-img-grid{ gap:18px; }
    .wrap-img-caption{font-size:15px}
}
/* layout for very wide screens: two columns but make cards a bit wider */
@media (min-width:900px){
    .wrap-img-grid{grid-template-columns: repeat(2, 1fr)}
}
/* end automotive */