
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background:#f4f7fb;
    font-family: "Prompt", sans-serif;
    color: #333;
}
.navbar {
    background: #fff;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
}
.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: auto;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
}
.logo {
    color: #333;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.nav-menu li {
    height: 80px;
}
.nav-menu li a {
    color: #333;
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 48px;
    height: 100%;
    transition: all 0.3s ease;
    font-weight: 400;
    transition:
        color 0.25s ease,
        transform 0.25s ease,
        font-weight 0.25s ease;
}
.nav-menu li a:hover {
    color: #007bff;
}
.nav-menu li a.active {
    color: #007bff;
    transform: scale(1.05);
    -webkit-text-stroke: 0.5px #007bff;
}
.nav-menu li a.active::after {
    content: "";
    position: absolute;
}
.nav-menu li a.active {
    position: relative;
}
.main-section {
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-section h1 {
    font-size: 4rem;
    font-weight: 700;
}
.menu-toggle {
    display: none;
}
@media screen and (max-width: 960px) {
    .container-nav {
        padding: 0 30px;
    }
    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.9s ease-in-out;
        background: #fff;
        z-index: 1;
    }
    .nav-menu.active {
        max-height: 700px;
    }
    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateY(0);
        transition: all 0.6s ease;
    }
    .nav-menu li:nth-child(1) {
        transition-delay: 0.4s;
    }
    .nav-menu li:nth-child(2) {
        transition-delay: 0.3s;
    }
    .nav-menu li:nth-child(3) {
        transition-delay: 0.2s;
    }
    .nav-menu li:nth-child(4) {
        transition-delay: 0.1s;
    }
    .nav-menu li:nth-child(4) {
        transition-delay: 0s;
    }
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(20px);
    }
    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }
    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.2s;
    }
    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.3s;
    }
    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.4s;
    }
    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.5s;
    }
    .nav-menu li a {
        text-align: center;
        width: 100%;
        display: table;
        margin-left: 0;
    }
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #333;
    }
    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}
.logo img {
    height: 50px;
    width: 138.55px;
    display: block;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.05);
}
@media screen and (max-width: 768px) {
    .logo img {
        height: 40px;
        width: 110.83px;
    }
}

.about-section {
    padding: 100px 20px;
    background-color: #fff;
}
.container-about {
    margin: 0 auto;
}
.container-about h2 {
    text-align: center;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.about-image-container {
    position: relative;
}
.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.5);
}
.exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #1a2b4c;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgb(0 0 0 / 0.2);
}
.exp-year {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}
.exp-text {
    font-size: 0.9rem;
}
.about-text-content h3 {
    font-size: 1.5em;
    text-align: left;
    margin-bottom: 20px;
}
.description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
    text-indent: 30px;
}
.trust-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.trust-list li {
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.trust-list i {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.2rem;
}
.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1a2b4c;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-more:hover {
    background-color: #007bff;
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .exp-badge {
        right: 10px;
        bottom: 10px;
    }
}
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 50px 15px;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .btn {
        width: 100%;
        padding: 14px;
    }
}

