/**
 * SOLVA - Premium Modern Design
 * سولفا للتجارة والاستيراد
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* =====================================================
   CSS Variables
   ===================================================== */
:root {
    /* Core Brand Colors - Solar Power (Navy & Silver) */
    --primary: #1d1d35;
    /* Deep Navy from logo base */
    --primary-light: #2d2d4d;
    /* Lighter Navy */
    --accent: #a4acba;
    /* Lightning Silver from bolt */
    --accent-dark: #8c95a3;
    /* Adjusted for better contrast on dark */
    --accent-glow: rgba(164, 172, 186, 0.4);
    /* Soft silver glow */

    /* Glassmorphism & Premium Palette */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(16px);
    --glass-card-bg: rgba(255, 255, 255, 0.85);
    --glass-card-border: rgba(255, 255, 255, 0.9);

    /* Neutrals */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Spacing & Layout */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --header-height: 90px;
    --container-xl: 1280px;

    /* Modern UI Props */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Soft Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(26, 39, 68, 0.08);
    /* Navy tinted shadow */
    --shadow-lg: 0 20px 40px -5px rgba(26, 39, 68, 0.12);
    --shadow-xl: 0 25px 50px -12px rgba(26, 39, 68, 0.25);

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Typography - Premium Arabic Duo: Alexandria & IBM Plex Sans Arabic */
    --font-family: 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Alexandria', 'Outfit', system-ui, -apple-system, sans-serif;

    --font-size-sm: 0.9rem;
    --font-size-base: 1.025rem;
    --font-size-lg: 1.15rem;
    --font-size-xl: 1.3rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 4rem;
}

/* English Typography Override */
body.lang-en {
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    direction: ltr;
    text-align: left;
}

body.lang-en h1,
body.lang-en h2,
body.lang-en h3,
body.lang-en h4,
body.lang-en h5,
body.lang-en h6,
body.lang-en .btn,
body.lang-en .nav a {
    letter-spacing: -0.02em;
}

body.lang-en p {
    line-height: 1.6;
}


/* =====================================================
   Dark Mode Overrides - Premium Refinement
   ===================================================== */
body.dark-mode {
    /* Midnight Navy & Solar Sky Palette */
    --primary: #38bdf8;
    /* Solar Sky Blue - High Visibility */
    --primary-light: #7dd3fc;
    --accent: #f8fafc;
    /* Lightning Silver White */
    --accent-dark: #e2e8f0;
    --accent-glow: rgba(56, 189, 248, 0.3);

    /* Deepest Midnight Surfaces */
    --white: #040712;
    --glass-bg: rgba(7, 10, 25, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-card-bg: rgba(15, 23, 42, 0.9);
    --glass-card-border: rgba(255, 255, 255, 0.12);

    /* Refined Solar Grays */
    --gray-50: #02040a;
    --gray-100: #070a19;
    --gray-200: #0f172a;
    --gray-300: #1e293b;
    --gray-400: #475569;
    --gray-500: #64748b;
    --gray-600: #94a3b8;
    --gray-700: #cbd5e1;
    --gray-800: #e2e8f0;
    --gray-900: #02040a;

    /* High Contrast Depth */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.8);
}

/* ── Dark-on-dark fix: sections with inherently dark backgrounds ── */
body.dark-mode .hero-content,
body.dark-mode .hero h1,
body.dark-mode .hero .subtitle,
body.dark-mode .hero p,
body.dark-mode .hero-text p {
    color: #f8fafc !important;
}

body.dark-mode .cta-content,
body.dark-mode .cta h2,
body.dark-mode .cta p {
    color: #f8fafc !important;
}

body.dark-mode .footer-section h4,
body.dark-mode .footer-bottom,
body.dark-mode .footer-section a:hover,
body.dark-mode .designer-credit a:hover {
    color: #f8fafc;
}

body.dark-mode .footer {
    color: #94a3b8;
}

body.dark-mode .footer-section p,
body.dark-mode .footer-section li,
body.dark-mode .footer-section a,
body.dark-mode .social-links a,
body.dark-mode .designer-credit span {
    color: #94a3b8;
}

body.dark-mode .social-links a:hover {
    color: #040712;
}

/* Text Selection in Dark Mode */
body.dark-mode ::selection {
    background: rgba(56, 189, 248, 0.4);
    color: #f8fafc;
}

body.dark-mode ::-moz-selection {
    background: rgba(56, 189, 248, 0.4);
    color: #f8fafc;
}

body.dark-mode .page-header h1,
body.dark-mode .page-header p {
    color: #f8fafc !important;
}

body.dark-mode .btn-secondary {
    color: #040712;
}

body.dark-mode .btn-outline {
    color: #f8fafc;
    border-color: rgba(248, 250, 252, 0.6);
}

