/* Launch Template CSS - Inspired by launch-europe.eu */



/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.nav-list a {
    color:#ffffff !important;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
.launch-nav.scrolled {
    background: rgba(26, 26, 26, 0.85) !important;
}

body.launch-template {
    font-family: "Noto Sans Thai", sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-color: #E30613;
    --primary-dark: #B30510;
    --secondary-color: #262A2E;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-muted: #999999;
    --border-color: #e9ecef;
    /* --border-color: #333333; */
    --accent-color: #ff0015;
    --gradient-primary: linear-gradient(135deg, #E30613 0%, #ff0015 100%);
    --gradient-dark: linear-gradient(135deg, #262A2E 0%, #1a1a1a 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-color);
}
.auth-link:hover {
    color: #fff9b5 !important;
}
/* Top Navigation Bar */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #e60013;
    z-index: 1001;
    padding: 0px;
    border-bottom: 1px solid rgba(227, 6, 19, 0.3);
    font-size: 0.85rem;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-nav.hidden {
    transform: translateY(-100%);
}

.top-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

.top-nav-left {
    flex: 1;
}

.welcome-message {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.welcome-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.promo-text {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.top-nav-right {
    display: flex;
    align-items: center;
}

.top-nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Top Cart Icon */
.top-cart-icon {
    position: relative;
}

.top-cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    transition: var(--transition-smooth);
    position: relative;
}

.top-cart-link:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

.top-cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: cartBounce 0.3s ease;
}

/* Authentication Links */
.auth-links {
    display: flex;
    align-items: center;
}

.auth-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-gray);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.auth-link:hover {
    background: rgba(227, 6, 19, 0.1);
    text-decoration: none;
}

.auth-link i {
    font-size: 0.8rem;
}

.auth-separator {
    color: var(--border-color);
    margin: 0 0.5rem;
    font-size: 0.8rem;
}

.user-menu, .guest-menu {
    display: flex;
    align-items: center;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.lang-toggle:hover {
    background: rgba(227, 6, 19, 0.1);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.lang-arrow {
    font-size: 0.7rem;
    transition: var(--transition-smooth);
}

.lang-dropdown.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 140px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.lang-option:hover {
    background: rgba(227, 6, 19, 0.1);
    color: var(--text-light);
    text-decoration: none;
}

.lang-option.active {
    background: rgba(227, 6, 19, 0.15);
    color: var(--primary-color);
    font-weight: 600;
}

.flag-icon {
    font-size: 1rem;
}

/* Mobile Top Nav Toggle */
.top-nav-mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.top-nav-mobile-toggle:hover {
    color: var(--primary-color);
    background: rgba(227, 6, 19, 0.1);
}

/* Main Navigation - Sticky Navigation */
.launch-nav {
    position: fixed;
    top: 50px; /* Adjusted to account for top nav height */
    left: 0;
    right: 0;
    /* background: rgba(26, 26, 26, 0.95); */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When scrolled, launch-nav becomes fully sticky */
.launch-nav.scrolled {
    top: 0;
    background: var(--secondary-color);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.feature-icon img {
    max-height: initial !important;
}
.nav-brand .brand-link {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 900;
    background-color: transparent;
    padding:3px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scrolled .brand-logo {
    height: 31px;
    /* filter: brightness(0) invert(1); */
}

.brand-logo {
    height: 71px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* filter: brightness(0) invert(1); */
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Cart Icon */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
}

.cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: var(--transition-smooth);
    position: relative;
}

.cart-link:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

.cart-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: cartBounce 0.3s ease;
}

@keyframes cartBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cart-counter.bounce {
    animation: cartBounce 0.3s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.nav-item.has-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--secondary-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    z-index: 1000;
    margin-top: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    list-style: none;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.dropdown-link:hover,
.dropdown-link.active {
    background: rgba(227, 6, 19, 0.1);
    color: var(--text-light);
    padding-left: 1.25rem;
}

.dropdown-link.active {
    color: var(--primary-color);
    font-weight: 600;
}
.brand-text {
    display:none;
}
.dropdown-link i {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Content Adjustment for Top Nav */
.launch-main {
    margin-top: 140px; /* Adjusted for both top nav (50px) and main nav (69px) */
    transition: margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
}

/* When top nav is hidden, reduce margin-top */
.top-nav.hidden ~ main.launch-main,
body.scrolled .launch-main {
    margin-top: 69px; /* Only main nav height */
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - 130px); /* Adjust for both navigation bars */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(38, 42, 46, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-gray);
    max-width: 600px;
    font-size: 1.2rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
    position: relative;
}

/* Services Split Section */
.services-split-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: stretch;
}

.services-split-container {
    display: flex;
    width: 100%;
    min-height: 80vh;
}

.service-split {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-split:hover {
    flex: 1.02;
}

.service-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: var(--transition-smooth);
}

.service-split:hover .service-background {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    z-index: 2;
    transition: var(--transition-smooth);
}

.service-split:hover .service-overlay {
    background: rgba(26, 26, 26, 0.5);
}

.service-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 400px;
    color: var(--text-light);
}

.service-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-icon-item {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-icon-item i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.service-split:hover .service-icon-item {
    border-color: var(--primary-color);
    background: rgba(227, 6, 19, 0.1);
}

.service-split:hover .service-icon-item i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.service-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-gray);
    font-weight: 400;
}

.service-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    background: transparent;
}

.service-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

/* News Section */
.news-section {
    position: relative;
    background: var(--dark-bg);
    padding: 5rem 0 0 0;
}

.news-header {
    text-align: center;
    padding: 2rem 0 4rem 0;
    background: var(--dark-bg);
}

.news-main-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-light);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.news-container {
    display: flex;
    width: 100%;
    min-height: 60vh;
}

.news-item {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.news-item:hover {
    flex: 1.1;
}

.news-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: var(--transition-smooth);
}

.news-item:hover .news-background {
    transform: scale(1.05);
}
.content-text {
    font-weight: 200;
}
.company-overview {
    padding: 3rem 0 !important;
}
.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    transition: var(--transition-smooth);
}

