







.inner-nav {
    margin-top: 12px;
}


.top-nav {
    position: absolute;
    top: 10px;
    right: 30px;
    z-index: 1;
}

.search {
    border: 1px solid #fff;
    border-radius: 5px;
    margin-right: 15px;
}

.btn-search {
    width: 20px;
    height: auto;
    padding: 0 4px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    background-color: transparent;
}

.lang {
    border: 1px solid #fff;
    border-radius: 5px;
    display: flex;
    overflow: hidden;
}

.lang a {
    text-decoration: none;
}

.btn-lang {
    width: 30px;
    height: 25px;
    text-align: center;
}

/* .btn-th {
    width: 30px;
    height: auto;
    font-size: 12px;
    color: #fff;
    text-align: center;
    background-color: #2e3192;
    border-radius: 5px 0 0 5px;
}

.btn-en {
    width: 30px;
    height: auto;
    font-size: 12px;
    color: #fff;
    text-align: center;
    background-color: transparent;
} */

.btn-lang {
    width: 30px;
    height: auto;
    font-size: 12px;
    color: #fff;
    text-align: center;
    background-color: transparent;
}

.btn-lang-active {
    background-color: #2e3192;
}

.sub-logo p {
    margin-bottom: 0;
    margin-left: 20px;
    color: #fff;
    font-size: 14px;
}

.big-banner-box {
    position: relative;
}

.big-banner-btn img {
    width: 500px;
}

.big-banner-btn {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.big-banner-desktop img {
    width: 100%;
}

.big-banner-mobile img {
    width: 100%;
}

.ceramic-desktop img {
    width: 100%;
}

.text-green {
    color: #19865f;
}

.text-blue {
    color: #2e3192;
}

.bg-green-deep {
    background: #26b170;
}

.bg-green-light {
    background: #40cca7;
}

.bg-blue {
    background: #01377d;
}


.image-box {
    position: relative;
}

.image-header {
    position: relative;
    text-align: center;
    padding: 15px 0;
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

.image-header h4 {
    color: #fff;
    margin-bottom: 0;
}

.image-pic {
    position: relative;
    margin-top: -10px;
    z-index: 0;
}

.product-recom {
    background-color: #fff;
    padding: 15px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1) !important;
}

.product-recom-img {
    text-align: center;
}

.product-recom-text {
    
}

.product-recom-text h5 {
    font-size: 14px;
}

.product-recom-text p {
    font-size: 12px;
    margin-bottom: 0;
}

.all-ele-text {
    text-align: right;
    margin-bottom: 50px;
}

.all-ele-text h2 {
    margin-bottom: 0;
}

.project-ref img {
    border-radius: 10px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.1) !important;
}

.pd-30 {
    padding: 30px;
}

.explore-container {
    padding: 20px;
    background-color: #fff;
}

.explore-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: var(--border-radius-default);
    border-top-right-radius: var(--border-radius-default);
    isolation: isolate;
    transform: translateZ(0);
    border-radius: 0;
    }

.explore-img img {
    width: 100%;
    transform: translateZ(0.1px);
    transition: all .5s var(--ease-out-short);
}

.explore-img a:hover img {
    transform: scale(1.05) translateZ(0.1px);
}

.explore-info {
    margin-top: 20px;
}

.explore-info h3 {
    font-size: 21px;
}

.explore-info p {
    color: #757575;
    margin-bottom: 0;
}

.explore-info a {
    text-decoration: none;
}

.icon-social a {
    margin: 0 5px;
}

.footer-call a {
    text-decoration: underline;
}

.copyright {
    padding: 10px 0;
}














@media only screen and (min-width: 1024px) {

    .sub-logo {
        display: block;
    }

    .big-banner-desktop {
        display: block;
    }

    .big-banner-mobile {
        display: none;
    }

    .ceramic-desktop {
        display: block;
    }

    .ceramic-mobile {
        display: none;
    }

}


@media only screen and (max-width: 1023px) {

    .sub-logo {
        display: none;
    }

    .inner-nav {
        margin-top: 0;
    }

    .top-nav {
        position: absolute;
        top: 30px;
        right: 80px;
        z-index: 1;
    }

    .big-banner-desktop {
        display: none;
    }

    .big-banner-mobile {
        display: block;
    }

    .big-banner-btn {
        bottom: 60px;
    }

    .ceramic-desktop {
        display: none;
    }

    .ceramic-mobile {
        display: block;
    }
}


.hero-section {
    position: relative;
    width: 100%;
    height: 660px;
    overflow: hidden;
}

@media (max-width: 1024px) {
  .hero-section {
    height: 500px;
  }
}

.slider {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-btn {
    min-width: max-content;
    position: absolute;
    bottom: 5%;
    border: 4px solid #23bfb7;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 30px;
    background-color: #2d3691;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s;
    z-index: 10;
}

.cta-btn:hover {
    background-color: #23bfb7;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    padding: 10px 8px;
}

.prev-btn {
    left: 5%;
}

.next-btn {
    right: 5%;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.desktop-img {
    display: block;
}

.mobile-img {
    display: none;
}

@media (max-width: 768px) {
    .desktop-img {
        display: none; /* ซ่อนรูป desktop */
    }

    .mobile-img {
        display: block; /* แสดงรูป mobile */
    }
}
