/* VOM - Value of Management - Website Styles */
/* Official Brand Colors from Brand Identity Guidelines */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --vom-cyan: #0095a3;
    --vom-cyan-light: #4db8c4;
    --vom-cyan-dark: #006b76;
    --vom-cyan-lighter: #7dd3dc;
    --vom-charcoal: #1a1a1a;
    --vom-charcoal-light: #4a4a4a;
    --vom-white: #ffffff;
    --vom-off-white: #f8f9fa;
    --vom-light-gray: #e8ecef;
    --vom-text-dark: #1a1a1a;
    --vom-text-light: #ffffff;
    --vom-border: #e1e8ed;
    --vom-accent: #0095a3;
    --vom-gold: #d4af37;
    --vom-gold-light: #f4d03f;
    --vom-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --vom-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --vom-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --vom-shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.18);
    --vom-shadow-cyan: 0 8px 32px rgba(0, 149, 163, 0.25);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--vom-cyan-dark) 0%, var(--vom-cyan) 50%, var(--vom-cyan-light) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,149,163,0.1) 0%, rgba(0,149,163,0.05) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--vom-text-dark);
    background-color: var(--vom-white);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 149, 163, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 149, 163, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    background-attachment: fixed;
    direction: rtl;
    text-align: right;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* LTR (English) Layout */
[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,149,163,0.01) 2px, rgba(0,149,163,0.01) 4px);
    pointer-events: none;
    z-index: 0;
}

/* Reversed Swoosh Movement Element for Pages */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,149,163,0.03) 50%, transparent 100%);
    background-image: 
        radial-gradient(ellipse 800px 400px at 20% 100%, rgba(0,149,163,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 600px 300px at 80% 100%, rgba(77,184,196,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    transform: scaleX(-1);
    opacity: 0.6;
}

/* Swoosh decoration for sections */
.section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -100px;
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse 400px 200px at center, rgba(0,149,163,0.05) 0%, transparent 70%);
    pointer-events: none;
    transform: rotate(-45deg) scaleX(-1);
    opacity: 0.4;
    z-index: 0;
}

.section:nth-child(even)::after {
    right: auto;
    left: -100px;
    transform: rotate(45deg) scaleX(-1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--vom-charcoal);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
}

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

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--vom-text-dark);
    font-size: 1rem;
}

/* RTL (Arabic): Text alignment */
[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    text-align: right;
}

/* LTR (English): Text alignment */
[dir="ltr"] p,
[dir="ltr"] h1,
[dir="ltr"] h2,
[dir="ltr"] h3,
[dir="ltr"] h4,
[dir="ltr"] h5,
[dir="ltr"] h6 {
    text-align: left;
}

a {
    color: var(--vom-cyan);
    text-decoration: none;
    transition: var(--transition-base);
}

a:focus-visible {
    outline: 2px solid var(--vom-cyan);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navigation */
.navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(0, 149, 163, 0.1) inset;
    transition: var(--transition-base);
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%),
                      linear-gradient(90deg, transparent 0%, rgba(0,149,163,0.05) 50%, transparent 100%);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--vom-cyan) 50%, transparent 100%);
    opacity: 0.3;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: var(--vom-shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    gap: 2rem;
    position: relative;
}

