/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Image Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    /* Primary Colors from Logo */
    --primary-gold: #D4AF37;
    --primary-teal: #508387;
    --primary-light-blue: #87CEEB;
    --primary-dark-blue: #1E3A8A;
    
    /* Color Variations */
    --primary-color: var(--primary-teal);
    --secondary-color: var(--primary-gold);
    --accent-color: var(--primary-light-blue);
    --text-dark: #1E3A8A;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    
    /* Gradients based on Logo Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-dark-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-gold) 0%, #B8860B 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-light-blue) 0%, var(--primary-teal) 100%);
    --gradient-gold: linear-gradient(135deg, var(--primary-gold) 0%, #FFD700 100%);
    
    /* Shadows */
    --shadow-light: 0 4px 6px -1px rgba(30, 58, 138, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(30, 58, 138, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(30, 58, 138, 0.25);
}

body {
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography Styles */
h1, .h1 {
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

h2, .h2 {
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

h3, .h3 {
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

h4, .h4 {
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

h5, .h5 {
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

h6, .h6 {
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

p, .p {
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Navbar when scrolled */
.navbar.scrolled {
    background: #4c91ad !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Update text colors when navbar is scrolled */
.navbar.scrolled .nav-link {
    color: white !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-gold) !important;
    background: rgba(212, 175, 55, 0.2);
}

.navbar.scrolled .logo-text {
    color: white !important;
}

.navbar.scrolled .book-appointment-btn {
    color: white !important;
}

.navbar.scrolled .book-appointment-btn:hover {
    color: var(--primary-gold) !important;
}

.navbar.scrolled .nav-toggle span {
    background: white !important;
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden !important;
}

/* Keep navbar normal when menu is open */
.navbar.menu-open {
    background: transparent !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-container .nav-menu {
    margin-right: 2rem;
    margin-left: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--primary-gold);
}

/* Admin Logo Styles */
.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.sidebar-header .logo:hover {
    transform: scale(1.05);
    color: var(--primary-gold);
}

.logo-text {
    display: none;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    overflow: visible;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* Book Appointment Button */
.book-appointment-btn {
    display: none;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 8px;
}

.book-appointment-btn:hover {
    color: var(--primary-gold);
}

.book-appointment-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.book-appointment-btn:hover i {
    transform: scale(1.1);
}

/* New Hero Section */
.hero-new {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(80, 131, 135, 0.6) 0%, rgba(30, 58, 138, 0.6) 50%, rgba(212, 175, 55, 0.6) 100%);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 3;
    position: relative;
}

.hero-text-section {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-welcome {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-center-name {
    display: block;
    background: linear-gradient(135deg, var(--primary-gold), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
}

.hero-description-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-action-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}



.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}



.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(80, 131, 135, 0.3) 0%, rgba(30, 58, 138, 0.3) 50%, rgba(212, 175, 55, 0.3) 100%);
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.element-1 {
    width: 100px;
    height: 70px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(255, 215, 0, 0.2) 100%);
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 55%;
    right: 12%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(80, 131, 135, 0.3) 0%, rgba(135, 206, 235, 0.2) 100%);
}

.element-3 {
    width: 50px;
    height: 50px;
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(80, 131, 135, 0.2) 100%);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1); 
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 3;
    position: relative;
    text-align: right;
    justify-items: start;
}

.hero-text {
    color: white;
    text-align: right;
    margin-left: 0;
    margin-right: 2rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    opacity: 0.9;
}

.title-highlight {
    display: block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-right: 2rem;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    border-color: #3b82f6;
}

.btn span {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn i {
    font-size: 0.9rem;
}

.btn-secondary {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
    border-color: #60a5fa;
}

/* Call Now Button - Style like case-type */
#call-now-btn {
    background: rgba(59, 130, 246, 0.1) !important;
    color: white !important;
    border: 2px solid rgba(59, 130, 246, 0.2) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    min-width: auto !important;
}

#call-now-btn:hover {
    background: rgba(59, 130, 246, 0.2) !important;
    color: white !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2) !important;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* Hide mobile action buttons on large screens */
.mobile-action-buttons {
    display: none !important;
}


@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 1rem;
    }

    .hero-new {
        min-height: 100vh;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        align-items: flex-start; /* ØªØºÙŠÙŠØ± Ù…Ù† center Ø¥Ù„Ù‰ flex-start */
        padding-top: 100px; /* Ø²ÙŠØ§Ø¯Ø© Ø§Ù„Ù…Ø³Ø§ÙØ© Ù…Ù† Ø§Ù„Ø£Ø¹Ù„Ù‰ */
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* ØªØºÙŠÙŠØ± Ù…Ù† center Ø¥Ù„Ù‰ flex-start */
        padding-bottom: 2rem;
    }

    .hero-text-section {
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* ØªØ±ØªÙŠØ¨ Ù…Ù† Ø§Ù„Ø£Ø¹Ù„Ù‰ */
        align-items: center;
        padding: 1rem;
        gap: 1.5rem; /* Ø²ÙŠØ§Ø¯Ø© Ø§Ù„Ù…Ø³Ø§ÙØ© Ø¨ÙŠÙ† Ø§Ù„Ø¹Ù†Ø§ØµØ± */
        width: 100%;
        text-align: center;
    }

    .hero-main-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        order: 1; /* "Ù…Ø±Ø­Ø¨Ø§Ù‹ Ø¨ÙƒÙ… ÙÙŠ" ÙÙŠ Ø§Ù„Ø£Ø¹Ù„Ù‰ */
    }

    .hero-welcome {
        font-size: 1.8rem;
        display: block;
        color: white;
        margin-bottom: 0.3rem;
    }

    .hero-center-name {
        font-size: 2.2rem;
        margin-bottom: 0;
        margin-top: 1rem; /* إضافة مسافة علوية */
        line-height: 1.2;
        order: 2; /* "Ù…Ø±ÙƒØ² Ù…Ø§Ø³ Ù„Ø·Ø¨ Ø§Ù„Ø£Ø³Ù†Ø§Ù†" ØªØ­ØªÙ‡Ø§ Ù…Ø¨Ø§Ø´Ø±Ø© */
    }

    .hero-description-text {
        font-size: 1rem;
        margin-bottom: 0;
        margin-top: 1rem; /* إضافة مسافة علوية */
        line-height: 1.6;
        max-width: 90%;
        order: 3; /* Ø§Ù„Ù†Øµ Ø§Ù„ÙˆØµÙÙŠ ØªØ­ØªÙ‡Ø§ */
        padding: 0 1rem;
    }

    .hero-action-buttons {
        justify-content: center;
        margin-top: 1rem; /* إضافة مسافة علوية */
        margin-bottom: 0;
        gap: 1rem;
        order: 4; /* Ø²Ø± "Ø§ØªØµÙ„ Ø§Ù„Ø¢Ù†" */
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    /* Ø¥Ø®ÙØ§Ø¡ Ø²Ø± "Ø§Ø­Ø¬Ø² Ù…ÙˆØ¹Ø¯Ùƒ" ÙÙŠ Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ */
    .hero-action-buttons .btn-primary {
        display: flex !important;
    }

    /* ØªÙ†Ø³ÙŠÙ‚ Ø²Ø± "Ø§ØªØµÙ„ Ø§Ù„Ø¢Ù†" */
    .hero-action-buttons .btn-secondary {
        display: none !important;
    }

    /* Mobile Action Buttons - Ø§Ù„Ø£Ø²Ø±Ø§Ø± Ø§Ù„Ø«Ù„Ø§Ø«Ø© */
    .mobile-action-buttons {
        display: flex !important; /* Ø¥Ø¸Ù‡Ø§Ø± Ø§Ù„Ø£Ø²Ø±Ø§Ø± ÙÙŠ Ø§Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ */
        flex-direction: row;
        gap: 2rem; /* Ø²ÙŠØ§Ø¯Ø© Ø§Ù„Ù…Ø³Ø§ÙØ© Ø¨ÙŠÙ† Ø§Ù„Ø£Ø²Ø±Ø§Ø± */
        align-items: center;
        justify-content: center;
        margin-top: 6rem; /* زيادة المسافة العلوية أكثر */
        padding-top: 2rem; /* حشو علوي إضافي أكثر */
        order: 5; /* Ø§Ù„Ø£Ø²Ø±Ø§Ø± Ø§Ù„Ø«Ù„Ø§Ø«Ø© ÙÙŠ Ø§Ù„Ù†Ù‡Ø§ÙŠØ© */
        width: 100%;
    }

    .mobile-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 55px; /* ØªÙƒØ¨ÙŠØ± Ø§Ù„Ø£Ø²Ø±Ø§Ø± */
        height: 55px; /* ØªÙƒØ¨ÙŠØ± Ø§Ù„Ø£Ø²Ø±Ø§Ø± */
        text-decoration: none;
        transition: all 0.3s ease;
        background: transparent; /* إزالة الخلفية */
        border: none; /* إزالة الحدود */
        border-radius: 50%;
        backdrop-filter: none; /* إزالة التأثير الضبابي */
    }

    .mobile-action-btn:hover {
        transform: scale(1.1);
        background: transparent; /* إزالة الخلفية في الـ hover */
        border: none; /* إزالة الحدود في الـ hover */
    }

    .mobile-action-btn .btn-icon {
        width: 35px; /* ØªÙƒØ¨ÙŠØ± Ø§Ù„Ø£ÙŠÙ‚ÙˆÙ†Ø§Øª */
        height: 35px; /* ØªÙƒØ¨ÙŠØ± Ø§Ù„Ø£ÙŠÙ‚ÙˆÙ†Ø§Øª */
        filter: brightness(0) saturate(100%) invert(100%);
        transition: all 0.3s ease;
    }

    .mobile-action-btn:hover .btn-icon {
        filter: brightness(0) saturate(100%) invert(70%) sepia(100%) saturate(1000%) hue-rotate(45deg) brightness(1.2);
    }

    .hero-image {
        object-position: 30% center;
    }
}
.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Add spacing to about section header */
.about .section-header {
    margin-top: 0;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 40px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
    align-items: start;
    margin-top: 2rem;
}

.text-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(80, 131, 135, 0.1);
}

