:root {
    /* SwiftGo brand palette */
    --brand-green: #2FBF8F;
    --brand-yellow: #FFC94A;
    --brand-navy: #123C64;
    --brand-offwhite: #F5F4F0;
    --brand-charcoal: #2C2C2A;
    --brand-grey: #9A968D;

    /* Brand font */
    --font-brand: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Light theme (default) */
    color-scheme: light;

    /* Primary Colors */
    --primary: var(--brand-green);
    --primary-hover: #29A87E;
    --primary-text: #1A7F5E;            /* green that stays readable on light surfaces */
    --on-primary: var(--brand-navy);    /* text on green / yellow fills */

    /* Accent */
    --accent: var(--brand-yellow);

    /* Text Colors */
    --text-dark: var(--brand-navy);
    --text-light: #3E5570;
    --text-muted: #5F6F80;

    /* Background Colors */
    --bg-light: var(--brand-offwhite);
    --bg-alt: #FFFFFF;
    --bg-card: #FFFFFF;
    --surface-soft: var(--brand-offwhite);
    --surface-inset: var(--brand-offwhite);
    --nav-bg: var(--brand-offwhite);
    --footer-bg: #0E2F50;
    --tile-tint: rgba(47, 191, 143, 0.14);

    /* Inline SwiftGo name colors (logo rules: navy + yellow on light) */
    --brand-swift: var(--brand-navy);
    --brand-go: var(--brand-yellow);

    /* Border */
    --border: #E6E3DA;
    --border-light: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #123C64 0%, #15506A 45%, #2FBF8F 120%);
    --gradient-dark: linear-gradient(135deg, #123C64 0%, #0E2F50 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(18, 60, 100, 0.08);
    --shadow-md: 0 8px 24px rgba(18, 60, 100, 0.12);
    --shadow-lg: 0 20px 50px rgba(18, 60, 100, 0.16);
    --shadow-primary: 0 8px 20px rgba(47, 191, 143, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Container */
    --container-max: 1200px;
    --container-padding: 24px;
}

/* Dark theme (set on <html data-theme="dark"> by js/theme.js) */
:root[data-theme="dark"] {
    color-scheme: dark;

    --primary-hover: #45CCA0;
    --primary-text: var(--brand-green);
    --on-primary: #0A2239;

    --text-dark: var(--brand-offwhite);
    --text-light: #C3CCD6;
    --text-muted: #93A3B5;

    --bg-light: #0A2239;
    --bg-alt: #0D2A45;
    --bg-card: #10355A;
    --surface-soft: #10355A;
    --surface-inset: #0B2742;
    --nav-bg: #0A2239;
    --footer-bg: #06172A;
    --tile-tint: rgba(47, 191, 143, 0.18);

    --brand-swift: var(--brand-offwhite);

    --border: rgba(245, 244, 240, 0.12);

    --gradient-primary: linear-gradient(135deg, #071B30 0%, #123C64 55%, #1E8A70 120%);
    --gradient-dark: linear-gradient(135deg, #0D2A45 0%, #071B30 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-brand);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

h4 {
    font-size: 1.125rem;
    font-weight: 700;
}

p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   Layout Utilities
   ================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    background: var(--tile-tint);
    color: var(--primary-text);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 16px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--brand-navy);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-accent {
    background: var(--primary);
    color: var(--on-primary);
}

.btn-accent:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: relative;                 /* anchors the mobile dropdown under the bar */
    z-index: 100;
    background: var(--nav-bg);
    transition: background-color var(--transition-normal);

    #nav {
    list-style: none;
    position:fixed;
    right:50%;
    margin-right:155px;
    margin-top:220px;
 }
}

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

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    
}

/* SwiftGo logo (navbar + footer).
   Each spot holds EN + AR artwork; the matching one shows for the page language,
   and the navbar also swaps the light-background / dark-background version by theme. */
.brand-logo {
    display: none;
    width: auto;
    height: 40px;
    animation: logoIn 0.8s ease-out both;
}

html:not([lang="ar"]) .brand-logo[data-lang="en"],
html[lang="ar"] .brand-logo[data-lang="ar"] {
    display: block;
}

html[data-theme="dark"] .navbar .brand-logo[data-bg="light"],
html:not([data-theme="dark"]) .navbar .brand-logo[data-bg="dark"] {
    display: none;
}

.footer-logo .brand-logo {
    height: 44px;
}

@keyframes logoIn {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .brand-logo {
        height: 32px;
    }

    .footer-logo .brand-logo {
        height: 36px;
    }
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-text);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--on-primary) !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-full) !important;
}

.nav-cta:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-fast);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge::before {
    content: '🛵';
}