/* RTL Layout (Arabic) - Default */
/* Order: logo (right) -> nav-menu (center) -> header-actions (left) */
[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

/* LTR Layout (English) */
/* Order: logo (left) -> nav-menu (center) -> header-actions (right) */
[dir="ltr"] .nav-container {
    flex-direction: row;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
}

/* RTL (Arabic): Logo on right (with row-reverse, order 3 appears first = right) */
[dir="rtl"] .logo-container {
    order: 3;
    direction: rtl;
}

/* LTR (English): Logo on left */
[dir="ltr"] .logo-container {
    order: 1;
    direction: ltr;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-container:focus-visible {
    outline: 2px solid var(--vom-cyan);
    outline-offset: 4px;
    border-radius: 8px;
}

.logo {
    height: 70px;
    width: auto;
    transition: var(--transition-base);
}

.logo-text {
    display: none;
}

/* Header Actions - Position based on direction */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hide mobile menu actions on desktop */
.mobile-menu-actions {
    display: none;
}

/* RTL (Arabic): Actions on left (with row-reverse, order 1 appears last = left) */
[dir="rtl"] .header-actions {
    order: 1;
    direction: rtl;
}

/* LTR (English): Actions on right */
[dir="ltr"] .header-actions {
    order: 3;
    direction: ltr;
}

.consultation-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--vom-cyan) 0%, var(--vom-cyan-light) 100%);
    color: var(--vom-white);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: var(--vom-shadow-md);
    border: 2px solid transparent;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        gap: 1rem;
    }

    .logo {
        height: 50px;
    }

    .consultation-btn {
        padding: 0.6rem;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
        min-width: unset;
    }

    .consultation-btn span {
        display: none;
    }

    .language-switcher {
        gap: 0.2rem;
        padding: 0.2rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
    }

    .lang-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        min-width: unset;
    }

    .header-actions {
        gap: 0.5rem;
    }
}

.consultation-btn:hover {
    background: linear-gradient(135deg, var(--vom-cyan-dark) 0%, var(--vom-cyan) 100%);
    transform: translateY(-2px);
    box-shadow: var(--vom-shadow-lg);
    color: var(--vom-white);
}

.consultation-btn svg {
    width: 20px;
    height: 20px;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: var(--vom-off-white);
    padding: 0.25rem;
    border-radius: 10px;
    border: 2px solid var(--vom-border);
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--vom-charcoal);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-base);
    font-family: inherit;
}

.lang-btn:hover {
    background: rgba(0, 149, 163, 0.1);
    color: var(--vom-cyan);
}

.lang-btn.active {
    background: var(--vom-cyan);
    color: var(--vom-white);
    box-shadow: var(--vom-shadow-sm);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    order: 2;
    flex: 1;
    justify-content: center;
}

/* RTL (Arabic): Menu in center, direction RTL */
[dir="rtl"] .nav-menu {
    order: 2;
    justify-content: center;
    direction: rtl;
}

/* LTR (English): Menu in center, direction LTR */
[dir="ltr"] .nav-menu {
    order: 2;
    justify-content: center;
    direction: ltr;
}

.nav-menu li {
    display: flex;
}

/* RTL (Arabic): Menu items direction */
[dir="rtl"] .nav-menu li {
    direction: rtl;
}

/* LTR (English): Menu items direction */
[dir="ltr"] .nav-menu li {
    direction: ltr;
}

.nav-menu li a {
    color: var(--vom-charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    position: relative;
    border-radius: 8px;
    display: block;
}

/* RTL (Arabic): Text alignment */
[dir="rtl"] .nav-menu li a {
    text-align: right;
    direction: rtl;
}

/* LTR (English): Text alignment */
[dir="ltr"] .nav-menu li a {
    text-align: left;
    direction: ltr;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background-color: var(--vom-cyan);
    transition: width var(--transition-base);
    border-radius: 2px;
}

[dir="ltr"] .nav-menu li a::before {
    right: 50%;
    left: auto;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: calc(100% - 2.5rem);
}

.nav-menu li a:hover {
    color: var(--vom-cyan);
    background-color: rgba(0, 149, 163, 0.05);
}

.nav-menu li a.active {
    color: var(--vom-cyan);
    background-color: rgba(0, 149, 163, 0.08);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition-base);
}

.mobile-menu-toggle:hover {
    background-color: var(--vom-off-white);
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--vom-charcoal);
    margin: 5px 0;
    transition: var(--transition-base);
    border-radius: 2px;
}

.mobile-menu-close {
    display: none;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--vom-text-light);
    padding: 7rem 2rem;
    min-height: 500px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('../hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .hero {
    text-align: center;
}

