/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-red: #DC143C;
    --color-red-dark: #B22222;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-dark: #1a1a1a;
    --color-gray: #333333;
    --color-gray-light: #666666;
    --font-primary: 'Kanit', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--color-white);
    background-color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-black);
}

.top-bar {
    background-color: var(--color-gray-dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--color-red);
}

.separator {
    color: var(--color-gray-light);
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--color-gray-light);
    color: var(--color-white);
    padding: 5px 12px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    font-family: var(--font-primary);
}

.lang-btn:hover {
    border-color: var(--color-red);
    color: var(--color-red);
}

.lang-btn.active {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.navbar {
    background-color: var(--color-black);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

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

.logo-accent {
    color: var(--color-red);
}

.logo-subtitle {
    font-size: 10px;
    color: var(--color-white);
    letter-spacing: 1px;
    margin-top: 2px;
}

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

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-red);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Main Content */
.main-content {
    margin-top: 120px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: var(--color-black);
    background-image: url('image/HOME.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(220, 20, 60, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 18px 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 2px solid var(--color-red);
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--color-red);
    color: var(--color-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

/* Trusted Clients Carousel Section */
.trusted-clients-section {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-gray-dark) 50%, var(--color-black) 100%);
    overflow: hidden;
}

.trusted-clients-section .section-title {
    margin-bottom: 40px;
}

.clients-carousel {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(220, 20, 60, 0.5) rgba(255, 255, 255, 0.1);
}

.clients-carousel:active,
.clients-carousel.dragging {
    cursor: grabbing;
}

.clients-carousel::-webkit-scrollbar {
    height: 8px;
}

.clients-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.clients-carousel::-webkit-scrollbar-thumb {
    background: rgba(220, 20, 60, 0.5);
    border-radius: 4px;
}

.clients-carousel::-webkit-scrollbar-thumb:hover {
    background: rgba(220, 20, 60, 0.7);
}

/* Removed gradient overlays to prevent covering logos */

.clients-track {
    display: flex;
    gap: 25px;
    width: max-content;
    padding: 0 40px;
    transition: none;
}

.client-logo {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(220, 20, 60, 0.4);
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: all 0.4s;
}

.client-logo:hover img {
    transform: scale(1.05);
}

/* Responsive Trusted Clients */
@media (max-width: 768px) {
    .trusted-clients-section {
        padding: 60px 0 40px;
    }

    .clients-carousel::before,
    .clients-carousel::after {
        width: 50px;
    }

    .client-logo {
        width: 110px;
        height: 80px;
        padding: 12px;
    }

    .clients-track {
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .trusted-clients-section .section-title {
        font-size: 24px;
    }

    .clients-carousel::before,
    .clients-carousel::after {
        width: 30px;
    }

    .client-logo {
        width: 90px;
        height: 65px;
        padding: 10px;
    }

    .clients-track {
        gap: 15px;
        padding: 0 15px;
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--color-black);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-red);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 50px 30px;
    background-color: var(--color-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-red), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 20, 60, 0.3);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(220, 20, 60, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.icon-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 70%);
    opacity: 0.6;
}

.icon-circle svg {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1;
    stroke: var(--color-white);
    fill: none;
    stroke-width: 2;
    transition: all 0.4s;
}

.feature-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(220, 20, 60, 0.6);
}

.feature-card:hover .icon-circle::before {
    opacity: 0.9;
}

.feature-card:hover .icon-circle svg {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

/* Portfolio Preview Section */
.portfolio-preview-section {
    padding: 100px 0 80px;
    background-color: var(--color-gray-dark);
}

.portfolio-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    max-width: 700px;
    margin: -40px auto 50px;
    line-height: 1.6;
}

.portfolio-gallery {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 50px;
}

.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    width: 100%;
}

/* 14 images grid - 7 columns */
.portfolio-gallery-grid.portfolio-14 {
    grid-template-columns: repeat(7, 1fr);
}

.portfolio-gallery-item {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
}

.portfolio-overlay span {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 24px;
    border: 2px solid var(--color-white);
    border-radius: 4px;
    transition: all 0.3s;
}

.portfolio-gallery-item:hover img {
    transform: scale(1.1);
}

.portfolio-gallery-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-gallery-item:hover .portfolio-overlay span {
    background: var(--color-red);
    border-color: var(--color-red);
}

.portfolio-cta {
    text-align: center;
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--color-white);
    padding: 16px 36px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 2px solid var(--color-red);
}

