/* ====================================
   Dr. Fares Ali - Premium Website Styles
   Modern Professional Elegant Theme
   ==================================== */

/* CSS Variables */
:root {
    /* Light Elegant Theme - Modern Professional */
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-light: #f1f5f9;

    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-white: #ffffff;

    /* Primary Colors - Slate/Navy based */
    --primary-navy: #0f172a;
    --primary-slate: #334155;
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;

    /* Keep subtle warm accent for special elements */
    --accent-warm: #64748b;

    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    --bg-gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
    --bg-gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 10px 20px -10px rgba(15, 23, 42, 0.5);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-glass: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -2px rgba(0, 0, 0, 0.01);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(100, 116, 139, 0.03) 0px, transparent 50%);
    overflow-x: hidden;
}

/* Animated Background Blobs */
.animated-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(80px);
    opacity: 0.6;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.08);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: rgba(100, 116, 139, 0.06);
    top: 40%;
    right: 15%;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.05);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes blob-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

/* 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, 4rem);
}

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

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

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

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    color: #0f172a;
    border: 1px solid rgba(203, 213, 225, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #94a3b8;
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--text-white);
}

/* Section Spacing */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(232, 197, 71, 0.1) 100%);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* ====================================
   NAVIGATION
   ==================================== */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    /* Responsive width */
    max-width: 1200px;
    z-index: 1000;
    padding: 12px 32px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    padding: 12px 32px;
    top: 12px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.navbar-brand {
    background: none;
    padding: 0;
    display: flex;
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0 auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active,
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--text-primary);
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

/* Modern Underline Hover Effect */
.nav-link {
    position: relative;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle::after {
    content: '';
    border: none;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 20px 40px -5px rgba(15, 23, 42, 0.1),
        0 10px 15px -3px rgba(15, 23, 42, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 16px;
    margin-bottom: 4px;
}

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

.dropdown-item:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    color: var(--primary-navy);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.dropdown-item i {
    font-size: 1.25rem;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    background: var(--primary-navy);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

.navbar.scrolled .menu-toggle span {
    background: var(--text-dark);
}

/* Boxed Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.lang-btn {
    border: none;
    background: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--primary-navy);
}

.navbar.scrolled .lang-btn {
    color: var(--text-secondary);
}

.lang-btn.active {
    background: #ffffff;
    color: var(--primary-navy);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lang-divider {
    display: none;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    background: #0a1628;
    padding: 0;
    padding-bottom: 8vh;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.5);
}

/* Background Animated Shapes */
.animated-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.15);
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(201, 162, 39, 0.1);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.1);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

@keyframes blob-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    backdrop-filter: blur(4px);
    margin-bottom: 30px;
}

.hero-badge span {
    color: var(--accent-blue-light);
}

.hero h1 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-slate) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

/* Remove old Hero Image CSS as structure changed */
.hero-image {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content {
        padding: 40px;
        margin-right: 0;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        top: 10px;
        padding: 10px 20px;
    }

    .navbar .container {
        padding: 0;
    }

    .nav-menu {
        display: none;
    }

    .lang-toggle {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        background: var(--text-primary);
    }

    /* Mobile Menu Active State */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-surface);
        padding-top: 100px;
        z-index: 999;
        margin: 0;
    }

    .nav-menu.active .nav-link {
        color: var(--text-primary);
        font-size: 1.2rem;
    }

    .hero {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-slide {
        object-position: center 30%;
    }

    .hero-content {
        padding: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 12px;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ====================================
   FEATURES SECTION
   ==================================== */
.features {
    background: var(--bg-light);
}

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

/* Glass Card Utility */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.9);
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon,
.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto 24px;

    /* 3D Effect */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.feature-card:hover .feature-icon,
.stat-item:hover .stat-icon {
    transform: translateY(-4px) rotateX(10deg);
    box-shadow:
        0 12px 20px -4px rgba(0, 0, 0, 0.15),
        0 4px 8px -2px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* Different icon colors */
.feature-card:nth-child(1) .feature-icon {
    color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.feature-card:nth-child(2) .feature-icon {
    color: #0ea5e9;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.feature-card:nth-child(3) .feature-icon {
    color: #10b981;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.feature-card:nth-child(4) .feature-icon {
    color: #8b5cf6;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
}

.feature-card h4 {
    margin-bottom: 12px;
}

.feature-card p {
    margin: 0;
}

/* ====================================
   ABOUT SECTION
   ==================================== */
.about {
    background: var(--text-white);
}

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

.about-image {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2364748b' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.6;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    border-radius: 30px;
    z-index: 0;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: #ffffff;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
    animation: float-badge 6s ease-in-out infinite;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

@keyframes float-badge {

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

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

.exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 4px;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.about-content .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.about-content h2 {
    margin-bottom: 24px;
    font-size: 2.5rem;
    line-height: 1.2;
}

.about-content>p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-top: 2px;
    background: rgba(59, 130, 246, 0.1);
    padding: 10px;
    border-radius: 12px;
}

.highlight-item h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--primary-navy);
}

.highlight-item p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .experience-badge {
        bottom: 20px;
        left: 20px;
        padding: 16px 24px;
    }

    .exp-number {
        font-size: 2rem;
    }

    .about-image {
        padding: 0 0 40px 0;
    }
}

/* ====================================
   SERVICES SECTION
   ==================================== */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.9);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-content {
    padding: 30px;
}