[dir="ltr"] .hero {
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 64, 77, 0.85) 0%, rgba(77, 184, 196, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: slideInScale 0.6s ease-out;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="ltr"] .hero-content {
    text-align: left;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--vom-white);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    font-weight: 400;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--vom-white) 0%, rgba(255,255,255,0.95) 100%);
    color: var(--vom-cyan);
    box-shadow: var(--vom-shadow-md), 0 0 0 1px rgba(0,149,163,0.1) inset;
    border: 2px solid rgba(0,149,163,0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 149, 163, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--vom-white) 0%, rgba(248,249,250,1) 100%);
    color: var(--vom-cyan-dark);
    transform: translateY(-4px);
    box-shadow: var(--vom-shadow-lg), 0 0 0 1px rgba(0,149,163,0.2) inset, 0 8px 32px rgba(0,149,163,0.2);
    border-color: rgba(0,149,163,0.2);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--vom-cyan) 0%, var(--vom-cyan-light) 100%);
    color: var(--vom-white);
    box-shadow: var(--vom-shadow-cyan), 0 0 0 1px rgba(255,255,255,0.1) inset;
    border: 2px solid transparent;
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--vom-cyan-light), var(--vom-cyan-lighter));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--vom-cyan-dark) 0%, var(--vom-cyan) 100%);
    transform: translateY(-4px);
    box-shadow: var(--vom-shadow-cyan), 0 12px 40px rgba(0, 149, 163, 0.5), 0 0 0 1px rgba(255,255,255,0.2) inset;
}

.btn-secondary:active {
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 3px solid rgba(0, 149, 163, 0.3);
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2.5rem;
}

[dir="rtl"] .container {
    text-align: right;
}

[dir="ltr"] .container {
    text-align: left;
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,149,163,0.2) 50%, transparent 100%);
}

.section:nth-child(even) {
    background: linear-gradient(180deg, var(--vom-off-white) 0%, rgba(248,249,250,0.5) 100%);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0,149,163,0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0,149,163,0.02) 0%, transparent 50%);
}

.section:nth-child(odd) {
    background: linear-gradient(180deg, var(--vom-white) 0%, rgba(255,255,255,0.8) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--vom-charcoal);
    position: relative;
    padding-bottom: 2rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--vom-charcoal) 0%, var(--vom-cyan-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[dir="rtl"] .section-title {
    text-align: center;
}

[dir="ltr"] .section-title {
    text-align: center;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,149,163,0.3) 50%, transparent 100%);
}

[dir="ltr"] .section-title::before {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--vom-cyan) 0%, var(--vom-cyan-light) 50%, var(--vom-cyan) 100%);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 149, 163, 0.3);
}

[dir="ltr"] .section-title::after {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--vom-shadow-md), 0 0 0 1px rgba(0,149,163,0.05) inset;
    transition: var(--transition-slow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%),
        radial-gradient(circle at top right, rgba(0,149,163,0.05) 0%, transparent 50%);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 0;
    background: linear-gradient(180deg, var(--vom-cyan) 0%, var(--vom-cyan-light) 50%, var(--vom-cyan) 100%);
    transition: height var(--transition-slow);
    z-index: 1;
    box-shadow: -2px 0 10px rgba(0, 149, 163, 0.3);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 149, 163, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(77, 184, 196, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.card .card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 149, 163, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.card:hover::before {
    height: 100%;
}

.card:hover::after,
.card:hover .card-glow {
    opacity: 1;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--vom-shadow-xl), var(--vom-shadow-cyan), 0 0 0 1px rgba(0,149,163,0.1) inset;
    border-color: var(--vom-cyan);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%);
}

.card-icon {
    font-size: 1.25rem;
    color: var(--vom-cyan);
    margin-bottom: 1.5rem;
    transition: var(--transition-slow);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 149, 163, 0.15) 0%, rgba(0, 149, 163, 0.08) 100%);
    border-radius: 18px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 4px 12px rgba(0, 149, 163, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 149, 163, 0.1);
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, var(--vom-cyan), var(--vom-cyan-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--vom-cyan) 0%, var(--vom-cyan-light) 100%);
    color: var(--vom-white);
    box-shadow: 
        0 12px 32px rgba(0, 149, 163, 0.4),
        0 4px 16px rgba(0, 149, 163, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--vom-cyan-light);
}

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

