/* Import Cairo Font for a modern Arabic look */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette - Abu Maryam Branding (Navy & Gold) */
    --primary-color: #002B49; /* Navy from Logo */
    --secondary-color: #C5A059; /* Gold from Logo */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-dark: #002B49;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    /* Design Tokens */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    
    --transition: all 0.3s ease;
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Header --- */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-login {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* --- Hero Slider --- */
.hero-slider-container {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.main-slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: scale(1.1);
    transition: transform 6s linear;
}

.slide.active img {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 43, 73, 0.85), rgba(0, 43, 73, 0.2));
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: right;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

.slide-content .btn-primary {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.7s;
}

.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .btn-primary {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
}

.slider-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.slider-nav button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

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

/* --- Welcoming News Ticker --- */
.welcome-ticker {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ticker-content {
    display: inline-block;
    animation: ticker-animation 60s linear infinite; /* Adjusted speed for more content */
    font-weight: 600;
    font-size: 1.1rem;
    width: max-content;
}

.ticker-content span {
    margin-right: 50px;
}

.ticker-dot {
    color: white;
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 50px;
}

@keyframes ticker-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); } /* Scroll exactly half to reset seamlessly */
}

/* --- Services Section --- */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Color Variations for Service Cards */
.card-blue { --card-color: #0088CC; --card-bg: #f0f9ff; }
.card-orange { --card-color: #FF9900; --card-bg: #fff7ed; }
.card-green { --card-color: #10B981; --card-bg: #f0fdf4; }
.card-purple { --card-color: #8B5CF6; --card-bg: #f5f3ff; }
.card-red { --card-color: #EF4444; --card-bg: #fef2f2; }
.card-teal { --card-color: #14B8A6; --card-bg: #f0fdfa; }
.card-amber { --card-color: #F59E0B; --card-bg: #fffbeb; }
.card-pink { --card-color: #EC4899; --card-bg: #fdf2f8; }
.card-indigo { --card-color: #6366F1; --card-bg: #eef2ff; }
.card-cyan { --card-color: #06B6D4; --card-bg: #ecfeff; }

/* Instagram Work Card */
.instagram-work-card {
    grid-column: span 1; /* Smaller: only 1 column */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(214, 36, 159, 0.15);
    position: relative;
    overflow: hidden;
    gap: 1rem;
}

.insta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.insta-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.insta-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: white;
}

.insta-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.insta-arrow {
    display: none; /* Hide arrow for cleaner look in smaller card */
}

.instagram-work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.instagram-work-card:hover::before {
    transform: translateX(100%);
}

.instagram-work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(214, 36, 159, 0.3);
}

/* Pinterest Work Card */
.pinterest-work-card {
    grid-column: span 1;
    background: linear-gradient(135deg, #bd081c 0%, #e60023 100%);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(189, 8, 28, 0.15);
    position: relative;
    overflow: hidden;
    gap: 1rem;
}

.pinterest-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.pinterest-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.pinterest-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: white;
}

.pinterest-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.pinterest-arrow {
    display: none;
}

.pinterest-work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.pinterest-work-card:hover::before {
    transform: translateX(100%);
}

.pinterest-work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(189, 8, 28, 0.3);
}

.service-card {
    background: var(--bg-white);
    padding: 1.8rem 1.2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--card-color, var(--primary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--card-bg, #f0f9ff);
    color: var(--card-color, var(--primary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--card-color, var(--primary-color));
    color: white;
    transform: rotateY(360deg);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--card-color, var(--primary-color));
}

.service-btn {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-btn {
    opacity: 1;
    transform: translateY(0);
    color: var(--card-color, var(--secondary-color));
}

/* --- Delivery Section --- */
.delivery-container {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001a2c 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.delivery-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.delivery-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.delivery-features {
    display: grid;
    gap: 1.5rem;
}

.delivery-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition);
}

.delivery-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-10px);
    border-color: var(--secondary-color);
}

.delivery-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Prominent Portfolio Card --- */
.portfolio-promo-card {
    background: linear-gradient(135deg, #001E35 0%, #000c16 100%) !important;
    border: 2px solid var(--secondary-color) !important;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.15) !important;
    text-decoration: none;
}

.portfolio-promo-card:hover {
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.3) !important;
    transform: translateY(-8px) !important;
}

/* --- Header Search Bar --- */
.header-search-wrapper {
    background: #f1f5f9;
    border-radius: 50px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid transparent;
    transition: var(--transition);
    max-width: 180px;
}

.header-search-wrapper:focus-within {
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.1);
    max-width: 240px;
}

.header-search-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--primary-color);
    width: 100%;
}

.header-search-wrapper i {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* --- Floating Social Buttons (Optimized smaller size) --- */
.whatsapp-float {
    position: fixed;
    bottom: 87px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.instagram-float {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pinterest-float {
    position: fixed;
    bottom: 149px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #bd081c;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover, .instagram-float:hover, .pinterest-float:hover {
    transform: scale(1.1);
    color: #FFF;
    box-shadow: 0 8px 25px rgba(189, 8, 28, 0.4);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Creative Overlapping Layout --- */
.creative-section {
    position: relative;
    padding: 8rem 0;
}

.creative-grid {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.creative-text {
    flex: 1;
    min-width: 350px;
    padding: 4rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -15px rgba(0, 43, 73, 0.1);
    z-index: 2;
    margin-left: -50px; /* Overlap effect for RTL */
}

.creative-img {
    flex: 1;
    min-width: 350px;
    z-index: 1;
}

.creative-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

/* --- Icon-based Delivery Section --- */
.delivery-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.delivery-icon-box {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 43, 73, 0.05);
}

.delivery-icon-box:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 43, 73, 0.1);
}

.delivery-icon-box i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.delivery-icon-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.delivery-icon-box p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Modal / Popup System --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 43, 73, 0.85);
    backdrop-filter: blur(8px);
    z-index: 20000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    width: 100%;
    max-width: 800px;
    border-radius: var(--radius-lg);
    position: relative;
    padding: 3rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 43, 73, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    animation: modal-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.close-modal:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
    opacity: 1;
}

.premium-order-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #C5A059 0%, #E2C275 100%);
    color: #001a2c;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-order-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.5);
    background: linear-gradient(135deg, #E2C275 0%, #C5A059 100%);
    color: #001a2c;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

/* --- Contact Form Styles --- */
.contact-modal-content {
    max-width: 600px;
}

.contact-form {
    text-align: right;
}

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

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

.form-group label i {
    color: var(--secondary-color);
    margin-left: 5px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

.close-contact-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.close-contact-modal:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
    opacity: 1;
}

/* --- Back to Top Button --- */
#backToTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 43, 73, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* --- Animated Background Icons --- */
.bg-icons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999; /* تظهر فوق كل شيء لضمان الرؤية */
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    color: var(--secondary-color); /* لون ذهبي ليبرز فوق الأبيض */
    opacity: 0.15;
    font-size: 1.5rem;
    animation: float-around var(--duration) linear infinite;
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(100px, 150px) rotate(120deg);
    }
    66% {
        transform: translate(-100px, 300px) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* --- Steps Section --- */
.steps-bg {
    background-color: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    position: relative;
    text-align: center;
}

.step-num {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* --- Footer --- */
footer {
    background-color: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Responsive navigation is handled at the bottom of the file */

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--bg-white);
    overflow: hidden; /* Hide overflow for marquee */
}

.testimonials-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

/* Gradient Fade on edges */
.testimonials-container::before,
.testimonials-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.testimonials-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 2)); } /* Adjust based on duplication */
}

