/* ===================================
   LUXURY GOLD & GRAY DESIGN
   Al-Nawayseh & Al-Dabbas Law Firm
   =================================== */

/* Google Fonts Import - English & Arabic */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Lora:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Libre+Baskerville:wght@400;700&family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;500;600;700;800;900&family=Amiri:wght@400;700&display=swap');

/* ===================================
   CSS Variables - Luxury Gold & Gray
   =================================== */
:root {
    /* Luxury Gold Palette */
    --gold-primary: #C9A961;
    --gold-dark: #B8860B;
    --gold-light: #D4AF37;
    --gold-pale: #F4E6C3;
    --gold-accent: #AA8C3A;

    /* Sophisticated Gray Palette */
    --gray-darkest: #1a1a1a;
    --gray-dark: #2C2C2C;
    --gray-medium: #4A4A4A;
    --gray-light: #7A7A7A;
    --gray-lighter: #ADADAD;
    --gray-pale: #E8E8E8;
    --gray-background: #F5F5F5;

    /* Supporting Colors */
    --white: #FFFFFF;
    --black: #000000;
    --cream: #FAF8F3;
    --shadow-gold: rgba(201, 169, 97, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.15);

    /* Status Colors */
    --success: #2D5C2F;
    --warning: #B8860B;
    --danger: #8B4513;

    /* Typography - Elegant Serif + Modern Sans */
    --font-heading: 'Playfair Display', 'Lora', serif;
    --font-secondary: 'Cormorant Garamond', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-elegant: 'Libre Baskerville', serif;

    /* Font Sizes */
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --line-height-base: 1.75;

    /* Spacing - Generous for luxury feel */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* Border Radius - Subtle elegance */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* Shadows - Refined depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-gold-glow: 0 4px 20px var(--shadow-gold);

    /* Transitions - Smooth and refined */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-md);
    line-height: var(--line-height-base);
    color: var(--gray-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Elegant Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-darkest);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 2.75rem; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.125rem; font-weight: 600; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-medium);
}

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

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

ul {
    list-style: none;
}

/* Elegant link decoration */
a:not(.btn):hover {
    color: var(--gold-primary);
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--gray-darkest);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-light);
    max-width: 700px;
    margin: var(--spacing-md) auto 0;
    font-weight: 400;
}

/* ===================================
   Header & Navigation - Luxury Style
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--gray-pale);
}

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

.navbar {
    padding: 1.25rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-family: var(--font-heading);
    color: var(--gray-darkest);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
}

.logo h2::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--gold-primary);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: all var(--transition-fast);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-primary);
}

/* Dropdown Menu - Luxury Style */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.75rem;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--gold-primary);
    padding: var(--spacing-sm) 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    border-radius: var(--radius-sm);
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem var(--spacing-md);
    color: var(--gray-dark);
    transition: all var(--transition-fast);
    text-transform: none;
    font-size: 0.95rem;
    letter-spacing: 0;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--gold-dark);
    padding-left: calc(var(--spacing-md) + 8px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--gray-darkest);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ===================================
   Hero Section - Premium Luxury Design
   =================================== */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #2c2c2c 50%, #1a1a1a 75%, #0f0f0f 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    margin-top: 76px;
    overflow: hidden;
}

/* Animated Gradient Background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Geometric Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(184, 134, 11, 0.08) 0%, transparent 60%);
    animation: floatShapes 20s ease-in-out infinite;
    pointer-events: none;
}

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

/* Animated Grid Pattern */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(201,169,97,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Premium Glass Morphism Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, rgba(201, 169, 97, 0.03) 0%, transparent 50%, rgba(212, 175, 55, 0.03) 100%),
        radial-gradient(ellipse at top, rgba(15, 15, 15, 0.4) 0%, rgba(26, 26, 26, 0.6) 100%);
    backdrop-filter: blur(2px);
}

/* Animated Light Beams */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        linear-gradient(45deg, transparent 30%, rgba(201, 169, 97, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(212, 175, 55, 0.03) 50%, transparent 70%);
    animation: lightBeams 12s linear infinite;
    pointer-events: none;
}