.card h3 {
    color: var(--vom-charcoal);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.card h4 {
    color: var(--vom-charcoal);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.card p {
    color: var(--vom-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-size: 0.98rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

[dir="rtl"] .card p,
[dir="rtl"] .card h3,
[dir="rtl"] .card h4 {
    text-align: right;
}

[dir="ltr"] .card p,
[dir="ltr"] .card h3,
[dir="ltr"] .card h4 {
    text-align: left;
}

.card a {
    color: var(--vom-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.card a:hover {
    color: var(--vom-cyan-dark);
    gap: 0.75rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-teal);
    margin-top: 2rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    background-color: var(--vom-white);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

[dir="rtl"] .values-list li {
    border-right: 4px solid var(--vom-cyan);
    border-left: none;
}

[dir="ltr"] .values-list li {
    border-left: 4px solid var(--vom-cyan);
    border-right: none;
}

[dir="rtl"] .values-list li:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 20px rgba(0, 149, 163, 0.1);
}

[dir="ltr"] .values-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 149, 163, 0.1);
}

.values-list li strong {
    color: var(--vom-cyan);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background-color: var(--vom-white);
    padding: 3.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--vom-border);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--vom-cyan);
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--vom-charcoal);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid var(--vom-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    background: linear-gradient(135deg, var(--vom-off-white) 0%, var(--vom-white) 100%);
    color: var(--vom-text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) inset;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea,
[dir="rtl"] .form-group select {
    text-align: right;
    padding-right: 1.5rem;
    padding-left: 3rem;
}

[dir="ltr"] .form-group input,
[dir="ltr"] .form-group textarea,
[dir="ltr"] .form-group select {
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 3rem;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--vom-cyan-light);
    background: linear-gradient(135deg, var(--vom-white) 0%, rgba(248,249,250,1) 100%);
    box-shadow: 0 2px 12px rgba(0,149,163,0.08) inset, 0 0 0 1px rgba(0,149,163,0.1);
    transform: translateY(-1px);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--vom-cyan);
    background: var(--vom-white);
    box-shadow: 
        0 0 0 4px rgba(0, 149, 163, 0.15),
        0 4px 16px rgba(0, 149, 163, 0.1),
        0 2px 8px rgba(0,0,0,0.04) inset;
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230095a3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

[dir="rtl"] .form-group select {
    background-position: left 1.5rem center;
    padding-left: 3rem;
    padding-right: 1.5rem;
}

[dir="ltr"] .form-group select {
    background-position: right 1.5rem center;
    padding-right: 3rem;
    padding-left: 1.5rem;
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: var(--vom-text-light);
    padding: 7rem 2rem;
    min-height: 500px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('../hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 64, 77, 0.85) 0%, rgba(77, 184, 196, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--vom-white);
    position: relative;
    z-index: 1;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 750px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.98);
    position: relative;
    z-index: 1;
    line-height: 1.7;
    font-weight: 400;
}

/* Service Details */
.service-detail {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--vom-shadow-lg), 0 0 0 1px rgba(0,149,163,0.05) inset;
    border: 2px solid rgba(0,149,163,0.08);
    margin-bottom: 2rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%),
        radial-gradient(circle at top left, rgba(0,149,163,0.04) 0%, transparent 50%);
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0,149,163,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.service-detail:hover {
    box-shadow: var(--vom-shadow-xl), var(--vom-shadow-cyan), 0 0 0 1px rgba(0,149,163,0.1) inset;
    border-color: rgba(0,149,163,0.15);
    transform: translateY(-4px);
}