.portfolio-section {
    padding: 100px 0;
    background-color: #fff;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}
.portfolio-group {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}
.group-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.group-title::before {
    content: "";
    width: 6px;
    height: 30px;
    background-color: #007bff;
    border-radius: 10px;
    display: inline-block;
}
.portfolio-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}
.portfolio-grid::-webkit-scrollbar {
    height: 6px;
}
.portfolio-grid::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #ccc;
    border-radius: 10px;
}
.portfolio-item {
    flex: 0 0 calc(25% - 12px);
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 8px;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    cursor: zoom-in;
}
@media (max-width: 768px) {
    .portfolio-item {
        flex: 0 0 calc(45% - 10px);
    }
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.scroll-hint {
    font-size: 14px;
    color: #888;
    text-align: right;
    margin-top: 8px;
    font-style: italic;
}
@media (max-width: 768px) {
    .scroll-hint .device-text::before {
        content: "ใช้นิ้วปัด";
    }
    .scroll-hint .device-text {
        font-size: 0;
    }
    .scroll-hint .device-text::before {
        font-size: 14px;
    }
}
@media (min-width: 769px) {
    .scroll-hint .device-text::before {
        content: "เลื่อนเมาส์";
    }
    .scroll-hint .device-text {
        font-size: 0;
    }
    .scroll-hint .device-text::before {
        font-size: 14px;
    }
}
@media screen and (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .group-title {
        font-size: 1.3rem;
    }
    .group-title::before {
        height: 24px;
    }
}
@media screen and (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
}
.portfolio-cta {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
}
.portfolio-cta p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 400;
}
.portfolio-line-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: green;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(6 199 85 / 0.3);
}
.portfolio-line-btn:hover {
    background-color: #05a346;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgb(6 199 85 / 0.4);
    color: #fff;
}
@media screen and (max-width: 768px) {
    .portfolio-cta p {
        font-size: 0.9rem;
    }
    .line-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
}
.video-section {
    padding: 80px 20px;
    background-color: #f4f4f4;
    text-align: center;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 40px auto 0;
}
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.5);
    transition: border-radius 0.5s ease;
}
.video-wrapper:hover {
    border-radius: 0;
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-card h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    padding:13px ;
}
.video-card.landscape {
    justify-content:center;
    grid-column: span 3;
}
.video-card.landscape .video-wrapper {
    aspect-ratio: 16 / 9;
}
@media screen and (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 20px;
    }
    .video-card {
        max-width: 320px;
        margin: 0 auto;
    }
    .video-card.landscape {
        grid-column: span 1;
        max-width: 100%;
    }
}
.contact-section {
    padding: 60px 20px;
    background-color: #24477b;
    color: #fff;
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.title-line {
    width: 100%;
    height: 1px;
    background-color: rgb(255 255 255 / 0.5);
    margin-bottom: 30px;
}
.contact-details {
    list-style: none;
    padding: 0;
}
.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}
.contact-details li i {
    font-size: 1.3rem;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}
