/* ===== CSS Custom Properties ===== */
:root {
    --primary-color: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --secondary-color: #059669;
    --secondary-light: #10b981;
    --accent-color: #6366f1;
    --accent-light: #818cf8;
    --bg-primary: #f0fdfa;
    --bg-secondary: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(13, 148, 136, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --gradient-primary: linear-gradient(135deg, #0d9488 0%, #059669 50%, #065f46 100%);
    --gradient-hero: linear-gradient(135deg, #0f766e 0%, #0d9488 30%, #059669 60%, #047857 100%);
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(240,253,250,0.8) 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f5f9;
}

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

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

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(1deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(13, 148, 136, 0.3); }
    50% { box-shadow: 0 0 20px rgba(13, 148, 136, 0.6), 0 0 40px rgba(13, 148, 136, 0.2); }
}

@keyframes gradient-x {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

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

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes progress-fill {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(4); opacity: 0; }
}

/* ===== Utility Classes ===== */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 5s ease infinite;
}
.animate-fade-in-up { animation: fade-in-up 0.6s ease forwards; }
.animate-fade-in-down { animation: fade-in-down 0.6s ease forwards; }
.animate-scale-in { animation: scale-in 0.4s ease forwards; }
.animate-slide-in-right { animation: slide-in-right 0.6s ease forwards; }
.animate-slide-in-left { animation: slide-in-left 0.6s ease forwards; }
.animate-bounce-in { animation: bounce-in 0.6s ease forwards; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }

/* ===== Grid Background ===== */
.grid-bg {
    position: relative;
}

.grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* ===== Glass Effect ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--glass-shadow);
}

/* ===== Text Gradient ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Section Styles ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(6, 95, 70, 0.3) 0%, transparent 50%);
    animation: blob 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-section .blob-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -200px;
    right: -200px;
    animation: blob 20s ease-in-out infinite;
}

.hero-section .blob-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    bottom: -100px;
    left: -100px;
    animation: blob 18s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-card {
    animation: float 6s ease-in-out infinite;
}

/* ===== Hero Header ===== */
.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 1.1rem 0;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.menu-toggle:active {
    transform: translateY(0);
}

/* ===== Fullscreen Menu ===== */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 2rem 2.5rem;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(6, 95, 70, 0.5) 0%, transparent 55%),
        var(--gradient-hero);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.fullscreen-menu.open {
    opacity: 1;
    visibility: visible;
}

.fullscreen-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.menu-close-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.menu-close-btn:hover {
    background: white;
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.fullscreen-menu-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    flex: 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.fullscreen-menu-link {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.85rem 1.3rem;
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.35rem;
    font-weight: 700;
    transition: background var(--transition-normal), color var(--transition-fast), transform var(--transition-fast);
    opacity: 0;
    transform: translateY(18px);
}

.fullscreen-menu.open .fullscreen-menu-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease var(--d, 0s), transform 0.4s ease var(--d, 0s), background var(--transition-normal);
}

.fullscreen-menu-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.fs-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.fullscreen-menu-link:hover .fs-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.fullscreen-menu-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.menu-lang-btn:hover {
    background: white;
    color: var(--primary-dark);
}

.menu-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    transition: color var(--transition-fast);
}

.menu-phone:hover {
    color: white;
}

/* ===== Cards ===== */
.entity-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.entity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

.entity-card:hover::before {
    transform: scaleX(1);
}

.entity-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: transform var(--transition-normal);
}

.entity-card:hover .entity-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== Feature Cards ===== */
.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* ===== Contact Cards ===== */
.contact-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card .contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

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

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: white;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

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

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-body {
    padding: 2rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* ===== Service Item in Modal ===== */
.service-item {
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
    background: var(--bg-secondary);
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

.service-item:last-child {
    margin-bottom: 0;
}

/* ===== Stats Row ===== */
.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-item-dark .stat-number {
    color: var(--primary-color);
}

.stat-item-dark .stat-label {
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer a {
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--primary-light);
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    transition: all var(--transition-fast);
}

.footer-link:hover {
    transform: translateX(4px);
}

[dir="ltr"] .footer-link:hover {
    transform: translateX(-4px);
}

/* ===== Progress Steps ===== */
.progress-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.progress-step .step-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.progress-step.active .step-number {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    border-color: white;
}

.progress-step.completed .step-number {
    background: rgba(16, 185, 129, 0.8);
    border-color: rgba(16, 185, 129, 0.9);
    color: white;
}

.progress-connector {
    width: 2px;
    height: 20px;
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.15);
}

.progress-connector.active {
    background: rgba(16, 185, 129, 0.6);
}

/* ===== Success Message ===== */
.success-message {
    display: none;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #a7f3d0;
    color: #065f46;
    text-align: center;
    animation: bounce-in 0.5s ease;
}

.success-message.show {
    display: block;
}

/* ===== Loading Spinner ===== */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-slow 0.8s linear infinite;
}

