/* ========== SECTION HEADER / 'Xem tất cả' LINK ========== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}
.section-header > div { 
    display: flex; 
    flex-direction: column;
    gap: 12px;
}
.section-kicker {
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.section-header h2 { 
    margin: 0; 
    font-size: 2.125rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.section-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
.section-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}
.section-link::after {
    content: '→';
    font-size: 1.25em;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-link:hover::after {
    transform: translateX(3px);
}
@media (max-width: 767px) {
    .section-header { flex-direction: column; align-items: flex-start; }
    .section-link { margin-top: 8px; align-self: flex-start; }
}
:root {
    /* LDTECH brand palette - Flat Gold Theme */
    --primary-gold: #e3b22c;
    --primary-dark: #c0931f;
    --primary-light: #f5d063;
    
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
    
    --border-light: rgba(227, 178, 44, 0.15);
    --border-medium: rgba(227, 178, 44, 0.25);
    
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

body::-webkit-scrollbar-track{ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); background-color: #F5F5F5;}
body::-webkit-scrollbar{width: 8px; background-color: #F5F5F5;}
body::-webkit-scrollbar-thumb{ background-color: var(--primary-gold);}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mobile: force opaque header for better readability over content */
@media (max-width: 767px) {
    .header {
        background: #ffffffe8;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    /* Ensure nav links are dark on mobile when header is opaque */
    .header .nav-link { color: var(--text-dark) !important; }
    /* Remove hero drop-shadow for logo on mobile so it looks correct on white */
    .header .navbar-brand img { filter: none !important; }
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand img { height: 46px; display: block; }

.navbar-nav .nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
}
/* White nav when over hero */
.header:not(.scrolled) .nav-link { color: #fff !important; }
.header:not(.scrolled) .navbar-brand img { filter: drop-shadow(0 0 2px rgba(0,0,0,0.5)); }

/* Mobile override: ensure dark nav links even when header is not .scrolled */
@media (max-width: 767px) {
    .header:not(.scrolled) .nav-link { color: var(--text-dark) !important; }
    .header:not(.scrolled) .navbar-brand img { filter: none !important; }
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    padding: 140px 0 120px;
    background: url('/assets/img/hero.jpg?w=1920') center/cover;
    color: #f4f7ff;
    overflow: hidden;
}

.hero-overlay,
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    background: rgba(15, 15, 25, 0.85);
}

.hero-noise {
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 3px 3px;
    mix-blend-mode: screen;
    opacity: 0.15;
}

.hero-simple {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 48px;
    align-items: center;
}

.hero-simple h1 {
    font-weight: 900;
}

@media (min-width: 992px) {
    .hero-simple { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.hero-copy { max-width: 560px; }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
}

.hero-kicker::before {
    content: '';
    width: 32px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.hero-copy h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #dbe6ff;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-btn--primary {
    background: var(--primary-gold);
    color: #fff;
    border: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-md);
}

.hero-btn--primary:hover { transform: translateY(-2px); background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.hero-btn--ghost {
    border: 1px solid rgba(255,255,255,0.4);
    color: #eef3ff;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
}

.hero-btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.65); transform: translateY(-2px); }

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.hero-metric {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.metric-label { color: #c7d6ff; font-size: 0.95rem; }

.hero-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #0b0f12;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .hero-highlights {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-video-wrapper {
        border-radius: 8px;
    }
}



/* ========== SERVICES STRIP ========== */
.services-strip {
    padding: 45px 0;
    background: #ffffff;
}

.services-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}

.services-kicker {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #2a6bff;
    margin-bottom: 12px;
}

.services-intro h2 {
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.services-intro p {
    color: #51607a;
    font-size: 1.05rem;
    margin: 0 auto;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.services-card {
    position: relative;
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    animation: cardPulse 3s ease-in-out infinite;
}

/* Animated shine effect */
.services-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(227, 178, 44, 0.15), transparent);
    transform: skewX(-20deg);
    animation: shine 4s ease-in-out infinite;
}