.news-item:hover .news-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.news-content {
    position: relative;
    z-index: 3;
    text-align: center;
    backdrop-filter: blur(20px);
        border-radius: 24px;
    padding: 2rem;
    max-width: 450px;
    color: var(--text-light);
}
.news-content-wrapper .news-content {
    max-width:100%;
    box-shadow:none;
    padding:0px;
}
.news-title {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.2;
}

.news-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--text-gray);
    font-weight: 400;
}

.news-btn {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    background: transparent;
    border-radius: 25px;
}

.news-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.4);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Background Sections */
.bg-dark {
    background: var(--dark-bg);
}

.bg-darker {
    background: var(--darker-bg);
}

.bg-gradient {
    background: var(--gradient-dark);
}

/* Footer */
.launch-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-section {
    color: var(--text-gray);
}

.footer-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
}

.footer-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    /* Top Navigation Mobile */
    .top-nav-container {
        padding: 0 1rem;
    }

    .top-nav-actions {
        gap: 1rem;
    }

    .auth-link span {
        display: none; /* Hide text, show only icons */
    }

    .welcome-message {
        display: none; /* Hide welcome message on mobile */
    }

    .promo-text {
        font-size: 0.75rem;
    }

    .lang-dropdown-menu {
        right: -10px;
        min-width: 120px;
    }

    .top-nav-mobile-toggle {
        display: block;
    }

    .top-nav-actions {
        display: none;
    }

    .top-nav-actions.mobile-active {
        display: flex;
        position: absolute;
        top: 100%;
        right: 1rem;
        background: var(--secondary-color);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        padding: 1rem;
        box-shadow: var(--shadow-medium);
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        z-index: 1000;
        min-width: 200px;
    }

    .mobile-active .auth-links,
    .mobile-active .language-switcher {
        width: 100%;
    }

    .mobile-active .auth-link {
        justify-content: flex-start;
        padding: 0.6rem;
        width: 100%;
    }

    .mobile-active .auth-link span {
        display: inline; /* Show text in mobile dropdown */
    }

    /* Main Navigation Mobile */
    .launch-nav {
        top: 50px; /* Still account for top nav */
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        border-top: 1px solid var(--border-color);
        transform: translateY(-100vh);
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-medium);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    /* Mobile Services Split */
    .services-split-container {
        flex-direction: column;
    }

    .service-split {
        min-height: 60vh;
        flex: none;
    }

    .service-split:hover {
        flex: none;
    }

    .service-main-title {
        font-size: 2rem;
    }

    .service-icons {
        gap: 1rem;
    }

    .service-icon-item {
        width: 50px;
        height: 50px;
    }

    .service-icon-item i {
        font-size: 1.2rem;
    }

    /* Mobile News Section */
    .news-main-title {
        font-size: 2.5rem;
    }

    .news-container {
        flex-direction: column;
    }

    .news-item {
        min-height: 50vh;
        flex: none;
    }

    .news-item:hover {
        flex: none;
    }

    .news-title {
        font-size: 1.5rem;
    }

    .news-content {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Top Navigation Small Mobile */
    .top-nav-container {
        padding: 0 0.75rem;
    }

    .top-cart-link {
        width: 28px;
        height: 28px;
    }

    .top-nav-actions.mobile-active {
        right: 0.75rem;
        min-width: 180px;
    }

    .promo-text {
        font-size: 0.7rem;
    }

    /* Main Navigation Small Mobile */
    .nav-container {
        padding: 0 1rem;
    }

    .launch-main {
        margin-top: 110px; /* Reduced margin for small screens */
    }





    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .news-main-title {
        font-size: 2rem;
    }

    .news-item {
        min-height: 40vh;
    }

    .news-title {
        font-size: 1.3rem;
    }

    .news-subtitle {
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-flex { display: flex; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.modal-content {
    background-color: #fff !important;
}

/* ===================================
   Homepage Popup Styles
   =================================== */

.homepage-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.homepage-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.homepage-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.homepage-popup-overlay.show .homepage-popup-container {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.popup-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.popup-image-link {
    display: block;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .homepage-popup-container {
        max-width: 95%;
        max-height: 80vh;
    }

    .popup-close-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 5px;
        right: 5px;
    }
}

/* ===================================
   Social Media Overlay
   =================================== */

.social-media-overlay {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-media-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-media-wrapper .social-edit-btn {
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-media-wrapper:hover .social-edit-btn {
    opacity: 1;
    visibility: visible;
}

.social-media-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.social-media-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.social-media-item i {
    color: white;
}

/* Facebook */
.social-media-item.facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.social-media-item.facebook:hover {
    background: linear-gradient(135deg, #4c70ba 0%, #3b5998 100%);
}

/* Line */
.social-media-item.line {
    background: linear-gradient(135deg, #00B900 0%, #00a000 100%);
}

.social-media-item.line:hover {
    background: linear-gradient(135deg, #00d900 0%, #00B900 100%);
}

/* Instagram */
.social-media-item.instagram {
    background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-media-item.instagram:hover {
    background: linear-gradient(135deg, #f5a742 0%,#ee7749 25%,#e73651 50%,#d63074 75%,#c5279b 100%);
}

/* Tooltip */
.social-media-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
    font-family: 'Noto Sans Thai', sans-serif;
}

.social-media-item::after {
    content: '';
    position: absolute;
    right: 50px;
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.social-media-item:hover::before,
.social-media-item:hover::after {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-media-overlay {
        right: 10px;
        gap: 10px;
    }

    .social-media-item {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .social-media-item::before {
        display: none;
    }

    .social-media-item::after {
        display: none;
    }
}