.service-detail h2 {
    color: var(--vom-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.service-detail h3 {
    color: var(--vom-charcoal);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-detail h4 {
    color: var(--vom-cyan);
    margin-top: 1.5rem;
    margin-bottom: 0.85rem;
}

.service-detail ul {
    list-style: none;
    padding: 0;
}

.service-detail ul li {
    padding: 0.8rem 0;
    position: relative;
}

[dir="rtl"] .service-detail ul li {
    padding-right: 2rem;
    padding-left: 0;
}

[dir="ltr"] .service-detail ul li {
    padding-left: 2rem;
    padding-right: 0;
}

.service-detail ul li:before {
    content: '✓';
    position: absolute;
    color: var(--vom-cyan);
    font-weight: bold;
    font-size: 1.3rem;
}

[dir="rtl"] .service-detail ul li:before {
    right: 0;
    left: auto;
}

[dir="ltr"] .service-detail ul li:before {
    left: 0;
    right: auto;
}

/* Footer */
.footer {
    background-color: var(--vom-charcoal);
    color: var(--vom-text-light);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--vom-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--vom-cyan);
    transform: translateX(-3px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(0, 149, 163, 0.15);
    color: var(--vom-cyan);
    border: 2px solid var(--vom-cyan);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--vom-cyan);
    color: var(--vom-white);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 149, 163, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 3rem 2rem 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 1.5rem;
        flex-wrap: nowrap;
    }

    /* Hide language switcher and consultation button in header on mobile */
    .header-actions {
        display: none;
    }

    [dir="rtl"] .nav-container,
    [dir="ltr"] .nav-container {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Mobile menu overlay backdrop */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: 100vh;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        gap: 0;
        order: 2;
        overflow-y: auto;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
    }

    [dir="rtl"] .nav-menu {
        text-align: right;
        transform: none;
    }

    [dir="ltr"] .nav-menu {
        text-align: left;
        transform: none;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Mobile Menu Header */
    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        background-color: #ffffff;
        border-bottom: 1px solid var(--vom-border);
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 1002;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        list-style: none;
    }

    .mobile-menu-header .logo-container {
        order: 1;
        margin: 0;
        display: flex;
    }

    .mobile-menu-header .logo {
        height: 50px;
        display: block;
    }

    .mobile-menu-close {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: rgba(0, 149, 163, 0.05);
        border: 2px solid rgba(0, 149, 163, 0.15);
        cursor: pointer;
        z-index: 1003;
        padding: 8px;
        position: relative;
        order: 2;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .mobile-menu-close:hover {
        background-color: rgba(0, 149, 163, 0.15);
        border-color: var(--vom-cyan);
    }

    .mobile-menu-close span {
        display: block;
        width: 24px;
        height: 3px;
        background-color: var(--vom-charcoal);
        transition: all 0.3s ease;
        position: absolute;
        top: 50%;
        left: 50%;
        border-radius: 2px;
    }

    .mobile-menu-close span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .mobile-menu-close span:nth-child(2) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .mobile-menu-close:hover span {
        background-color: var(--vom-cyan);
    }

    [dir="rtl"] .mobile-menu-header {
        flex-direction: row-reverse;
    }

    [dir="ltr"] .mobile-menu-header {
        flex-direction: row;
    }

    /* Mobile Menu Search */
    .mobile-menu-search-container {
        width: 100%;
        padding: 1rem 1.5rem;
        background-color: #f8f9fa;
        border-bottom: 1px solid var(--vom-border);
        display: block !important;
        list-style: none;
    }

    .mobile-search-form {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        background-color: #ffffff;
        border: 2px solid var(--vom-border);
        border-radius: 12px;
        padding: 0.75rem 1rem;
        transition: border-color 0.3s ease;
    }

    .mobile-search-form:focus-within {
        border-color: var(--vom-cyan);
    }

    .search-icon-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: #6c757d;
        display: flex;
        align-items: center;
        transition: color 0.3s ease;
    }

    .search-icon-btn:hover {
        color: var(--vom-cyan);
    }

    .mobile-search-form input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 1rem;
        padding: 0.5rem;
        background: transparent;
        color: var(--vom-charcoal);
    }

    .mobile-search-form input::placeholder {
        color: #9ca3af;
    }

    [dir="rtl"] .mobile-search-form input {
        text-align: right;
    }

    [dir="ltr"] .mobile-search-form input {
        text-align: left;
    }

    .lang-globe-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        color: #6c757d;
        display: flex;
        align-items: center;
        transition: color 0.3s ease;
    }

    .lang-globe-btn:hover {
        color: var(--vom-cyan);
    }

    .logo-container {
        order: 2;
    }

    [dir="rtl"] .logo-container,
    [dir="ltr"] .logo-container {
        order: 2;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 1.5rem 1.5rem;
        border-radius: 0;
        font-size: 1.125rem;
        font-weight: 400;
        color: #4a5568;
        transition: all 0.3s ease;
    }

    .nav-menu li a:hover {
        background-color: rgba(0, 149, 163, 0.03);
        color: var(--vom-charcoal);
    }

    .nav-menu li a.active {
        background-color: rgba(0, 149, 163, 0.05);
        color: var(--vom-charcoal);
        font-weight: 500;
    }

    .nav-menu li a::before {
        display: none;
    }

    /* Proper text alignment based on language direction */
    [dir="rtl"] .nav-menu li a {
        text-align: right;
    }

    [dir="ltr"] .nav-menu li a {
        text-align: left;
    }

    /* Show language switcher and consultation button inside mobile menu */
    .nav-menu .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-top: 1px solid var(--vom-border);
        margin-top: auto;
        width: 100%;
        background-color: #f8f9fa;
    }

    .nav-menu .language-switcher {
        width: 100%;
        justify-content: center;
        background: var(--vom-off-white);
    }

    .nav-menu .consultation-btn {
        width: 100%;
        border-radius: 12px;
        padding: 1rem;
        justify-content: center;
    }

    .nav-menu .consultation-btn span {
        display: inline;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

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

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

    .hero {
        padding: 5rem 1.5rem;
        min-height: 400px;
    }

    .page-header {
        padding: 5rem 1.5rem;
        min-height: 400px;
    }

    .container {
        padding: 4rem 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 1.5rem;
    }

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

    .card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }

    .logo {
        height: 45px;
    }

    .consultation-btn {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }

    .lang-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.7rem;
    }

    .language-switcher {
        padding: 0.15rem;
    }

    .container {
        padding: 3rem 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 4rem 1rem;
        min-height: 350px;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }

    .page-header {
        padding: 4rem 1rem;
        min-height: 350px;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 1.25rem;
    }

    .service-detail {
        padding: 2rem 1.5rem;
    }

    .card {
        padding: 1.75rem;
    }

    .card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
    }
}

