:root {
    --primary-orange: #f4a11a;
    --accent-orange: #d88b1a;
    --dark: #1f1f1f;
    --text-color: #333;
    --gray: #777;
    --light-gray: #f7f7f7;
    --white: #ffffff;
    --border: #e9e9e9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 18px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', 'Battambang', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-line {
    width: 70px;
    height: 4px;
    border-radius: 999px;
    background: var(--primary-orange);
    margin: 0 auto 40px;
}

/* Override previous title decoration if needed */
.section-title::after {
    display: none;
}

.bg-light {
    background-color: var(--light-gray);
}

/* PWA Install Banner */
.pwa-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 3000;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid #f4a11a;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.pwa-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pwa-content img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.pwa-text strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.pwa-text p {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

.pwa-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pwa-install {
    background: #f4a11a;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.btn-pwa-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

/* Responsive adjustment for Mobile Header */
@media (max-width: 768px) {
    .pwa-banner {
        bottom: 80px; /* Above mobile bottom nav if it existed, but here it's for visibility */
    }
}

/* Header */
header {
    background: var(--white);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 40px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition);
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary-orange);
}

.nav-links a.active::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    padding: 4px;
    border-radius: 50px;
    gap: 2px;
}

.lang-btn {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    color: var(--gray);
    user-select: none;
}

.lang-btn.active {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(237, 159, 35, 0.3);
}