.contact-details a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
.contact-details a:hover {
    text-decoration: underline;
    opacity: 0.8;
}
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.social-icons a {
    color: #fff;
    font-size: 1.8rem;
    transition: transform 0.3s;
    text-decoration: none;
}
.social-icons a:hover {
    transform: translateY(-5px);
}
.call-now {
    background-color: #476faa;
    border-radius: 50px;
    padding: 0 18px;
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.2);
}
.call-now:hover {
    color: #4da3ff;
    background-color: #ffffffa8;
}
.contact-map {
    height: 400px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
    border-radius: 15px;
    overflow: hidden;
}
@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-map {
        height: 300px;
    }
    .contact-title {
        font-size: 1.8rem;
    }
}
.main-footer {
    background-color: #1a355d;
    color: rgb(255 255 255 / 0.7);
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid rgb(255 255 255 / 0.1);
}
.main-footer p {
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.5px;
}
@media screen and (max-width: 768px) {
    .main-footer p {
        font-size: 0.85rem;
    }
}
.contact-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #007bff;
    color: #fff;
    border: none;
    outline: none;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgb(0 0 0 / 0.3);
    transition: transform 0.3s;
    position: relative;
}
.main-btn:hover {
    transform: scale(1.1);
    background-color: #0069da;
}
.main-btn i {
    position: absolute;
    transition: all 0.3s ease;
    transform-origin: center;
}
.icon-open {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.icon-close {
    opacity: 0;
    transform: scale(0.8) rotate(-180deg);
}
.contact-widget.active .icon-open {
    opacity: 0;
    transform: scale(0.8) rotate(180deg);
}
.contact-widget.active .icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.main-label {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) scale(1);
    padding: 5px 12px;
    background: rgb(255 255 255 / 0.95);
    color: #333;
    font-size: 15px;
    font-weight: 700;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.25);
    opacity: 1;
    transition: all 0.3s ease;
    font-family: "Prompt", sans-serif;
}
.contact-widget.active .main-label {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
}
.social-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgb(0 0 0 / 0.25);
    text-decoration: none;
}
.social-btn i {
    transition: transform 0.3s ease-in-out;
}
.social-btn i:hover {
    transform: rotate(40deg);
}
.contact-widget.active .social-btn {
    opacity: 1;
    transform: scale(1);
}
.social-btn .label {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    padding: 5px 10px;
    background-color: rgb(255 255 255 / 0.95);
    color: #333;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 0 5px rgb(0 0 0 / 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contact-widget.active .social-btn .label {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.social-btn:hover .label {
    opacity: 1;
    background-color: #fff;
}
.btn-tel {
    bottom: 80px;
    right: 6px;
    background-color: #df2941;
}
.btn-fb {
    bottom: 140px;
    right: 6px;
    background-color: #1877f2;
}
.btn-mail {
    bottom: 200px;
    right: 6px;
    background-color: #00b900;
}
.btn-tel:hover {
    background-color: #a3182a;
}
.btn-fb:hover {
    background-color: #0f4d9e;
}
.btn-mail:hover {
    background-color: #008700;
}
.contact-widget.active .btn-tel {
    transition-delay: 0.1s;
}
.contact-widget.active .btn-fb {
    transition-delay: 0.25s;
}
.contact-widget.active .btn-mail {
    transition-delay: 0.4s;
}
.contact-widget.closing .btn-tel {
    transition-delay: 0.4s;
}
.contact-widget.closing .btn-fb {
    transition-delay: 0.25s;
}
.contact-widget.closing .btn-mail {
    transition-delay: 0.1s;
}
.contact-widget.active .btn-tel .label {
    transition-delay: 0.15s;
}
.contact-widget.active .btn-fb .label {
    transition-delay: 0.3s;
}
.contact-widget.active .btn-mail .label {
    transition-delay: 0.45s;
}
#myBtn {
    transform: scale(0.7) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition:
        transform 0.3s ease-out,
        opacity 0.3s ease-out,
        visibility 0s linear 0.3s;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgb(255 255 255 / 0.623);
    color: #22538b;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.2);
    transition:
        background-color 0.3s,
        opacity 0.3s;
    transition: transform 0.3s ease;
}
#myBtn.show {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s, 0s, 0s;
}
#myBtn:hover {
    background-color: #fff;
    transform: translateY(-8px);
}
.fancybox__container {
    --fancybox-bg: rgba(255, 255, 255, 0.322) !important;
}
.fancybox__backdrop {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}
.f-button {
    color: #5e5e5e !important;
    background-color: #00000000 !important;
}
.fancybox__infobar {
    color: #5e5e5e !important;
}
.top-bar {
    background-color: #1a2a44;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.container-top {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}
.contact-info span {
    margin-right: 20px;
}
.social-links a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
@media (max-width: 600px) {
    .location,
    .social-links {
        display: none;
    }
    .container-top {
        justify-content: center;
        font-size: 9px;
        padding: 0 10px;
    }
    .icon-top {
        margin-right: 5px;
        width: 12px;
        height: 12px;
    }
}
.icon-top {
    width: 14px;
    height: 14px;
    fill: #4da3ff;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    flex-shrink: 0;
}
.expand-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background-color: #1a2b4c;
    border: 2px solid #1a2b4c;
    border-radius: 50px;
    padding: 8px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        max-width 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s;
}
.icon-callnow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}
.text-callnoe {
    font-size: 16px;
    color: #fff;
    margin-left: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
@media (hover: hover) {
    .expand-button:hover {
        max-width: 300px;
        background-color: #007bff;
        border: 2px solid #007bff;
        padding-right: 20px;
    }
    .expand-button:hover .text-callnoe {
        opacity: 1;
        transition-delay: 0.1s;
    }
}
.about-baner {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===================================================
   HERO SECTION & FEATURE BAR STYLES
====================================================== */
.container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 4%;
}

/* =========================
   HERO SECTION (ปรับให้เหมือนตัวอย่างใหม่)
========================= */
.hero{
    position:relative;
    min-height:560px;
    overflow:hidden;
    display: flex;
    align-items: center;
}

.hero::before{
    content:'';
    position:absolute;
    inset:0;
    /* เปลี่ยนเป็น to right: ซ้ายน้ำเงินเข้มทึบ (88%) ไล่ไปทางขวาให้น้ำเงินจางลงเหลือน้อยมาก (25%) เพื่อเปิดให้รูปสว่างขึ้น */
    background: 
    linear-gradient(to right, rgba(11,32,67,0.88) 0%, rgba(11,32,67,0.65) 20%, rgba(11,32,67,0.25) 80%),
    url(img/img-page/HOME3.webp);
    background-size:cover;
    background-position:center;
    z-index:-1;
}

.hero .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:45px;
    padding:65px 4%;
}