.text-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-block h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.text-block p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(80, 131, 135, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1.2rem;
}

.feature-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.visual-card {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.card-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    text-align: center;
    padding: 2rem;
}

.card-image h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem 0;
    color: white;
}

.card-image p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    color: white;
    line-height: 1.6;
}

.who-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    bottom: 0;
    opacity: 0.6;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.card-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Doctors Section */
.doctors {
    padding: 100px 0;
    position: relative;
}

/* Doctors Carousel Navigation */
.doctors-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.doctors-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.doctors-nav.prev {
    left: -25px;
}

.doctors-nav.next {
    right: -25px;
}

.doctors-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.doctors-nav:disabled:hover {
    transform: translateY(-50%);
    background: var(--primary-color);
}

/* Swiper Navigation Buttons for Doctors */
.doctors-swiper .swiper-button-prev,
.doctors-swiper .swiper-button-next {
    background: var(--primary-color) !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    margin-top: -25px !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    border: 2px solid white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.doctors-swiper .swiper-button-prev:hover,
.doctors-swiper .swiper-button-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.doctors-swiper .swiper-button-prev:after,
.doctors-swiper .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
}

/* زر السابق (يمين) */
.doctors-swiper .swiper-button-prev {
    right: 10px !important;
    left: auto !important;
}

