*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter','Noto Sans Thai',sans-serif;
    color:#1e293b;
    line-height:1.7;
    background:#ffffff;
}

.container{
    width:90%;
    max-width:1140px;
    margin:auto;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header.hide{
    transform: translateY(-100%);
}

body{
    padding-top: 90px;
}
header{
    position:fixed;
    top:0;
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    z-index:100;
}
.nav{
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav{
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-weight:700;
    letter-spacing:1px;
}

nav a{
    text-decoration:none;
    color:#334155;
    margin-left:30px;
}

.hero{
    padding:100px 0;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:60px;
    align-items:center;
}

.hero h1{
    font-size:3rem;
    line-height:1.2;
    margin-bottom:24px;
}

.hero p{
    margin-bottom:30px;
    color:#475569;
}

.hero-image img{
    width:100%;
    border-radius:12px;
}

.btn{
    display:inline-block;
    background:#0f172a;
    color:white;
    padding:14px 28px;
    text-decoration:none;
    border-radius:8px;
}

.services,
.approach,
.about{
    padding:100px 0;
}

.section-title{
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.2rem;
    margin-bottom:10px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.card{
    border:1px solid #e2e8f0;
    padding:30px;
    border-radius:12px;
}

.card h3{
    margin-bottom:15px;
}

.approach-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.about-text{
    max-width:800px;
}

.contact-cta{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:100px 0;
}

.contact-cta h2{
    margin-bottom:30px;
}

.btn-light{
    background:white;
    color:#0f172a;
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
}

footer{
    padding:50px 0;
    border-top:1px solid #e5e7eb;
}

.footer-grid{
    display:flex;
    justify-content:space-between;
}

@media(max-width:768px){

    .hero-grid,
    .service-grid,
    .approach-grid{
        grid-template-columns:1fr;
    }

    nav{
        display:none;
    }

    .hero h1{
        font-size:2rem;
    }

    .footer-grid{
        flex-direction:column;
        gap:20px;
    }
}

/*service page*/
.page-hero{
    background:#f8fafc;
    padding:140px 0;
    text-align:center;
}

.page-tag{
    color:#2563eb;
    font-size:13px;
    font-weight:600;
    letter-spacing:2px;
}

.page-hero h1{
    font-size:54px;
    margin:20px 0;
}

.page-hero p{
    max-width:700px;
    margin:auto;
    color:#64748b;
}

.services-list{
    padding:120px 0;
}

.service-block{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:40px;
    padding:50px 0;
    border-bottom:1px solid #e2e8f0;
}

.service-number{
    font-size:48px;
    font-weight:700;
    color:#cbd5e1;
}

.service-content h2{
    margin-bottom:15px;
    font-size:30px;
}

.service-content p{
    max-width:800px;
    color:#475569;
}

.service-benefits{
    background:#f8fafc;
    padding:120px 0;
}

.service-grid{
    display:grid;
    grid-template-columns:1fr;
    gap: 24px;
    margin-top:40px;
}

.benefits-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:24px;
    margin-top:40px;
}

.benefits-grid h3{
    margin-bottom:10px;
}

.active{
    color:#2563eb;
    font-weight:600;
}
.service-list {
    margin-top: 15px;
    padding-left: 20px;
    color: #475569;
    line-height: 1.8;
}

.service-list li {
    margin-bottom: 8px;
}

.service-content h4,
.card h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

@media(max-width:768px){

    .service-block{
        grid-template-columns:1fr;
    }

    .benefits-grid{
        grid-template-columns:1fr;
    }

    .page-hero h1{
        font-size:36px;
    }

    .service-number{
        font-size:32px;
    }
    .service-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width: 768px) {

    .service-block{
        grid-template-columns:1fr;
    }

    .benefits-grid{
        grid-template-columns:1fr;
    }

    .page-hero h1{
        font-size:36px;
    }

    .service-number{
        font-size:32px;
    }

    .service-grid{
        grid-template-columns:1fr;
    }

    .service-list{
        padding-left:18px;
        font-size:14px;
        line-height:1.7;
    }

    .service-list li{
        margin-bottom:6px;
    }

    .card h4,
    .service-content h4{
        font-size:15px;
    }
}


/* Mission Statement */

.mission{
    padding: 100px 0;
    background: #f8f9fa;
}

.mission-content{
    max-width: 850px;
    margin: 0 auto;
}

.mission-content p{
    margin-bottom: 24px;
    line-height: 1.9;
    color: #444;
    font-size: 1.05rem;
}

.mission blockquote{
    margin-top: 50px;
    padding: 40px;
    border-left: 4px solid #0d2b45;
    background: #ffffff;
    font-size: 1.4rem;
    line-height: 1.7;
    font-weight: 500;
    color: #0d2b45;
}

.mission blockquote strong{
    display: block;
    margin-top: 15px;
    font-size: 1.6rem;
    font-weight: 700;
}

/*about page*/

.company-overview{
    padding:120px 0;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.about-grid img{
    width:100%;
    border-radius:12px;
}

.about-grid h2{
    font-size:42px;
    margin-bottom:25px;
}

.about-grid p{
    margin-bottom:20px;
    color:#475569;
}

.focus-section{
    padding:120px 0;
    background:#f8fafc;
}

.focus-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:60px;
}

.focus-card{
    background:white;
    padding:40px;
    border:1px solid #e2e8f0;
    border-radius:12px;
}

.focus-card h3{
    margin-bottom:15px;
}

.industry-section{
    padding:120px 0;
}

.industry-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:60px;
}

.industry-item{
    border:1px solid #e2e8f0;
    padding:35px;
    text-align:center;
    border-radius:12px;
    font-weight:600;
}

.philosophy{
    padding:120px 0;
    background:#f8fafc;
}

.philosophy-box{
    max-width:800px;
    margin:auto;
    text-align:center;
}

.philosophy-box p{
    font-size:28px;
    margin-bottom:25px;
    color:#0f172a;
    font-weight:500;
}

@media(max-width:768px){

    .about-grid,
    .focus-grid,
    .industry-grid{
        grid-template-columns:1fr;
    }

    .about-grid h2{
        font-size:32px;
    }

    .philosophy-box p{
        font-size:22px;
    }

}
.coverage{
    padding:120px 0;
    background:#ffffff;
}

.coverage-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.coverage-content h2{
    font-size:42px;
    margin:20px 0;
}

.coverage-content p{
    color:#475569;
    line-height:1.8;
}

.coverage-image img{
    width:100%;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.section-tag{
    color:#2563eb;
    font-size:13px;
    font-weight:600;
    letter-spacing:2px;
}

@media(max-width:768px){

    .coverage-grid{
        grid-template-columns:1fr;
    }

    .coverage-content h2{
        font-size:32px;
    }

}

/* About Page */
.page-hero{
    padding: 120px 20px 80px;
    text-align: center;
}
.page-hero p{
    max-width: 700px;
    margin: 20px auto 0;
}
.content-width{
    max-width: 850px;
    margin: 0 auto;
}
.about-story,
.mission{
    padding: 100px 20px;
}
.content-width p{
    margin-bottom: 24px;
    line-height: 1.9;
}
.mission{
    background: #f8f9fa;
}
.mission blockquote{
    margin-top: 50px;
    padding: 40px;
    border-left: 4px solid #0d2b45;
    background: #ffffff;
    line-height: 1.8;
    font-size: 1.4rem;
    color: #0d2b45;
}
.mission blockquote strong{
    display: block;
    margin-top: 15px;
    font-size: 1.6rem;
}

/* Approach Page */
.approach-principles,
.process-section,
.client-focus,
.approach-quote,
.cta{
    padding:100px 20px;
}
.principles-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
    margin-top:50px;
}
.principle-card{
    background:#ffffff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(0,0,0,0.05);
}
.principle-card h3{
    margin-bottom:15px;
}
.timeline{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    margin-top:50px;
}
.timeline-item{
    background:#ffffff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(0,0,0,0.05);
}
.step-number{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#0d2b45;
    color:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    margin-bottom:20px;
}
.client-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}
.client-grid img{
    width:100%;
    border-radius:12px;
}
.approach-quote{
    text-align:center;
    background:#f8f9fa;
    padding:80px 20px;
}
.approach-quote blockquote{
    max-width:800px;
    margin:auto;
    font-size:1.5rem;
    line-height:1.8;
    color:#0d2b45;
}
.approach-quote strong{
    display:block;
    width:auto;
}
.cta{
    text-align:center;
    padding:100px 20px;
}
.cta p{
    max-width:600px;
    margin:15px auto;
    line-height: 1.7;
}
.cta .btn{
    display :inline-block;
    padding:12px 28px;
    margin-top:15px;
    font-size:1rem;
    
}