body.dark-mode .btn-outline:hover {
    background: #f8fafc;
    color: #040712;
}

body.dark-mode .header {
    background: rgba(4, 7, 18, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .nav {
    background: #040712 !important;
    opacity: 1 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

body.dark-mode .nav-close {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

body.dark-mode .nav-close:hover {
    background: var(--primary);
    color: #040712;
}

body.dark-mode .nav a {
    color: #94a3b8;
    border-bottom-color: rgba(255, 255, 255, 0.03);
}

body.dark-mode .nav a:hover,
body.dark-mode .nav a.active {
    color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
}

body.dark-mode .header.scrolled {
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

body.dark-mode .card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

body.dark-mode .card:hover {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(56, 189, 248, 0.25) inset;
    border-color: rgba(56, 189, 248, 0.4);
}

body.dark-mode .service-card {
    background: rgba(15, 23, 42, 0.85);
}

body.dark-mode .service-card:hover {
    background: #0f172a;
    border-color: var(--primary);
}

body.dark-mode .service-card .card-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    color: #040712;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

body.dark-mode .contact-form {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .form-control {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

body.dark-mode .form-control:focus {
    border-color: var(--primary);
    background: #1e293b;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.1);
}

body.dark-mode .partner-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .partner-card:hover {
    background: #334155;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .reason-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .reason-icon {
    background: #0f172a;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .reason-card:hover .reason-icon {
    background: var(--primary);
    color: #fff;
}

body.dark-mode .about-elegant {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark-mode .about-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

body.dark-mode .about-brand,
body.dark-mode .about-title {
    color: #f1f5f9;
}

body.dark-mode .about-body p {
    color: #cbd5e1;
}

body.dark-mode .about-body strong {
    color: #f1f5f9;
}

body.dark-mode .about-tagline {
    color: #94a3b8;
}

body.dark-mode .brands-marquee-section {
    background: linear-gradient(180deg, #020617 0%, #0b1120 100%);
    border-top-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .brand-item {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .brand-item:hover {
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

body.dark-mode .projects-section {
    background: #020617;
}

body.dark-mode .image-wrapper-glass {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode .news-section {
    background: linear-gradient(180deg, #02040a 0%, #040712 100%);
}

body.dark-mode .news-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .news-card-content h3 {
    color: #f8fafc;
}

body.dark-mode .news-meta {
    color: #94a3b8;
}

body.dark-mode .cta {
    background: linear-gradient(135deg, #070a19 0%, #040712 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .cta h2 {
    color: #f8fafc;
}

body.dark-mode .cta p {
    color: #cbd5e1 !important;
}

body.dark-mode .values-header,
body.dark-mode .page-header {
    background: linear-gradient(135deg, #02040a 0%, #070a19 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .section-tag {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.3);
}

body.dark-mode .section-tag-light,
body.dark-mode .values-header .section-tag,
body.dark-mode .cta .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .value-premium-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .value-premium-card:hover {
    background: #1e293b;
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

body.dark-mode .value-premium-card h3 {
    color: #f8fafc;
}

/* Specific Home Fixes - Product Cards */
body.dark-mode .product-view-card {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .product-view-card:hover {
    background: #1e293b;
    border-color: var(--primary);
}

body.dark-mode .product-img-wrapper {
    background: #02040a;
}

body.dark-mode .product-details h3 {
    color: #f8fafc;
}

body.dark-mode .btn-outline-dark {
    border-color: var(--primary);
    color: var(--primary);
}

body.dark-mode .btn-outline-dark:hover {
    background: var(--primary);
    color: #02040a;
}

/* Watermarks & Decorations */
body.dark-mode .about-elegant {
    background: linear-gradient(135deg, #02040a 0%, #040712 100%);
}

body.dark-mode .about-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

body.dark-mode .about-watermark {
    opacity: 0.03;
    filter: brightness(0) invert(1);
}

body.dark-mode .about-brand,
body.dark-mode .about-title {
    color: #f8fafc;
}

body.dark-mode .btn-primary {
    background: var(--primary);
    color: #020617;
    border: none;
    box-shadow: 0 10px 20px rgba(129, 140, 248, 0.2);
}

body.dark-mode .btn-primary:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.4);
}

body.dark-mode .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #f1f5f9;
}

body.dark-mode .btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #020617;
}

body.dark-mode .menu-toggle span {
    background: #f8fafc;
}

body.dark-mode .dark-mode-toggle {
    color: #38bdf8 !important;
    /* Ensure blue moon is bright */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Dark Mode Toggle Button Refinement - Premium Design */
.dark-mode-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: #f59e0b;
    /* Warm Amber for Sun */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    background: var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 15px rgba(245, 158, 11, 0.15);
}

body.dark-mode .dark-mode-toggle {
    background: #1e293b;
    border-color: #38bdf8;
    color: #38bdf8;
    /* Solar Sky Blue for Moon */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(56, 189, 248, 0.3);
}

body.dark-mode .dark-mode-toggle:hover {
    background: rgba(56, 189, 248, 0.2);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.4);
}

.dark-mode-toggle i {
    font-size: 1.25rem;
    position: absolute;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toggle Logic: Sun/Moon positions */
.dark-mode-toggle .fa-sun {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.dark-mode-toggle .fa-moon {
    opacity: 0;
    transform: translateY(20px) rotate(-45deg);
}

body.dark-mode .dark-mode-toggle .fa-sun {
    opacity: 0;
    transform: translateY(-20px) rotate(45deg);
}

body.dark-mode .dark-mode-toggle .fa-moon {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

@media (max-width: 1023px) {
    body.dark-mode .menu-open .header {
        background: #020617;
    }
}

/* Smooth transition for dark mode */
body {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   Base Styles
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

main {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    overflow: clip;
    /* Prevent any internal margin escaping */
    background-color: var(--white);
    /* Ensure main has white background */
}

/* Force dark background at the bottom to prevent any white lines */
body::after {
    content: '';
    display: block;
    height: 10px;
    background-color: var(--gray-900);
    /* Same as footer */
    margin-top: -10px;
    /* Pull footer up to overlap */
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.8;
    /* Slightly more breathable for Readex Pro */
    font-weight: 300;
    /* Lighter weight for premium feel */
    /* Improved for readability */
    color: var(--gray-700);
    background: var(--white);
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* RTL / LTR specific utilities */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
    font-family: var(--font-heading);
    /* Or any secondary sans font you prefer for English */
}

html[dir="ltr"] .contact-form-premium.reveal-left {
    transform: translateX(-50px);
}

html[dir="ltr"] .product-card-badge {
    right: auto;
    left: 1rem;
}

html[dir="ltr"] .hero-stat {
    border-right: none;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

html[dir="rtl"] .hero-stat {
    border-left: none;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

html[dir="ltr"] .btn i,
html[dir="ltr"] .btn-premium i {
    margin-right: 0;
    margin-left: 0.5rem;
}

html[dir="ltr"] .btn i.fa-arrow-left {
    transform: rotate(180deg);
}

html[dir="ltr"] .contact-card-icon {
    margin-left: 0;
    margin-right: 1.5rem;
}

html[dir="ltr"] .value-icon {
    margin-left: 0;
    margin-right: 1.5rem;
}

html[dir="ltr"] .about-check-list li i {
    margin-left: 0;
    margin-right: 0.75rem;
}

/* =====================================================
   Typography
   ===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.25rem, 6vw, var(--font-size-5xl));
}

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

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--space-md);
    color: var(--gray-600);
}

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

/* =====================================================
   Container & Layout
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-md);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-dark), transparent);
    width: 100px;
    height: 3px;
    border-radius: var(--radius-full);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
    max-width: 560px;
    margin: var(--space-lg) auto 0;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

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

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   Header
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 58px;
    width: auto;
}

/* Navigation */
.nav {
    display: none;
}

.nav.active {
    display: flex;
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav a {
    color: var(--gray-600);
    font-weight: 500;
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
}

.nav a:hover,
.nav a.active {
    color: var(--accent-dark);
}

/* Brands Marquee Section - Premium Redesign */
.brands-marquee-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid var(--gray-100);
    overflow: hidden;
    position: relative;
}

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

.brands-marquee-header .category-tag {
    display: inline-block;
    padding: 0.5rem 1.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 20px rgba(29, 29, 53, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brands-marquee-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -1px;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 6rem;
    padding: 2rem 0;
    mask-image: linear-gradient(to right,
            hsl(0 0% 0% / 0),
            hsl(0 0% 0% / 1) 15%,
            hsl(0 0% 0% / 1) 85%,
            hsl(0 0% 0% / 0));
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 6rem;
    min-width: 100%;
    animation: scroll 60s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 6rem));
    }
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 140px;
    background: var(--white);
    border: 1px solid rgba(29, 29, 53, 0.05);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.brand-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.4);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-item:hover {
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(29, 29, 53, 0.12);
    transform: translateY(-10px) scale(1.05);
}

.brand-item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

/* RTL Adjustment for Marquee */
[dir="rtl"] .marquee-content {
    animation: scroll-rtl 60s linear infinite;
}

@keyframes scroll-rtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(100% + 6rem));
    }
}

@media (max-width: 1024px) {
    .brands-marquee-header h2 {
        font-size: 2rem;
    }

    .brand-item {
        width: 180px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .brands-marquee-section {
        padding: 4rem 0;
    }

    .marquee-content {
        gap: 2.5rem;
    }

    .brand-item {
        width: 150px;
        height: 100px;
        border-radius: 16px;
        padding: 1.25rem;
    }

    @keyframes scroll-rtl {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(100% + 2.5rem));
        }
    }
}

/* Mobile Menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1023px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        background: #1d1d35 !important;
        opacity: 1 !important;
        /* Deep Navy */
        padding: var(--space-xl);
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10002;
        visibility: hidden;
        display: block !important;
    }

    .nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: var(--radius-full);
        color: var(--white);
        font-size: 1.4rem;
        cursor: pointer;
        margin-bottom: var(--space-xl);
        transition: all var(--transition-bounce);
        margin-left: auto;
        /* Aligns to left in RTL */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-close:hover {
        background: var(--accent);
        color: var(--primary);
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 0 20px var(--accent-glow);
    }

    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered Link Entry */
    .nav.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav.active li:nth-child(8) {
        transition-delay: 0.45s;
    }

    .nav.active li:nth-child(9) {
        transition-delay: 0.5s;
    }

    .nav a {
        display: block;
        padding: var(--space-md) 0;
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all var(--transition-fast);
        letter-spacing: 0.5px;
    }

    .nav a:hover,
    .nav a.active {
        color: var(--accent);
        padding-right: 20px;
        background: rgba(255, 255, 255, 0.03);
    }

    /* Disable backdrop-filter when menu is open to prevent clipping fixed children */
    .menu-open .header {
        backdrop-filter: none;
        background: var(--white);
    }

    .header-actions {
        gap: var(--space-sm);
    }
}

@media (min-width: 1024px) {
    .nav {
        display: flex !important;
        visibility: visible !important;
        position: static !important;
        transform: none !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        opacity: 1 !important;
    }

    .nav-close {
        display: none !important;
    }

    .nav ul {
        flex-direction: row !important;
        align-items: center !important;
        gap: var(--space-lg) !important;
    }

    .nav li {
        opacity: 1 !important;
        transform: none !important;
        width: auto !important;
        transition: none !important;
    }

    .nav a {
        padding: var(--space-sm) 0 !important;
        color: var(--gray-600) !important;
        border-bottom: none !important;
        font-size: inherit !important;
    }

    .nav a:hover,
    .nav a.active {
        color: var(--accent-dark) !important;
        background: transparent !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

/* Navbar Toggle above all */
.menu-toggle {
    z-index: 10001;
    position: relative;
}

.menu-toggle.active span {
    background: var(--white) !important;
}

/* Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


/* =====================================================
   Hero - Animated Video Slideshow
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
    background: linear-gradient(-45deg, #0a0a2e, #1a1a3e, #0d2137, #0a1628);
    background-size: 400% 400%;
    animation: heroGradient 12s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

/* Ken Burns zoom animation on active slide */
.hero-slide.active .hero-video {
    animation: kenBurns 10s ease-in-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.12);
    }
}

/* Video */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transform-origin: center;
}

/* Dark overlay with gradient */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(10, 10, 30, 0.78) 0%,
            rgba(10, 10, 30, 0.55) 40%,
            rgba(10, 10, 30, 0.72) 100%);
    z-index: 1;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

.hero-particles span:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.hero-particles span:nth-child(2) {
    width: 8px;
    height: 8px;
    left: 20%;
    animation-duration: 22s;
    animation-delay: 2s;
    background: rgba(56, 189, 248, 0.12);
}

.hero-particles span:nth-child(3) {
    width: 5px;
    height: 5px;
    left: 35%;
    animation-duration: 16s;
    animation-delay: 4s;
}

.hero-particles span:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 50%;
    animation-duration: 25s;
    animation-delay: 0s;
    background: rgba(129, 140, 248, 0.1);
}

.hero-particles span:nth-child(5) {
    width: 3px;
    height: 3px;
    left: 65%;
    animation-duration: 20s;
    animation-delay: 3s;
}

.hero-particles span:nth-child(6) {
    width: 7px;
    height: 7px;
    left: 75%;
    animation-duration: 19s;
    animation-delay: 1s;
    background: rgba(56, 189, 248, 0.1);
}

.hero-particles span:nth-child(7) {
    width: 4px;
    height: 4px;
    left: 85%;
    animation-duration: 23s;
    animation-delay: 5s;
}

.hero-particles span:nth-child(8) {
    width: 6px;
    height: 6px;
    left: 40%;
    animation-duration: 17s;
    animation-delay: 2s;
}

.hero-particles span:nth-child(9) {
    width: 9px;
    height: 9px;
    left: 55%;
    animation-duration: 21s;
    animation-delay: 4s;
    background: rgba(129, 140, 248, 0.08);
}

.hero-particles span:nth-child(10) {
    width: 5px;
    height: 5px;
    left: 90%;
    animation-duration: 15s;
    animation-delay: 1s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* Hero Content */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
    color: #ffffff !important;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: var(--space-xl) var(--space-lg);
    border: none;
    box-shadow: none;
    text-align: center;
    margin: 0 auto var(--space-xl);
}

.hero-logo {
    margin-bottom: var(--space-lg);
}

.hero-logo img {
    max-width: 180px;
    height: auto;
    animation: floatingLogo 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.4));
}

@keyframes floatingLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-text {
    margin-bottom: var(--space-xl);
    animation: fadeInDown 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-logo-text img {
    max-width: 420px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    transition: transform 0.5s ease;
}

.hero-logo-text img:hover {
    transform: scale(1.02);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.hero .subtitle {
    color: #ffffff !important;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
    display: block;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 auto var(--space-xl);
    max-width: 600px;
    line-height: 1.9;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
    justify-content: center;
}

.hero .btn {
    padding: 1.15rem 2.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero .btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(10, 153, 222, 0.4);
}

.hero .btn-primary:hover {
    background: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-5px) scale(1.03);
}

/* Scroll Down Indicator */
.hero-scroll-down {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    opacity: 0.7;
    transition: opacity 0.3s;
    cursor: pointer;
}

.hero-scroll-down:hover {
    opacity: 1;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--white);
    border-radius: 2px;
    margin-top: 8px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.m-scroll-arrows {
    display: block;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    margin: -5px 0 3px 8px;
    animation: scrollArrows 2s infinite;
}

.unu {
    animation-delay: 0.1s;
}

.doi {
    animation-delay: 0.2s;
}

.trei {
    animation-delay: 0.3s;
}

@keyframes scrollArrows {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        min-height: 85vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: var(--header-height);
        padding-bottom: var(--space-xl);
    }

    .hero-content {
        margin: 0 auto;
        padding: 0 var(--space-md);
        transform: none;
    }

    .hero-logo img {
        max-width: 150px;
    }

    .hero-logo-text img {
        max-width: 280px;
    }

    .hero h1 {
        font-size: var(--font-size-3xl);
        line-height: 1.3;
    }

    .hero .subtitle {
        font-size: var(--font-size-base);
    }

    .hero-text p {
        font-size: var(--font-size-sm);
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-slide .hero-video {
        opacity: 1;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(10, 10, 30, 0.7) 0%,
                rgba(10, 10, 30, 0.45) 50%,
                rgba(10, 10, 30, 0.7) 100%);
    }

    .hero-particles span {
        width: 3px !important;
        height: 3px !important;
    }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: #334155;
    /* Solid Slate/Navy mix for buttons */
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #22c55e;
    color: var(--white);
    transform: translateY(-3px);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-xl);
}

/* Shine Animation */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: none;
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0% {
        transform: translateX(-150%) rotate(45deg);
    }

    30% {
        transform: translateX(150%) rotate(45deg);
    }

    100% {
        transform: translateX(150%) rotate(45deg);
    }
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
}

/* =====================================================
   Cards
   ===================================================== */
/* =====================================================
   Cards - Glassmorphism
   ===================================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(26, 39, 68, 0.1);
    border-color: rgba(0, 166, 81, 0.15);
}

.card-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-size: var(--font-size-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.card p {
    color: var(--gray-600);
    line-height: 1.75;
}

/* Image Wrapper Glass */
.image-wrapper-glass {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.image-wrapper-glass:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-wrapper-glass img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

/* Service Card */
.service-card {
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 30px 60px -12px rgba(29, 29, 53, 0.15);
}

.service-card .card-icon {
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary);
    box-shadow: 0 10px 20px var(--accent-glow);
    transition: all 0.5s ease;
}

.service-card:hover .card-icon {
    transform: rotateY(360deg);
    background: var(--primary);
    color: var(--accent);
}

/* Value Card */
.value-card {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.value-card .card-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    font-size: var(--font-size-xl);
}

/* Partner Card */
.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    min-height: 100px;
    transition: all var(--transition-normal);
}

.partner-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.partner-card img {
    max-width: 130px;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.partner-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Team Card */
.team-card {
    text-align: center;
    padding: var(--space-2xl);
}

.team-card .photo {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto var(--space-lg);
    padding: 3px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    position: relative;
    box-shadow: 0 0 15px var(--accent-glow);
}

.team-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.team-card h4 {
    margin-bottom: var(--space-xs);
}

.team-card .title {
    color: var(--accent);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* =====================================================
   About Section - Premium Design
   ===================================================== */
.about-content {
    display: grid;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1.2fr;
    }
}

.about-image {
    position: relative;
}

.about-image .image-wrapper-glass {
    transform: none;
    background: var(--glass-card-bg);
    backdrop-filter: var(--glass-blur);
    padding: 15px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-card-border);
    box-shadow:
        0 25px 50px -12px rgba(26, 39, 68, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image .image-wrapper-glass:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow:
        0 40px 80px -20px rgba(26, 39, 68, 0.25),
        0 0 0 1px rgba(255, 255, 255, 1) inset;
    border-color: var(--accent);
}

.about-image .image-wrapper-glass img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

.about-text h2 {
    margin-bottom: var(--space-lg);
    color: var(--primary);
}

.about-text p {
    margin-bottom: var(--space-md);
    line-height: 1.9;
    color: var(--gray-600);
}

/* Mobile Responsive - About */
@media (max-width: 1023px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .about-image {
        order: -1;
        /* Image first on mobile */
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image .image-wrapper-glass {
        padding: 10px;
    }

    .about-text .btn {
        margin: 0 auto;
    }
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta {
    background: var(--primary);
    padding: var(--space-4xl) 0;
    padding-bottom: 0 !important;
    /* Remove bottom padding to close gap */
    position: relative;
    margin: 0 !important;
}

/* Eliminate any whitespace gap between CTA and footer */
.cta+.footer,
main>.footer,
.footer {
    margin-top: 0 !important;
}

.cta-content {
    text-align: center;
    color: var(--white);
    padding-bottom: var(--space-4xl);
    /* Move padding to content instead */
}

.cta h2 {
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.cta p {
    color: var(--white) !important;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 1 !important;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-4xl) 0 var(--space-xl);
    margin-top: -1px !important;
    /* Pull up to overlap any pixel gap */
    display: block !important;
    border: none !important;
    position: relative;
    z-index: 1;
    /* Ensure it overlaps any stray pixels */
}

.footer-grid {
    display: grid;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-section h4 {
    color: var(--white);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.85;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-lg);
    filter: brightness(1.2);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    text-align: center;
    font-size: var(--font-size-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.designer-credit {
    margin-top: 4px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.designer-credit:hover {
    opacity: 1;
}

.designer-credit span {
    color: var(--gray-400);
}

.designer-credit a {
    color: var(--accent);
    font-weight: 700;
    margin-right: 5px;
}

.designer-credit a:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* =====================================================
   WhatsApp Float
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 1.75rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: all var(--transition-normal);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* =====================================================
   Forms
   ===================================================== */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-family: inherit;
    font-size: var(--font-size-base);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--white);
}


textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* =====================================================
   Page Header
   ===================================================== */
.page-header {
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background: var(--primary);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb Navigation */
.page-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: var(--font-size-base);
    direction: rtl;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header .breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.page-header .breadcrumb>span {
    color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb>span:last-child {
    color: #fff;
    font-weight: 600;
    font-size: var(--font-size-lg);
}

/* =====================================================
   Utilities
   ===================================================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.bg-light {
    background: var(--gray-50);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease;
}

.stagger-children.active>* {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-children.active>*:nth-child(6) {
    transition-delay: 0.6s;
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* =====================================================
   About Section - Elegant WhatsApp Design
   ===================================================== */
.about-elegant {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    padding: 6rem 0;
}

.about-watermark {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.about-watermark img {
    width: 350px;
    height: auto;
}

.about-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 32px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-logo {
    width: 50px;
    height: auto;
}

.about-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2744;
    letter-spacing: 2px;
}

.about-title {
    font-size: 2rem;
    color: #1a2744;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-body {
    text-align: right;
    margin-bottom: 2rem;
}

.about-body p {
    color: #334155;
    line-height: 2;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-body strong {
    color: #1a2744;
}

.about-tagline {
    font-size: 1.125rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 2rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .about-elegant {
        padding: 3rem 0;
    }

    .about-watermark {
        left: -10%;
        opacity: 0.03;
    }

    .about-watermark img {
        width: 200px;
    }

    .about-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

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

    .about-body p {
        font-size: 0.875rem;
    }
}

/* =====================================================
   Why Choose Us Section
   ===================================================== */
.reasons-section {
    position: relative;
    background: var(--white);
    padding: var(--space-4xl) 0;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.reason-card {
    background: var(--gray-50);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.reason-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.reason-card:hover::before {
    opacity: 1;
}

.reason-card:hover h3,
.reason-card:hover p {
    color: var(--white);
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.reason-card:hover .reason-icon {
    background: var(--accent);
    color: var(--primary);
    transform: rotate(10deg);
}

.reason-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-normal);
}

.reason-card p {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
    transition: color var(--transition-normal);
}

@media (min-width: 768px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   Projects Section — Premium Responsive Design
   ===================================================== */
.projects-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ── Card ─────────────────────────────────── */
.project-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--primary);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 12px 28px rgba(0, 0, 0, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 24px 48px rgba(0, 0, 0, 0.15);
}

/* ── Image ────────────────────────────────── */
.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.08);
}

/* ── Overlay ──────────────────────────────── */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top,
            rgba(15, 15, 30, 0.95) 0%,
            rgba(15, 15, 30, 0.75) 45%,
            rgba(15, 15, 30, 0.3) 70%,
            transparent 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(30%);
    opacity: 0.85;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.5s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* ── Category Badge ───────────────────────── */
.project-category {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
    width: fit-content;
}

/* ── Title ────────────────────────────────── */
.project-title {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ── Description ──────────────────────────── */
.project-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin-bottom: 0.75rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease 0.1s, max-height 0.5s ease;
}

.project-card:hover .project-desc {
    opacity: 1;
    max-height: 120px;
}

/* ── View Link ────────────────────────────── */
.view-project {
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease 0.15s,
        transform 0.35s ease 0.15s,
        color 0.25s ease;
}

.project-card:hover .view-project {
    opacity: 1;
    transform: translateY(0);
}

.view-project:hover {
    color: #93c5fd;
}

.view-project i {
    transition: transform 0.3s ease;
}

.project-card:hover .view-project i {
    transform: translateX(-4px);
}

/* ── Responsive Grid ──────────────────────── */

/* Tablets (portrait) */
@media (min-width: 520px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .project-card {
        aspect-ratio: 4 / 3;
    }
}

/* Tablets (landscape) & small desktops */
@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .project-card {
        aspect-ratio: 16 / 11;
    }

    .project-overlay {
        padding: 1.75rem;
    }

    .project-title {
        font-size: 1.25rem;
    }
}

/* Desktops */
@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .project-card {
        aspect-ratio: 16 / 12;
    }

    .project-overlay {
        padding: 2rem;
    }

    .project-title {
        font-size: 1.35rem;
    }
}

/* Large desktops */
@media (min-width: 1440px) {
    .projects-grid {
        gap: 2.25rem;
    }

    .project-card {
        aspect-ratio: 16 / 10;
    }
}

/* ── Mobile Touch Enhancement ─────────────── */
@media (hover: none) {
    .project-overlay {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top,
                rgba(15, 15, 30, 0.92) 0%,
                rgba(15, 15, 30, 0.55) 55%,
                transparent 100%);
    }

    .project-desc {
        opacity: 1;
        max-height: 120px;
    }

    .view-project {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base Utility */
.secondary-bg {
    background-color: var(--gray-100) !important;
}

.section-tag {
    display: inline-block;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: var(--font-size-sm);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

/* =====================================================
   Redesigned Contact Section - Premium Elite
   ===================================================== */
.contact-section-premium {
    display: grid;
    gap: var(--space-3xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-section-premium {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    gap: var(--space-lg);
}

.contact-card-premium {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-bounce);
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.contact-card-premium:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-glow);
}

.contact-card-premium:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.contact-card-premium:hover .contact-card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.contact-card-content h5 {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card-content p,
.contact-card-content a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* Premium Form Styling */
.contact-form-premium {
    background: var(--white);
    padding: var(--space-3xl);
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(26, 39, 68, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.contact-form-premium::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(164, 172, 186, 0.1) 0%, rgba(29, 29, 53, 0.05) 100%);
    z-index: -1;
    border-radius: 40px;
    filter: blur(20px);
}

.contact-form-premium h3 {
    font-size: 2rem;
    margin-bottom: var(--space-xl);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-premium h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 99px;
}

.premium-input-group {
    margin-bottom: var(--space-xl);
}

.premium-input-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.premium-control {
    width: 100%;
    padding: 18px 24px;
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: 18px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.premium-control:focus {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(164, 172, 186, 0.15);
    outline: none;
}

.btn-premium {
    width: 100%;
    padding: 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: 0 15px 35px rgba(29, 29, 53, 0.2);
}

.btn-premium:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--accent-glow);
}

@media (max-width: 768px) {
    .contact-form-premium {
        padding: var(--space-xl);
    }

    .contact-card-premium {
        padding: var(--space-lg);
    }
}

/* =====================================================
   Premium Values Page
   ===================================================== */
.values-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
    position: relative;
    padding: 100px 0 80px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.values-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(164, 172, 186, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(164, 172, 186, 0.05) 0%, transparent 50%);
    z-index: 1;
}

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

.values-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.values-header p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--primary);
}

/* For dark backgrounds */
.section-tag-light,
.values-header .section-tag,
.cta .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.values-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.value-premium-card {
    background: var(--glass-card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-card-border);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    transition: all var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-premium-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 30px 60px rgba(29, 29, 53, 0.12);
    border-color: var(--accent);
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 20px rgba(29, 29, 53, 0.2);
}

.value-premium-card:hover .value-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary);
}

.value-premium-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-premium-card p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .values-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid-premium {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding-top: 2rem;
    }

    .values-header h1 {
        font-size: 2.5rem;
    }
}

/* Mobile Grid Helper */
@media (max-width: 768px) {
    .mobile-grid-1 {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg) !important;
    }
}

/* =====================================================
   News Section
   ===================================================== */
.news-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-bounce);
    border: 1px solid var(--gray-100);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(29, 29, 53, 0.15);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #1D1D35 0%, #2a2a4a 100%);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
}

.news-placeholder-img i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.news-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.6;
    transition: color var(--transition-fast);
}