.hero h1 {
    color: white;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Card */
.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-20px); }
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.hero-card h3 {
    color: var(--text-dark);
}

.hero-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-item {
    background: var(--surface-inset);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-text);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================
   About Section
   ================================ */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

/* About Card */
.about-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.vision-quote {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-text);
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.5;
}

.vision-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.vision-text {
    color: var(--text-light);
    text-align: center;
    line-height: 1.7;
}

/* ================================
   Services Section
   ================================ */
.services {
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--surface-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(47, 191, 143, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--tile-tint);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 12px;
        text-shadow: var(--shadow-lg);

}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* ================================
   Provide/Solutions Section
   ================================ */
.provide {
    background: var(--gradient-dark);
    color: white;
}

.provide .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.provide .section-title {
    color: white;
}

.provide .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.provide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.provide-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.provide-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.provide-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.provide-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(47, 191, 143, 0.22);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.provide-card h3 {
    font-size: 22px;
    color: white;
}

.provide-card ul {
    list-style: none;
}

.provide-card li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
}

.provide-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ================================
   Partners Section
   ================================ */
.partners {
    background: var(--bg-alt);
    padding-bottom: 60px;
}

/* Logo Carousel */
.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgb(0,0,0) 12.5%, rgb(0,0,0) 87.5%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgb(0,0,0) 12.5%, rgb(0,0,0) 87.5%, rgba(0,0,0,0) 100%);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 45px;
    width: max-content;
}

.logo-track.track-left {
    animation: scrollLeft 25s linear infinite;
}

.logo-track.track-right {
    animation: scrollRight 25s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.logo-item {
    flex-shrink: 0;
    height: 70px;
    padding: 8px 14px;
    background: #FFFFFF;                /* partner logos keep a white chip in both themes */
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.logo-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.23);
}

.logo-item img {
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Pause animation on hover */
.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

/* ================================
   CTA Section
   ================================ */
.cta {
    background: var(--gradient-primary);
    text-align: center;
    --brand-swift: var(--brand-offwhite);
}

.cta-content {
    max-width: 720px;
    margin: 0 auto;
}

.cta h2 {
    color: #FFFFFF;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--footer-bg);
    --brand-swift: var(--brand-green);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

/* SwiftGo name styling for inline use throughout the site */
.swiftgo-text {
    font-weight: 700;
}

.swiftgo-text .swift {
    color: var(--brand-swift);
}

.swiftgo-text .go {
    color: var(--brand-go);
}

.hero {
    --brand-swift: var(--brand-offwhite);
}

/* Floating controls: theme + language toggles */
.site-controls {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-dark);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

/* Show the icon of the theme you'd switch to */
.theme-toggle .icon-sun,
html[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

/* Language Toggle Button */
.language-toggle {
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-hover);
}

/* Arabic Language Support - No layout or alignment changes */
html[lang="ar"] {
    /* Keep everything as LTR - no changes */
    direction: ltr;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
}

.footer h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

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

.footer-social a:hover {
    background: var(--primary);
    color: var(--on-primary);
    transform: translateY(-3px);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

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

.animate-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-right {
    animation: slideInRight 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
    }

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    p {
        font-size: 15px;
        line-height: 1.6;
    }

    .section {
        padding: 50px 0;
    }

    /* Navigation */
    .navbar {
        padding: 12px 0;
    }

    .nav-toggle {
        width: 36px;
        height: 36px;
    }

    /* Hero Section */
    .hero {
        padding: 80px 0 50px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-card {
        padding: 20px;
        transform: rotate(0);
        margin-top: 30px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-item {
        padding: 14px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Buttons */
    .btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    /* About Section */
    .about-image {
        margin-bottom: 30px;
    }

    .feature-grid {
        gap: 16px;
    }

    .feature-item {
        padding: 16px;
    }

    /* Services */
    .service-card {
        padding: 24px;
    }

    .service-icon {
        font-size: 32px;
        margin-bottom: 16px;
    }

    /* Solutions */
    .provide-card {
        padding: 24px;
    }

    .provide-card ul {
        padding-left: 20px;
    }

    .provide-card li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* Partners */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partner-card {
        padding: 20px;
        min-height: auto;
    }

    /* CTA Section */
    .cta {
        padding: 50px 0;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer h4 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .footer-links a {
        font-size: 13px;
    }

    /* Theme + Language Toggles */
    .site-controls {
        top: 80px;
        right: 12px;
    }

    .language-toggle {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Section Labels and Titles */
    .section-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* Improve touch targets */
    a, button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Better spacing for mobile */
    .container {
        padding: 0 16px;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 12px;
    }

    .language-toggle {
        padding: 8px 12px;
        font-size: 12px;
    }
}