/* Make sure duplication logic is handled: 
   If we have 10 items, we scroll until the 10th item's end. 
   calc(-100% / 2) works if we duplicated all items. 
   Since I added 3 duplicates, let's refine this or just duplicate more in HTML.
   Actually, let's use a standard marquee technique.
*/

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    width: 350px; /* Fixed width for consistent scroll */
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 43, 73, 0.03);
}

.testimonial-card:hover {
    background: white;
    box-shadow: 0 20px 40px rgba(0, 43, 73, 0.08);
    border-color: var(--secondary-color);
}

.stars {
    color: #F59E0B;
    margin-bottom: 1rem;
    display: flex;
    gap: 4px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    height: 80px; /* Ensure consistent card height */
    overflow: hidden;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.customer-avatar {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.customer-details h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.customer-details span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Visitor Counter Section --- */
.visitor-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    padding: 6rem 0;
}

.visitor-card {
    background: var(--bg-white);
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 20px 50px rgba(0, 43, 73, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.visitor-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    background: rgba(197, 160, 89, 0.1);
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-gold 3s infinite;
}

.visitor-info {
    flex-grow: 1;
}

.visitor-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.counter-wrapper {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 1rem;
}

.counter-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-plus {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.visitor-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

@media (max-width: 768px) {
    /* Visitor Section */
    .visitor-card {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        text-align: center;
        gap: 1.5rem;
    }
    
    .visitor-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .counter-number {
        font-size: 3rem;
    }

    /* Global Typography & Section Padding */
    .section {
        padding: 4rem 0 !important;
    }
    
    .section-title {
        margin-bottom: 2.5rem !important;
    }
    
    .section-title h2 {
        font-size: 2rem !important;
    }
    
    .section-title p {
        font-size: 0.95rem !important;
    }

    /* Navigation & Header */
    header {
        height: auto !important;
        padding: 0.8rem 0;
    }
    
    nav {
        flex-direction: column;
        height: auto !important;
        gap: 0.8rem;
    }
    
    nav .logo {
        gap: 10px !important;
    }
    
    nav .logo img {
        height: 45px !important;
    }
    
    nav .logo-text {
        font-size: 1.25rem !important;
    }
    
    .nav-links {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 1.2rem;
        padding: 0;
        margin: 0;
    }
    
    .nav-links li a {
        font-size: 0.9rem !important;
    }

    /* Hero Slider Container */
    .hero-slider-container {
        height: 380px !important;
    }
    
    .slide-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    .slide-content p {
        font-size: 0.95rem !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
    
    .slide-content .btn-primary {
        padding: 0.8rem 1.8rem !important;
        font-size: 0.95rem !important;
    }

    /* Creative Overlapping Section (Why Us) */
    .creative-section {
        padding: 4rem 0 !important;
    }
    
    .creative-grid {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .creative-text {
        margin: 0 !important;
        padding: 2.5rem 1.5rem !important;
        text-align: center !important;
        border-radius: var(--radius-lg) !important;
    }
    
    .creative-text h2 {
        font-size: 1.8rem !important;
    }
    
    .creative-img img {
        height: 280px !important;
        border-radius: var(--radius-lg) !important;
    }

    /* Modals & Popups */
    .modal-content {
        padding: 2rem 1.5rem !important;
        max-height: 92vh !important;
    }
    
    .modal-content h2 {
        font-size: 1.6rem !important;
    }
    
    .modal-desc {
        font-size: 0.95rem !important;
    }
    
    .modal-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }
    
    .modal-gallery img {
        height: 140px !important;
    }
    
    .close-modal, .close-contact-modal {
        top: 15px !important;
        right: 15px !important;
        font-size: 2rem !important;
    }
    
    .visitor-likes-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .like-card {
        padding: 2.5rem 1.5rem !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }
    
    .like-btn-facebook {
        width: 100% !important;
        justify-content: center !important;
        font-size: 1.1rem !important;
        padding: 0.8rem 1.5rem !important;
    }
    
    .like-info h3 {
        font-size: 1.5rem !important;
    }
    
    .like-info p {
        font-size: 0.95rem !important;
    }
}

/* --- Facebook Like Button Card --- */
.visitor-likes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.like-card {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 43, 73, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-grow: 1;
}

.like-btn-facebook {
    background: #1877f2;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1.2rem 2.2rem;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.like-btn-facebook:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 24px rgba(24, 119, 242, 0.4);
    background: #166fe5;
}

.like-btn-facebook.liked {
    background: linear-gradient(135deg, #C5A059 0%, #E2C275 100%) !important;
    color: #001a2c !important;
    box-shadow: 0 8px 16px rgba(197, 160, 89, 0.3) !important;
}

.like-btn-facebook.liked i {
    animation: thumb-bounce 0.5s ease;
}

@keyframes thumb-bounce {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.4) rotate(-20deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.like-info {
    flex-grow: 1;
}

.like-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.like-counter-wrapper {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 1rem;
}

.like-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
