:root {
    --primary-red: #ea1d24;
    --primary-blue: #292973;
    --bg-light: #f8f9fa;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
    --gradient-red: linear-gradient(135deg, #ea1d24, #ff6b6b);
    --gradient-blue: linear-gradient(135deg, #292973, #4c51bf);
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    font-family: 'Kanit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Enhanced Navbar */
.navbar-custom {
    background: var(--gradient-blue);
    box-shadow: 0 4px 20px rgba(41, 41, 115, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    box-shadow: 0 8px 30px rgba(41, 41, 115, 0.6);
}

.navbar-brand img {
    max-height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 10px 16px !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffdd59, #feca57);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: #ffdd59 !important;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 5px;
}

.dropdown-item:hover {
    background: var(--gradient-blue);
    color: white;
    transform: translateX(5px);
}

/* Enhanced Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 221, 89, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(180deg);
}

/* Mobile Dropdown Enhanced */
@media (max-width: 991.98px) {
    .dropdown-menu {
        background: rgba(41, 41, 115, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-left: 20px;
        backdrop-filter: blur(20px);
    }
    
    .dropdown-item {
        color: white;
        padding: 12px 20px;
        border-radius: 8px;
        margin: 3px 8px;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffdd59;
        transform: translateX(8px);
    }
}

/* Enhanced Hero Slider */
#heroCarousel {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
}

#heroCarousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(41, 41, 115, 0.1), rgba(234, 29, 36, 0.1));
    z-index: 1;
    pointer-events: none;
}

#heroCarousel .carousel-inner {
    width: 100%;
}

#heroCarousel .carousel-item {
    width: 100%;
    transition: transform 0.8s ease;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.5s ease;
}

#heroCarousel .carousel-item.active img {
    animation: zoomInOut 8s ease-in-out infinite;
}

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Enhanced carousel controls */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(41, 41, 115, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#heroCarousel .carousel-control-prev {
    left: 30px;
}

#heroCarousel .carousel-control-next {
    right: 30px;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: rgba(234, 29, 36, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(234, 29, 36, 0.3);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    background-color: transparent;
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* ซ่อน carousel indicators */
#heroCarousel .carousel-indicators {
    display: none;
}

/* Enhanced Content Sections */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(41, 41, 115, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(234, 29, 36, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.content-section {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 8px 16px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.9);
    padding: 50px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.content-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.content-section:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.12),
        0 15px 30px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.content-section:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.content-section img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    margin: 20px 0;
    filter: brightness(1.05);
}

.content-section img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    filter: brightness(1.1) saturate(1.1);
}

