        :root {
            --primary-color: #0c7dc9;
            --dark-bg: #1a1a1a;
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Scroll offset for anchor links to account for fixed header */
        section[id],
        div[id] {
            scroll-margin-top: 100px;
            /* Adjust based on your header height (currently 80px padding + some extra) */
        }


        video {
            width: 100%;
            height: 60px;
            border-radius: 30px;
            height: auto;
        }

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

        body {
            font-family: 'Prompt', sans-serif;
            background: white;
            padding-top: 80px;
        }

        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            /* อัตราส่วน 16:9 */
            height: 0;
            overflow: hidden;
            max-width: 100%;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }


        /* Header ติดด้านบน */
        .header-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            background: white;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .navbar-custom {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 30px;
            font-weight: 700;
            color: #000;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            background-image: url('../asset/image/app_logo.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 14px;
            margin-right: 6px;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .nav-link {
            color: #333;
            font-size: 18px;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s;
        }

        .nav-link:hover {
            color: var(--primary-color);
        }

        .btn-quote {
            border: 2px solid #000;
            padding: 10px 24px;
            border-radius: 8px;
            color: #000;
            font-weight: 600;
            font-size: 14px;
            background: transparent;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-quote:hover {
            background: #000;
            color: white;
        }

        /* Content Container */
        .content-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .main-container {
            background: white;
            overflow: hidden;
            margin-bottom: 40px;
        }

        .terms-section {
            padding: 60px 40px;
        }

        .hero-section {
            padding: 60px 40px;
        }

        .hero-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
            min-height: 150px;
            position: relative;
            width: 100%;
        }

        .text-slider {
            position: relative;
            width: 100%;
            height: 150px;
        }

        .slide-text {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            opacity: 0;
            animation: textSlide 30s ease-in-out infinite;
        }

        .slide-text:nth-child(1) {
            animation-delay: 0s;
        }

        .slide-text:nth-child(2) {
            animation-delay: 6s;
        }

        .slide-text:nth-child(3) {
            animation-delay: 12s;
        }

        .slide-text:nth-child(4) {
            animation-delay: 18s;
        }

        .slide-text:nth-child(5) {
            animation-delay: 24s;
        }

        @keyframes textSlide {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }

            5% {
                opacity: 1;
                transform: translateY(0);
            }

            15% {
                opacity: 1;
                transform: translateY(0);
            }

            20% {
                opacity: 0;
                transform: translateY(-30px);
            }

            100% {
                opacity: 0;
                transform: translateY(-30px);
            }
        }

        .hero-desc {
            color: #666;
            font-size: 18px;
            line-height: 1.6;
            margin-bottom: 30px;
            max-width: 400px;
        }

        .btn-consult {
            background: var(--dark-bg);
            color: white;
            padding: 14px 28px;
            border-radius: 8px;
            border: none;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.3s;
            font-size: 1.5rem;
            font-weight: 700;
            padding: 14px 36px;
            border-radius: 12px;
        }

        .btn-consult:hover {
            background: #000;
            color: white;
        }

        .btn-consult-border {
            background: white;
            color: black;
            padding: 14px 36px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1.5rem;
            cursor: pointer;
            transition: background 0.3s;

            /* Proper border */
            border: 1px solid black;
        }


        .btn-consult-border:hover {
            background: #000;
            color: white;

        }

        .hero-illustration {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Image Slider */
        .image-slider-header-hero {
            display: flex;
            justify-content: center;
            /* horizontal centering */
            align-items: center;
            /* vertical centering */
            width: 300px;
            height: 200px;
            position: relative;
            overflow: hidden;
            margin: 0 auto;
        }

        .slide-header-hero-img {
            max-width: 100%;
            max-height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            position: absolute;
        }

        .slide-header-hero-img.active {
            opacity: 1;
            z-index: 1;
        }

        .brands-section {
            padding: 40px;
            overflow: hidden;
            position: relative;
            width: 100%;
        }

        .brands-carousel {
            display: flex;
            gap: 60px;
            animation: scrollBrands 30s linear infinite;
            width: max-content;
        }

        .brands-carousel:hover {
            animation-play-state: paused;
        }

        .brands-carousel-track {
            display: flex;
            gap: 60px;
            align-items: center;
        }

        @keyframes scrollBrands {
            from {
                transform: translateX(0);
            }

            to {
                transform: translateX(calc(-100% / 2));
            }
        }

        .brand-logo {
            font-size: 24px;
            font-weight: 700;
            opacity: 0.6;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .services-section {
            padding: 40px;
            background: white;
        }

        .section-tag {
            background: var(--primary-color);
            display: inline-block;
            padding: 8px 16px;
            font-weight: 700;
            font-size: 16px;
            border-radius: 4px;
            margin-bottom: 20px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .service-card {
            border: 2px solid #000;
            border-radius: 20px;
            padding: 30px;
            position: relative;
            min-height: 200px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-card.dark {
            background: var(--dark-bg);
            color: white;
        }

        .service-card.light {
            background: white;
        }

        .service-title {
            background: var(--primary-color);
            display: inline-block;
            padding: 6px 12px;
            font-weight: 700;
            font-size: 14px;
            border-radius: 4px;
            color: #000;
        }

        .service-card.dark .service-title {
            background: white;
        }

        .learn-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            color: inherit;
            text-decoration: none;
            font-size: 14px;
        }

        .cta-section {
            margin: 40px;
            padding: 50px;
            background: #f5f5f5;
            border-radius: 20px;
            text-align: center;
            position: relative;
        }

        .cta-title {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .btn-proposal {
            background: var(--dark-bg);
            border: 2px solid var(--dark-bg);
            color: white;
            padding: 14px 28px;
            border-radius: 8px;
            /* border: none; */
            font-weight: 600;
            margin-top: 20px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .btn-proposal:hover {
            background: #000;
            color: white;
        }

        .btn-proposal-outline {
            background: transparent;
            color: var(--dark-bg);
            padding: 14px 28px;
            border-radius: 8px;
            border: 2px solid var(--dark-bg);
            font-weight: 600;
            margin-top: 20px;
            cursor: pointer;
            transition: background 0.3s, color 0.3s;
        }

        .btn-proposal-outline:hover {
            background: var(--dark-bg);
            color: white;
        }


        .case-study-section {
            padding: 40px;
        }

        .case-studies {
            background: var(--dark-bg);
            border-radius: 20px;
            padding: 40px;
            color: white;
            margin-top: 20px;
        }

        .case-study-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .case-item p {
            font-size: 13px;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .case-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
        }

        .case-link:hover {
            text-decoration: underline;
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #000;
        }

        .mobile-nav-menu {
            display: none;
            position: fixed;
            top: 60px;
            left: 0;
            right: 0;
            background: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
            z-index: 999;
            flex-direction: column;
            gap: 15px;
            max-height: calc(100vh - 60px);
            overflow-y: auto;
        }

        .mobile-nav-menu.active {
            display: flex;
        }

        .mobile-nav-menu .nav-link {
            padding: 10px;
            border-bottom: 1px solid #f0f0f0;
        }

        .mobile-nav-menu .nav-link:first-child {
            border-top: 1px solid #f0f0f0;
        }

        .mobile-nav-menu .btn-quote {
            margin-top: 10px;
            width: 100%;
        }

        @media (min-width: 768px) {
            .hero-section .col-md-6 {
                text-align: left;
            }

            .text-slider,
            .slide-text {
                text-align: left;
            }

            .hero-desc {
                text-align: left;
            }
        }

        @media (max-width: 992px) {
            .image-slider-header-hero {
                width: 200px;
                height: 150px;
                margin: 26px auto;
            }

            .nav-menu {
                display: none;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .services-grid,
            .case-study-grid {
                grid-template-columns: 1fr;
            }

            .hero-title {
                font-size: 36px;
            }

            .navbar-custom {
                padding: 15px 20px;
            }
        }

        @media (min-width: 993px) {
            .mobile-nav-menu {
                display: none !important;
            }

            .mobile-menu-toggle {
                display: none !important;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 60px;
            }

            .header-wrapper {
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            }

            .navbar-custom {
                padding: 10px 20px;
            }

            .hero-section {
                padding: 40px 20px;
                text-align: center;
            }

            .hero-section .row {
                flex-direction: column-reverse;
            }

            .hero-section .col-md-6 {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .text-slider,
            .slide-text {
                text-align: center;
            }

            .hero-desc {
                max-width: 100%;
                text-align: center;
            }

            .services-section,
            .case-study-section {
                padding: 30px 20px;
            }

            .hero-title {
                font-size: 32px;
                min-height: 120px;
            }

            .text-slider {
                height: 120px;
            }

            .image-slider-header-hero {
                width: 180px;
                height: 130px;
            }
        }

        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: var(--dark-bg);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            transition: opacity 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 999;
        }

        .scroll-to-top.show {
            opacity: 1;
            visibility: visible;
        }