@media (max-width:768px){
    .client-grid{
        grid-template-columns:1fr;
    }
    .approach-quote blockquote{
        font-size:1.2rem;
    }
    .approach-quote strong{
        font-size:1.4rem;
    }
}
.contact-cta .btn-light{
    display: inline-block;
    width: auto;
    padding: 12px 28px;
    margin-top: 20px;
}

.contact-cta p{
    margin-bottom: 20px;
}

/* Contact Page */
.contact-section,
.contact-cta-simple,
.contact-quote{
    padding:100px 20px;
}
.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}
.contact-form-card{
    background:#ffffff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(0,0,0,0.05);
}
.contact-item{
    margin-bottom:30px;
}
.form-group{
    margin-bottom:20px;
}
.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}
.form-group input,
.form-group textarea{
    width:100%;
    padding:14px;
    border:1px solid #dcdcdc;
    border-radius:8px;
    font-family:inherit;
    font-size:1rem;
}
.contact-quote{
    text-align:center;
    background:#f8f9fa;
}
.contact-quote blockquote{
    max-width:800px;
    margin:auto;
    font-size:1.4rem;
    line-height:1.8;
    color:#0d2b45;
}
.contact-quote strong{
    display:block;
    margin-top:15px;
    font-size:1.7rem;
}
.footer-bottom{
    text-align:center;
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,0.15);
}
@media (max-width:768px){
    .contact-grid{
        grid-template-columns:1fr;
    }
    .contact-form-card{
        padding:30px;
    }
}

