:root {
    /* Enhanced color palette based on traditional Saudi/Arabic colors */
    --primary-color: #a4895f; /* Rich teal */
    --primary-light: #b99d76; /* Light teal */
    --primary-dark: #b99d76; /* Dark teal */
    --secondary-color: #FE5E41; /* Vibrant coral/orange */
    --secondary-light: #FFA06A; /* Light coral */
    --accent-color: #1f3250 ; /* Gold/yellow */
    --accent-dark: #1f3250 ; /* Dark gold */
    --neutral-dark: #2F394B; /* Dark blue-gray */
    --neutral-light: #F9F8F4; /* Warm white */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Enhanced shadows with color tints */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(47, 57, 75, 0.1);
    --shadow-lg: 0 10px 15px rgba(47, 57, 75, 0.12);
    --shadow-xl: 0 20px 25px rgba(47, 57, 75, 0.15);
    --shadow-glow: 0 5px 15px rgba(0, 145, 124, 0.2);
    --shadow-glow-accent: 0 5px 15px rgba(248, 212, 88, 0.25);
    
    /* More fluid transitions */
    --transition-default: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Arabic design elements */
    --arabic-pattern-light: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 15 L45 0 L60 15 L45 30 L60 45 L45 60 L30 45 L15 60 L0 45 L15 30 L0 15 L15 0 Z' fill='none' stroke='rgba(0, 145, 124, 0.1)' stroke-width='1'/%3E%3C/svg%3E");
    --arabic-pattern-dark: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 15 L45 0 L60 15 L45 30 L60 45 L45 60 L30 45 L15 60 L0 45 L15 30 L0 15 L15 0 Z' fill='none' stroke='rgba(255, 255, 255, 0.1)' stroke-width='1'/%3E%3C/svg%3E");
    --arabic-geometric: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 25 L100 75 L50 100 L0 75 L0 25 Z' fill='none' stroke='rgba(0, 145, 124, 0.07)' stroke-width='1'/%3E%3Cpath d='M50 20 L80 35 L80 65 L50 80 L20 65 L20 35 Z' fill='none' stroke='rgba(248, 212, 88, 0.07)' stroke-width='1'/%3E%3C/svg%3E");
    --arabic-star: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 L45 30 L75 40 L45 50 L40 80 L35 50 L5 40 L35 30 Z' fill='none' stroke='rgba(254, 94, 65, 0.07)' stroke-width='1'/%3E%3C/svg%3E");
    
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-2xl: 2rem;
    --section-spacing: 6rem;
}