/* زر التالي (شمال) */
.doctors-swiper .swiper-button-next {
    left: 10px !important;
    right: auto !important;
}

/* إجبار ظهور الأزرار */
.doctors-swiper .swiper-button-prev.swiper-button-disabled,
.doctors-swiper .swiper-button-next.swiper-button-disabled {
    opacity: 0.5 !important;
    pointer-events: auto !important;
}

.doctors-swiper .swiper-button-prev:not(.swiper-button-disabled),
.doctors-swiper .swiper-button-next:not(.swiper-button-disabled) {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* إخفاء الأزرار الافتراضية لـ Swiper */
.doctors-swiper .swiper-button-prev:after,
.doctors-swiper .swiper-button-next:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.doctors-swiper .swiper-button-prev:after {
    content: '\f053'; /* fa-chevron-left */
}

.doctors-swiper .swiper-button-next:after {
    content: '\f054'; /* fa-chevron-right */
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.doctor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    max-width: 100%;
    width: 100%;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.doctor-image {
    width: 100%;
    height: 280px;
    position: relative;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: 100%;
    max-height: 100%;
    border: none;
    outline: none;
    border-radius: 16px 16px 0 0;
    transition: transform 0.3s ease;
}

/* Ensure doctor images don't exceed container */
.doctor-card .doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-card .doctor-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 16px 16px 0 0;
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.image-overlay {
    display: none !important;
}

.doctor-card:hover .image-overlay {
    display: none !important;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--gradient-gold);
    transform: translateY(-3px);
}

.image-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    backdrop-filter: blur(10px);
}

.doctor-info {
    padding: 2rem;
    text-align: center;
}

.doctor-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Experience styles removed */

/* Doctor rating styles removed */

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: var(--white);
    min-height: 80vh;
}

.reviews-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.reviews-scroll {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: verticalScroll 170s linear infinite;
    padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-scroll {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .reviews-container {
        height: 350px;
    }
    
    .review-card {
        padding: 1rem;
        min-height: 100px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .review-name {
        font-size: 1rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
}

/* Vertical Auto Scrolling Animation */
@keyframes verticalScroll {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Pause animation on hover */
.reviews-container:hover .reviews-scroll {
    animation-play-state: paused;
}

/* Review Cards */
.review-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-gold);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.review-info {
    flex: 1;
}

.review-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.review-stars {
    display: flex;
    gap: 0.2rem;
}

.review-stars .star {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.review-stars .star.empty {
    color: #e2e8f0;
}

.review-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex: 1;
}

.review-date {
    color: var(--text-light);
    font-size: 0.85rem;
    text-align: left;
    opacity: 0.8;
}

/* Loading and Error States */
.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    gap: 1rem;
    color: var(--text-light);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1rem;
    font-weight: 500;
}

.reviews-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    gap: 1rem;
    color: var(--text-light);
    text-align: center;
}

.error-icon {
    font-size: 3rem;
    color: #ef4444;
}

.error-text {
    font-size: 1rem;
    font-weight: 500;
}

.reviews-content {
    display: grid;
    grid-template-columns: 2fr auto 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Reviews Text (Right side in RTL) */
.reviews-list {
    text-align: right;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.reviews-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
    text-align: right;
    width: 150%;
}

.reviews-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 400px;
    margin: 0;
    text-align: right;
    width: 150%;
}

/* Center Image */
.reviews-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    flex-shrink: 0;
}

.center-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Reviews List (Left side in RTL) */
.reviews-text {
    text-align: right;
    direction: rtl;
}