.content-section h3 {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.content-section .lead {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Enhanced Speed Band Section */
.speed-band {
    background: var(--gradient-blue);
    position: relative;
    overflow: hidden;
    transform: skewY(-2deg);
    margin: 120px 0;
    padding: 150px 0;
    box-shadow: 
        0 20px 40px rgba(41, 41, 115, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.speed-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(234, 29, 36, 0.2) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="speedlines" x="0" y="0" width="100" height="20" patternUnits="userSpaceOnUse"><line x1="0" y1="10" x2="100" y2="10" stroke="%23ffffff" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100" height="20" fill="url(%23speedlines)"/></svg>');
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

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

.speed-band-content {
    transform: skewY(2deg);
    color: white;
    position: relative;
    z-index: 2;
}

.slogan-text {
    text-align: center !important;
    padding-left: 0;
    margin: 0 auto;
    max-width: 960px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInLeft 2.2s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.icon-features-row {
    margin-top: 40px;
    gap: 15px;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
}

.icon-feature {
    text-align: center;
    padding: 25px 20px;
    margin: 0 8px;
    flex: 0 0 auto !important;
    min-width: 280px !important;
    max-width: 320px !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.icon-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.icon-feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.icon-feature:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.icon-feature img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
    filter: brightness(1.2) drop-shadow(0 5px 10px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.icon-feature:hover img {
    transform: scale(1.1) rotate(5deg);
}

.icon-feature h5 {
    color: white;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.motorcycle-image {
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 100px;
    position: relative;
    right: -120px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
    animation: floatMobile 6s ease-in-out infinite;
}

@keyframes floatMobile {
    0%, 100% { transform: scale(1.1) translateY(0px); }
    50% { transform: scale(1.1) translateY(-20px); }
}

.motorcycle-image:hover {
    transform: scale(1.15) rotate(-2deg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)) brightness(1.1);
}

/* Enhanced Products Section */
.products-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(41, 41, 115, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(234, 29, 36, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: var(--gradient-red);
    display: block;
    margin: 20px auto 0;
    border-radius: 2px;
    animation: expandWidth 2s ease-out;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.section-title h2 .text-black {
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-title h2 .text-red {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.section-title .lead {
    font-size: 1.3rem;
    color: #6c757d;
    font-weight: 400;
}

/* Enhanced Product Brand Box */
.product-brand-box {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.08),
        0 5px 15px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-brand-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.product-brand-box:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 10px 20px rgba(0,0,0,0.08);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

.product-brand-box:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.product-brand-box img {
    max-width: 200px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 25px auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.product-brand-box:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2)) brightness(1.05);
}

/* Enhanced Product Car Cards */
.product-car {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.08),
        0 4px 10px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product-car::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.product-car:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 16px rgba(0,0,0,0.06);
}

.product-car:hover::before {
    transform: scaleX(1);
}

.product-car img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    filter: brightness(1.05) saturate(1.1);
    background: #f8f9fa;
    padding: 10px;
}

.product-car:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

.product-car h6 {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Enhanced Buttons */
.btn-custom {
    background: var(--gradient-red);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(234, 29, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 29, 36, 0.4);
    background: linear-gradient(135deg, #ff6b6b, #ea1d24);
}

.btn-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-custom:active {
    transform: translateY(-1px);
}

/* Enhanced Dealer Section */
.dealer-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.dealer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(52, 73, 94, 0.8) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.dealer-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.dealer-logo {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.1),
        0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dealer-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.dealer-logo:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.2),
        0 10px 20px rgba(0,0,0,0.1);
}

.dealer-logo:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.dealer-logo img {
    max-width: 180px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.1));
}

.dealer-logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2)) brightness(1.05);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(234, 29, 36, 0.08) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-company-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffdd59, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.footer-company-brand {
    font-size: 1.1rem;
    color: #cbd5e0;
    margin-bottom: 30px;
    font-weight: 300;
}

.footer-address {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-address p {
    margin: 0;
    line-height: 1.8;
    color: #e2e8f0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.footer-address p i {
    margin-right: 12px;
    color: #ffdd59;
    font-size: 1.1rem;
}

.footer-phones {
    margin: 30px 0;
}

.phone-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-phone-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(234, 29, 36, 0.3);
}

.phone-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

.footer-icon {
    color: #ffdd59;
    font-size: 1.5rem;
}

.footer h5 {
    color: #ffdd59;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
}

/* เฉพาะหัวข้อ "ติดต่อเรา" ให้อยู่กลาง */
.col-md-4.text-center h5 {
    text-align: center !important;
}

.footer h5::after {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--gradient-red);
    display: block;
    margin: 8px 0 0 0;
    border-radius: 2px;
}

/* เฉพาะเส้นใต้ของ "ติดต่อเรา" ให้อยู่กลาง */
.col-md-4.text-center h5::after {
    margin: 8px auto 0;
}

/* Enhanced Social Buttons */
.footer-social {
    margin-top: 30px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px 15px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.line-btn {
    background: linear-gradient(135deg, #00c300, #00b300);
    color: white;
}

.line-btn::before {
    background: rgba(255, 255, 255, 0.2);
}

.facebook-btn {
    background: linear-gradient(135deg, #3b5998, #2d4373);
    color: white;
}

.facebook-btn::before {
    background: rgba(255, 255, 255, 0.2);
}

.email-btn {
    background: linear-gradient(135deg, #dd4b39, #c23321);
    color: white;
}

.email-btn::before {
    background: rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
}

.social-btn:hover::before {
    width: 100px;
    height: 100px;
}

/* Enhanced Service Buttons */
.footer-services {
    margin-top: 30px;
}

.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(234, 29, 36, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.service-btn-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.service-btn span {
    font-weight: 600;
    font-size: 1rem;
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 29, 36, 0.4);
    color: white;
    text-decoration: none;
}

.service-btn:hover::before {
    width: 300px;
    height: 300px;
}

.service-btn:hover .service-btn-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(360deg);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    /* Hero carousel controls */
    #heroCarousel .carousel-control-prev-icon,
    #heroCarousel .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    #heroCarousel .carousel-control-prev {
        left: 15px;
    }

    #heroCarousel .carousel-control-next {
        right: 15px;
    }

    /* Container Spacing */
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Row Spacing */
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .row > * {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 25px;
    }

    /* Content sections */
    .section-padding {
        padding: 60px 20px;
    }

    .content-section {
        padding: 30px 25px;
        margin: 30px 15px;
        border-radius: 20px;
    }

    .content-section img:hover {
        transform: scale(1.01);
    }

    /* Speed band section */
    .speed-band {
        padding: 80px 20px;
        margin: 60px 0;
        transform: skewY(-1deg);
    }

    .speed-band-content {
        transform: skewY(1deg);
        padding: 0 20px;
    }

    .slogan-text {
        font-size: 2.2rem !important;
        text-align: center !important;
        padding: 0 25px;
        margin: 0 auto 40px auto;
        max-width: 95%;
        line-height: 1.3;
    }

    .icon-features-row {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
        padding: 0 20px;
    }

    .icon-feature {
        margin: 0 auto 25px auto;
        padding: 25px 20px;
        max-width: 300px;
        width: 100%;
    }

    .icon-feature img {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .icon-feature h5 {
        font-size: 1.1rem;
        margin-top: 10px;
    }

    .motorcycle-image {
        transform: scale(0.8);
        margin-left: 0;
        right: 20px;
        bottom: 20px;
    }

    .motorcycle-image:hover {
        transform: scale(0.85);
    }

    /* Products section */
    .products-section {
        padding: 60px 20px;
    }

    .section-title {
        padding: 0 20px;
        margin-bottom: 50px;
    }

    .section-title h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .section-title .lead {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .product-brand-box {
        padding: 25px 20px;
        margin: 15px 10px 30px 10px;
    }

    .product-brand-box img {
        max-width: 150px;
        max-height: 100px;
    }

    .product-car {
        padding: 20px 15px;
        margin: 10px 5px 25px 5px;
    }

    .product-car img {
        height: 160px;
        padding: 8px;
    }

    /* Dealer section */
    .dealer-section {
        padding: 60px 20px;
    }

    .dealer-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .dealer-logo {
        padding: 20px 15px;
        margin: 10px 5px 20px 5px;
    }

    .dealer-logo img {
        max-width: 150px;
        max-height: 100px;
    }

    /* Footer enhancements */
    .footer {
        padding: 50px 20px 30px 20px;
    }

    .footer-company-name {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 8px;
    }

    .footer-company-brand {
        text-align: center;
        margin-bottom: 15px;
        padding: 0 15px;
        line-height: 1.5;
    }

    .footer-address {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .footer-address p {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        margin-bottom: 15px;
        padding: 5px 0;
    }

    .footer-address p i {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .phone-item {
        padding: 15px 20px;
        justify-content: center;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer h5 {
        text-align: center;
        font-size: 1.3rem;
        margin-top: 35px;
        margin-bottom: 20px;
    }

    .footer h5::after {
        margin: 10px auto 0;
    }

    .footer-social {
        text-align: center;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        margin: 0 10px 15px 0;
    }

    .footer-services {
        padding: 0 15px;
        text-align: center;
    }

    .service-btn {
        padding: 15px 25px;
        margin: 8px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
        min-width: 140px;
    }

    .service-btn-icon {
        margin-right: 0;
        margin-bottom: 5px;
        width: 20px;
        height: 20px;
    }

    .service-btn span {
        font-size: 0.9rem;
        line-height: 1.2;
    }
}

/* Large Mobile Devices */
@media (max-width: 576px) {
    /* Extra spacing for very small screens */
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row > * {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }

    .section-padding {
        padding: 50px 15px;
    }

    .section-title {
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-title .lead {
        font-size: 1rem;
    }

    .slogan-text {
        font-size: 1.8rem !important;
        text-align: center !important;
        padding: 0 20px;
        margin: 0 auto 30px auto;
        max-width: 100%;
        line-height: 1.4;
    }

    .speed-band {
        padding: 60px 15px;
        margin: 40px 0;
    }

    .speed-band-content {
        padding: 0 15px;
    }

    .icon-features-row {
        gap: 25px;
        padding: 0 15px;
    }

    .icon-feature {
        padding: 20px 15px;
        max-width: 100%;
        margin: 0 auto 20px auto;
    }

    .icon-feature img {
        width: 60px;
        height: 60px;
    }

    .icon-feature h5 {
        font-size: 1rem;
    }

    .products-section {
        padding: 50px 15px;
    }

    .product-brand-box {
        margin: 10px 5px 25px 5px;
        padding: 20px 15px;
    }

    .product-brand-box img {
        max-width: 120px;
        max-height: 80px;
    }

    .product-car {
        margin: 8px 3px 20px 3px;
        padding: 15px 10px;
    }

    .product-car img {
        height: 140px;
    }

    .dealer-section {
        padding: 50px 15px;
    }

    .dealer-section h2 {
        font-size: 1.8rem;
        padding: 0 15px;
        margin-bottom: 35px;
    }

    .dealer-logo {
        margin: 8px 3px 15px 3px;
        padding: 15px 10px;
    }

    .dealer-logo img {
        max-width: 130px;
        max-height: 85px;
    }

    .footer {
        padding: 40px 15px 25px 15px;
    }

    .footer-company-name {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .footer-company-brand {
        margin-bottom: 10px;
        padding: 0 10px;
        font-size: 0.95rem;
    }

    .footer-address {
        padding: 15px 10px;
        margin-bottom: 25px;
    }

    .footer h5 {
        font-size: 1.2rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .footer-social {
        padding: 0 10px;
        margin-bottom: 25px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        margin: 0 8px 12px 0;
    }

    .footer-services {
        padding: 0 10px;
    }

    .service-btn {
        padding: 12px 20px;
        margin: 6px;
        min-width: 120px;
        font-size: 0.85rem;
    }

    .service-btn-icon {
        width: 18px;
        height: 18px;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.2s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.2s ease-out;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.2s ease-out;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.2s ease-out;
}

.zoom-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Fast staggered animations for product sections */
.product-brand-box,
.product-car,
.dealer-logo {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.15s ease-out;
}

.product-brand-box.animate,
.product-car.animate,
.dealer-logo.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Quick delay for stagger effect */
.product-brand-box:nth-child(2) { transition-delay: 0.05s; }
.product-brand-box:nth-child(3) { transition-delay: 0.1s; }
.product-brand-box:nth-child(4) { transition-delay: 0.15s; }
.product-brand-box:nth-child(5) { transition-delay: 0.2s; }

.product-car:nth-child(2) { transition-delay: 0.03s; }
.product-car:nth-child(3) { transition-delay: 0.06s; }

.dealer-logo:nth-child(2) { transition-delay: 0.03s; }
.dealer-logo:nth-child(3) { transition-delay: 0.06s; }
.dealer-logo:nth-child(4) { transition-delay: 0.09s; }
.dealer-logo:nth-child(5) { transition-delay: 0.12s; }
.dealer-logo:nth-child(6) { transition-delay: 0.15s; }

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), #4c51bf);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    opacity: 0.9;
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(234, 29, 36, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    cursor: pointer;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(234, 29, 36, 0.6);
}

.scroll-top-btn i {
    font-size: 1.2rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-blue);
}

/* Logo header fix */
.logo-header img {
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

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

/* Additional utility classes */
.text-gradient-red {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.shadow-custom-hover:hover {
    box-shadow: 0 20px 40px var(--shadow-heavy);
}

/* About Us Page Styles */
.about-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.about-content {
    padding: 40px 0;
}

.about-text .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-text strong.text-red {
    color: var(--primary-red);
    font-weight: 700;
}

.about-text strong.text-blue {
    color: var(--primary-blue);
    font-weight: 700;
}

.motorcycle-showcase {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.motorcycle-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.motorcycle-showcase img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
}

.motorcycle-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 30px;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.motorcycle-showcase:hover .motorcycle-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.overlay-content p {
    margin: 0;
    font-size: 0.9rem;
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.timeline-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(234, 29, 36, 0.1);
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
}

.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(41, 41, 115, 0.3);
}

.timeline-title {
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.timeline-desc {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(41, 41, 115, 0.2);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-red);
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(234, 29, 36, 0.3);
}

.feature-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-desc {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Navbar enhancement for mobile */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 20px 0;
    }
    
    .nav-item {
        margin: 5px 0;
    }
    
    .nav-link {
        padding: 12px 20px !important;
        border-radius: 8px;
        margin: 2px 0;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

    /* About Page Mobile */
    .about-hero {
        min-height: auto;
        padding: 60px 0;
    }

    .about-content {
        padding: 20px 0;
        text-align: center;
    }

    .motorcycle-showcase {
        margin-top: 30px;
    }

    .timeline-item {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .timeline-year {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .feature-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }
} 