.cta-button-outline:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

/* Responsive Portfolio Gallery */
@media (max-width: 1200px) {
    .portfolio-gallery-grid.portfolio-14 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .portfolio-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-gallery-grid.portfolio-14 {
        grid-template-columns: repeat(4, 1fr);
    }

    .portfolio-gallery-item:nth-child(4),
    .portfolio-gallery-item:nth-child(5) {
        grid-column: span 1;
    }
}

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

    .portfolio-gallery-grid.portfolio-14 {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-gallery-item {
        height: 250px;
    }

    .portfolio-gallery-item:nth-child(5) {
        grid-column: span 2;
    }

    .portfolio-gallery-grid.portfolio-14 .portfolio-gallery-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-gallery-grid.portfolio-14 {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-gallery-item:nth-child(5) {
        grid-column: span 1;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 40px 0 60px;
    background-color: var(--color-gray-dark);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.reviews-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    max-width: 600px;
    margin: -40px auto 50px;
    line-height: 1.6;
}

.reviews-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.reviews-slider {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

.review-card {
    min-width: calc(50% - 10px);
    background: var(--color-black);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s;
}

.review-card:hover {
    border-color: rgba(220, 20, 60, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.review-avatar span {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
}

.review-info h5 {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.review-stars {
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
}

.reviews-nav {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.reviews-nav svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.reviews-nav:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: scale(1.1);
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.review-dot.active {
    background: var(--color-red);
    width: 30px;
    border-radius: 5px;
}

.review-dot:hover {
    background: rgba(220, 20, 60, 0.6);
}

/* Responsive Reviews */
/* Responsive Reviews */
@media (max-width: 768px) {
    .reviews-slider-wrapper {
        flex-direction: row;
        /* Keep row direction for sliding */
        padding: 0 0;
        /* Remove padding if any */
    }

    .reviews-slider {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .review-card {
        min-width: 100%;
        width: 100%;
        flex: 0 0 100%;
        /* Force standard flex width */
        margin-right: 0;
    }

    .reviews-nav {
        display: none;
    }

    .reviews-prev {
        left: 0;
        border-radius: 0 50% 50% 0;
    }

    .reviews-next {
        right: 0;
        border-radius: 50% 0 0 50%;
    }
}

/* ME-D Subscreen Section */
.med-subscreen-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
}

.med-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-red);
    text-align: center;
    margin-bottom: 30px;
}

.med-title .title-accent {
    color: var(--color-white);
    display: block;
    font-size: 24px;
    margin-top: 10px;
}

.med-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px;
}

.med-techniques-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.technique-badge {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.technique-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

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

.technique-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
}

.technique-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 20, 60, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.technique-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.technique-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.technique-card:hover .technique-image img {
    transform: scale(1.05);
}

.technique-content {
    padding: 25px;
}

.technique-content h4 {
    color: var(--color-red);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.technique-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.7;
}

/* Responsive ME-D Section */
@media (max-width: 992px) {
    .techniques-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .med-title {
        font-size: 26px;
    }

    .med-title .title-accent {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .med-techniques-badges {
        flex-direction: column;
        align-items: center;
    }

    .technique-badge {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Technique Selection Guide Section */
.technique-guide-section {
    position: relative;
    padding: 80px 0;
    background-image: url('image/technique-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.technique-guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(30, 30, 30, 0.9) 100%);
    z-index: 1;
}

.technique-guide-section .container {
    position: relative;
    z-index: 2;
}

.technique-guide-title {
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.4;
    letter-spacing: 2px;
}

.technique-guide-title .title-red {
    color: var(--color-red);
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.technique-guide-title .title-white {
    color: var(--color-red);
    font-size: 36px;
    font-weight: 700;
}

.technique-guide-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.technique-guide-item {
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--color-red);
    border-radius: 0 12px 12px 0;
    transition: all 0.3s;
}

.technique-guide-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.technique-guide-name {
    color: var(--color-red);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.technique-guide-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive Technique Guide */
@media (max-width: 768px) {
    .technique-guide-title .title-red {
        font-size: 28px;
    }

    .technique-guide-title .title-white {
        font-size: 28px;
    }

    .technique-guide-item {
        padding: 20px;
    }
}

/* Intro Section */
.intro-section {
    padding: 100px 0;
    background-color: var(--color-gray-dark);
}

.section-title-large {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 0;
    background-color: var(--color-black);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

.why-choose-image {
    position: relative;
}

.image-slider {
    width: 100%;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

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

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.02);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(220, 20, 60, 0.8);
    border-color: var(--color-red);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

.dot:hover {
    background: rgba(220, 20, 60, 0.6);
}

/* Slider Counter for many slides */
.slider-counter {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 2px;
}

.slider-counter .current-slide {
    color: var(--color-red);
    font-weight: 700;
    font-size: 18px;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-choose-list-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background-color: var(--color-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-choose-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-red);
    opacity: 0;
    transition: opacity 0.4s;
}

.why-choose-list-item:hover {
    transform: translateX(8px);
    border-color: rgba(220, 20, 60, 0.3);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.15);
}

.why-choose-list-item:hover::before {
    opacity: 1;
}

.list-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
    transition: all 0.4s;
}

.why-choose-list-item:hover .list-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.list-content {
    flex: 1;
}

.list-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.4s;
}

.why-choose-list-item:hover .list-content h4 {
    color: var(--color-red);
}

.list-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

/* Why Choose Description */
.why-choose-description {
    margin-top: 80px;
    padding: 80px 0;
    background-color: var(--color-gray-dark);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.description-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 30px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.description-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0;
}

/* Why Choose Gallery */
.why-choose-gallery {
    margin-top: 80px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    width: 100%;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: var(--color-gray-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.lightbox-close:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-white);
}

.lightbox-nav:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }
}

/* Process Steps Section */
.process-section {
    padding: 100px 0;
    background-color: var(--color-gray-dark);
}

.process-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    max-width: 700px;
    margin: -40px auto 60px;
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-card {
    background: linear-gradient(145deg, var(--color-black) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-red-dark), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.process-card:hover {
    border-color: rgba(220, 20, 60, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.2);
}

.process-card:hover::before {
    opacity: 1;
}

.process-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.step-number {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: all 0.4s;
}

.process-card:hover .step-number {
    transform: scale(1.1);
}

.step-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.12);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-red);
    fill: none;
    transition: all 0.4s;
}

.process-card:hover .step-icon {
    background: rgba(220, 20, 60, 0.25);
    transform: rotate(5deg) scale(1.1);
}

.process-card-body h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.4s;
}

.process-card:hover .process-card-body h4 {
    color: var(--color-red);
}

.process-card-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.process-card-arrow,
.process-card-check {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.4s;
}

.process-card-arrow svg,
.process-card-check svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.4);
    fill: none;
    transition: all 0.4s;
}