/* Desktop: Reviews to the left */
@media (min-width: 769px) {
    .reviews-text {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .reviews-container {
        margin-left: 0;
        margin-right: auto;
    }
}

.reviews-summary {
    margin-bottom: 2rem;
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
}

.total-reviews {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
}

.rating-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

.stars {
    display: flex;
    gap: 0.2rem;
    flex-direction: row-reverse;
}

.stars i {
    color: var(--primary-gold);
    font-size: 1.5rem;
}

/* Individual Review */
.review-item {
    background: transparent;
    padding: 1.5rem 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1.5rem;
    border: none;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.review-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.review-item:nth-child(1).animate { transition-delay: 0.1s; }
.review-item:nth-child(2).animate { transition-delay: 0.2s; }
.review-item:nth-child(3).animate { transition-delay: 0.3s; }
.review-item:nth-child(4).animate { transition-delay: 0.4s; }

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-direction: row-reverse;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.review-stars {
    display: flex;
    gap: 0.1rem;
    flex-direction: row-reverse;
}

.review-stars i {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.read-more:hover {
    color: var(--primary-gold);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.service-card {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.service-card:hover .overlay {
    background: rgba(0,0,0,0.6);
}

.overlay h3 {
    color: #fff;
    font-size: 22px;
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.service-card:hover .overlay h3 {
    transform: scale(1.1);
    opacity: 0.9;
}

/* شاشات متوسطة كبيرة */
@media (max-width: 1024px) {
    .services-grid {
        gap: 20px;
        padding: 30px 15px;
    }
    
    .service-card {
        width: 45%;
        max-width: 350px;
        height: 220px;
    }
    
    .overlay h3 {
        font-size: 20px;
    }
}

/* شاشات صغيرة - الهواتف والتابلت */
@media (max-width: 768px) {
    .services-grid {
        gap: 15px;
        padding: 20px 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        width: 100%;
        max-width: 100%;
        height: 250px;
        margin: 0 10px;
    }
    
    .overlay h3 {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .before-after-slider {
        height: 220px;
        border-radius: 25px;
    }
    
    .before-image, .after-image {
        border-radius: 25px;
    }
    
    .before-image img, .after-image img {
        border-radius: 25px;
    }
}

/* شاشات صغيرة جداً - الهواتف الصغيرة */
@media (max-width: 480px) {
    .services-grid {
        gap: 10px;
        padding: 15px 5px;
    }
    
    .service-card {
        width: 100%;
        max-width: 100%;
        height: 200px;
        margin: 0 5px;
        border-radius: 8px;
    }
    
    .overlay h3 {
        font-size: 16px;
        padding: 0 15px;
        line-height: 1.3;
    }
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.service-features span {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Cases Section */
.cases {
    padding: 100px 0;
    background: var(--bg-light) !important;
}

.cases-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.case-item {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
}

.case-item:hover {
    transform: none;
    box-shadow: none;
}

.case-images {
    padding: 0;
    background: transparent;
}

/* Articles Section in Home Page */
.articles-more {
    text-align: center;
    margin-top: 3rem;
}

/* Cases Section in Home Page */
.cases-more {
    text-align: center;
    margin-top: 3rem;
}

.articles-more .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.articles-more .btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.articles-more .btn i {
    color: inherit;
    font-size: 1rem;
}

.cases-more .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cases-more .btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.cases-more .btn i {
    color: inherit;
    font-size: 1rem;
}

/* Articles Page Styles */
.articles-hero {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 70px;
}

/* Ensure navbar is fixed on articles pages */
body.articles-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #4c91ad !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* General rule for all pages except homepage - fixed navbar with solid background */
body:not(.home-page) .navbar {
    background: #4c91ad !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Force non-transparent navbar for non-home pages on mobile */
@media (max-width: 768px) {
    body:not(.home-page) .navbar {
        background: #4c91ad !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    body:not(.home-page) .navbar:not(.scrolled):not(.menu-open) {
        background: #4c91ad !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
}

/* Ensure text colors are white on all non-homepage pages */
body:not(.home-page) .navbar .nav-link {
    color: white !important;
}

body:not(.home-page) .navbar .nav-link:hover,
body:not(.home-page) .navbar .nav-link.active {
    color: var(--primary-gold) !important;
    background: rgba(212, 175, 55, 0.2);
}

body:not(.home-page) .navbar .logo-text {
    color: white !important;
}

body:not(.home-page) .navbar .book-appointment-btn {
    color: white !important;
}

body:not(.home-page) .navbar .book-appointment-btn:hover {
    color: var(--primary-gold) !important;
}

body:not(.home-page) .navbar .nav-toggle span {
    background: white !important;
}

/* Cases Page Styles */
.cases-hero {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.cases-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cases-hero .hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Ensure navbar is fixed on cases pages */
body.cases-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #192889 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Force non-transparent navbar for specific pages on mobile */
@media (max-width: 768px) {
    body.articles-page .navbar,
    body.cases-page .navbar {
        background: #192889 !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    body.articles-page .navbar:not(.scrolled):not(.menu-open),
    body.cases-page .navbar:not(.scrolled):not(.menu-open) {
        background: #192889 !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
}

.cases-section {
    padding: 80px 0;
    background: var(--bg-light) !important;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(80, 131, 135, 0.1);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.case-images {
    padding: 2rem;
    background: var(--bg-light);
}

.case-info {
    padding: 2rem;
}

.case-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.case-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-type {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}


.articles-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.articles-hero .hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.articles-section {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(80, 131, 135, 0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    margin-bottom: 1rem;
}

.article-title a {
    color: var(--primary-dark-blue);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-teal);
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    color: var(--primary-teal);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark-blue);
    transform: translateX(-5px);
}

/* Article Detail Page Styles */
.article-detail-section {
    padding: 120px 0 80px;
    margin-top: 70px;
}

.article-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-teal);
    text-decoration: none;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--text-secondary);
}

.breadcrumb .current {
    color: var(--text-secondary);
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-header .article-category {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
}

.article-header .article-title {
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-header .article-meta {
    justify-content: center;
    gap: 2rem;
}

.article-featured-image {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.article-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-body {
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.article-body h2 {
    color: var(--primary-dark-blue);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.article-body h3 {
    color: var(--primary-teal);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
}

.article-body ul {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-tags {
    margin-bottom: 3rem;
}

.tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-teal);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.25rem;
    border: 1px solid rgba(80, 131, 135, 0.2);
}

.article-share {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
}

.article-share h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0077B5; }
.share-btn.whatsapp { background: #25D366; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.related-articles {
    margin-top: 3rem;
}

.related-articles h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(80, 131, 135, 0.1);
}

.related-article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.related-image {
    height: 120px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 1rem;
}

.related-content h4 {
    margin-bottom: 0.5rem;
}

.related-content h4 a {
    color: var(--primary-dark-blue);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.related-content h4 a:hover {
    color: var(--primary-teal);
}

.related-date {
    font-size: 0.8rem;
    color: var(--text-light);
}
    
    /* Responsive for articles more button */
    .articles-more .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

/* Before After Slider */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.slider-container:active {
    cursor: grabbing;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image {
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.after-image {
    z-index: 2;
    width: 50%;
    overflow: hidden;
    border-radius: 20px;
}

.before-image img, .after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
    border-radius: 20px;
}

.image-label {
    position: absolute;
    top: 15px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.before-image .image-label {
    right: 15px;
}

.after-image .image-label {
    right: 15px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    z-index: 4;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: white;
    font-size: 1.1rem;
    border: 3px solid white;
    transition: all 0.3s ease;
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.before-after-slider:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.before-after-slider:hover .before-image img,
.before-after-slider:hover .after-image img {
    filter: brightness(1) contrast(1.2);
}

.case-info {
    padding: 2rem;
}

.case-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.case-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-type {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}


/* Articles Section */
.articles {
    padding: 100px 0;
    background: var(--bg-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
}

.article-card:hover {
    transform: none;
    box-shadow: none;
}

.article-image {
    height: 300px;
    position: relative;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Article image overlay styles removed */

/* Read time styles removed */

.article-image .image-placeholder {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Links Styles */
.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-light);
    padding: 0.5rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
}

.contact-link:visited {
    color: var(--text-light);
}

.contact-link:active {
    color: var(--primary-color);
}

.contact-link:hover {
    color: var(--primary-color);
    background-color: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.1);
    transform: translateX(-3px);
}

.contact-link-icon {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.contact-link:hover .contact-link-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* أيقونات خاصة لكل نوع رابط */
.address-link .contact-link-icon {
    color: #e74c3c;
}

.phone-link .contact-link-icon {
    color: var(--text-light);
}

.email-link .contact-link-icon {
    color: var(--text-light);
}

/* Specific link types */
.address-link {
    color: #e74c3c;
    text-decoration: underline;
    text-decoration-color: rgba(231, 76, 60, 0.3);
}

.address-link:hover {
    color: #c0392b;
    text-decoration-color: #c0392b;
}

.phone-link {
    color: var(--text-light);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
}

.phone-link:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

.email-link {
    color: var(--text-light);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
}

.email-link:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

.contact-link span {
    flex: 1;
    margin-left: 0.5rem;
}

/* تحسينات إضافية للروابط */
.contact-card:hover .contact-link {
    transform: translateX(0);
}

.contact-link:active {
    transform: scale(0.98);
}

/* تحسينات للهواتف المحمولة */
@media (max-width: 768px) {
    .contact-link {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
    
    .contact-link-icon {
        font-size: 1rem;
    }
    
    .contact-link:hover {
        transform: translateX(-2px);
    }
}

/* تأثيرات إضافية للتفاعل */
.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.contact-link:hover::before {
    opacity: 1;
}

.contact-link {
    position: relative;
    overflow: hidden;
}

/* Working Hours Styles - Compact Design */
#working-hours-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.3rem;
    margin-top: 0.5rem;
}

/* Medium screens (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    #working-hours-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
    }
    
    .working-day {
        padding: 0.35rem 0.55rem;
    }
    
    .day-name {
        font-size: 0.8rem;
    }
    
    .day-hours {
        font-size: 0.75rem;
    }
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.5rem;
    background: linear-gradient(135deg, rgba(80, 131, 135, 0.05) 0%, rgba(80, 131, 135, 0.02) 100%);
    border-radius: 6px;
    transition: all 0.3s ease;
    gap: 0.4rem;
    min-height: auto;
    border: 1px solid rgba(80, 131, 135, 0.15);
    position: relative;
    overflow: hidden;
}

.working-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.working-day:hover::before {
    transform: scaleY(1);
}

.working-day:hover {
    background-color: rgba(80, 131, 135, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(80, 131, 135, 0.15);
}

/* Ã˜ÂªÃ™Â†Ã˜Â³Ã™ÂŠÃ™Â‚ Ã˜Â§Ã™Â„Ã˜Â£Ã™ÂŠÃ˜Â§Ã™Â… Ã˜Â§Ã™Â„Ã™Â…Ã˜ÂºÃ™Â„Ã™Â‚Ã˜Â© */
.working-day.closed-day {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.working-day.closed-day .day-hours {
    color: #dc3545;
    font-weight: 600;
}

.working-day.closed-day::before {
    background: #dc3545;
}

.working-day.closed-day:hover {
    background-color: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.day-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.day-hours {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.7rem;
    text-align: left;
    direction: rtl;
    white-space: nowrap;
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
    letter-spacing: 0.1px;
    flex-shrink: 0;
    unicode-bidi: normal;
}
.contact-form-container {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #4c91ad; /* اللون الأزرق الأصلي */
    color: white;
    padding: 60px 0 20px;
    border-top: none !important;
    margin-top: 0 !important;
}

.footer-content {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

/* Footer Left Section - Instagram Gallery */
.footer-left {
    flex: 1;
    max-width: 70%;
    display: block !important;
    visibility: visible !important;
}

.instagram-header {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    visibility: visible !important;
    opacity: 1 !important;
}

.instagram-header i {
    font-size: 24px;
    color: #e1306c;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.instagram-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.instagram-gallery {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    visibility: visible !important;
    opacity: 1 !important;
}

.gallery-item {
    position: relative;
    display: block !important;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05) !important;
}

.gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    visibility: visible !important;
}

.gallery-item:hover .play-overlay {
    opacity: 0 !important;
}

.play-overlay i {
    color: white;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 50%;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Footer Right Section - Logo and Icons */
.footer-right {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    min-width: 200px;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-logo {
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-logo .logo-image {
    width: 120px;
    height: 120px;
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-icons {
    display: flex !important;
    gap: 15px;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-icon:hover {
    background: var(--gradient-gold);
    transform: translateY(-3px);
    color: white;
}

.footer-icon i {
    font-size: 20px;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Footer Responsive */

/* Large screens - keep 6 columns */
@media (min-width: 1200px) {
    .instagram-gallery {
        grid-template-columns: repeat(6, 1fr) !important; /* 6 أعمدة × 1 صف = 6 صور */
        gap: 8px !important;
    }
}

/* Medium screens - 4 columns */
@media (max-width: 1199px) and (min-width: 1025px) {
    .instagram-gallery {
        grid-template-columns: repeat(4, 1fr) !important; /* 4 أعمدة × 2 صفوف = 6 صور */
        gap: 8px !important;
    }
}

/* Tablet breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
    .instagram-gallery {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 أعمدة × 2 صفوف = 6 صور */
        gap: 10px !important;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-left {
        max-width: 100%;
        order: 1; /* الصور + العنوان أولاً */
    }
    
    .instagram-gallery {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 أعمدة × 3 صفوف = 6 صور */
        gap: 8px !important;
    }
    
    .play-overlay i {
        font-size: 20px;
        padding: 6px;
    }
    
    .footer-right {
        order: 2; /* اللوجو والأيقونات بعد الصور */
        align-items: center;
        min-width: auto;
        width: 100%;
    }
    
    .footer-logo .logo-image {
        width: 120px;
        height: 120px;
        max-width: 150px;
        max-height: 150px;
    }
    
    .footer-icons {
        justify-content: center;
        width: 100%;
        display: flex !important;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .instagram-gallery {
        gap: 6px !important;
    }
    
    .gallery-item {
        border-radius: 6px;
    }
    
    .gallery-item img {
        border-radius: 6px;
    }
}

.footer-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    direction: rtl;
}

.footer-logo .logo-text {
    direction: rtl;
    text-align: right;
}

.footer-logo .logo-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    overflow: visible;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.footer-section p {
    color: white;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
}

.footer .social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer .social-links a span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer .social-links a:hover {
    background: var(--gradient-gold);
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #a0aec0;
    direction: rtl;
    text-align: right;
}

.contact-info p i {
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: white;
}




/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        position: relative;
    }
    
    .logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1004 !important;
    }
    
    .logo:active {
        transform: translate(-50%, -50%) !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #192889 !important;
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        padding-top: 80px;
        transition: left 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Make menu background match navbar exactly */
    .nav-menu {
        background: #192889 !important;
        border: none !important;
        border-top: none !important;
        outline: none !important;
    }
    
    /* Remove any borders from navbar when menu is open */
    .navbar.menu-open {
        border: none !important;
        border-bottom: none !important;
        outline: none !important;
    }
    
    
    
    .nav-menu .nav-link {
        background: none;
        margin: 8px 0;
        padding: 12px 20px;
        border: none;
        text-align: center;
        width: 200px;
        position: relative;
        z-index: 2;
        direction: rtl;
        color: white;
        font-size: 1.1rem;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.3);
    }
    
    .nav-menu .nav-link:hover {
        color: var(--primary-gold);
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        transition: all 0.3s ease;
    }
    
    .nav-toggle {
        display: flex !important;
        position: absolute !important;
        left: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .nav-toggle span {
        background: white;
    }
    
    .navbar.scrolled .nav-toggle span {
        background: white !important;
    }
    
    /* Mobile navbar scrolled - same as desktop */
    .navbar.scrolled {
        background: #4c91ad !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        border-bottom: none;
    }
    
    .navbar.scrolled .logo-text {
        color: white !important;
    }
    
    .navbar.scrolled .book-appointment-btn {
        color: white !important;
    }
    
    .navbar.scrolled .book-appointment-btn:hover {
        color: var(--primary-gold) !important;
    }
    
    /* Hide book appointment button in mobile */
    .book-appointment-btn {
        display: none !important;
    }
    
    /* Force navbar to be blue in mobile when scrolled or menu open */
    .navbar.scrolled,
    .navbar.menu-open {
        background: #4c91ad !important;
        box-shadow: none !important;
        border: none !important;
        border-bottom: none !important;
        outline: none !important;
        z-index: 1002 !important;
    }
    
    /* Ensure navbar elements are visible above menu */
    .navbar {
        z-index: 1002 !important;
    }
    
    .nav-container {
        z-index: 1003 !important;
    }
    
    .nav-toggle {
        z-index: 1004 !important;
        position: absolute !important;
        left: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .logo {
        z-index: 1004 !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: white !important;
    }
    
    .logo .logo-text {
        color: white !important;
    }
    
    .book-appointment-btn {
        z-index: 1004 !important;
        position: relative;
    }
    
    /* Only make navbar transparent in hero section */
    .navbar:not(.scrolled):not(.menu-open) {
        background: transparent !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .navbar.scrolled .nav-toggle.active span {
        background: white !important;
    }
    
    .navbar.scrolled .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: white !important;
    }
    
    .navbar.scrolled .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        background: white !important;
    }
    
    .navbar.scrolled .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: white !important;
    }
    
    .book-appointment-btn i {
        font-size: 1.2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        word-spacing: 0.1em;
        letter-spacing: 0.05em;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        word-spacing: 0.1em;
        letter-spacing: 0.05em;
        margin-bottom: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about .section-header {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .text-block {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .visual-card {
        width: 100%;
        height: auto;
        box-shadow: none !important;
        border: none !important;
        outline: none !important;
    }
    
    .card-image {
        font-size: 3rem;
        padding: 1.5rem;
    }
    
    .card-image h4 {
        font-size: 1.5rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .card-image p {
        font-size: 1rem;
    }
    
    .who-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        max-height: 400px;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        bottom: 0;
        opacity: 0.6;
    }
    
    .doctors-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .doctors-nav.prev {
        left: -20px;
    }
    
    .doctors-nav.next {
        right: -20px;
    }
    
    .doctors-swiper .swiper-button-prev,
    .doctors-swiper .swiper-button-next {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .doctors-swiper .swiper-button-prev:after,
    .doctors-swiper .swiper-button-next:after {
        font-size: 14px;
    }
    
    /* زر السابق (يمين) - موبايل */
    .doctors-swiper .swiper-button-prev {
        right: 5px !important;
        left: auto !important;
    }
    
    /* زر التالي (شمال) - موبايل */
    .doctors-swiper .swiper-button-next {
        left: 5px !important;
        right: auto !important;
    }
    
    /* إجبار ظهور الأزرار في الموبايل */
    .doctors-swiper .swiper-button-prev.swiper-button-disabled,
    .doctors-swiper .swiper-button-next.swiper-button-disabled {
        opacity: 0.5 !important;
        pointer-events: auto !important;
    }
    
    .doctors-swiper .swiper-button-prev:not(.swiper-button-disabled),
    .doctors-swiper .swiper-button-next:not(.swiper-button-disabled) {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .doctor-card {
        max-width: 100%;
        width: 100%;
    }
    
    /* Hero New Mobile Styles */
    .hero-container {
        padding-top: 80px;
        min-height: calc(100vh - 80px);
    }
    
    .hero-main-title {
        font-size: 1.8rem;
        word-spacing: 0.1rem;
        letter-spacing: 0.03rem;
        line-height: 1.2;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-center-name {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description-text {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 2.5rem;
    }
    
    /* Ã˜Â¥Ã˜Â®Ã™ÂÃ˜Â§Ã˜Â¡ Ã˜Â²Ã˜Â± Ã˜Â§Ã˜Â­Ã˜Â¬Ã˜Â² Ã™Â…Ã™ÂˆÃ˜Â¹Ã˜Â¯Ã™Âƒ Ã˜Â¹Ã™Â„Ã™Â‰ Ã˜Â§Ã™Â„Ã™Â…Ã™ÂˆÃ˜Â¨Ã˜Â§Ã™ÂŠÃ™Â„ */
    .hero-action-buttons .btn:first-child {
        display: none;
    }
    
    .hero-action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
        position: relative;
        z-index: 10;
    }
    
    .hero-action-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        position: relative;
        z-index: 11;
    }
    
    
    /* Hero Text Section Mobile Order */
    .hero-text-section {
        order: 1;
    }
    
    .scroll-down {
        bottom: 1rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .doctor-image {
        height: 250px;
    }
    
    .services {
        padding: 50px 0;
        overflow-x: hidden;
    }
    
    .services .container {
        padding: 0;
        margin: 0;
        max-width: none;
        width: 100%;
    }
    
    .services-grid {
        gap: 0;
        padding: 0;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        overflow-x: hidden;
        width: 100%;
    }
    
    .service-card {
        width: 100vw;
        height: 300px;
        margin: 0;
        border-radius: 0;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        box-sizing: border-box;
    }
    
    .overlay h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 30px 0;
        overflow-x: hidden;
    }
    
    .services .container {
        padding: 0;
        margin: 0;
        max-width: none;
        width: 100%;
    }
    
    .services-grid {
        gap: 0;
        padding: 0;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        overflow-x: hidden;
        width: 100%;
    }
    
    .service-card {
        width: 100vw;
        height: 250px;
        margin: 0;
        border-radius: 0;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        box-sizing: border-box;
    }
    
    .overlay h3 {
        font-size: 20px;
    }
    
    .cases-slider {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .before-after-slider {
        height: 240px;
        border-radius: 30px;
    }
    
    .before-image, .after-image {
        border-radius: 30px;
    }
    
    .before-image img, .after-image img {
        border-radius: 30px;
    }
    
    .slider-button {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-card {
        max-width: 100%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    /* Working Hours Responsive */
    #working-hours-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
    
    .working-day {
        padding: 0.4rem 0.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        text-align: center;
    }
    
    .day-name {
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }
    
    .day-hours {
        font-size: 0.75rem;
        text-align: center;
        width: 100%;
        padding-right: 0;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text-section {
        height: 75vh;
        padding: 0 1rem 0 1rem;
        gap: 1rem;
    }
    
    
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.4;
        word-spacing: 0.3em;
        letter-spacing: 0.05em;
    }
    
    .title-line {
        display: block;
        margin-bottom: 0.3rem;
    }
    
    .title-highlight {
        display: block;
        margin-top: 0.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .doctor-image {
        height: 200px;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Mobile Action Buttons Responsive */
    .mobile-action-btn {
        width: 35px;
        height: 35px;
    }
    
    .mobile-action-btn .btn-icon {
        width: 25px;
        height: 25px;
    }
    
    /* Working Hours Mobile Responsive */
    #working-hours-list {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    
    .working-day {
        padding: 0.3rem 0.5rem;
        gap: 0.2rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .day-name {
        font-size: 0.75rem;
        font-weight: 700;
        width: auto;
        text-align: right;
    }
    
    .day-hours {
        font-size: 0.7rem;
        font-weight: 600;
        width: auto;
        text-align: left;
    }

    /* Reviews Section Mobile */
    .reviews-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .reviews-list {
        text-align: right;
        order: 1;
        align-items: flex-end;
    }

    .reviews-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        text-align: right;
    }

    .reviews-description {
        font-size: 1.1rem;
        max-width: 100%;
        text-align: right;
    }

    .reviews-image {
        display: none;
    }

    .center-logo {
        width: 90px;
        height: 90px;
    }

    .reviews-text {
        order: 3;
        text-align: center;
    }
    
    .reviews-summary {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 2rem;
        width: fit-content;
    }
    

    .rating-display {
        flex-direction: column;
        gap: 0.5rem;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .stars {
        flex-direction: row;
    }

    .review-item {
        margin-bottom: 1rem;
        padding: 1.25rem;
    }

    .review-header {
        flex-direction: row;
        justify-content: center;
    }

    .reviewer-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
}

/* Extra small screens (less than 360px) */
@media (max-width: 360px) {
    #working-hours-list {
        gap: 0.15rem;
    }
    
    .working-day {
        padding: 0.25rem 0.4rem;
        gap: 0.15rem;
    }
    
    .day-name {
        font-size: 0.7rem;
    }
    
    .day-hours {
        font-size: 0.65rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.5;
        word-spacing: 0.4em;
        letter-spacing: 0.1em;
    }
    
    .title-line {
        margin-bottom: 0.4rem;
    }
    
    .title-highlight {
        margin-top: 0.4rem;
    }
    
    /* Ã˜Â§Ã™Â„Ã˜Â±Ã™ÂˆÃ˜Â§Ã˜Â¨Ã˜Â· Ã˜Â§Ã™Â„Ã˜Â³Ã˜Â±Ã™ÂŠÃ˜Â¹Ã˜Â© Ã™ÂÃ™ÂŠ Ã˜Â¹Ã™Â…Ã™ÂˆÃ˜Â¯ Ã™ÂˆÃ˜Â§Ã˜Â­Ã˜Â¯ Ã˜Â¹Ã™Â„Ã™Â‰ Ã˜Â§Ã™Â„Ã˜Â´Ã˜Â§Ã˜Â´Ã˜Â§Ã˜Âª Ã˜Â§Ã™Â„Ã˜ÂµÃ˜ÂºÃ™ÂŠÃ˜Â±Ã˜Â© */
    .footer-section ul {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ===== UNIFIED SECTION BACKGROUNDS ===== */
/* Make all sections flow seamlessly like a magazine */
.about,
.services,
.reviews,
.contact,
.cases,
.cases-section,
.articles-section,
.article-detail-section {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    padding: 60px 0 !important;
    position: relative;
}

/* Remove contact cards styling */
.contact-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-info {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Keep hero and team sections with their original backgrounds */
.hero,
.team {
    background: initial !important;
}

/* Add flowing background to body */
body {
    background: linear-gradient(180deg, 
        #f8fafc 0%, 
        #e2e8f0 25%, 
        #f1f5f9 50%, 
        #e2e8f0 75%, 
        #f8fafc 100%);
    background-attachment: fixed;
}

/* Remove all transition lines between sections */
.about::after,
.services::after,
.reviews::after,
.contact::after,
.cases::after {
    display: none !important;
}

/* Responsive padding for magazine flow */
@media (max-width: 768px) {
    .about,
    .services,
    .reviews,
    .contact,
    .cases,
    .cases-section,
    .articles-section,
    .article-detail-section {
        padding: 40px 0 !important;
    }
}

@media (max-width: 480px) {
    .about,
    .services,
    .reviews,
    .contact,
    .cases,
    .cases-section,
    .articles-section,
    .article-detail-section {
        padding: 30px 0 !important;
    }
}

/* Remove all section borders and dividers */
.about,
.services,
.reviews,
.contact,
.cases,
.cases-section,
.articles-section,
.article-detail-section,
.footer,
.team,
.hero {
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Remove footer bottom border */
.footer-bottom {
    border-top: none !important;
}

/* Remove any section separators */
section {
    border: none !important;
}

/* Remove any hr elements */
hr {
    display: none !important;
}

/* Remove any divider classes */
.divider,
.section-divider,
.border-divider {
    display: none !important;
}

/* Remove navbar borders */
.navbar,
.navbar.scrolled,
.navbar.menu-open {
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Remove any other potential borders */
* {
    border-top: none !important;
    border-bottom: none !important;
}

/* Keep only essential borders for form elements */
input,
textarea,
select,
button {
    border: initial !important;
}

/* Force cases section to have light gray background */
.cases,
.cases-section,
section.cases,
section.cases-section {
    background: var(--bg-light) !important;
    background-color: var(--bg-light) !important;
}

/* WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background: #128C7E;
}

.whatsapp-widget i {
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
}

.whatsapp-widget:hover i {
    transform: scale(1.05);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp Widget Tooltip */
.whatsapp-widget::before {
    content: "تواصل معنا عبر واتساب";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    direction: rtl;
    font-family: 'URWGeometricArabic', 'Tajawal', 'Spartan', 'Spartan MB', Arial, sans-serif;
}

.whatsapp-widget::after {
    content: '';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.whatsapp-widget:hover::before,
.whatsapp-widget:hover::after {
    opacity: 1;
    visibility: visible;
}

/* WhatsApp Widget Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-widget {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-widget i {
        font-size: 24px;
    }
    
    .whatsapp-widget::before {
        right: 65px;
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .whatsapp-widget::after {
        right: 55px;
        border-width: 5px;
    }
}

@media (max-width: 480px) {
    .whatsapp-widget {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-widget i {
        font-size: 22px;
    }
    
    .whatsapp-widget::before {
        right: 60px;
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .whatsapp-widget::after {
        right: 50px;
        border-width: 4px;
    }
}