/* Base Styles */
body {
    font-family: 'Tajawal', sans-serif;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* Utility Classes */
.bg-primary { background-color: var(--primary-color); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-primary-dark { background-color: var(--primary-dark); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-secondary-light { background-color: var(--secondary-light); }
.bg-accent { background-color: var(--accent-color); }
.bg-dark { background-color: var(--dark-color); }
.bg-light { background-color: var(--light-color); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }

.text-primary { color: var(--primary-color); }
.text-primary-light { color: var(--primary-light); }
.text-primary-dark { color: var(--primary-dark); }
.text-secondary { color: var(--secondary-color); }
.text-secondary-light { color: var(--secondary-light); }
.text-accent { color: var(--accent-color); }
.text-dark { color: var(--dark-color); }
.text-light { color: var(--light-color); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded-md { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }
.rounded-2xl { border-radius: var(--border-radius-2xl); }
.rounded-full { border-radius: 9999px; }

.transition-all { transition: var(--transition-default); }

/* Enhanced Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.preloader-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--arabic-pattern-dark);
    background-size: 120px;
    opacity: 0.2;
    z-index: -1;
}

.preloader-logo {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.preloader-logo-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.preloader-logo span {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neutral-light);
    position: relative;
    margin-top: 1rem;
}

.arabic-symbol {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--neutral-light);
    position: relative;
    overflow: hidden;
}

.arabic-symbol::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    background-image: var(--arabic-star);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.preloader-container {
    width: 250px;
    background-color: rgba(255, 255, 255, 0.2);
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.preloader-progress {
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.preloader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: preloader-shine 1.5s infinite;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Transparent header for hero section */
.header-transparent {
    background-color: transparent;
    box-shadow: none;
}

/* White background when scrolled */
.header-transparent.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.7rem 0;
}

/* White logo for transparent header, changes to primary color when scrolled */
.header-transparent .logo {
    color: var(--neutral-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header-transparent.scrolled .logo {
    color: var(--accent-color);
    text-shadow: none;
}

/* White links for transparent header, change to dark color when scrolled */
.header-transparent .nav-link {
    color: var(--neutral-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-transparent.scrolled .nav-link {
    color: var(--neutral-light);
    text-shadow: none;
}

.header-transparent .nav-link:hover,
.header-transparent.scrolled .nav-link:hover {
    color: var(--accent-color);
}

.header-transparent .nav-link::after {
    background-color: var(--accent-color);
}

/* White menu toggle for transparent header, changes to primary color when scrolled */
.header-transparent .menu-toggle {
    color: var(--neutral-light);
    background-color: rgba(255, 255, 255, 0.1);
}

.header-transparent.scrolled .menu-toggle {
    color: var(--neutral-light);
    background-color: rgba(212, 175, 55, 0.2);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 2rem;
    

}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

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

/* Mobile Menu Toggle Button Enhancement */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 15;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .menu-toggle:hover {
        background-color: var(--primary-color);
        color: white;
        transform: rotate(90deg);
    }
    
    /* Add a ripple effect to the menu toggle */
    .menu-toggle::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: var(--primary-color);
        opacity: 0;
        transform: scale(0);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .menu-toggle:hover::after {
        transform: scale(1.5);
        opacity: 0.2;
    }
}

/* Enhanced Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 2rem;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    background-image: var(--arabic-pattern-dark);
    background-size: 80px;
    z-index: -1;
}

.mobile-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: var(--arabic-geometric);
    background-size: 100px;
    z-index: -1;
    animation: movePattern 40s linear infinite;
}

@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

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

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.mobile-menu-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

/* Enhanced Mobile Menu Logo */
.mobile-menu-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.6s both;
    animation-delay: 0.2s;
}

.mobile-menu-logo span {
    color: var(--neutral-light);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-symbol {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-symbol::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    transform: translate(-50%, -50%);
    background-image: var(--arabic-star);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

/* Enhanced Mobile Menu Links */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    flex: 1;
    justify-content: center;
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.8rem 1.5rem;
    margin: 0.4rem 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 8px;
    width: 80%;
    animation: fadeInRight 0.5s both;
    animation-delay: calc(0.1s * var(--item-index, 1));
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.mobile-menu .nav-link:nth-child(1) { --item-index: 1; }
.mobile-menu .nav-link:nth-child(2) { --item-index: 2; }
.mobile-menu .nav-link:nth-child(3) { --item-index: 3; }
.mobile-menu .nav-link:nth-child(4) { --item-index: 4; }
.mobile-menu .nav-link:nth-child(5) { --item-index: 5; }
.mobile-menu .nav-link:nth-child(6) { --item-index: 6; }

.mobile-menu .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0.8rem;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.mobile-menu .nav-link:hover {
    transform: translateY(-3px);
    text-shadow: 0 2px 10px rgba(248, 212, 88, 0.3);
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu .nav-link:hover::before {
    width: 60%;
    opacity: 1;
}

/* Enhanced Mobile Menu Social Links */
.mobile-menu-social {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 2rem;
    animation: fadeInUp 0.6s both;
    animation-delay: 0.5s;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--neutral-light);
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.mobile-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-social-link:hover {
    transform: translateY(-5px);
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-social-link:hover::before {
    opacity: 0.3;
    transform: scale(2);
}

.mobile-social-link i {
    position: relative;
    z-index: 1;
}

/* Mobile Menu Animation Keyframes */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Decorative Elements */
.section-header-decorated .corner-ornament {
    opacity: 0.7;
    transition: all 0.5s ease;
}

.section-header-decorated:hover .corner-ornament {
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(248, 212, 88, 0.3));
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--neutral-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    background-image: var(--arabic-pattern-dark);
    background-repeat: repeat;
    background-size: 200px;
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    z-index: -1;
    border-radius: 50px;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--neutral-dark);
    box-shadow: var(--shadow-glow-accent);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    color: var(--neutral-light);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(234, 174, 33, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--neutral-light);
    border: 2px solid var(--neutral-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background-color: var(--neutral-light);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 255, 255, 0.2);
}

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

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    z-index: 3;
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.particle-1 { width: 10px; height: 10px; top: 10%; left: 20%; }
.particle-2 { width: 15px; height: 15px; top: 30%; left: 80%; }
.particle-3 { width: 8px; height: 8px; top: 50%; left: 15%; }
.particle-4 { width: 12px; height: 12px; top: 70%; left: 75%; }
.particle-5 { width: 20px; height: 20px; top: 20%; left: 40%; }
.particle-6 { width: 6px; height: 6px; top: 80%; left: 30%; }
.particle-7 { width: 18px; height: 18px; top: 15%; left: 60%; }
.particle-8 { width: 14px; height: 14px; top: 60%; left: 85%; }
.particle-9 { width: 10px; height: 10px; top: 40%; left: 25%; }
.particle-10 { width: 16px; height: 16px; top: 85%; left: 65%; }

/* Sections */
section {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 1;
}

/* Remove the fade-in-heading animation class and replace with simple styles */
.fade-in-heading {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.section-title::after {
    content: attr(data-text);
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-size: 110%;
    z-index: -1;
    white-space: nowrap;
}

.section-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
    color: var(--gray-600);
}

.section-divider {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), var(--primary-color), transparent);
    margin: 1.5rem auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    top: -2px;
}

.section-divider::before {
    left: 30%;
}

.section-divider::after {
    right: 30%;
}

/* Updated Card styles */
.card {
    background-color: var(--neutral-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.hover-card {
    position: relative;
    overflow: hidden;
}

.hover-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(248, 212, 88, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.hover-card:hover::after {
    opacity: 1;
    transform: translateX(100%);
    transition-duration: 1s;
}

/* Updated service cards for more fluidness */
.service-cards-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 1rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-cards-container::-webkit-scrollbar {
    display: none;
}

.service-card {
    min-width: 300px;
    flex: 0 0 auto;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    border-bottom: 4px solid var(--primary-color);
    background-color: var(--neutral-light);
    scroll-behavior: smooth;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--neutral-light);
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(248, 212, 88, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: var(--transition-default);
    z-index: -1;
}

.service-card:hover .service-icon::before {
    opacity: 0.5;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.service-card:hover .service-title::after {
    width: 100%;
}

/* Vision 2030 Section - Dramatically improved */
.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vision-card {
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--neutral-light) 0%, rgba(248, 212, 88, 0.05) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 145, 124, 0.1);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.vision-card:hover::before {
    opacity: 0.07;
    transform: scale(1);
}

.vision-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--neutral-light);
    box-shadow: var(--shadow-md);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition-bounce);
    position: relative;
    z-index: 1;
}

.vision-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px dashed var(--primary-light);
    opacity: 0;
    transition: var(--transition-smooth);
}

.vision-card:hover .vision-icon {
    background-color: var(--primary-color);
    color: var(--neutral-light);
    transform: scale(1.1) rotateY(180deg);
    box-shadow: var(--shadow-glow);
}

.vision-card:hover .vision-icon::after {
    opacity: 1;
    animation: spin 15s linear infinite;
}

.vision-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.vision-title::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.vision-card:hover .vision-title::after {
    width: 80%;
}

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

/* Updated timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 4rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), var(--accent-color), transparent);
    margin-right: -1px;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    background-color: var(--neutral-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
    overflow: hidden;
    z-index: 1;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 145, 124, 0.03));
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.timeline-item:hover {
    transform: translateY(-5px) translateX(-5px);
    box-shadow: var(--shadow-glow);
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    border: 4px solid var(--neutral-light);
    border-radius: 50%;
    top: 2rem;
    right: -32px;
    z-index: 2;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.2);
    background-color: var(--primary-color);
}

/* Projects */
.project-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    background-color: var(--neutral-light);
}

.project-image {

    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-content {
    padding: 1.5rem;
    position: relative;
    transition: var(--transition-smooth);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.project-card:hover .project-title::after {
    width: 100%;
}

.project-desc {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    transition: var(--transition-smooth);
}

.project-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    background-color: var(--gray-100);
    color: var(--primary-dark);
    transition: var(--transition-smooth);
}

.project-card:hover .project-tag {
    background-color: var(--primary-color);
    color: var(--neutral-light);
}

.project-location {
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.project-location::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    margin-left: 5px;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
}

.project-card:hover .project-location::before {
    opacity: 1;
    transform: translateX(0);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

/* Testimonials */
.testimonial-card {
    position: relative;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--gray-100) 100%);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
    overflow: hidden;
    z-index: 1;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: var(--transition-default);
    z-index: -1;
    transform: scale(0);
}

.testimonial-card:hover::before {
    opacity: 0.05;
    transform: scale(1);
    animation: rotate-slowly 10s linear infinite;
}

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

.testimonial-card .arabic-quote::before {
    color: var(--primary-light);
    opacity: 0.2;
    font-size: 3rem;
    top: 10px;
    right: 10px;
    transition: var(--transition-default);
}

.testimonial-card:hover .arabic-quote::before {
    transform: translateY(-5px) scale(1.1);
    opacity: 0.3;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 15px;
    background-color: var(--primary-color);
    color: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
    transition: var(--transition-bounce);
}

.testimonial-card:hover .testimonial-avatar {
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(10deg);

}

.testimonial-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.testimonial-position {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--accent-color);
    margin-top: 0.5rem;
}

.testimonial-card:hover .testimonial-rating {
    animation: pulse 1s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Contact */
.contact-info-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background-color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-default);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form-card {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background-color: var(--light-color);
    box-shadow: var(--shadow-md);
}

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

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-300);
    transition: var(--transition-default);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(9, 132, 127, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--neutral-light);
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--arabic-pattern-dark), var(--arabic-geometric);
    background-size: 80px, 150px;
    opacity: 0.2;
    z-index: 0;
}