.process-card:hover .process-card-arrow,
.process-card:hover .process-card-check {
    background: rgba(220, 20, 60, 0.2);
}

.process-card:hover .process-card-arrow svg,
.process-card:hover .process-card-check svg {
    stroke: var(--color-red);
}

.process-card-check svg {
    stroke: var(--color-red);
}

.process-card:nth-child(4) .process-card-check {
    background: rgba(220, 20, 60, 0.15);
}

.process-card:nth-child(4):hover .process-card-check {
    background: rgba(220, 20, 60, 0.3);
    transform: scale(1.1);
}

/* Responsive for Process Grid */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-card {
        padding: 25px;
    }

    .step-number {
        font-size: 36px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--color-black);
}

.faq-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    max-width: 700px;
    margin: -40px auto 60px;
    line-height: 1.6;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(220, 20, 60, 0.3);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.1);
}

.faq-item.active {
    border-color: var(--color-red);
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    transition: all 0.3s;
}

.faq-question span {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.3px;
    transition: color 0.3s;
    flex: 1;
    padding-right: 20px;
}

.faq-question:hover span,
.faq-item.active .faq-question span {
    color: var(--color-red);
}

.faq-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    stroke: var(--color-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover .faq-icon {
    stroke: var(--color-red);
}

.faq-item.active .faq-icon {
    stroke: var(--color-red);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.8;
}

/* Page Header */
.page-header {
    padding: 80px 0 40px;
    background-color: var(--color-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-white);
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--color-black);
}

.services-section .container {
    max-width: 1400px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(650px, 1fr));
    gap: 50px;
}

.service-item {
    display: flex;
    gap: 30px;
    background-color: var(--color-gray-dark);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.service-item:hover {
    border-color: var(--color-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.2);
}

.service-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-red);
}

.service-placeholder {
    font-size: 60px;
}

.service-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-red);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.service-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
}

.service-content ul li {
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-red);
    font-weight: bold;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background-color: var(--color-black);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

