/* ========================================
   Dịch vụ thiết kế giá rẻ - Main Stylesheet
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    max-width: 100%;
    padding: 0 40px;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Logo image sizing (header and footer) */
.logo-img {
    height: 42px;
    display: inline-block;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    margin-bottom: 20px;
    height: 48px;
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

/* Exclude CTA links from the general nav link styles so the
   special .cta-button keeps its own appearance */
.nav-menu li a:not(.cta-button) {
    font-weight: 500;
    color: var(--dark-color);
    padding: 8px 0;
    position: relative;
}

.nav-menu li a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu li a:not(.cta-button):hover::after,
.nav-menu li a:not(.cta-button).active::after {
    width: 100%;
}

.nav-menu li a:not(.cta-button):hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--gradient-1);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    aspect-ratio: auto / 16 9;
}

/* Grid Background */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    padding-top: 68px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    z-index: 1;
}

.grid-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
    opacity: 1;
}

.grid-item img.fade-out {
    opacity: 0;
}

/* Overlay mờ chứa content */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1.5;
}

/* Slider Container */
.hero-slider-container {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 900px;
    width: 85%;
    height: auto;
}

.hero-content-slide {
    position: absolute;
    left: -150%;
    opacity: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 50px 40px;
    background: rgb(17 17 20 / 88%);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.hero-content-slide.active {
    animation: slideInLeft 0.8s ease forwards;
    opacity: 1;
    pointer-events: auto;
}

.hero-content-slide.slide-out {
    animation: slideOutRight 0.8s ease forwards;
}

@keyframes slideInLeft {
    0% {
        left: -150%;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

@keyframes slideOutRight {
    0% {
        left: 0;
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.98);
    font-weight: 500;
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--light-color), white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:nth-child(2) .service-icon {
    background: var(--gradient-2);
}

.service-card:nth-child(3) .service-icon {
    background: var(--gradient-3);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 90%);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #FFA500 0%, #FF6347 100%);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #00C9FF 0%, #92FE9D 100%);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-description {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--secondary-color);
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color);
}

.features-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-text p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* ========================================
   Stats Section
   ======================================== */

.stats-section {
    padding: 80px 0;
    background: var(--gradient-1);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
}

.contact-item a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* ========================================
   Other Services list styles
   Ensure list text in the 'Dịch Vụ Khác' sidebar is black
   ======================================== */
.other-services-list {
    text-align: left;
    color: #111;
}

.other-services-list .contact-item {
    color: #111; /* fallback for plain text items */
}

.other-services-list .contact-item a {
    color: #111;
    font-weight: 500;
}

.other-services-list .contact-item i {
    color: var(--primary-color); /* keep icons using the primary color */
}

.other-services-list .contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ========================================
   Service Detail Page
   ======================================== */

.page-header {
    padding: 140px 0 80px;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.service-detail {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.service-main-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.service-main-content h2 {
    font-size: 2rem;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.service-main-content h3 {
    font-size: 1.5rem;
    margin: 25px 0 12px;
    color: var(--dark-color);
}

.service-main-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-main-content ul,
.service-main-content ol {
    margin: 20px 0;
    padding-left: 25px;
    list-style: none;
}

.service-main-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Ensure the inline Font Awesome check icon doesn't collapse the layout
   and remains aligned with the list text */
.service-main-content li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-box {
    background: var(--light-color);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-box h4 {
    margin-bottom: 8px;
}

.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Service images grid used on the UI Design service page
   (moved from inline page styles to the main stylesheet) */
.service-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
}
.service-image-grid .img-item {
    width: 100%;
    aspect-ratio: 3 / 2; /* preserve 3:2 ratio for artworks */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
    background: #f5f7fb;
}
.service-image-grid .img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-image-grid .full {
    grid-column: 1 / -1; /* span both columns for full-width rows */
}
@media (max-width: 768px) {
    .service-image-grid { grid-template-columns: 1fr; }
    .service-image-grid { gap: 14px; }
}

.pricing-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin-bottom: 30px;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price-table {
    width: 100%;
    margin: 25px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-row:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-card {
    background: var(--gradient-1);
    color: white;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-card h3 {
    color: white;
    margin-bottom: 20px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    background: white;
    color: var(--primary-color);
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Portfolio Grid
   ======================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--light-color);
    aspect-ratio: 9 / 20.625;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-demo-btn {
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.portfolio-demo-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.portfolio-info {
    padding: 25px 20px;
}

.portfolio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* ========================================
   Menu Formats Gallery
   ======================================== */

.menu-formats-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0 60px;
}

.menu-format-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.menu-format-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.menu-format-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #e0e0e0;
}

.menu-format-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-format-card:hover .menu-format-image img {
    transform: scale(1.08);
}

.menu-format-content {
    padding: 25px;
}

.menu-format-content h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.menu-format-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 18px;
}

.format-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-color);
    background: white;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.format-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.format-specs i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-content-slide {
        padding: 30px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .menu-formats-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .menu-format-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-content-slide {
        padding: 20px 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .menu-formats-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-format-image {
        height: 180px;
    }

    .menu-format-content {
        padding: 18px;
    }

    .menu-format-content h4 {
        font-size: 1.1rem;
    }
}

/* ========================================
   Banner Gallery Grid
   ======================================== */

.banner-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0 40px;
}

.banner-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    min-height: 200px;
}

/* Ảnh dọc (portrait) - chiếm 1 cột, cao 2 hàng */
.banner-gallery-item:nth-child(1) {
    grid-column: span 4;
    grid-row: span 1;
    min-height: auto;
}

/* Ảnh ngang dài (wide) - chiếm 4 cột, 1 hàng */
.banner-gallery-item:nth-child(2) {
    grid-column: span 2;
    min-height: 180px;
}

/* Ảnh ngang (landscape) - chiếm 2 cột mỗi cái */
.banner-gallery-item:nth-child(3),
.banner-gallery-item:nth-child(4) {
    grid-column: span 2;
    min-height: 180px;
}

.banner-gallery-item:nth-child(5),
.banner-gallery-item:nth-child(6) {
    grid-column: span 2;
    min-height: 180px;
}

.banner-gallery-item:nth-child(7),
.banner-gallery-item:nth-child(8) {
    grid-column: span 2;
    min-height: 180px;
}

.banner-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    background: #f5f5f5;
}

.banner-gallery-item:hover img {
    transform: scale(1.08);
}

.banner-gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.banner-gallery-item .gallery-overlay p {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Banner Gallery */
@media (max-width: 1200px) {
    .banner-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .banner-gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 180px;
    }
    
    .banner-gallery-item:nth-child(2) {
        grid-column: span 3;
        min-height: 150px;
    }
    
    .banner-gallery-item:nth-child(3),
    .banner-gallery-item:nth-child(4),
    .banner-gallery-item:nth-child(5),
    .banner-gallery-item:nth-child(6),
    .banner-gallery-item:nth-child(7),
    .banner-gallery-item:nth-child(8) {
        grid-column: span 1;
        min-height: 150px;
    }
}

@media (max-width: 768px) {
    .banner-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-gallery-item {
        min-height: 120px;
    }
    
    .banner-gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 150px;
    }
    
    .banner-gallery-item:nth-child(2) {
        grid-column: span 2;
        min-height: 120px;
    }
    
    .banner-gallery-item:nth-child(3),
    .banner-gallery-item:nth-child(4),
    .banner-gallery-item:nth-child(5),
    .banner-gallery-item:nth-child(6),
    .banner-gallery-item:nth-child(7),
    .banner-gallery-item:nth-child(8) {
        grid-column: span 1;
        min-height: 120px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Video & Image Galleries (Ads Page)
   ======================================== */

.gallery-section {
    padding: 10px 0;
    background: #f9fafb;
}

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
}

/* ========================================
   Video Gallery
   ======================================== */

.video-gallery-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 10px;
}