.footer-decoration {
    position: relative;
    height: 70px;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-symbol {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-symbol::before, 
.footer-symbol::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.footer-symbol::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--accent-color);
    opacity: 0.5;
}

.footer-symbol::after {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: var(--accent-color);
    opacity: 0.3;
}

.footer-column-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.footer-link {
    margin-bottom: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
}

.footer-link::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    right: -15px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.footer-link:hover::before {
    opacity: 1;
    right: -20px;
}

.footer-link a {
    position: relative;
    transition: var(--transition-smooth);
}

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

.contact-links .footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    transition: var(--transition-smooth);
}

.contact-links .footer-contact-item:hover {
    transform: translateX(-5px);
}

.footer-contact-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-contact-item:hover .footer-contact-icon {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.footer-divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto 1.5rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-bounce);
    overflow: hidden;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
    z-index: -1;
}

.social-link:hover {
    color: var(--neutral-light);
    transform: translateY(-5px) rotate(360deg);
}

.social-link:hover::before {
    height: 100%;
}

/* Enhanced Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.back-to-top-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

.back-to-top-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--neutral-light);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.back-to-top:hover .back-to-top-icon {
    transform: translateY(-3px);
}

.back-to-top:hover .back-to-top-icon::after {
    transform: scale(1.2);
    opacity: 0;
}

/* Animated Background for Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
}

.bg-shape-1 {
    width: 500px;
    height: 500px;
    top: -250px;
    right: -100px;
}

.bg-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.bg-shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
}

/* Contact Form Enhancements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    transition: var(--transition-smooth);
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-300);
    transition: var(--transition-smooth);
    background-color: var(--neutral-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(9, 132, 127, 0.1);
}

.form-control:focus + .form-label {
    color: var(--primary-color);
}

.submit-btn {
    position: relative;
    overflow: hidden;
    padding: 0.9rem 2.5rem;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loading-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
    margin: 0 2px;
    opacity: 0;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading .loading-dot {
    animation: loading-dots 1.5s infinite;
}

.btn-loading .loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.btn-loading .loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loading-dots {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .timeline::before {
        right: 50%;
    }
    
    .timeline-item {
        width: 100%;
        margin-right: 0;
    }
    
    .timeline-icon {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
}

/* Add Arabic decorative dividers */
.section-separator {
    position: relative;
    height: 80px;
    margin-top: -40px;
    margin-bottom: -40px;
    z-index: 10;
    overflow: hidden;
}