.news-card:hover .news-card-content h3 {
    color: var(--accent-dark);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-meta i {
    color: var(--accent-dark);
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-image {
        height: 180px;
    }
}

/* ==========================================================================
   FAQ Accordion Section Styling
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background: #f8fafc;
}

body.dark-mode .faq-section {
    background: var(--dark-bg);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
    /* Removed overflow: hidden to prevent height collapsing bugs during transition */
}

body.dark-mode .faq-item {
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.faq-item.faq-open {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(29, 29, 53, 0.12);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    text-align: right;
    gap: 20px;
    border-radius: var(--radius-xl);
    min-height: 80px;
    box-sizing: border-box;
}

.faq-item.faq-open .faq-question {
    background: rgba(29, 29, 53, 0.02);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

body.dark-mode .faq-item.faq-open .faq-question {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    transition: color 0.3s ease;
    line-height: 1.5;
    flex: 1;
}

body.dark-mode .faq-question h3 {
    color: var(--gray-100);
}

.faq-item.faq-open .faq-question h3 {
    color: var(--accent-dark);
}

.faq-toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(29, 29, 53, 0.2);
}

body.dark-mode .faq-toggle-icon {
    background: var(--accent);
    color: var(--primary);
}

.faq-item.faq-open .faq-toggle-icon {
    background: var(--accent-dark);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 1px solid transparent;
}

.faq-item.faq-open .faq-answer {
    max-height: 600px;
    opacity: 1;
    border-top-color: rgba(0, 0, 0, 0.06);
}

body.dark-mode .faq-item.faq-open .faq-answer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.faq-answer-inner {
    padding: 0 30px 25px 30px;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: right;
    transform: translateY(-10px);
    transition: transform 0.4s ease;
}

.faq-item.faq-open .faq-answer-inner {
    padding-top: 20px;
    transform: translateY(0);
}

body.dark-mode .faq-answer-inner {
    color: var(--gray-300);
}

/* =====================================================
   Mobile menu: language + appearance (moved out of the header on phones/tablets)
   ===================================================== */
.nav-prefs { display: none; }
@media (max-width: 1023px) {
    .header-actions .lang-switch-container,
    .header-actions .dark-mode-toggle { display: none !important; }

    /* the menu got taller: let it scroll on short phones instead of cutting off the bottom */
    .nav { overflow-y: auto; overscroll-behavior: contain; }

    .nav-prefs {
        display: grid; gap: .9rem;
        margin-top: 1.5rem; padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }
    .nav-prefs-row { display: grid; gap: .5rem; }
    .nav-prefs-label { color: rgba(255, 255, 255, .55); font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: .45rem; }
    .nav-prefs-seg {
        display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
        background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
    }
    .nav .nav-prefs-seg a {
        display: block; padding: .6rem .5rem !important; text-align: center;
        border: 0 !important; border-radius: 9px;
        color: rgba(255, 255, 255, .75) !important; font-size: .95rem !important; font-weight: 600;
        background: transparent !important;
    }
    .nav .nav-prefs-seg a.is-on { background: #fff !important; color: #1d1d35 !important; }
    .nav-prefs-theme {
        display: flex; align-items: center; justify-content: center; gap: .55rem;
        width: 100%; padding: .7rem; border-radius: 12px;
        background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
        color: #fff; font-family: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
    }
    .nav-prefs-theme .fa-moon { color: #93c5fd; }
    .nav-prefs-theme .fa-sun { color: #fbbf24; }
    .nav-prefs-theme .fa-sun, .nav-prefs-theme .t-light { display: none; }
    body.dark-mode .nav-prefs-theme .fa-sun, body.dark-mode .nav-prefs-theme .t-light { display: inline; }
    body.dark-mode .nav-prefs-theme .fa-moon, body.dark-mode .nav-prefs-theme .t-dark { display: none; }
}
