/* ============================================
   Thai Detective - Modern Website Styles
   ============================================ */

/* Variables */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #334155;
    --gold: #d4a853;
    --gold-light: #e8c77b;
    --gold-dark: #b8923a;
    --text: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

/* Global responsive images */
img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-dark:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-line {
    background: linear-gradient(135deg, #06C755 0%, #00B900 100%);
    color: #ffffff;
    border-color: #06C755;
    font-weight: 600;
}

.btn-line:hover {
    background: linear-gradient(135deg, #00B900 0%, #009900 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
}

.btn-line svg {
    flex-shrink: 0;
}

/* Text utilities */
.text-gold { color: var(--gold); }
.text-left { text-align: left; }

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-text span {
    color: var(--gold);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.main-nav a {
    display: block;
    padding: 10px 12px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
    background: rgba(212, 168, 83, 0.1);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.has-dropdown .dropdown-toggle i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.has-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 95vw;
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Only show mega-menu on hover for desktop */
@media (min-width: 993px) {
    .has-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
    }
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.mega-menu-column h4 {
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212,168,83,0.3);
}

.mega-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mega-menu-column li {
    width: 100%;
}

.mega-menu-column a {
    display: block;
    padding: 0.35rem 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
    background: none !important;
}

.mega-menu-column a:hover {
    color: var(--gold);
    padding-left: 0.5rem;
    background: none !important;
}

/* Service Menu Dropdown */
.service-menu {
    min-width: 280px !important;
}

.service-menu .mega-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-menu .mega-menu-column a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.service-menu .mega-menu-column a:hover {
    background: rgba(212, 168, 83, 0.1) !important;
    padding-left: 20px;
}

.service-menu .mega-menu-column a i {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
}

.header-phone svg {
    width: 18px;
    height: 18px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hide mobile nav buttons on desktop */
.mobile-nav-buttons {
    display: none !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

 .hero-bg video {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
     opacity: 1;
     filter: contrast(1.08) saturate(1.08);
     display: block;
 }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 50%, rgba(15, 23, 42, 0.9) 100%);
}

.hero .container {
    position: relative;
    z-index: 3;
}

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

.hero-content {
    max-width: 100%;
}

/* Hero Sidebar Card */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    width: 100%;
    max-width: 380px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-card-header svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.hero-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.hero-card > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-card-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-card-services span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.hero-card-services svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.hero-card-phone {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--gold) 0%, #c9952a 100%);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-card-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

.hero-card-phone svg {
    width: 28px;
    height: 28px;
    color: var(--dark);
}

.hero-card-phone div {
    display: flex;
    flex-direction: column;
}

.hero-card-phone span {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.7);
}

.hero-card-phone strong {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.hero-card-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #06C755;
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-card-line:hover {
    background: #05b04c;
    transform: translateY(-2px);
}

.hero-card-line svg {
    width: 24px;
    height: 24px;
}

/* Hero QR Code Card */
.hero-qr-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    margin-top: 20px;
    text-align: center;
    width: 100%;
    max-width: 380px;
}

.hero-qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.hero-qr-header svg {
    width: 24px;
    height: 24px;
    color: #06C755;
}

.hero-qr-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.hero-qr-image {
    display: inline-block;
    padding: 12px;
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.hero-qr-image:hover {
    transform: scale(1.05);
}

.hero-qr-image img {
    display: block;
    border-radius: 8px;
}

.hero-qr-text {
    color: #06C755;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 1100px) {
    .hero-qr-card {
        display: none;
    }
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-sidebar {
        justify-content: center;
    }
    
    .hero-card {
        max-width: 500px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-video {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 24px;
    }
    
    .hero-card-services {
        grid-template-columns: 1fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero-video {
    width: 100%;
    max-width: 100%;
    margin: 0 0 28px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
}

.hero-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    max-width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.9;
    max-width: 700px;
}

.hero-desc strong {
    color: var(--gold);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-down svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 1 !important;
    visibility: visible !important;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    bottom: -25px;
    left: 24px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-content {
    padding: 40px 24px 24px;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-dark);
    font-weight: 600;
}

.service-link:hover {
    color: var(--gold);
    gap: 12px;
}

.service-link svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
    padding: 24px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-desc {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-features {
    margin: 32px 0;
}

.about-features li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 168, 83, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.about-features strong {
    display: block;
    margin-bottom: 4px;
}

.about-features span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================
   Process Section
   ============================================ */
.process {
    background: var(--bg-dark);
    color: var(--white);
}

.process .section-title {
    color: var(--white);
}

.process .section-desc {
    color: rgba(255,255,255,0.7);
}

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

.process-item {
    position: relative;
    text-align: center;
    padding: 30px 20px;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
}

.process-item:last-child::after {
    display: none;
}

.process-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(212, 168, 83, 0.1);
    z-index: 0;
}

.process-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(212, 168, 83, 0.15);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.process-icon svg {
    width: 32px;
    height: 32px;
}

.process-item h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.process-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    background: var(--bg-light);
}

.testimonials-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 5px;
}

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

.testimonial-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    min-width: 320px;
    max-width: 380px;
    flex-shrink: 0;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-filled {
    width: 18px;
    height: 18px;
    color: var(--gold);
    fill: var(--gold);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
    min-height: 80px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.author-info strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .testimonials-slider-wrapper {
        padding: 0 10px;
    }
    
    .slider-btn {
        display: none;
    }
    
    .testimonial-card {
        min-width: 280px;
    }
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    padding-right: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 168, 83, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.contact-social a {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-social svg {
    width: 20px;
    height: 20px;
}

.contact-form-wrap {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-privacy svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Visitor Counter */
.visitor-counter {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.visitor-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.visitor-item svg {
    width: 14px;
    height: 14px;
}

.visitor-item strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.visitor-item.online strong {
    color: #22c55e;
}

.visitor-item.online svg {
    color: #22c55e;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   Service Areas Section
   ============================================ */
.service-areas {
    background: var(--bg-light);
    padding: 80px 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.area-group {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.area-group h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.area-group h3 svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.area-group p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

.areas-cta {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.areas-cta p {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--primary);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Floating LINE Button
   ============================================ */
.floating-line {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #06C755 0%, #00B900 100%);
    color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(6, 199, 85, 0.5);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    animation: pulse-line 2s infinite;
}

.floating-line:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(6, 199, 85, 0.6);
}

.floating-line svg {
    flex-shrink: 0;
}

@keyframes pulse-line {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(6, 199, 85, 0.5);
    }
    50% {
        box-shadow: 0 8px 40px rgba(6, 199, 85, 0.8);
    }
}

@media (max-width: 768px) {
    .floating-line {
        bottom: 90px;
        right: 20px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .floating-line svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   Animations
   ============================================ */
/* AOS Animation - แสดงทันทีทุกกรณี */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
}

/* ปิด animation ชั่วคราว - ให้แสดงทุกอย่างทันที */
[data-aos="fade-right"],
[data-aos="fade-left"],
[data-aos="fade-up"],
[data-aos="fade-down"] {
    opacity: 1 !important;
    transform: none !important;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-item::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-inner {
        position: relative;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: #0f172a;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 9998;
        padding: 100px 20px 40px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        width: 100%;
        max-width: 350px;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        font-size: 1.1rem;
        padding: 14px 20px;
        display: block;
        border-radius: 10px;
        background: rgba(255,255,255,0.08);
        color: #fff;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(212, 168, 83, 0.3);
        color: var(--gold);
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 9999;
        position: relative;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .header-actions {
        display: none !important;
    }
    
    .header-phone {
        display: none !important;
    }
    
    .main-nav .mobile-nav-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.15);
    }
    
    .main-nav .mobile-nav-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Mobile Mega Menu */
    .has-dropdown .mega-menu {
        position: static !important;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: none !important;
        transform: none !important;
        border-radius: 8px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        box-shadow: none;
        border: none;
        background: rgba(0,0,0,0.2);
    }
    
    .has-dropdown.menu-open .mega-menu {
        display: block !important;
    }
    
    .has-dropdown.menu-open .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .mega-menu-inner {
        display: block !important;
    }
    
    .mega-menu-column {
        margin-bottom: 0.75rem;
    }
    
    .mega-menu-column h4 {
        font-size: 0.8rem;
        padding: 0.5rem 0;
        margin-bottom: 0.25rem;
    }
    
    .mega-menu-column ul {
        gap: 0 !important;
    }
    
    .mega-menu-column a {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.85rem !important;
    }

    .hero {
        min-height: auto;
        align-items: flex-start;
        padding: 110px 0 60px;
    }

    .hero-video {
        max-width: 100%;
    }

    .scroll-down {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat {
        width: 45%;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image::before {
        display: none;
    }
    
    .about-badge {
        position: static;
        display: inline-block;
        margin-top: 20px;
    }
    
    .services-grid,
    .testimonials-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stat {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