.separator-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--neutral-light);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 50%, 0 100%);
}

.separator-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--neutral-light);
    clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 0 100%);
}

.separator-dark .separator-top,
.separator-dark .separator-bottom {
    background-color: var(--gray-100);
}

.arabic-pattern {
    position: relative;
}

.arabic-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--arabic-pattern-light);
    background-repeat: repeat;
    opacity: 0.5;
    z-index: -1;
}

.arabic-pattern-dark::before {
    background-image: var(--arabic-pattern-dark);
}

.arabic-decoration {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.arabic-decoration::before,
.arabic-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background-image: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.arabic-decoration::before {
    right: 100%;
    margin-right: 15px;
}

.arabic-decoration::after {
    left: 100%;
    margin-left: 15px;
}

/* Service section dots navigation */
.service-scroll-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.service-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-300);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.service-dot.active {
    width: 20px;
    border-radius: 10px;
    background-color: var(--primary-color);
}

.service-dot:hover {
    background-color: var(--primary-light);
}

/* Service list styles */
.service-list {
    margin-top: 1.5rem;
}

.service-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.service-list-icon {
    color: var(--accent-color);
    margin-left: 0.5rem;
    font-size: 0.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-list-item {
    transform: translateX(-5px);
}

.service-card:hover .service-list-icon {
    color: var(--primary-color);
}

/* About Section */
.about-image {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0.5;
}

.about-card {
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    background-color: var(--neutral-light);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: var(--arabic-pattern-light);
    background-size: 100px;
    opacity: 0.2;
    z-index: -1;
}

.about-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background-color: var(--primary-color);
    color: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    transform: rotate(0deg);
    transition: var(--transition-bounce);
}