.portfolio-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: var(--color-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.portfolio-item:hover {
    border-color: var(--color-red);
    transform: scale(1.05);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-placeholder {
    font-size: 80px;
    opacity: 0.3;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--color-black);
}

.about-content {
    margin-bottom: 80px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-red);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: var(--color-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-red);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.values-section {
    margin-top: 80px;
}

.values-section h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-red);
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--color-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-item h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Trusted By Section */
.trusted-by-section {
    padding: 60px 0;
    background-color: var(--color-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trusted-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.trusted-slider {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-bottom: -20px;
    /* Hide scrollbar visual space */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

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

.trusted-slider.active {
    cursor: grabbing;
}

.trusted-track {
    display: flex;
    gap: 60px;
    width: max-content;
    padding: 0 40px;
    align-items: center;
}

.trusted-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(200%);
    /* Ensure white logos */
    mix-blend-mode: screen;
    /* Safety for black backgrounds */
}

.trusted-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: none;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--color-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-section h2,
.contact-form-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-red);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: var(--color-gray-dark);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.qr-code-image {
    max-width: 100%;
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    transition: all 0.3s ease;
}

.contact-detail-item:hover .contact-icon svg {
    transform: scale(1.1);
    color: var(--color-red-dark);
}

.contact-detail-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    white-space: pre-line;
}

.contact-detail-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.contact-detail-item a:hover {
    color: var(--color-white);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--color-gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    background-color: var(--color-gray);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--color-red);
    background-color: var(--color-gray-dark);
    padding: 0 5px;
}

.submit-button {
    background-color: var(--color-red);
    color: var(--color-white);
    border: 2px solid var(--color-red);
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-primary);
    margin-top: 10px;
}

.submit-button:hover {
    background-color: transparent;
    color: var(--color-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

/* Footer */
.footer {
    background-color: var(--color-gray-dark);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--color-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background-color: var(--color-black);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }



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

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

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-title-large {
        font-size: 36px;
    }

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

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

    .service-item {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .qr-code-container {
        max-width: 100%;
        padding: 20px;
    }

    .qr-code-image {
        max-width: 280px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 968px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-image {
        position: relative;
        top: 0;
    }

    .image-placeholder {
        aspect-ratio: 16/9;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }



    .main-content {
        margin-top: 100px;
        /* Adjusted for consolidated mobile header */
    }

    .why-choose-list-item {
        padding: 20px;
        gap: 16px;
    }

    .list-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }

    .list-content h4 {
        font-size: 16px;
    }

    .list-content p {
        font-size: 13px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        height: 250px;
    }

    .why-choose-gallery {
        margin-top: 50px;
    }

    .why-choose-description {
        padding: 60px 0;
        margin-top: 60px;
    }

    .description-title {
        font-size: 28px;
    }

    .description-text {
        font-size: 16px;
    }
}

/* Google Map Section */
.map-section {
    padding: 80px 0 0;
    background-color: var(--color-black);
}

.map-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    max-width: 600px;
    margin: -40px auto 40px;
}

/* Branch Title */
.branch-title {
    text-align: center;
    color: var(--color-red);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.map-section-branch2 {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
    line-height: 1.6;
}

.map-container {
    width: 100%;
    margin-top: 20px;
}

.map-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: -1px;
    /* Ensure it covers any sub-pixel gap */
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* Map displays in normal colors */

.custom-map-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    z-index: 10;
}

.custom-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.inquiry-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.5);
    background: linear-gradient(135deg, var(--color-red-dark) 0%, var(--color-red) 100%);
}

.map-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 0 40px;
}

.map-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    /* ลด gap ลงเล็กน้อย */
    padding: 25px 20px;
    background: linear-gradient(145deg, var(--color-gray-dark) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s;
    min-width: 0;
}

/* ... existing code ... */

.map-info-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    /* ลดขนาดฟอนต์ลงเล็กน้อยเพื่อให้พอดี */
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    /* ซ่อนส่วนที่เกิน */
    text-overflow: ellipsis;
    /* แสดง ... ถ้าข้อความยาวเกินไป */
}

.map-info-card:hover {
    border-color: rgba(220, 20, 60, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.1);
}

.map-info-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    /* Prevent shrink */
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-white);
}

.map-info-content {
    flex: 1;
    min-width: 0;
    /* Allow text truncate if needed or sizing */
}

.map-info-content h3 {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.map-info-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Map */
@media (max-width: 992px) {
    .map-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 350px;
    }

    .map-info-card {
        padding: 20px;
    }
}