@keyframes lightBeams {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Particles */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(201, 169, 97, 0.4), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(201, 169, 97, 0.3), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(184, 134, 11, 0.4), transparent),
        radial-gradient(1px 1px at 90% 60%, rgba(201, 169, 97, 0.3), transparent),
        radial-gradient(2px 2px at 30% 80%, rgba(212, 175, 55, 0.3), transparent);
    background-size: 200% 200%;
    animation: floatParticles 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatParticles {
    0%, 100% { transform: translate(0, 0); background-position: 0% 0%; }
    25% { transform: translate(10px, -10px); background-position: 25% 25%; }
    50% { transform: translate(-5px, 15px); background-position: 50% 50%; }
    75% { transform: translate(15px, 5px); background-position: 75% 75%; }
}

/* Hero Content with Premium Animations */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: var(--spacing-lg);
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    text-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(201, 169, 97, 0.3),
        0 0 40px rgba(201, 169, 97, 0.2);
    line-height: 1.2;
    animation: textShine 3s ease-in-out infinite;
    background: linear-gradient(90deg, var(--white) 0%, var(--gold-pale) 50%, var(--white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes textShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero-content .gold-accent {
    color: transparent;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    display: block;
    font-size: 5rem;
    animation: goldShimmer 4s ease-in-out infinite, float 6s ease-in-out infinite;
    text-shadow:
        0 0 30px rgba(201, 169, 97, 0.6),
        0 0 60px rgba(201, 169, 97, 0.4),
        0 0 90px rgba(201, 169, 97, 0.2);
    filter: drop-shadow(0 5px 15px rgba(201, 169, 97, 0.4));
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% center; filter: brightness(1); }
    50% { background-position: 200% center; filter: brightness(1.3); }
}

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

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-pale);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

/* Enhanced Button with Premium Animation */
.hero-content .btn {
    animation: fadeInUp 1.8s ease-out 0.6s both, pulse 2s ease-in-out 2s infinite;
    position: relative;
    overflow: hidden;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(201, 169, 97, 0); }
}

.hero-content .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: buttonShine 3s linear infinite;
}

@keyframes buttonShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Premium Corner Accents */
.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(201, 169, 97, 0.3);
    z-index: -1;
    animation: cornerGlow 4s ease-in-out infinite;
}

.hero-content::before {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 10px;
}

.hero-content::after {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 10px;
}

@keyframes cornerGlow {
    0%, 100% {
        border-color: rgba(201, 169, 97, 0.3);
        box-shadow: 0 0 0 rgba(201, 169, 97, 0);
    }
    50% {
        border-color: rgba(201, 169, 97, 0.6);
        box-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
    }
}

/* ===================================
   Buttons - Luxury Style
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gold-primary);
    color: var(--white);
    border-color: var(--gold-primary);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

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

/* ===================================
   Practice Areas - Luxury Grid
   =================================== */
.practice-areas {
    background: var(--cream);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
}

.practice-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-top: 3px solid var(--gold-primary);
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--cream) 0%, var(--gold-pale) 100%);
    transition: width var(--transition-normal);
    z-index: 0;
}

.practice-card:hover::before {
    width: 100%;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--gold-dark);
}

.practice-card > * {
    position: relative;
    z-index: 1;
}

.practice-icon {
    color: var(--gold-primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-normal);
}

.practice-icon i {
    font-size: 60px;
}

.practice-card:hover .practice-icon {
    color: var(--gold-dark);
    transform: scale(1.1);
}