.about-card:hover .about-card-icon {
    transform: rotate(10deg) scale(1.1);
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.about-card-title::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.about-card:hover .about-card-title::after {
    width: 100%;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateX(-5px);
}

.feature-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-left: 1rem;
    margin-top: 0.25rem;
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

/* Arabic Corner Elements */
.corner-ornament {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 1;
}

.corner-top-right {
    top: 0;
    right: 0;
    transform: rotate(0deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M60 0v20c0 11.046-8.954 20-20 20H0' stroke='%2300917C' stroke-width='2' fill='none'/%3E%3Cpath d='M40 25a5 5 0 1 0 0-10 5 5 0 0 0 0 10z' fill='%23F8D458' stroke='%2300917C' stroke-width='1'/%3E%3C/svg%3E");
}

.corner-top-left {
    top: 0;
    left: 0;
    transform: rotate(90deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M60 0v20c0 11.046-8.954 20-20 20H0' stroke='%2300917C' stroke-width='2' fill='none'/%3E%3Cpath d='M40 25a5 5 0 1 0 0-10 5 5 0 0 0 0 10z' fill='%23F8D458' stroke='%2300917C' stroke-width='1'/%3E%3C/svg%3E");
}

.corner-bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(270deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M60 0v20c0 11.046-8.954 20-20 20H0' stroke='%2300917C' stroke-width='2' fill='none'/%3E%3Cpath d='M40 25a5 5 0 1 0 0-10 5 5 0 0 0 0 10z' fill='%23F8D458' stroke='%2300917C' stroke-width='1'/%3E%3C/svg%3E");
}

.corner-bottom-left {
    bottom: 0;
    left: 0;
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M60 0v20c0 11.046-8.954 20-20 20H0' stroke='%2300917C' stroke-width='2' fill='none'/%3E%3Cpath d='M40 25a5 5 0 1 0 0-10 5 5 0 0 0 0 10z' fill='%23F8D458' stroke='%2300917C' stroke-width='1'/%3E%3C/svg%3E");
}

/* Arabic Section Divider */
.arabic-divider {
    height: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    position: relative;
}

.arabic-divider::before {
    content: '';
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
}

.arabic-divider-symbol {
    width: 40px;
    height: 40px;
    background-color: var(--neutral-light);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arabic-divider-symbol::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0L23.5 13.5L37 20L23.5 26.5L20 40L16.5 26.5L3 20L16.5 13.5Z' fill='%23F8D458' stroke='%2300917C' stroke-width='1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Section Header with Arabic Ornaments */
.section-header-decorated {
    position: relative;
    padding: 2rem;
    margin-bottom: 3rem;
}

.section-header-decorated .corner-ornament {
    width: 50px;
    height: 50px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(248, 212, 88, 0.3);
}

/* Custom Arabic Card Styles */
.arabic-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    background-color: var(--neutral-light);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    overflow: hidden;
    z-index: 1;
}

.arabic-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-image: var(--arabic-pattern-light);
    background-size: 80px;
    opacity: 0.2;
    z-index: -1;
}

.arabic-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-image: var(--arabic-star);
    background-size: 60px;
    opacity: 0.1;
    z-index: -1;
}

.arabic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.arabic-card:hover::before, 
.arabic-card:hover::after {
    opacity: 0.3;
}

/* Arabic Decorative Text */
.arabic-text-decoration {
    position: relative;
    display: inline-block;
}

.arabic-text-decoration::before {
    content: '❊';
    position: absolute;
    right: -25px;
    opacity: 0.5;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.arabic-text-decoration::after {
    content: '❊';
    position: absolute;
    left: -25px;
    opacity: 0.5;
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Decorated quote for testimonials */
.arabic-quote {
    position: relative;
    padding: 2rem 3rem;
    margin: 2rem 0;
    font-style: italic;
}

.arabic-quote::before,
.arabic-quote::after {
    position: absolute;
    font-size: 4rem;
    opacity: 0.2;
    font-family: Arial, sans-serif;
    color: var(--primary-color);
}

.arabic-quote::before {
    content: '"';
    top: 0;
    right: 0;
}

.arabic-quote::after {
    content: '"';
    bottom: 0;
    left: 0;
}

/* Additional Arabic-themed Enhancements */

/* Enhanced hover effects for service cards */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(248, 212, 88, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: var(--transition-default);
    z-index: -1;
}

.service-card:hover .service-icon::before {
    opacity: 0.5;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

/* Enhanced testimonial cards */
.testimonial-card {
    overflow: hidden;
    transition: var(--transition-smooth);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 70%);
    top: -50%;
    left: -50%;
        opacity: 0;
    transition: var(--transition-default);
    z-index: -1;
    transform: scale(0);
}

.testimonial-card:hover::before {
    opacity: 0.05;
    transform: scale(1);
    animation: rotate-slowly 10s linear infinite;
}

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

.testimonial-card .arabic-quote::before {
    color: var(--primary-light);
    opacity: 0.2;
    font-size: 3rem;
    top: 10px;
    right: 10px;
    transition: var(--transition-default);
}

.testimonial-card:hover .arabic-quote::before {
    transform: translateY(-5px) scale(1.1);
    opacity: 0.3;
}

/* Enhanced scroll progress indicator */
.scroll-progress {
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 10px rgba(248, 212, 88, 0.3);
}

/* Arabic pattern overlays */
.arabic-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: var(--arabic-geometric);
    background-size: 150px;
}

/* Enhanced section separators */
.section-separator {
    overflow: hidden;
}

.section-separator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    bottom: -15px;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0 L20 10 L10 20 L0 10 Z' fill='rgba(0, 145, 124, 0.1)' stroke='none'/%3E%3C/svg%3E");
    background-size: 20px;
    background-repeat: repeat-x;
    z-index: 5;
    opacity: 0.7;
}

/* Enhanced button hover effects */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover::before,
.btn-outline:hover::before {
    transform: scaleX(1.5) scaleY(1.2);
    opacity: 0;
    transition: all 0.5s ease-out;
}

/* Enhanced swiper navigation and pagination */
.services-swiper,
.testimonials-swiper {
    overflow: visible;
    padding-bottom: 50px;
}

.services-pagination,
.testimonials-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    position: relative;
    overflow: hidden;
}

.swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-pagination-bullet:hover::after,
.swiper-pagination-bullet-active::after {
    opacity: 0.5;
}

/* Mobile Menu Logo and Social Icons */
.mobile-menu-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-logo span {
    color: var(--neutral-light);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-symbol {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-symbol::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    background-image: var(--arabic-star);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 2rem;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--neutral-light);
    margin: 0 0.5rem;
    transition: var(--transition-default);
    position: relative;
    overflow: hidden;
}

.mobile-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: var(--transition-smooth);
}

.mobile-social-link:hover {
    transform: translateY(-5px);
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-social-link:hover::before {
    opacity: 0.2;
    transform: scale(2);
}

.mobile-social-link i {
    position: relative;
    z-index: 1;
}

/* Small Screen Adjustments for Mobile Menu */
@media (max-width: 576px) {
    .mobile-menu {
        width: 90%;
        padding: 1.5rem;
    }
    
    .mobile-menu-close {
        top: 1rem;
        left: 1rem;
    }
    
    .mobile-menu-logo {
        margin-bottom: 2rem;
    }
    
    .mobile-menu-logo span {
        font-size: 1.5rem;
    }
    
    .mobile-symbol {
        width: 50px;
        height: 50px;
    }
    
    .mobile-menu .nav-link {
        font-size: 1.1rem;
        padding: 0.7rem 1.2rem;
        width: 90%;
        margin: 0.3rem 0;
    }
    
    .mobile-menu-social {
        padding-top: 1.5rem;
    }
    
    .mobile-social-link {
        width: 36px;
        height: 36px;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) {
    .mobile-menu .nav-link:active {
        transform: scale(0.95);
        background-color: rgba(255, 255, 255, 0.15);
    }
    
    .mobile-social-link:active {
        transform: scale(0.9);
    }
    
    .mobile-menu-close:active {
        transform: scale(0.9);
    }
}

/* Contact and WhatsApp Buttons */
.btn-contact,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 140px;
}

.btn-contact::before,
.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.btn-contact:hover::before,
.btn-whatsapp:hover::before {
    left: 0;
}

.btn-contact {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.btn-contact:hover,
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-whatsapp:hover {
    background-color: #1da851;
    border-color: #1da851;
}

.btn-contact:active,
.btn-whatsapp:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-contact i,
.btn-whatsapp i {
    font-size: 1.1em;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-contact:hover i,
.btn-whatsapp:hover i {
    transform: scale(1.2);
}

/* Mobile responsiveness for new buttons */
@media (max-width: 640px) {
    .btn-contact,
    .btn-whatsapp {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 0;
    }
}

/* Enhanced Contact Section Styles */
.contact-container {
    position: relative;
    z-index: 1;
}

.contact-card {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--arabic-pattern-light);
    background-size: 80px;
    opacity: 0.05;
    z-index: 0;
}

/* Contact information icons */
.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.contact-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--accent-color);
}