/* Scroll Animations - Ultra Professional */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animated {
    opacity: 1;
}

/* Fade In Up */
.fade-in-up {
    transform: translateY(60px);
    opacity: 0;
}

.fade-in-up.animated {
    transform: translateY(0);
    opacity: 1;
}

/* Fade In Down */
.fade-in-down {
    transform: translateY(-60px);
    opacity: 0;
}

.fade-in-down.animated {
    transform: translateY(0);
    opacity: 1;
}

/* Fade In Left (RTL) */
.fade-in-left {
    transform: translateX(60px);
    opacity: 0;
}

.fade-in-left.animated {
    transform: translateX(0);
    opacity: 1;
}

/* Fade In Right (RTL) */
.fade-in-right {
    transform: translateX(-60px);
    opacity: 0;
}

.fade-in-right.animated {
    transform: translateX(0);
    opacity: 1;
}

/* Scale In */
.scale-in {
    transform: scale(0.8);
    opacity: 0;
}

.scale-in.animated {
    transform: scale(1);
    opacity: 1;
}

/* Zoom In */
.zoom-in {
    transform: scale(0.5);
    opacity: 0;
}

.zoom-in.animated {
    transform: scale(1);
    opacity: 1;
}

/* Rotate In */
.rotate-in {
    transform: rotate(-10deg) scale(0.9);
    opacity: 0;
}