.video-gallery-main {
    width: 100%;
}

.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-gallery-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-gallery-item {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
    transition: var(--transition);
}

.video-gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.video-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   Image Slider / Carousel
   ======================================== */

.ads-image-slider {
    width: 100%;
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.slider-track {
    display: flex;
    align-items: stretch;
    column-gap: 30px;
    transition: transform 0.5s ease-in-out;
    padding: 10px;
    will-change: transform;
}

.slider-slide {
    position: relative;
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    aspect-ratio: 2 / 3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-sizing: border-box;
}

.slider-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.slider-slide:hover img {
    transform: scale(1.05);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 10;
    left: 20px;
    right: auto;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.next {
    left: auto;
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.slider-dots .dot:hover {
    background: var(--secondary-color);
}

/* ========================================
   Responsive - Video & Image Galleries
   ======================================== */

@media (max-width: 968px) {
    .video-gallery-row {
        grid-template-columns: 1fr;
    }

    .video-gallery-item {
        aspect-ratio: 16 / 9;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .gallery-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .video-gallery-main {
        margin-bottom: 25px;
    }

    .video-gallery-row {
        gap: 15px;
    }

    .slider-track {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .slider-slide {
        aspect-ratio: 9 / 12;
    }

    .ads-image-slider {
        padding: 10px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    .slider-dots {
        gap: 6px;
        margin-top: 15px;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }
}