/* ===== Skeleton Loading ===== */
.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: gradient-x 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ===== Gallery Featured Carousel ===== */
@keyframes gcProgress {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes kenburns {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.09) translate(1.5%, -1.5%); }
}

.gallery-carousel {
    position: relative;
    height: 480px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #0f172a;
    box-shadow: var(--shadow-xl);
    transform: translateZ(0);
}

.gc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    cursor: pointer;
}

.gc-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.gc-slide img,
.gc-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gc-slide.active img,
.gc-slide.active video {
    animation: kenburns 7s ease-out forwards;
}

.gc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 25, 0.85) 0%, rgba(10, 15, 25, 0.25) 38%, transparent 60%);
    pointer-events: none;
}

.gc-caption {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    padding: 2rem 2.25rem 2.5rem;
    color: white;
    transform: translateY(18px);
    opacity: 0;
    transition: transform 0.7s ease 0.25s, opacity 0.7s ease 0.25s;
    pointer-events: none;
}

.gc-slide.active .gc-caption {
    transform: translateY(0);
    opacity: 1;
}

.gc-caption h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.gc-caption p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    max-width: 640px;
}

.gc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.gc-badge svg,
.gc-badge i {
    width: 14px;
    height: 14px;
}

.gc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gc-arrow:hover {
    background: white;
    color: #0f172a;
    border-color: white;
}

.gc-arrow-prev {
    inset-inline-start: 1.25rem;
}

.gc-arrow-next {
    inset-inline-end: 1.25rem;
}

.gc-controls {
    position: absolute;
    bottom: 1.25rem;
    inset-inline-end: 2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gc-dots {
    display: flex;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gc-dot {
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.gc-dot:hover {
    background: rgba(255, 255, 255, 0.65);
}

.gc-dot.active {
    background: white;
    width: 26px;
}

.gc-counter {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    direction: ltr;
}

.gc-progress {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 4px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
}

.gc-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-light), white);
}

.gc-progress-bar.run {
    animation: gcProgress 6s linear forwards;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 1.85rem;
    }

    .hero-section {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .modal-content {
        max-height: 90vh;
        margin: 0.5rem;
    }

    .modal-header,
    .modal-body {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 7rem 0 3rem;
    }

    .hero-section .blob-1,
    .hero-section .blob-2 {
        display: none;
    }

    .fullscreen-menu {
        padding: 1rem 1.25rem 2rem;
    }

    .gallery-carousel {
        height: 320px;
        border-radius: var(--radius-lg);
    }

    .gc-caption {
        padding: 1.25rem 1.25rem 4.5rem;
    }

    .gc-caption h3 {
        font-size: 1.1rem;
    }

    .gc-arrow {
        width: 38px;
        height: 38px;
    }

    .gc-controls {
        inset-inline-end: 50%;
        transform: translateX(50%);
    }

    [dir="ltr"] .gc-controls {
        transform: translateX(-50%);
    }

    .fullscreen-menu-link {
        font-size: 1.15rem;
        padding: 0.75rem 1rem;
    }

    .menu-close-btn {
        width: 42px;
        height: 42px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .hero-header,
    .hero-section,
    .modal-overlay,
    .fullscreen-menu {
        display: none !important;
    }

    body {
        background: white;
    }

    .section-badge,
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        border: 1px solid #ccc;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Utility: Gradient borders ===== */
.gradient-border {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: var(--gradient-primary);
    z-index: -1;
}

/* ===== Tooltip ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 0.4rem 0.75rem;
    background: #1e293b;
    color: white;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    pointer-events: none;
    z-index: 100;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ===== Notification Toast ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-normal);
}

[dir="ltr"] .toast {
    right: auto;
    left: 2rem;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid #10b981;
}

[dir="ltr"] .toast-success {
    border-left: none;
    border-right: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

[dir="ltr"] .toast-error {
    border-left: none;
    border-right: 4px solid #ef4444;
}