.lang-switcher .separator {
    display: none;
}

 /* Login Modal Styles */
 .login-modal {
     display: none; position: fixed; z-index: 2000; left: 0; top: 0;
         width: 100%; height: 100%; background-color: rgba(0,0,0,0.6);
         backdrop-filter: blur(5px); align-items: center; justify-content: center;
     }
     .login-modal.active { display: flex; }
     .modal-content {
         background: white; padding: 40px; border-radius: 24px;
        width: 90%; max-width: 400px; position: relative;
        box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    }
    .close-modal {
        position: absolute; right: 20px; top: 15px; font-size: 28px;
        color: #94a3b8; cursor: pointer;
    }
    .login-header { text-align: center; margin-bottom: 24px; }
    .login-header img { height: 40px; margin-bottom: 12px; }
    .login-header h2 { font-size: 22px; font-weight: 800; margin: 0; color: #1e293b; }
    .login-header p { font-size: 14px; color: #64748b; margin-top: 4px; }
    .login-error { color: #ef4444; font-size: 13px; font-weight: 600; margin-bottom: 15px; display: none; }
    .login-footer { text-align: center; margin-top: 20px; font-size: 13px; color: #64748b; }
    .login-footer a { color: #f59e0b; text-decoration: none; font-weight: 700; }

/* Portal Button */
.portal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(237, 159, 35, 0.3);
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

header.scrolled .portal-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
}

.portal-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(237, 159, 35, 0.4);
}

.portal-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(237, 159, 35, 0.3);
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: inherit; /* Ensure buttons use Ubuntu/Battambang */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
    text-align: center;
    border: 2.5px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: #f4a11a;
    color: var(--white);
    border-color: #f4a11a;
    text-decoration: none;
}

.btn-primary:hover {
    background: #e59000;
    border-color: #e59000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 161, 26, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2.5px solid var(--white);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-signup {
    background: #fffbeb;
    color: #f59e0b;
    border: 2px solid #f59e0b;
    margin-top: 12px;
}

.btn-signup:hover {
    background: #fef3c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

/* Hero */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: top center;
    transition: background-image 1s ease-in-out;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #f3f3f3;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    font-weight: 700;
    color: #fff3d8;
}

.hero-features span {
    font-size: 1rem;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
    background: transparent;
    padding: 0;
    margin-top: -85px;
    position: relative;
    z-index: 10;
}

.stats-header-card {
    background: var(--white);
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 30px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    justify-content: center;
}

.stats-intro {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.stats-intro::after {
    content: '';
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 999px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-item {
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-orange);
}

.stat-info h3 {
    font-size: 1.9rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-info p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
}

/* Results (Premium Interactive Grid) */
.results-premium-wrapper {
    position: relative;
}

.results-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding: 0 40px; /* Space for absolute nav buttons */
}

.result-block {
    background: linear-gradient(to bottom, #fffefc, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.result-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.carousel-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges */
.carousel-badges {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    display: flex;    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 5;
}

.badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.badge-before { background: #000; }
.badge-after { background: #FF6200; }

/* Dots styling */
.carousel-dots-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.c-dots {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.c-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.c-dot.active {
    background: #FF6200;
    transform: scale(1.2);
}

/* Global Side Nav Buttons */
.premium-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #333;
    border: 1px solid var(--border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.premium-nav:hover {
    background: #FF6200;
    color: white;
    border-color: #FF6200;
    box-shadow: 0 6px 20px rgba(255, 98, 0, 0.3);
}

.premium-nav.prev { left: 0; }
.premium-nav.next { right: 0; }

.result-content-container {
    padding: 35px 20px;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    min-height: 160px; /* Fixed height to prevent layout jumps and ensure perfect fit */
    display: flex;
    align-items: center;
}

.result-content-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.result-content-item {
    min-width: 100%;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.result-content-item h3 {
    font-family: 'Inter', 'Battambang', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
    line-height: 1.3;
}

/* Elegant minimalist accent line */
.result-content-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #FF6200;
    border-radius: 50px;
}

.result-content-item p {
    font-family: 'Inter', 'Battambang', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    max-width: 320px; /* Tight fit for readability */
    margin: 0 auto;
}

/* Redefine section-line with orange requested */
.section-line {
    width: 60px;
    height: 3px;
    background: #FF6200;
    margin: 0 auto 40px;
    border-radius: 50px;
}

@media (max-width: 992px) {
    .results-grid-premium {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    
    .premium-nav {
        display: none; /* Hide side nav on mobile/tablets for better space */
    }
}

/* ... existing results styles replaced ... */

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 110%;
    left: -5%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: var(--transition);
    pointer-events: auto;
}

.lightbox-btn:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

.lightbox-caption {
    color: white;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 30px;
    border-radius: 50px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 100%;
        left: 0;
        padding: 0 20px;
        top: auto;
        bottom: 20px;
        position: relative;
    }
    
    .lightbox-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 40px;
    }
}

.result-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.result-img .label {
    position: absolute;
    top: 15px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 4;
}

.result-img .label.before {
    left: 15px;
    background: rgba(20,20,20,0.78);
    color: var(--white);
}

.result-img .label.after {
    right: 15px;
    background: var(--primary-orange);
    color: var(--white);
}

.result-info {
    padding: 20px;
}

.result-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

/* Services 8-Grid */
.services-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-item {
    background: var(--white);
    padding: 28px 22px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-8px);
}

/* Service Badge Styling */
.service-badge {
    position: absolute;
    top: 30px;
    right: -10px;
    color: #ff4d4d;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    background: rgba(255, 77, 77, 0.15);
    padding: 4px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 77, 77, 0.2);
    transform: rotate(40deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

body.lang-kh .service-badge {
    font-family: 'Battambang', sans-serif;
    font-size: 0.6rem;
    right: -8px;
    top: 18px;
}


.s-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(244, 161, 26, 0.12);
    color: var(--primary-orange);
    font-size: 1.8rem;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-item p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Highlights Section Enhanced */
.highlights-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: stretch;
    max-height: 600px; /* Enforced height for desktop */
}

/* Media Showcase */
.highlights-media {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.media-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    z-index: 2;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    font-weight: 700;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
}

.tab-btn.active {
    color: var(--primary-orange);
    background: var(--white);
    border-bottom: 3px solid var(--primary-orange);
}

.tab-btn:hover:not(.active) {
    background: rgba(244, 161, 26, 0.05);
}

.media-display {
    position: relative;
    background: #000;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.media-item {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.media-item.active {
    display: block;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.slide-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.5); /* Elegant blur effect */
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-orange);
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

#highlight-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Ensure video controls are visible and contained */
.media-display video {
    max-height: 100%;
    outline: none;
}

/* Data Cards */
.highlights-data {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: 0;
}

.data-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    flex: 1; /* Allow cards to fill space equally */
}

.data-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-orange);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(244, 161, 26, 0.1);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--primary-orange);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.card-body h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.card-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-body li {
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body li i {
    color: #2ecc71;
    font-size: 1.1rem;
}

/* Client Marquee (Overlay on Contact Section) */
.client-marquee {
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.marquee-wrapper {
    background: transparent;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Elegant fade effect using contact overlay color */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(31, 31, 31, 1), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(31, 31, 31, 1), transparent);
}

.marquee-content {
    display: flex;
    animation: marquee 60s linear infinite;
    align-items: center;
}

.marquee-content img {
    height: 65px;
    width: 65px;
    margin: 0 15px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    object-fit: contain;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    /* Clean original color with subtle transparency */
    opacity: 0.9;
    transition: all 0.4s ease;
}

.marquee-content img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Contact (Redesigned Version 2) */
.contact {
    background: linear-gradient(rgba(31, 31, 31, 0.88), rgba(31, 31, 31, 0.88)),
        url('https://images.unsplash.com/photo-1527515637462-cff94eecc1ac?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 30px 0;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2, .contact-form-wrap h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-list {
    display: grid;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 1.05rem;
}

.contact-item i {
    color: var(--primary-orange);
    font-size: 1.3rem;
    width: 25px;
}

.quick-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-form-wrap {
    background: rgba(255, 255, 255, 0.07);
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.red-star {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff4d4d;
    font-weight: 800;
    font-size: 1.2rem;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.form-group textarea + .red-star {
    top: 25px;
}

/* Hide star when user types or when field is not empty */
.form-group input:not(:placeholder-shown) + .red-star,
.form-group textarea:not(:placeholder-shown) + .red-star,
.form-group select:not([value=""]) + .red-star {
    opacity: 0;
}

/* For Select which doesn't have placeholder-shown */
.form-group select:valid + .red-star {
    opacity: 0;
}

.full-btn {
    width: 100%;
    margin-top: 10px;
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status:not(:empty) {
    display: block;
}

.form-status.success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-status.error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.form-status.sending {
    background: rgba(244, 161, 26, 0.2);
    color: var(--primary-orange);
    border: 1px solid rgba(244, 161, 26, 0.3);
}

/* Footer (Simplified) */
.footer {
    background: #121212;
    color: #888;
    padding: 30px 0;
    text-align: center;
    font-size: 0.95rem;
}

/* Hamburger for Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Version Update Popup */
.version-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    max-width: 350px;
    border: 2px solid #f4a11a;
    animation: slideInUp 0.5s ease-out;
}

.version-popup.active {
    display: block;
}

.version-popup-content {
    text-align: center;
}

.version-popup p {
    margin: 0 0 15px 0;
    font-weight: 700;
    color: #1f1f1f;
    font-size: 14px;
    line-height: 1.5;
}

.btn-refresh {
    background: #f4a11a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-refresh:hover {
    background: #e59000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(244, 161, 26, 0.3);
}

@keyframes slideInUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .version-popup {
        left: 20px;
        right: 20px;
        bottom: 80px; /* Above mobile nav */
        max-width: none;
    }
}

/* Large Screens (up to 1200px) */
@media (max-width: 1200px) {
    .services-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets and below (up to 992px) */
@media (max-width: 992px) {
    .nav-container {
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .highlights-container {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .highlights-media {
        height: 500px;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Mobile Devices (up to 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    header {
        padding: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-bottom: 30px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }

    .lang-switcher {
        width: 100%;
        justify-content: space-around;
        margin-left: 0;
    }
    
    .lang-btn {
        flex: 1;
        text-align: center;
    }

    .portal-btn {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        text-align: center;
        position: static;
        top: auto;
        right: auto;
        z-index: auto;
    }

    /* Hero Responsive */
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 0 80px; /* Increased bottom padding */
    }

    .hero-content h1 {
        font-size: 2rem;
        white-space: normal;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px; /* Space between buttons and next section */
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Stats Bar Mobile Overlay Fix */
    .stats-bar {
        margin-top: -40px; /* Reduced negative margin to prevent overlap */
    }

    /* Grid Stacking */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid, 
    .services-grid-8 {
        grid-template-columns: 1fr;
    }

    .highlights-media {
        height: 400px;
    }
}

/* Small tablets (up to 600px) */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile phones (up to 480px) */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .highlights-media {
        height: 320px;
    }

    .contact-form-wrap {
        padding: 25px;
    }
}