.contact-link {
    color: white;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-link:hover::after {
    width: 100%;
}

/* Direct contact buttons */
.direct-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
}

.direct-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.direct-contact-btn:hover::before {
    left: 0;
}

.direct-contact-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.direct-contact-btn:hover i {
    transform: scale(1.2);
}

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

.phone-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.whatsapp-btn {
    background-color: #25D366;
    border: 2px solid #25D366;
}

.whatsapp-btn:hover {
    background-color: #1da851;
    border-color: #1da851;
}

.email-btn {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.email-btn:hover {
    background-color: #e54b2f;
    border-color: #e54b2f;
}

/* Social grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 10px;
    background-color: #f8f8f8;
    transition: all 0.3s ease;
    text-align: center;
}

.social-grid-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-grid-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.social-grid-item:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-grid-item:hover i {
    color: white;
    transform: scale(1.2);
}

.social-grid-item:hover span {
    color: white;
}

/* Business hours badge */
.inline-flex {
    transition: all 0.3s ease;
}

.inline-flex:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .direct-contact-btn {
        padding: 0.8rem 1.2rem;
    }
    
    .contact-info-title {
        font-size: 1rem;
    }
}

/* Services Gallery Styles */
.services-gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .services-gallery-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.services-gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 100%;
    cursor: pointer;
}

.services-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.services-gallery-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
}

.services-gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.services-gallery-item:hover .services-gallery-image img {
    transform: scale(1.05);
}
   /* Enhanced responsive styles for Swiper */
   .swiper-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    box-sizing: border-box;
}

.swiper-slide {
    height: auto !important;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition-property: transform, box-shadow, opacity;
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform, box-shadow, opacity;
    box-sizing: border-box;
}

/* Ensure all slides maintain same height */
.property-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-features {
    margin-top: auto;
}

/* Property type label */
.property-type {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}

/* Property card styling */
.property-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: pulse-border 1.5s infinite;
}

.property-card-image {
    position: relative;
}

.property-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.property-location {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.property-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Make sure pagination is visible on all backgrounds */
.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 20px;
    border-radius: 10px;
}