/* Gradient border glow on hover */
.services-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-light), var(--primary-gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.services-card:hover { 
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(227, 178, 44, 0.25), 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: transparent;
    animation: none; /* Stop pulse on hover */
}

.services-card:hover::after {
    opacity: 1;
    animation: borderRotate 2s linear infinite;
}

/* Click hint that appears on hover */
.services-card:hover::before {
    animation: shine 1.5s ease-in-out infinite;
}

.services-card i { 
    font-size: 1.8rem; 
    color: var(--primary-gold); 
    margin-bottom: var(--spacing-sm); 
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.services-card h3 { 
    font-size: 1.2rem; 
    font-weight: 700; 
    margin-bottom: 8px; 
    text-align: center;
    transition: color 0.3s ease;
}

.services-card:hover h3 {
    color: var(--primary-gold);
}

.services-card p { 
    margin: 0; 
    color: #5a6784; 
    font-size: 0.95rem; 
    line-height: 1.6; 
    text-align: center;
    transition: color 0.3s ease;
}

.services-card:hover p {
    color: var(--text-dark);
}

/* Centered image for service cards (replaces icon) */
.services-card .service-icon-img{
    display:block;
    margin:0 auto 18px;
    width:84px;
    height:auto;
    object-fit:contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    filter: grayscale(0.2);
}

.services-card:hover .service-icon-img {
    transform: scale(1.12) translateY(-4px);
    filter: grayscale(0) drop-shadow(0 4px 12px rgba(227, 178, 44, 0.3));
}

/* Click hint text */
.services-card .click-hint {
    display: block;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-card:hover .click-hint {
    opacity: 1;
    transform: translateY(0);
    animation: hintBounce 1s ease-in-out infinite;
}

@keyframes hintBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (max-width:768px){
    .services-card .service-icon-img{width:64px;margin-bottom:12px}
}

/* Service Card Animations */
@keyframes cardPulse {
    0%, 100% { 
        box-shadow: var(--shadow-md);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(227, 178, 44, 0.12), var(--shadow-md);
    }
}

@keyframes shine {
    0% {
        left: -60%;
    }
    100% {
        left: 140%;
    }
}

@keyframes borderRotate {
    0% {
        background: linear-gradient(135deg, var(--primary-gold), var(--primary-light), var(--primary-gold));
    }
    25% {
        background: linear-gradient(225deg, var(--primary-gold), var(--primary-light), var(--primary-gold));
    }
    50% {
        background: linear-gradient(315deg, var(--primary-gold), var(--primary-light), var(--primary-gold));
    }
    75% {
        background: linear-gradient(45deg, var(--primary-gold), var(--primary-light), var(--primary-gold));
    }
    100% {
        background: linear-gradient(135deg, var(--primary-gold), var(--primary-light), var(--primary-gold));
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== DEVELOPMENT HISTORY ========== */


.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-2xl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
}



/* ========== KEY FIGURES ========== */

.highlight-card {
    text-align: center;
    padding: 40px 20px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.highlight-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* ========== MODERN SECTION HEADERS ========== */
.section-header-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title-xl {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.section-desc-wide {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 40px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--primary-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(227, 178, 44, 0.3);
}

.btn-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(227, 178, 44, 0.4);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: #fff;
}

.btn-minimal {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.btn-minimal:hover {
    color: var(--primary-gold);
}

.btn-gold {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
    color: #fff;
}

.link-arrow {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.link-arrow:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* ========== #PROJECTS - FEATURED HERO LAYOUT ========== */
.projects-featured {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.featured-hero {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 600px;
    display: block;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-hero:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(227, 178, 44, 0.25);
}

.featured-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-hero:hover img {
    transform: scale(1.05);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
}


.featured-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.featured-secondary {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 185px;
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(227, 178, 44, 0.2);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover img {
    transform: scale(1.1);
}

.featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
}

.featured-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

/* ========== #SCADA - BENTO GRID ========== */
.category-scada {
    padding: 100px 0;
    background: #f8f9fa;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.bento-large {
    grid-column: span 2;
}

.bento-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.bento-large .bento-image {
    height: 350px;
}

.bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-item:hover .bento-image img {
    transform: scale(1.08);
}

.bento-content {
    padding: 28px;
}

.bento-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(227, 178, 44, 0.15);
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

.bento-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.bento-content p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

/* ========== #IOT - HORIZONTAL SCROLL ========== */
.category-iot {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.scroll-container {
    position: relative;
    margin: 0 -20px;
}

/* IoT Scroll Navigation Buttons */
.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(227, 178, 44, 0.95);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
}

.scroll-container:hover .scroll-nav {
    opacity: 1;
    pointer-events: auto;
}

.scroll-nav:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(227, 178, 44, 0.4);
}

.scroll-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-nav.scroll-prev {
    left: 10px;
}

.scroll-nav.scroll-next {
    right: 10px;
}

.scroll-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.scroll-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

.scroll-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.scroll-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(227, 178, 44, 0.2);
}

.scroll-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.scroll-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.scroll-card:hover .scroll-card-image img {
    transform: scale(1.1);
}

.scroll-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.scroll-card-body {
    padding: 28px;
}

.scroll-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(227, 178, 44, 0.1);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 12px;
}

.scroll-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.scroll-card-body p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.scroll-arrow {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========== #AUTOMATION - STAGGERED GRID ========== */
.category-automation {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.section-title-bold {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.stagger-grid {
    display: grid;
    gap: 32px;
}

.stagger-card {
    display: block;
}

.stagger-link {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    text-decoration: none;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stagger-link:hover {
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.stagger-media {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.stagger-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.stagger-link:hover .stagger-media img {
    transform: scale(1.05);
}

.stagger-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.stagger-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.stagger-info p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.read-more {
    color: var(--primary-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.stagger-link:hover .read-more {
    gap: 12px;
}

/* ========== #ROBOT - SPLIT HERO ========== */
.category-robot {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #fff;
}

.robot-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}


.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.robot-hero-visual {
    position: relative;
    height: 500px;
}

.robot-cards-stack {
    position: relative;
    height: 500px;
    cursor: grab;
    user-select: none;
}

.robot-cards-stack.dragging {
    cursor: grabbing;
}

.robot-cards-stack.dragging .robot-stack-card {
    pointer-events: none;
}

.robot-stack-card {
    position: absolute;
    width: 85%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.5s ease,
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85) translateY(20px);
}

.robot-stack-card[data-index="0"] {
    top: 0;
    left: 0;
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0) rotateY(0deg);
    box-shadow: 0 15px 50px rgba(227, 178, 44, 0.3), 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: cardEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.robot-stack-card[data-index="1"] {
    top: 60px;
    left: 60px;
    z-index: 2;
    opacity: 0.8;
    transform: scale(0.92) translateY(0);
}

.robot-stack-card[data-index="2"] {
    top: 120px;
    left: 120px;
    z-index: 1;
    opacity: 0.6;
    transform: scale(0.84) translateY(0);
}

/* Card Enter Animation */
@keyframes cardEnter {
    0% {
        transform: scale(0.8) translateY(30px) rotateY(-15deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) translateY(-5px) rotateY(5deg);
    }
    100% {
        transform: scale(1) translateY(0) rotateY(0deg);
        opacity: 1;
    }
}

.robot-stack-card:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10 !important;
    opacity: 1 !important;
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(227, 178, 44, 0.9);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-nav:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(227, 178, 44, 0.5);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(227, 178, 44, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dots .dot:hover {
    background: rgba(227, 178, 44, 0.6);
    transform: scale(1.2);
}

.carousel-dots .dot.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    width: 30px;
    border-radius: 5px;
}

.robot-stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.robot-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.robot-list-item {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.robot-list-item:hover {
    background: rgba(227, 178, 44, 0.1);
    transform: translateX(8px);
}

.list-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.list-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.list-content p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.robot-list-item i {
    font-size: 1.75rem;
    color: var(--primary-gold);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .featured-hero {
        height: 500px;
    }
    .bento-large {
        grid-column: span 1;
    }
    .robot-hero {
        grid-template-columns: 1fr;
    }
    .stagger-link {
        grid-template-columns: 1fr;
    }
    .stagger-media {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .section-title-xl {
        font-size: 2rem;
    }
    .featured-hero {
        height: 400px;
    }
    .featured-card {
        height: 150px;
    }
    .scroll-card {
        flex: 0 0 300px;
    }
    .section-header-split,
    .section-header-inline {
        flex-direction: column;
        align-items: flex-start;
    }
    .robot-cards-stack {
        height: 400px;
    }
    .robot-stack-card {
        height: 250px;
    }
    .carousel-prev {
        left: 5px;
    }
    .carousel-next {
        right: 5px;
    }
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.app-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    cursor: pointer;
}

.app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover img {
    transform: scale(1.1);
}

.app-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px;
    color: white;
    transition: all 0.2s ease;
}

.app-card:hover .app-overlay {
    background: rgba(227,178,44,0.8);
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.applications-header .section-title {
    text-align: left;
    margin: 0;
    padding-bottom: 12px;
}

.applications-header .section-title::after {
    left: 0;
    transform: none;
}

/* ========== WHY CHOOSE US ========== */
.why-choose-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.why-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.why-kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
}

.why-kicker::before,
.why-kicker::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
}

.why-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.why-subtitle {
    font-size: 1.05rem;
    color: #54607b;
    line-height: 1.7;
    margin: 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.why-card {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    background: var(--primary-gold);
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.why-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.why-card-text {
    margin: 0;
    color: #5d6788;
    line-height: 1.7;
    font-size: 0.98rem;
}

@media (max-width: 575px) {
    .why-kicker { gap: 10px; letter-spacing: 0.24em; }
    .why-kicker::before,
    .why-kicker::after { width: 24px; }
    .why-card { padding: 28px 24px; }
}

/* ========== FOOTER ========== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 0;
}

.footer h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.footer-logo {
    margin-bottom: 20px;
}
.footer-logo img { height: 48px; }

.footer p {
    color: #ccc;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
}

.contact-info i {
    color: var(--primary-light);
    margin-right: 10px;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
}

.social-icons a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 10px 0;
    margin-top: 30px;
    text-align: center;
    color: #888;
}

/* ========== ROBOT PRODUCT CARDS ========== */
.robot-section { padding: 20px 0; background: #fff; }
.robot-grid { display: flex; flex-wrap: wrap; gap: 30px; }
.robot-card {
    flex: 1 1 260px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s ease, transform .3s ease;
}

/* ========== PARTNERS SECTION ========== */
.partners-section { padding: 60px 0; background: #fff; }
.partners-wrapper { position: relative; }
.partners-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px 10px;
    scrollbar-width: none;
}
.partners-track::-webkit-scrollbar { display: none; }
.partner-item {
    flex: 0 0 180px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    position: relative;
    border-right: 1px solid var(--border-medium);
}
.partner-item:last-child { border-right: none; }
.partner-item img { max-width: 100%; max-height: 70px; object-fit: contain; filter: grayscale(15%); transition: filter .3s ease, transform .3s ease; }
.partner-item:hover img { filter: none; transform: scale(1.05); }
.partner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.partner-nav:hover { background: var(--primary-gold); color: #fff; }
.partner-nav.prev { left: -20px; }
.partner-nav.next { right: -20px; }
@media (max-width: 992px) { .partner-nav.prev { left: 5px; } .partner-nav.next { right: 5px; } }
@media (max-width: 576px) {
    .partner-item { flex: 0 0 150px; padding: 10px 15px; }
    .partner-nav { width: 38px; height: 38px; }
}

/* ========== SOLUTIONS LINE + STATS (per screenshot) ========== */


.stats-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(227, 178, 44, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(227, 178, 44, 0.1);
    border-color: rgba(227, 178, 44, 0.4);
    box-shadow: 0 8px 30px rgba(227, 178, 44, 0.2);
}

.stat-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gold);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(227, 178, 44, 0.4);
}

.stat-content { position: relative; z-index: 1; }

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(227, 178, 44, 0.3);
}

.stat-label {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

@media (max-width: 992px) {
    .stat-card { padding: 28px; }
}

@media (max-width: 576px) {
    .stats-section { padding: 70px 0; }
    .stat-card { gap: 18px; padding: 24px; border-radius: 22px; }
    .stat-icon { width: 56px; height: 56px; font-size: 24px; }
    .stat-label { letter-spacing: 0.02em; font-size: 0.95rem; }
}
.robot-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); transform: translateY(-4px); }
.robot-card .category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #707070;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 10px;
    border-radius: 3px;
}
.robot-card .img-wrapper { padding: 55px 25px 15px; display: flex; justify-content: center; align-items: center; min-height: 220px; }
.robot-card img { max-width: 100%; height: auto; object-fit: contain; }
.robot-card h3 { font-size: 15px; font-weight: 600; margin: 0; padding: 20px 24px 24px; }
@media (max-width: 576px) {
    .robot-grid { gap: 20px; }
    .robot-card { flex: 1 1 100%; }
}



/* ===== MOBILE ENHANCEMENTS ===== */
@media (max-width: 576px) {
    .hero-section { padding: 100px 0 80px; }
    .hero-frame { grid-template-columns: 1fr; gap: 40px; }
    .hero-col--copy { max-width: none; }
    .hero-col--copy h1 { font-size: 2.1rem; }
    .hero-lede { font-size: 1.05rem; }
    .hero-actions { flex-direction: column; }
    .hero-btn { width: 100%; }
    .hero-pills { justify-content: flex-start; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-glass-panel { padding: 22px; }
    .hero-floating { flex-direction: column; align-items: flex-start; gap: 10px; }

    .services-shell { padding: 30px 20px; }
    .services-header { margin-bottom: 30px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 22px; }

    .solutions-line { flex-direction: column; gap: 18px; padding-bottom: 10px; }
    .solutions-line::after, .solutions-line .dot { display: none; }
    .solution-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid #e3eef7; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); background: #fff; }
    .solution-item i { margin-bottom: 0; font-size: 24px; }
    .solution-item .label { font-size: 13px; letter-spacing: .5px; }
    .solution-item.active { border-color: #2aa2ff; box-shadow: 0 4px 18px rgba(42,162,255,0.25); }

    .solution-content { margin-top: 10px; }
    .solution-card .card-body { padding: 20px 18px; }
    .solution-title { font-size: 20px; }
    .solution-list li { font-size: 14px; line-height: 1.4; }
    .solution-image { padding: 12px 14px; }
    .solution-cta { width: 100%; justify-content: center; }

    .partners-track { gap: 16px; padding: 10px 8px; }
    .partner-item { min-width: 110px; }
    .partner-item img { max-height: 54px; }
    .partner-nav { top: 40%; }

    .stat-card { padding: 20px 16px; }
    .stat-card i { font-size: 26px; }
    .stat-card .number { font-size: 22px; }
    .stat-card .label { font-size: 12px; }

    .why-card { padding: 20px 18px; }
    .why-card .why-title { font-size: 15px; }
    .why-card .why-desc { font-size: 13px; }

    .footer .footer-links a, .contact-info span { font-size: 13px; }
}

@media (max-width: 400px) {
    .hero-col--copy h1 { font-size: 1.9rem; }
    .solution-title { font-size: 18px; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-frame { grid-template-columns: 1fr; gap: 52px; }
    .hero-col--copy h1 { font-size: 2.7rem; }
    .hero-lede { font-size: 1.15rem; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 22px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .intro-content h2 {
        font-size: 1.8rem;
    }
}

/*=========================== FLOATING ACTION BAR ========== */
/* Floating action bar */
.floating-action-bar {
  position: fixed;
  top: 30%;
  right: 0;
  width: 56px;
  display: flex;
  flex-direction: column;
  z-index: 1200;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
}


.fab-item {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-gold);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fab-item + .fab-item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.fab-item:hover {
  background-color: var(--primary-dark);
}

.fab-item i,
.fab-item .fab-text {
  pointer-events: none;
}

.fab-text {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

.fab-call {
  background-color: var(--primary-gold);
}

.fab-call:hover {
  background-color: var(--primary-dark);
}

.fab-zalo {
  background-color: var(--primary-gold);
}

.fab-zalo:hover {
  background-color: var(--primary-dark);
}

.fab-messenger {
  background-color: var(--primary-gold);
}

.fab-messenger:hover {
  background-color: var(--primary-dark);
}

.fab-tiktok {
    background-color: var(--primary-gold);
}

.fab-tiktok:hover {
  background-color: var(--primary-dark);
}

.fab-scroll-top {
  background-color: #545b64;
  opacity: 0;
  pointer-events: none;
  transition: background-color 0.18s ease, opacity 0.18s ease;
  border: none;
}

.fab-scroll-top:hover {
  background-color: #3e434a;
}

.fab-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width: 768px) {
  .floating-action-bar {
    width: 46px;
    top: 35%;
  }

  .fab-item {
    height: 46px;
    font-size: 1.1rem;
  }

  .fab-text {
    font-size: 0.75rem;
    letter-spacing: 0.2px;
  }

    .hero-section {
        padding-left: 12px;
        padding-right: 12px;
        min-height: auto !important;
    }

    .hero-col--copy h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-lede {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }
}