/* --- CSS Reset & Variables --- */
:root {
    --font-main: 'Prompt', sans-serif;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-gray-bg: #f9f9f9;
    --color-text-gray: #666;
    --color-primary: #5c5cff;
    /* สีม่วงน้ำเงินสำหรับปุ่ม/Badge */
    --color-accent: #2c3e50;
    --color-number: #e74c3c;
    /* สีส้มแดงสำหรับตัวเลข */
    --transition-speed: 0.8s;
    --gold-main: #FFD700;
    --red-ribbon: #DC143C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
}

body {
    font-family: var(--font-main);
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-black);
    letter-spacing: 0px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-black);
    z-index: 1100;
}

/* --- Buttons --- */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--color-black);
    background: var(--color-black);
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #5c5cff, #4e4eff);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 92, 255, 0.3);
    cursor: pointer;
    text-decoration: none;
}

/* Override background for specific contexts if needed */
.section-cta .btn-primary {
    background: white;
    color: var(--color-black);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(92, 92, 255, 0.4);
}

/* --- Component: Hero Slider (Index) --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    transition: height 0.3s ease;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-speed) ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.slide.active .slide-bg {
    animation: zoomEffect 10s ease-out forwards;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 15;
    transform: translateY(-50%);
    pointer-events: none;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    width: clamp(40px, 5vw, 55px);
    height: clamp(40px, 5vw, 55px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--color-white);
    transform: scale(1.6);
}

/* --- Component: Page Header Banner (About) --- */
.page-header {
    height: 60vh;
    background-image: url('/img/Pictures-Map/About2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    /* Space for fixed header */
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.header-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

.header-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Section: Services Layout --- */
.section-services-layout {
    padding: 6rem 2rem;
    background-color: var(--color-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-content-left {
    padding-top: 1rem;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(37, 117, 252, 0.2);
}

.headline-main {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.company-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.description-text {
    color: var(--color-text-gray);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.service-list-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: default;
}

.service-item-card:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--color-primary);
}

.service-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-number);
    font-family: 'Sarabun', sans-serif;
    opacity: 0.8;
    min-width: 40px;
}

.service-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.service-info p {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    font-weight: 300;
    line-height: 1.5;
}

/* --- Section: Problems (Common) --- */
.section-problems {
    padding: 6rem 1.5rem;
    /* Index uses white, About uses gray-bg, can override inline or use specific class */
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Override for specific page if needed */
.page-about .section-problems {
    background-color: var(--color-gray-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--color-black);
    margin: 1rem auto 0;
    opacity: 0.3;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--color-gray-bg);
    /* Default for Index (white bg section) */
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

/* On About page (gray bg section), card should be white */
.page-about .problem-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.problem-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--color-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.problem-card:hover::before {
    opacity: 1;
}

.icon-box {
    font-size: 2.5rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.problem-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    font-weight: 300;
    line-height: 1.6;
}

/* --- Section: Story (About) --- */
.section-story {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.story-text h2 {
    font-size: 2rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.story-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin-top: 0.5rem;
    border-radius: 2px;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
}

.highlight-box {
    background-color: #f0f4f8;
    padding: 2rem;
    border-left: 5px solid var(--color-primary);
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
    color: #333;
}

/* --- Section: Values (About) --- */
.section-values {
    background-color: var(--color-gray-bg);
    padding: 6rem 2rem;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.value-card p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
}

/* --- Section: Benefits (About) --- */
.section-benefits {
    padding: 6rem 2rem;
    background-color: var(--color-white);
}

.benefits-container {
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.benefit-item:hover {
    background-color: #f9f9f9;
}

.benefit-icon {
    color: var(--color-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

/* --- Section: About Us Short (Index) --- */
.section-about-us {
    padding: 6rem 2rem;
    background-color: var(--color-white);
    position: relative;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.about-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    line-height: 1.3;
}

.about-content p {
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    font-weight: 300;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #333;
}

.check-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* --- Section: CTA (Common) --- */
.section-cta {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    font-weight: 300;
}

/* --- WOW CTA Box --- */
.wow-cta-box {
    background: linear-gradient(135deg, #5c5cff, #7f53ac);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1.5rem;
    box-shadow: 0 10px 25px rgba(92, 92, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.wow-cta-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(92, 92, 255, 0.5);
}

.wow-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* --- Section: Partners --- */
.section-partners {
    padding: 4rem 1.5rem;
    background-color: #fcfcfc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.section-partners h2,
.section-partners h3 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 500;
    color: #999;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.partner-grid {
    display: flex;
    justify-content: center;
    gap: 8rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
    max-width: 160px;
    height: auto;
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- Footer --- */
footer {
    background-color: var(--color-black);
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 300;
}

.copyright {
    padding: 1.5rem;
    background-color: var(--color-black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 900px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-content-left {
        text-align: center;
        padding-top: 0;
    }

    .description-text {
        margin: 0 auto 2rem auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .section-story,
    .section-values,
    .section-benefits {
        padding: 4rem 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--color-white);
        z-index: 1050;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    nav a {
        color: var(--color-black);
        font-size: 1.5rem;
        font-weight: 500;
    }

    header {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .controls {
        padding: 0 0.75rem;
    }

    .section-problems {
        padding: 4rem 1.5rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-grid {
        gap: 2rem;
    }

    .partner-logo {
        max-width: 120px;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .wow-cta-box {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    /* Custom Styles for Service Overview Grid */
    .services-overview-section {
        padding: 6rem 2rem;
        background-color: var(--color-gray-bg);
    }

    .services-grid-menu {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .service-menu-card {
        background: white;
        padding: 3rem 2rem;
        border-radius: 16px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border: 1px solid transparent;
        text-decoration: none;
        /* For link wrapper */
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .service-menu-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-color: rgba(92, 92, 255, 0.2);
    }

    /* Top Decoration Line */
    .service-menu-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--color-primary), #2c3e50);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .service-menu-card:hover::before {
        transform: scaleX(1);
    }

    .icon-wrapper {
        width: 80px;
        height: 80px;
        background: #f4f6f8;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        color: var(--color-primary);
        font-size: 2.5rem;
        transition: all 0.3s ease;
    }

    .service-menu-card:hover .icon-wrapper {
        background: var(--color-primary);
        color: white;
        transform: scale(1.1);
    }

    .service-menu-card h3 {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--color-black);
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .service-menu-card p {
        color: var(--color-text-gray);
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        flex-grow: 1;
        /* Push button to bottom */
    }

    .btn-text {
        color: var(--color-primary);
        font-weight: 600;
        font-size: 0.95rem;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 20px;
        background-color: rgba(92, 92, 255, 0.05);
        border-radius: 30px;
        transition: all 0.3s ease;
    }

    .service-menu-card:hover .btn-text {
        background-color: var(--color-primary);
        color: white;
        padding-right: 25px;
        /* Slide effect */
    }

    /* --- Workflow Process Section --- */
    .section-process {
        padding: 5rem 2rem;
        background-color: white;
        text-align: center;
    }

    .process-steps {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
        margin-top: 3rem;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .step-item {
        flex: 1;
        min-width: 250px;
        position: relative;
    }

    /* Arrow line between steps (Desktop only) */
    .step-item:not(:last-child)::after {
        content: '\e912';
        /* Phosphor arrow-right icon code approximation or use border */
        font-family: "Phosphor";
        position: absolute;
        top: 30px;
        right: -20px;
        font-size: 1.5rem;
        color: #ddd;
        display: none;
        /* Hide by default, show on large screens if needed, or use simple lines */
    }

    .step-number {
        width: 60px;
        height: 60px;
        background-color: white;
        border: 2px solid var(--color-primary);
        color: var(--color-primary);
        font-size: 1.5rem;
        font-weight: 700;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem auto;
        position: relative;
        z-index: 2;
    }

    .step-item:hover .step-number {
        background-color: var(--color-primary);
        color: white;
        transition: 0.3s;
    }

    .step-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--color-black);
    }

    .step-desc {
        font-size: 0.95rem;
        color: var(--color-text-gray);
        line-height: 1.5;
    }


}

/* ปรับ Hero Section ให้มีระยะห่างด้านบน เพราะ Header Master เป็น Fixed Position */
.hero-section {
    margin-top: 0;
    /* script.js หรือ css อาจจะจัดการเรื่อง padding body ไว้แล้ว หรือปรับตามความเหมาะสม */
    padding-top: 80px;
    /* เพิ่ม padding แทน margin เพื่อให้พื้นหลังไม่ขาด */
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--color-white);
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 50% 0 0 50% / 60% 0 0 60%;
    z-index: 0;
    transform: skewX(-5deg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero-text span {
    color: var(--color-primary);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--color-text-gray);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Services Section Tweaks */
.section-desc {
    color: var(--color-text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 1rem;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.service-item-card {
    align-items: center;
}

.check-icon {
    background-color: #eef2ff;
    color: var(--color-primary);
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-text {
    color: var(--color-black);
    font-weight: 500;
    font-size: 1.05rem;
}

/* --- Promotion Section --- */
.promo-section {
    background: radial-gradient(circle at center, #2e1065 0%, #0f172a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: white;
    margin-top: 4rem;
}

.promo-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.promo-content {
    flex: 1;
}

.promo-badge {
    background: var(--red-ribbon);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    color: white;
}

/* Timer Styling */
.timer-box {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.time-unit {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 80px;
}

.time-val {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    color: var(--gold-main);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.time-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 5px;
    color: white;
}

/* Real Image Styling */
.gift-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gift-image {
    max-width: 100%;
    width: 450px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    animation: floating 4s ease-in-out infinite;
}

.gift-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Section: Contact Us (Common) --- */

.contact-wrapper-section {
    padding: 4rem 2rem;
    background-color: var(--color-gray-bg);
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

/* Main Container Box */
.contact-box-modern {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: nowrap;
}

/* Left Side: Contact Info */
.contact-info-sidebar {
    flex: 1;
    min-width: 350px;
    background: linear-gradient(135deg, var(--color-primary), #4e4eff);
    color: white;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contact-info-sidebar::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.sidebar-header h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sidebar-header p {
    opacity: 0.9;
    margin-bottom: 3rem;
    font-weight: 300;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
}

.info-icon {
    font-size: 1.8rem;
    margin-right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

/* ปรับปรุง CSS ส่วนข้อความและลิงก์ */
.info-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    /* Reset margin เพื่อให้จัดวางชิดกันสวยงาม */
}

.info-text a {
    color: white;
    text-decoration: underline;
    display: inline-block;
    /* เปลี่ยนเป็น inline-block หรือ inline เพื่อให้อยู่บรรทัดเดียวกับข้อความ */
}

.info-text a:hover {
    color: #FFD700;
    /* เปลี่ยนสีตอน Hover ให้เด่นขึ้น */
    text-decoration: none;
}

/* ปุ่ม Action พิเศษใน Sidebar */
.sidebar-actions {
    margin-top: auto;
    /* ดันไปด้านล่างสุดของพื้นที่ */
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-sidebar {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-line {
    background-color: #06C755;
    color: white;
}

.btn-line:hover {
    background-color: #05a546;
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
}

.btn-call {
    background-color: white;
    color: var(--color-primary);
}

.btn-call:hover {
    background-color: #f0f0f0;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}


/* Right Side: Form */
.contact-form-main {
    flex: 1.5;
    min-width: 300px;
    padding: 3.5rem;
    background: white;
}

.contact-form-main h3 {
    font-size: 1.8rem;
    color: var(--color-black);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 8px;
    font-family: var(--font-main);
    transition: 0.3s;
}

.form-input:focus {
    background: white;
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(92, 92, 255, 0.1);
}

/* Map Section */
.map-section {
    width: 100%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* เอา padding-bottom ออกเพื่อให้ map ชิดขอบล่างสุด */
    padding-bottom: 0;
}

/* Map Image Styles */
.map-image-container {
    width: 100%;
    max-width: 1000px;
    padding: 3rem 2rem 3rem;
    /* เพิ่ม padding ล่างเล็กน้อย */
    text-align: center;
}

.map-desc {
    color: var(--color-text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.map-badge {
    display: inline-block;
    background: #eef2ff;
    color: var(--color-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0 5px;
    font-weight: 500;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

/* Google Map Styles - ปรับให้เต็มจอแนวยาว */
.google-map-container {
    width: 100%;
    max-width: 100%;
    /* ปลดล็อคความกว้าง */
    height: 500px;
    /* เพิ่มความสูงให้ดูสวยงาม */
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    /* เงาด้านบน */
}

.google-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}