/* HERO LEFT */
.hero-left{
    flex:1;
    color:#fff;
}

.badge{
    display:inline-block;
    background:#0b57d0;
    padding:8px 16px; 
    border-radius:999px;
    font-size:13px;
    font-weight:600;
    margin-bottom:18px;
}

.hero-title{
    font-size:52px;
    line-height:1.2; 
    font-weight:800;
    margin-bottom:18px;
    letter-spacing:-0.5px;
}

.hero-desc{
    font-size:17px;
    line-height:1.7;
    color:#e2e8f0;
    max-width:590px;
    margin-bottom:28px;
}

.hero-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:28px;
}

.hero-tags span{
    padding:6px 14px; 
    border-radius:999px;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.15);
    font-size:13.5px;
}

.hero-tags i {
    font-size: 14px;
    margin-right: 4px;
}

/* BUTTONS (ปรับดีไซน์ปุ่มคู่ซ้าย) */
.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    align-items: stretch;
    gap:14px;
    margin-bottom:28px;
}

.btn{
    padding:18px 32px;
    border-radius:15px; /* ปรับให้โค้งมนเรียบหรูตามแบบใหม่ */
    font-size:16px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content: center;
    gap:10px;
    transition:.3s ease;
    text-decoration: none;
}

.btn:hover{
    transform: translateY(-4px);
}

.btn-call{
    background:#fff;
    color:#0b57d0;
}

.btn-pot{
    background:#0b57d0;
    color:#fff;
    line-height: 1.2;
}

.btn-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-subtext {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
}

/* TRUST BAR */
.trust{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    font-size:13px; 
    color:#fff;
    opacity:.85;
}

.trust span{
    display:flex;
    align-items:center;
    gap:6px;
}

/* HERO RIGHT (ปรับเป็นโทนสว่างขาว-น้ำเงินตามรูปที่สอง) */
.hero-right{
    width:360px; 
    flex-shrink: 0;
}