.rotate-in.animated {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* Slide In Right (RTL) */
.slide-in-right {
    transform: translateX(-100px);
    opacity: 0;
}

.slide-in-right.animated {
    transform: translateX(0);
    opacity: 1;
}

/* Slide In Left (RTL) */
.slide-in-left {
    transform: translateX(100px);
    opacity: 0;
}

.slide-in-left.animated {
    transform: translateX(0);
    opacity: 1;
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Parallax Effect */
.parallax-slow {
    transition: transform 0.3s ease-out;
}

.parallax-medium {
    transition: transform 0.2s ease-out;
}

.parallax-fast {
    transition: transform 0.1s ease-out;
}

/* Slide In Scale Animation - No opacity change */
@keyframes slideInScale {
    from {
        transform: translateY(30px) scale(0.95);
    }
    to {
        transform: translateY(0) scale(1);
    }
}

/* Fade In Animation (Legacy Support) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

/* Progress Bar Animation */
@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* Number Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vom-cyan) 0%, var(--vom-cyan-light) 100%);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(0, 149, 163, 0.5);
    border-radius: 0 0 0 3px;
}

/* Performance optimizations for animations */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .fade-in-up,
    .fade-in-down,
    .fade-in-left,
    .fade-in-right,
    .scale-in,
    .zoom-in,
    .rotate-in,
    .slide-in-right,
    .slide-in-left {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .scroll-progress {
        display: none;
    }
}

/* GPU acceleration for smooth animations */
.scroll-animate,
.fade-in-up,
.fade-in-down,
.fade-in-left,
.fade-in-right,
.scale-in,
.zoom-in,
.rotate-in,
.slide-in-right,
.slide-in-left {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Scroll Indicator Arrow */
.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    padding: 2rem 0;
    transition: opacity var(--transition-base);
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 149, 163, 0.1) 0%, rgba(0, 149, 163, 0.05) 100%);
    border: 2px solid var(--vom-cyan);
    color: var(--vom-cyan);
    cursor: pointer;
    transition: var(--transition-base);
    animation: scrollBounce 2s ease-in-out infinite;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--vom-cyan);
    opacity: 0;
    animation: pulseRing 2s ease-in-out infinite;
}

.scroll-arrow:hover {
    background: linear-gradient(135deg, var(--vom-cyan) 0%, var(--vom-cyan-light) 100%);
    color: var(--vom-white);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 149, 163, 0.4);
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
    transform: rotate(0deg);
    transition: var(--transition-base);
}

.scroll-arrow:hover svg {
    transform: rotate(0deg) translateY(3px);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* CTA Section Styling */
.cta-section {
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(77,184,196,0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--vom-cyan-dark) 0%, var(--vom-cyan) 50%, var(--vom-cyan-light) 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,.06) 50px, rgba(255,255,255,.06) 100px);
    pointer-events: none;
    opacity: 0.6;
}

.cta-section h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.98) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.cta-section .section-title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
}

.cta-section .section-title::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.3) 100%);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.cta-section .section-title::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
}

/* Cards on gradient background */
.cta-section .card {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.cta-section .card:hover {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

/* Ensure card text is dark and readable on white cards */
.cta-section .card h3,
.cta-section .card h4 {
    color: var(--vom-charcoal) !important;
}

.cta-section .card p {
    color: var(--vom-text-dark) !important;
    text-shadow: none !important;
}

.cta-section .card a {
    color: var(--vom-cyan) !important;
}

.cta-section .card .card-icon {
    color: var(--vom-cyan) !important;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for better accessibility */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--vom-cyan);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--text-light);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none;
    }
}

/* Submenu Styles - Mobile Only */
@media (max-width: 1200px) {
    .has-submenu {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }

    .has-submenu a {
        flex: 1;
        border-bottom: none;
        text-align: left;
    }

    .submenu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 1.5rem 1.5rem;
        position: relative;
        width: 56px;
        height: 56px;
        flex-shrink: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .submenu-toggle::before,
    .submenu-toggle::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 2.5px;
        background-color: #4a5568;
        transition: transform 0.3s ease, background-color 0.3s ease;
        transform-origin: center;
        border-radius: 2px;
    }

    .submenu-toggle::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .submenu-toggle::before {
        transform: translate(-50%, -50%);
    }

    .submenu-toggle.active::after {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    .submenu-toggle:hover::before,
    .submenu-toggle:hover::after {
        background-color: var(--vom-charcoal);
    }
}

