/* G E N E R A L   S E T T I N G ------------------------------------------------------- */
/* #region */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
    overflow-x: hidden;
    color: #333;

    scrollbar-width: none;
    -ms-overflow-style: none;

}

body::-webkit-scrollbar {
    display: none;
    width: 0;
}

.prohouse-main-title {
    display: flex;
    text-align: center;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 40px;
    color: #4b4b4b;

}

.prohouse-main-title h1 {
    font-weight: 600;
    font-size: 2.8rem;
}

.prohouse-main-title i {
    font-size: 2rem;
}

/* mobile setting  */
.mobile-prohouse-bottom-nav,
.prohouse-mobile-header,
.mobile-prohouse-mobile-header {
    display: none;
}


/* #endregion */
/* ####################################################################################### */



/* T O P   H E A D E R  ----------------------------------------------------------------------------*/
/* #region */

.prohouse-desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.prohouse-logo img {
    margin-left: 35px;
    width: 120px;
}

.prohouse-contact-info {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 20px;
}

.prohouse-contact-block {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    gap: 4px;
}

.prohouse-contact-block i {
    font-size: 13px;
    color: #f16a48;
    margin-bottom: 6px;
}

.prohouse-contact-block p {
    margin: 0;
    line-height: 1.2;
    font-size: 13px;
}

.prohouse-request-btn {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
}

.prohouse-contact-info a {
    text-decoration: none;
    color: #1d1d1d;
}

/* #endregion */
/* ####################################################################################### */



/* B A N N E R   S E C T I O N ---------------------------------------------------------------------- */
/* #region */
.prohouse-hero {
    position: relative;
    color: white;
    padding: 100px 40px 100px;
    text-align: left;
    height: 30%;
    overflow: hidden;
}

.prohouse-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.prohouse-hero>.prohouse-hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

/* Banner image slide --------------------------------------------------------------------- */
.prohouse-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.prohouse-banner-slide-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.prohouse-banner-slide-picture.active {
    opacity: 1;
    z-index: 1;
}

.prohouse-banner-slide-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.prohouse-pagenumber {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 3;
}

.prohouse-banner-slide-picture.active .prohouse-pagenumber {
    font-size: 15px;
    background-color: #1d1d1d;
    padding: 6px 16px;
}

/* Navigation tab -------------------------------------------------------------  */
.prohouse-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.18);
    z-index: 10;
    padding: 16px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.prohouse-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.prohouse-nav li {
    position: relative;
}

.prohouse-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    transition: color 0.3s, border-bottom 0.3s;
}

.prohouse-nav a.prohouse-active {
    color: #f19448;
    border-bottom: 2px solid #f19448;
    font-weight: 700;
}

.prohouse-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-radius: 8px;
    overflow: hidden;
    padding: 8px 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prohouse-dropdown:hover>.prohouse-dropdown-menu {
    display: block;
    pointer-events: auto;
    opacity: 1;
}

.prohouse-dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.prohouse-dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #f19448;
}

/* banner detail --------------------------------------------------------------- */
.prohouse-overlay-title {
    position: relative;
    z-index: 3;
    /* max-width: 800px; */
    width: 100%;
    padding: 0 40px;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.prohouse-overlay-title h2 {
    font-size: 2rem;
    font-weight: 400;
}

.prohouse-overlay-title h1 {
    font-size: 2.8rem;
    font-weight: 600;
}

.prohouse-overlay-title p {
    font-size: 1.2rem;
    font-weight: 400;
}

.prohouse-btn {
    background-color: #007bff00;
    color: white;
    width: 200px;
    padding: 12px 28px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid white;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.prohouse-btn:hover {
    background-color: #f89100;
}

/* #endregion */
/* ####################################################################################### */



/* S E R V I C E   S E C T I O N ---------------------------------------------------------------------- */
/* #region */

:root {
    --primary-green: #33691E;
    --accent-orange: #E65100;
}

.services-section {
    max-width: 1400px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent-orange);
}

.service-card i {
    font-size: 45px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #E65100;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-section {
    background: #ffffff;
    padding: 80px 20px;
}

.process-grid {
    max-width: 1200px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    position: relative;
}

.process-item {
    text-align: center;
    z-index: 1;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-item h4 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.quality-banner {
    max-width: 1200px;
    margin: 80px auto;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 20px;
}

.quality-img {
    flex: 1;
}

.quality-img img {
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--primary-green);
}

.quality-content {
    flex: 1;
}

.cta-section {
    padding: 60px 20px;
    text-align: center;
    color: #4E4E4E;
    margin-bottom: 80px;
}

.btn-gold {
    background: var(--accent-orange);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 25px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: white;
    color: var(--accent-orange);
}

@media (max-width: 480px) {
    .quality-banner {
        flex-direction: column;
        text-align: center;
    }

    .quality-img img {
        width: 100%;
        box-shadow: 10px 10px 0 var(--primary-green);
    }
}

/* #endregion */
/* ####################################################################################### */



/* mobile */
@media screen and (max-width: 480px) {

    .prohouse-desktop-header,
    .prohouse-nav,
    .ab-in-title h1 {
        display: none;
    }

    .mobile-prohouse-bottom-nav,
    .mobile-prohouse-mobile-header {
        display: block;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    p,
    h5 {
        font-size: 0.95rem;
    }

    .prohouse-main-title h1 {
        font-size: 22px;
    }

    /* Mobile Header Specifics */
    .mobile-prohouse-mobile-header {
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        overflow-x: hidden;
    }

    .mobile-prohouse-mobile-header img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .mobile-prohouse-mobile-header h1 {
        font-size: 18px;
        color: #042d03;
        font-family: 'Kanit', sans-serif;
        text-align: center;
        white-space: normal;
    }

    /* 2. Hero & Banner Section */
    .prohouse-hero {
        padding: 40px 40px 100px;
        text-align: center;
        height: auto;
        overflow: hidden;
    }

    .prohouse-overlay-title {
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .prohouse-overlay-title h2 {
        font-size: 16px;
    }

    .prohouse-overlay-title h1 {
        font-size: 26px;
    }

    .prohouse-overlay-title p {
        font-size: 18px;
    }

    /* 3. About Us Section (ab-in) */

    .services-section {
        max-width: 100%;
    }

}

@media (min-width: 481px) and (max-width: 1024px) {
    .prohouse-desktop-header {
        flex-direction: row;
        align-items: flex-start;
        padding: 10px 20px;
    }

    .prohouse-contact-info {
        flex-direction: row;
        gap: 20px;
        padding: 10px 0;
    }

    .prohouse-nav ul {
        flex-direction: row;
        gap: 12px;
    }

    .prohouse-hero {
        padding: 100px 20px 80px;
        height: auto;
    }

    .prohouse-overlay-title {
        padding: 0 20px;
        max-width: 100%;
    }

    .desktop-prohouse-info-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .desktop-info-card {
        max-width: 100%;
    }

    .desktop-prohouse-highlight-grid {
        grid-template-columns: 1fr 1fr;
    }

    .desktop-prohouse-contact-container h2 {
        font-size: 22px;
    }

    .desktop-prohouse-contact-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .desktop-prohouse-highlight-item {
        padding: 16px;
    }
}