.practice-card h3 {
    font-size: 1.75rem;
    color: var(--gray-darkest);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.practice-card p {
    color: var(--gray-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.learn-more {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover {
    color: var(--gold-primary);
    gap: 12px;
}

/* ===================================
   Why Choose Us - Feature Cards
   =================================== */
.why-choose {
    background: var(--white);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: center;
}

.feature-card {
    flex: 0 1 300px;
    padding: var(--spacing-lg);
    background: var(--cream);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-primary);
    transition: all var(--transition-normal);
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 60px;
    height: 60px;
    background: var(--gold-pale);
    border-radius: 50%;
    opacity: 0.3;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--gold-dark);
}

.feature-card:hover::after {
    transform: scale(1.2);
    opacity: 0.5;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--gray-darkest);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.feature-card p {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* ===================================
   Credentials - Premium Display
   =================================== */
.credentials {
    background: var(--gray-darkest);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.credentials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.credentials .section-header h2 {
    color: var(--white);
}

.credentials .section-header h2::after {
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.credentials .section-header p {
    color: var(--gray-lighter);
}

.credentials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    text-align: center;
    position: relative;
    justify-content: center;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.credential-item {
    flex: 0 1 250px;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all var(--transition-normal);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.credential-item:hover {
    background: rgba(201, 169, 97, 0.1);
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.credential-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    transition: all var(--transition-normal);
}

.credential-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.credential-item:hover .credential-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.5);
}

.credential-item h4 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--gold-light);
    font-family: var(--font-heading);
    line-height: 1.4;
    font-weight: 600;
    white-space: nowrap;
}

.credential-item p {
    color: var(--gray-pale);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   History Timeline - Elegant Design
   =================================== */
.history {
    background: var(--cream);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold-primary), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    border-radius: 50%;
    border: 4px solid var(--cream);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--gold-pale);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 120px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    flex: 1;
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-md);
    margin: 0 var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-pale);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.timeline-content h3 {
    color: var(--gray-darkest);
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* ===================================
   Clients - Elegant Carousel
   =================================== */
.clients {
    background: var(--white);
}

.clients-carousel {
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.clients-track {
    display: flex;
    gap: var(--spacing-lg);
    animation: scroll 30s linear infinite;
}

.client-logo {
    flex: 0 0 220px;
    height: 120px;
    background: var(--cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray-medium);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-pale);
    font-family: var(--font-heading);
    transition: all var(--transition-fast);
}

.client-logo:hover {
    border-color: var(--gold-primary);
    color: var(--gold-dark);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 6 - var(--spacing-lg) * 6));
    }
}

/* ===================================
   Testimonials - Premium Slider
   =================================== */