/* Enhanced navigation buttons for better touch targets */
.swiper-button-next, .swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.swiper-button-next:after, .swiper-button-prev:after {
    content: none;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.properties-swiper:hover .swiper-button-next,
.properties-swiper:hover .swiper-button-prev,
.gallery-swiper:hover .swiper-button-next,
.gallery-swiper:hover .swiper-button-prev {
    opacity: 0.8;
}

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 30px;
    left: 20px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    color: white;
    font-size: 24px;
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.whatsapp-button {
    background-color: #25D366;
}

.call-button {
    background-color: var(--primary-color);
}



/* FAQ Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 20px;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    line-height: 1.6;
    color: #666;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Team Members styling */
.team-member {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-member-image {
    position: relative;
    overflow: hidden;
}

.team-member-image img {
    transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.1);
}

.team-member-content {
    padding: 20px;
    text-align: center;
    background-color: white;
}

.team-member-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.team-member-position {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Enhanced Contact Section */
.contact-enhanced {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .contact-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-enhanced {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card-enhanced {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 250px;
}

.contact-card-enhanced:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,145,124,0.1) 0%, rgba(255,255,255,0) 60%);
    z-index: -1;
}

.contact-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-icon-enhanced {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,145,124,0.3);
}

.contact-title-enhanced {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact-info-enhanced {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-action {
    margin-top: auto;
}

/* Arabic Pattern backgrounds */
.arabic-bg-light {
    position: relative;
    overflow: hidden;
}

.arabic-bg-light:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    background-size: 400px;
    opacity: 0.05;
    z-index: -1;
}

.arabic-bg-dark {
    position: relative;
    overflow: hidden;
}

.arabic-bg-dark:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    background-size: 400px;
    opacity: 0.1;
    z-index: -1;
}

/* Decorative elements */
.arabic-ornament {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: -1;
}

.ornament-top-right {
    top: -50px;
    right: -50px;
    transform: rotate(45deg);
}

.ornament-bottom-left {
    bottom: -50px;
    left: -50px;
    transform: rotate(-135deg);
}

/* Gallery styling */
.gallery-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 250px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image:hover .gallery-image-overlay {
    opacity: 1;
}

/* Gallery icon */
.gallery-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-image:hover .gallery-icon {
    transform: scale(1);
}

/* Gallery image badges */
.gallery-image-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-image:hover .gallery-image-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced buttons and interactive elements */
.btn-primary, .btn-secondary, .btn-whatsapp, .btn-primary-outline {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover:after, .btn-secondary:hover:after, .btn-whatsapp:hover:after {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.btn-primary:hover, .btn-secondary:hover, .btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Enhanced filter buttons */
.filter-btn {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.filter-btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
    z-index: -1;
}

.filter-btn:hover:before, .filter-btn.active:before {
    width: 100%;
}

.filter-btn.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Pulsating effect for property cards */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 145, 124, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 145, 124, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 145, 124, 0);
    }
}

.property-card:hover {
    animation: pulse-border 1.5s infinite;
}

/* Real Estate Tips Section */
.real-estate-tips-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 640px) {
    .real-estate-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .real-estate-tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tip-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tip-card-header {
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.tip-card-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.tip-card:hover .tip-card-header img {
    transform: scale(1.1);
}

.tip-card-body {
    padding: 25px;
    position: relative;
}

.tip-card-icon {
    position: absolute;
    top: -30px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,145,124,0.3);
    z-index: 2;
}

.tip-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.tip-card-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tip-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.tip-card-category {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.tip-card-readmore {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tip-card-readmore i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.tip-card:hover .tip-card-readmore {
    color: var(--primary-color);
}

.tip-card:hover .tip-card-readmore i {
    transform: translateX(-5px);
}

/* Lightbox caption */
.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 10px;
    font-size: 16px;
    opacity: 0.8;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.show {
    opacity: 1;
}

.lightbox.show .lightbox-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(20px) scale(0.97);
    opacity: 0;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.lightbox-image:hover {
    transform: scale(1.02);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    transform: scale(0);
    animation: scaleIn 0.3s forwards 0.2s;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lightbox-caption {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 10px 15px;
    margin-top: 15px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    max-width: 90%;
    transform: translateY(10px);
    opacity: 0;
    animation: fadeInUp 0.5s forwards 0.3s;
}

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

.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    z-index: 1;
}

.loading-indicator i {
    animation: spin 1s linear infinite;
}

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

/* Add this CSS to the style section */
.tip-card-contact {
    display: flex;
    gap: 10px;
}

.tip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tip-btn-call {
    background-color: var(--primary-color);
    color: white;
}

.tip-btn-call:hover {
    background-color: #007e6c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 145, 124, 0.3);
}

.tip-btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.tip-btn-whatsapp:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Update the tip-card-footer to accommodate the buttons */
.tip-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 480px) {
    .tip-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tip-card-contact {
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }
}