/* Primary Button */
.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    padding:16px 28px;
    background:#0D2B45;
    color:#ffffff;
    border:none;
    border-radius:8px;
    font-family:inherit;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
    transition:
        background 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}
.btn-primary:hover{
    background:#153B5C;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(13,43,69,0.20);
}
.btn-primary:active{
    transform:translateY(0);
    box-shadow:none;
}
.btn-primary:focus{
    outline:none;
    box-shadow:0 0 0 4px rgba(13,43,69,0.20);
}
.btn-primary:disabled{
    background:#9AA5B1;
    cursor:not-allowed;
    box-shadow:none;
}

/* Language Switcher */
.language-switcher{
    display:flex;
    align-items:center;
    gap:8px;
    margin-left:20px;
}
.language-switcher button{
    background:transparent;
    border:1px solid #0D2B45;
    color:#0D2B45;
    padding:6px 12px;
    border-radius:6px;
    font-family:inherit;
    font-size:0.85rem;
    font-weight:600;
    cursor:pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}
.language-switcher button:hover{
    background:#0D2B45;
    color:#ffffff;
}
/* Logo */
.logo-img{
    width:200px;
    max-width:100%;
    height:auto;
}
/* Mobile */
@media (max-width:768px){
    .nav{
        flex-direction:column;
        gap:20px;
    }
    nav{
        flex-wrap:wrap;
        justify-content:center;
    }
    .language-switcher{
        margin-left:0;
        margin-top:10px;
    }
}

.language-switcher {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.language-switcher button {
    display: inline-block;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher {
    display: flex;
    gap: 6px;
    margin-left: auto; /* ดันไปขวาสุด */
}

.language-switcher button {
    padding: 5px 10px;
    cursor: pointer;
    white-space: nowrap;
}

/* ===== FINAL MOBILE MENU FIX ===== */

.hamburger{
    display:none;
}

@media (max-width:768px){

    .nav{
        position:relative;
        justify-content:center;
        height:80px;
    }

    .logo{
        position:absolute;
        left:50%;
        transform:translateX(-50%);
    }

    .logo img{
        height:50px;
        width:auto;
    }

    .hamburger{
        display:block;
        position:absolute;
        right:0;
        top:50%;
        transform:translateY(-50%);
        font-size:30px;
        cursor:pointer;
        z-index:1001;
    }

    #nav-menu{
        display:none !important;
    }

    #nav-menu.active{
        display:flex !important;
        flex-direction:column;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#fff;
        padding:20px;
        box-shadow:0 10px 20px rgba(0,0,0,.08);
        z-index:1000;
    }

    #nav-menu a{
        margin:10px 0;
    }

    .language-switcher{
        margin-top:15px;
        margin-left:0;
    }
    
}
.language-switcher{
    display:flex;
    gap:8px;
    z-index:2000;
    position:relative;
}

.language-switcher button{
    cursor:pointer;
}