.testimonials {
    background: var(--gray-darkest);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50px;
    font-size: 300px;
    font-family: var(--font-heading);
    color: rgba(201, 169, 97, 0.05);
    line-height: 1;
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials .section-header p {
    color: var(--gray-lighter);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 300px;
}

.testimonial-item {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.testimonial-item.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.testimonial-content p {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--gray-pale);
    margin-bottom: var(--spacing-lg);
    line-height: 1.9;
    font-family: var(--font-secondary);
    font-weight: 400;
}

.testimonial-author {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.testimonial-author h4 {
    color: var(--gold-light);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.testimonial-author span {
    color: var(--gray-lighter);
    font-size: 0.95rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.testimonial-prev,
.testimonial-next {
    background: var(--gold-primary);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--gold-dark);
    transform: scale(1.1);
}

/* ===================================
   News - Elegant Cards
   =================================== */
.news {
    background: var(--cream);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    justify-content: center;
}

.news-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-bottom: 3px solid var(--gold-primary);
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--gold-dark);
}

.news-card h3 {
    color: var(--gray-darkest);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.news-card p {
    color: var(--gray-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.news-date {
    display: inline-block;
    background: var(--gold-primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
}

/* ===================================
   Footer - Premium Design
   =================================== */
.footer {
    background: var(--gray-darkest);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: var(--spacing-md);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.footer-col p {
    color: var(--gray-lighter);
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col ul li a {
    color: var(--gray-lighter);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 8px;
}

.contact-info li {
    color: var(--gray-lighter);
    line-height: 2;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-lighter);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.disclaimer {
    font-size: 0.875rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray-light);
    line-height: 1.8;
}

/* ===================================
   WhatsApp Button - Premium Style
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-xxl: 5rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .hero {
        min-height: 550px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .gold-accent {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    /* Optimize animations for tablets */
    @keyframes floatShapes {
        0%, 100% { transform: translate(0, 0) scale(1); }
        50% { transform: translate(15px, -15px) scale(1.05); }
    }

    @keyframes floatParticles {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(5px, -5px); }
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
        padding-left: 70px;
    }

    .timeline-item::before {
        left: 30px;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        flex: 0 0 60px;
        font-size: 1.25rem;
    }

    .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-md);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

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

    .nav-menu a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--spacing-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
        border: none;
    }

    .dropdown.active .dropdown-menu {
        max-height: 600px;
    }

    .hero {
        min-height: 500px;
        margin-top: 76px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .gold-accent {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Reduce animation intensity on mobile for performance */
    .hero {
        animation: gradientShift 20s ease infinite;
    }

    .hero::before {
        animation: floatShapes 30s ease-in-out infinite;
    }

    .hero-overlay::before {
        animation: lightBeams 20s linear infinite;
    }

    .hero-overlay::after {
        animation: floatParticles 35s ease-in-out infinite;
    }

    .practice-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .credential-item {
        flex: 1 1 100%;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content .gold-accent {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}

/* ===================================
   Language Switcher - Luxury Design
   =================================== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
    transition: all var(--transition-normal);
    margin-left: var(--spacing-sm);
}

.lang-switcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.5);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.lang-btn.active {
    background: var(--white);
    color: var(--gold-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

.lang-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
}

/* Arabic Language Support */
html[lang="ar"] {
    direction: rtl;
}

html[lang="ar"] *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class*="fa-"]) {
    font-family: 'Cairo', sans-serif !important;
}

html[lang="ar"] body {
    font-weight: 400;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
    font-weight: 700;
}

html[lang="ar"] strong,
html[lang="ar"] b {
    font-weight: 700;
}

html[lang="ar"] .btn,
html[lang="ar"] button {
    font-weight: 600;
}

html[lang="ar"] p {
    font-weight: 400;
}

html[lang="ar"] .nav-menu a {
    font-weight: 600;
}

html[lang="ar"] .hero h1,
html[lang="ar"] .hero h1 span {
    font-weight: 800;
}

html[lang="ar"] .section-header h2 {
    font-weight: 700;
}

html[lang="ar"] .practice-card h3,
html[lang="ar"] .feature-card h3 {
    font-weight: 700;
}

html[lang="ar"] .lang-btn {
    font-weight: 600;
}

/* RTL Adjustments */
html[lang="ar"] .logo h2::before {
    left: auto;
    right: -15px;
}

html[lang="ar"] .feature-card,
html[lang="ar"] .practice-card {
    border-left: none;
    border-right: 4px solid var(--gold-primary);
}

html[lang="ar"] .feature-card:hover {
    transform: translateX(-8px);
}

html[lang="ar"] .timeline-content {
    margin: 0 var(--spacing-md);
}

html[lang="ar"] .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 8px;
}

html[lang="ar"] .dropdown-menu a:hover {
    padding-left: var(--spacing-md);
    padding-right: calc(var(--spacing-md) + 8px);
}

html[lang="ar"] .lang-switcher {
    margin-left: 0;
    margin-right: var(--spacing-sm);
}

html[lang="ar"] .partners-slider-track,
html[lang="ar"] .clients-track {
    animation-direction: reverse;
}

/* Mobile RTL Adjustments */
@media (max-width: 768px) {
    html[lang="ar"] .timeline-item,
    html[lang="ar"] .timeline-item:nth-child(even) {
        padding-left: 0;
        padding-right: 70px;
    }

    html[lang="ar"] .timeline-item::before {
        left: auto;
        right: 30px;
    }

    html[lang="ar"] .timeline::before {
        left: auto;
        right: 30px;
    }

    html[lang="ar"] .timeline-year {
        left: auto;
        right: 0;
    }

    .lang-switcher {
        margin-left: 0;
        margin-right: 0;
        margin-top: var(--spacing-sm);
    }
}