/* QR Code Footer Section */
.qr-code-box {
    width: 120px;
    height: 120px;
    background: var(--color-white);
    border-radius: 12px;
    padding: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.qr-code-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Services Page Revamp */
.services-section {
    padding: 80px 0;
    min-height: 100vh;
    background-color: var(--color-black);
}

.services-section .container {
    max-width: 1400px;
}

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

.service-item {
    display: flex;
    background: var(--color-gray-dark);
    border-radius: 12px;
    overflow: visible;
    min-height: 200px;
    /* Changed from fixed height */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;

}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.3);
}

.service-image {
    width: 50%;
    /* Changed from 200px */
    min-width: 50%;
    height: auto;
    /* Allow height to stretch */
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

/* Fallback for missing image */
.service-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.service-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-content h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: var(--color-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.service-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    }
}

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

@media (max-width: 480px) {
    .service-item {
        height: auto;
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }

    .service-content {
        padding: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1001;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(220, 20, 60, 0.6);
}

.fab-main.active {
    background: linear-gradient(135deg, var(--color-red-dark) 0%, var(--color-red) 100%);
}

.fab-main.active .fab-icon {
    opacity: 0;
    transform: scale(0);
}

.fab-main::before,
.fab-main::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-main::before {
    transform: rotate(45deg) scale(0);
}

.fab-main::after {
    transform: rotate(-45deg) scale(0);
}

.fab-main.active::before,
.fab-main.active::after {
    opacity: 1;
}

.fab-main.active::before {
    transform: rotate(45deg) scale(1);
}

.fab-main.active::after {
    transform: rotate(-45deg) scale(1);
}

.fab-icon {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

.fab-item:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(220, 20, 60, 0.4);
    background: var(--color-red);
    color: var(--color-white);
}

.fab-item svg {
    width: 24px;
    height: 24px;
}

.fab-item:nth-child(1) {
    background: #1877F2;
    color: var(--color-white);
}

.fab-item:nth-child(1):hover {
    background: #166FE5;
}

.fab-item:nth-child(2) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white);
}

.fab-item:nth-child(2):hover {
    opacity: 0.9;
}

.fab-item:nth-child(3) {
    background: #000000;
    color: var(--color-white);
}

.fab-item:nth-child(3):hover {
    background: #1a1a1a;
}

.fab-item:nth-child(4) {
    background: #00C300;
    color: var(--color-white);
}

.fab-item:nth-child(4):hover {
    background: #00B300;
}

.fab-item:nth-child(5) {
    background: var(--color-red);
    color: var(--color-white);
}

.fab-item:nth-child(5):hover {
    background: var(--color-red-dark);
}

@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
        width: 100%;
    }

    .contact-info {
        flex-direction: row;
        gap: 8px;
        flex-wrap: nowrap;
        overflow: hidden;
        flex: 1;
        min-width: 0;
    }

    .contact-info .separator {
        display: inline;
        opacity: 0.5;
        flex-shrink: 0;
    }

    .contact-link {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .language-switcher {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
        margin-left: auto;
    }

    .lang-btn {
        padding: 2px 6px;
        font-size: 10px;
        min-width: 32px;
        text-align: center;
    }

    .fab-container {
        bottom: 20px;
        right: 20px;
    }

    .fab-main {
        width: 56px;
        height: 56px;
    }

    .fab-item {
        width: 48px;
        height: 48px;
    }

    .fab-item svg {
        width: 22px;
        height: 22px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-black);
        flex-direction: column;
        justify-content: center;
        padding: 80px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        display: block;
        margin-bottom: 20px;
    }

    /* Overlay when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Footer Optimization */
    .footer-content {
        text-align: center;
        gap: 40px;
    }

    .footer-logo-img {
        margin: 0 auto 15px;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section p,
    .footer-section li {
        width: 100%;
    }
}

/* About Us Page Values Section */
.values-section {
    text-align: center;
    margin-top: 60px;
}

.values-section h2 {
    margin-bottom: 40px;
    font-size: 32px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.value-item {
    background: var(--color-gray-dark);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-red);
}

.value-item h3 {
    color: var(--color-red);
    font-size: 24px;
    margin-bottom: 20px;
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* About Gallery Section - Full Width 6 Images in Single Row */
.about-gallery-section {
    width: 100%;
    margin-top: 60px;
    overflow: hidden;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    width: 100%;
}

.about-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Responsive for About Gallery */
@media (max-width: 768px) {
    .about-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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