.service-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.15) 100%);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.service-content h4 {
    margin-bottom: 12px;
}

.service-content p {
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-navy);
}

.service-link:hover {
    color: var(--accent-blue);
    gap: 12px;
}

/* ====================================
   STATS SECTION
   ==================================== */
.stats {
    background: var(--bg-gradient-dark);
    padding: 80px 0;
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ====================================
   TESTIMONIALS SECTION
   ==================================== */
.testimonials {
    background: var(--text-white);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-item {
    text-align: center;
    padding: 40px;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 4px solid var(--primary-navy);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta {
    background: var(--bg-gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://CvWebs.b-cdn.net/Dr_Fares_Ali/hero/Hero2.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--text-white);
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: var(--primary-navy);
    padding: 80px 0 30px;
}

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

.footer-brand img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

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

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

.footer-social a:hover {
    background: var(--accent-blue);
    color: var(--text-white);
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ====================================
   PAGE HEADERS
   ==================================== */
.page-header {
    background: var(--bg-gradient-dark);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../Imgs/Hero1.jpg') top center/cover no-repeat;
    opacity: 0.15;
}

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

.page-header h1 {
    color: var(--text-white);
    margin-bottom: 16px;
}

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

/* ====================================
   CONTACT PAGE
   ==================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 24px;
}

.contact-info>p {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    background: #ffffff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

.contact-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--accent-blue);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-item:hover .contact-item-icon {
    background: var(--primary-navy);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 700;
    color: var(--primary-navy);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.contact-form {
    background: var(--text-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

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

.contact-form .btn {
    width: 100%;
}

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

.text-accent {
    color: var(--accent-blue);
}

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

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

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 1024px) {
    .hero-image {
        width: 45%;
    }

    .about-grid {
        gap: 50px;
    }

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

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--text-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 0;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-item {
        width: 100%;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
        padding: 16px 0;
        display: block;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Hero already handled above */

    .hero-floating-card {
        display: none;
    }

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

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

    .about-image {
        order: -1;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        flex: 1;
        min-width: 120px;
    }

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

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

    .contact-form {
        padding: 24px;
    }
}

/* ====================================
   ANIMATIONS
   ==================================== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Slider Controls */
.testimonials-slider {
    position: relative;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--text-white);
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-prev {
    left: -80px;
}

.slider-next {
    right: -80px;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--text-white);
}

.slider-prev i,
.slider-next i {
    font-size: 1.25rem;
}

/* Form Success */
.form-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    animation: slideIn 0.3s ease;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Mobile slider controls */
@media (max-width: 1100px) {
    .slider-prev {
        left: 0;
    }

    .slider-next {
        right: 0;
    }
}

@media (max-width: 768px) {

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   HERO OPTIONS DEMO styles
   =================================== */

/* Option 1: Modern Centered */
.hero-opt-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay-1 {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, transparent 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-opt-1 .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-opt-1 h1 {
    font-size: 5rem;
    color: #fff;
    margin: 20px 0;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-opt-1 p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-opt-1 .hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.btn-glass:hover {
    background: #fff;
    color: var(--primary-navy);
}

/* Option 2: Split Diagonal */
.hero-opt-2 {
    display: flex;
    background: var(--primary-navy);
}

.split-left {
    width: 60%;
    background: var(--primary-navy);
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.split-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.hero-opt-2 .hero-content h1 {
    font-size: 4.5rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-opt-2 .hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

/* Option 3: Floating Glass Card */
.hero-opt-3 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;
}

.hero-overlay-3 {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.glass-container {
    position: relative;
    z-index: 2;
    width: 450px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.glass-card h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.glass-card p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.glass-card hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

.stats-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stats-row span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.btn-primary-full {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent-blue);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary-full:hover {
    background: #fff;
    color: var(--accent-blue);
}

/* Option 4: Cinematic Bottom */
.hero-opt-4 {
    align-items: flex-end;
    padding-bottom: 80px;
    padding-left: 80px;
}

.gradient-overlay-4 {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, transparent 60%);
}

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

.hero-content-4 .subtitle {
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.hero-content-4 h1 {
    font-size: 6rem;
    color: #fff;
    margin: 0 0 30px 0;
    line-height: 1;
}

.minimal-buttons {
    display: flex;
    gap: 40px;
}

.btn-text {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-text:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    gap: 15px;
}

/* Option 5: Asymmetric Frame */
.hero-opt-5 {
    display: flex;
    align-items: center;
    background: #f8fafc;
    overflow: visible;
}

.frame-content {
    flex: 1;
    padding-left: 10%;
    z-index: 2;
}

.frame-content h1 {
    font-size: 5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.frame-content p {
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 40px;
}

.frame-image-wrapper {
    flex: 1;
    height: 85vh;
    margin-right: 5%;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.1);
}