.quote-box{
    background:#1a2a44; /* ปรับสีกรอบหลังคาเป็นน้ำเงินเข้มเข้มข้น */
    border-radius:20px;
    overflow: hidden;
    box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

.quote-box-inner {
    padding: 24px 24px 16px 24px;
}

.quote-box h2{
    color:#fff;
    font-size:23px;
    font-weight: 700;
    text-align: center;
    margin-bottom:6px;
}

.quote-box p.subtitle{
    color:#94a3b8;
    font-size:13px;
    text-align: center;
    margin-bottom:20px;
}

/* INFO CARD (เปลี่ยนเป็นพื้นขาว คลีนๆ) */
.info-card-bg{
    background:#fff; /* พื้นหลังขาวล้วน */
    border-radius:12px;
}

.info-card{
    background:#fff; /* พื้นหลังขาวล้วน */
    border-radius:12px;
    padding:12px 16px;
    margin-bottom:10px;
    display: flex;
    align-items: center;
    gap:14px;
}

.info-card-icon {
    font-size: 18px;
    color: #0b57d0; /* ไอคอนสีน้ำเงิน */
    width: 24px;
    text-align: center;
}

.info-card-text h4{
    font-size:14px;
    color:#0f172a;
    font-weight: 700;
    margin-bottom: 2px;
}

.info-card-text small{
    display:block;
    font-size:12px;
    color:#64748b;
}

/* LINE BTN (ปุ่มเขียวมนรีตามรูปสอง) */
.line-btn{
    width:100%;
    border:none;
    background:#17c964;
    color:#fff;
    padding:14px;
    border-radius:999px; /* ปรับปุ่มให้มนรีกลม */
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:8px;
    margin-top: 16px;
    transition: background 0.2s;
    transition: all 0.3s ease;
    text-decoration: none;
}

.line-btn:hover{
    background:#13b457;
    transform: translateY(-4px);
}

/* แถบความปลอดภัยท้ายกล่องขวา */
.quote-footer {
    background: #021726;
    padding: 10px;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.quote-footer i {
    margin-right: 4px;
}

/* =========================
   FEATURE BAR
========================= */
.feature-bar-section {
    width: 100%;
    position: relative;
    z-index: 20;
    margin-top: -34px;
}

.feature-bar{
    background:#fff;
    border-radius:18px;
    padding:15px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.feature{
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px 20px;
    position:relative;
}

.feature:not(:last-child)::after{
    content:'';
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    width:1px;
    height:42px;
    background:#e5e7eb;
}

.feature-icon{
    width:44px;
    height:44px;
    min-width:44px;
    border-radius:999px;
    background:#0b57d0;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
}

.feature h3{
    font-size:14px;
    color:#0f172a;
    margin-bottom:2px;
    font-weight:700;
}

.feature p{
    font-size:12px;
    color:#64748b;
    line-height:1.4;
}

/* =========================
   SERVICES
========================= */
.services{
    padding:100px 0;
}

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

.section-title h2{
    font-size:36px;
    margin-bottom:12px;
    color:#333;
    font-weight: 800;
}

.section-title p{
    font-size:16px;
    color:#64748b;
}

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

.card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,.04);
    position:relative;
}

.card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.card-content{
    padding:20px;
}

.card-content h3{
    font-size:18px;
    margin-bottom:8px;
    color:#111827;
}

.card-content p{
    font-size:13px;
    color:#64748b;
    line-height:1.7;
}

.card-content a{
    display:inline-block;
    margin-top:14px;
    color:#0b57d0;
    font-size:13px;
    font-weight:700;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:1100px){
    .hero .container{
        flex-direction:column;
        align-items:center;     
        text-align:center;       
        padding:60px 4%;
    }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-tags, .hero-buttons, .trust { justify-content: center; }
    .hero-buttons { align-items: stretch !important; }
    .hero-right{ width:100%; max-width:400px; margin-top:20px; }
    .feature-bar{ grid-template-columns:repeat(2,1fr); gap:10px; }
    .feature:nth-child(2)::after{ display:none; }
    .service-grid{ grid-template-columns:repeat(2,1fr); gap: 20px; }
}

@media(max-width:768px){
    .top-bar{ display:none; }
    .hero-title{ font-size:36px; }
    .hero-desc{ font-size:15px; }
    .hero-buttons{ flex-direction:column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
    .btn{ width:100%; justify-content:center; }
    .feature-bar-section { margin-top: -24px; }
    .feature-bar{ grid-template-columns:1fr; padding:16px; }
    .feature{ padding:12px 10px; }
    .feature::after{ display:none; }
    .service-grid{ grid-template-columns:1fr; }
    .section-title h2{ font-size:28px; }
}
.location-box {
    background: #f1f1f1;
    padding: 50px 40px;
    border-radius: 20px;
    border: 1.5px solid #e0e0e0;
    max-width: 1000px;
    margin: 40px auto 0;
    box-shadow: 0 4px 15px rgb(0 0 0 / 0.03);
}
.location-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.location-box p{text-align: center;}
.location-subtitle {
    color: #555;
    font-size: 1rem;
    margin-bottom: 30px;
    font-weight: 300;
}
.location-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.location-tags span {
    background: #d1d1d1;
    color: #444;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 400;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.location-tags span:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgb(0 123 255 / 0.2);
}
.location-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}
@media screen and (max-width: 600px) {
    .location-box {
        padding: 30px 20px;
    }
    .location-tags span {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}