/* ===== CSS Variables ===== */
:root {
    --primary: #1a2d45;
    --primary-dark: #0f1b2e;
    --primary-light: #263f5a;
    --accent: #f5c518;
    --accent-hover: #ffd700;
    --accent-dark: #d4a800;
    --white: #ffffff;
    --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;
    --font-en: 'Poppins', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    --font-logo: 'Dancing Script', cursive;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-en);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

body[dir="rtl"] {
    font-family: var(--font-ar);
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    height: 80px;
    width: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.08); }
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 27, 46, 0.97);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link-btn {
    background: var(--accent);
    color: var(--primary-dark) !important;
    border-radius: var(--radius-xl);
    padding: 10px 24px;
    font-weight: 600;
}

.nav-link-btn:hover {
    background: var(--accent-hover);
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-ar);
}

.lang-toggle:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(160deg, #0f1b2e 0%, #1a2d45 40%, #1e3550 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23ffffff' opacity='.04'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='url(%23p)'/%3E%3C/svg%3E");
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center, rgba(26, 45, 69, 0.2) 0%, rgba(15, 27, 46, 0.5) 100%);
    z-index: 2;
}

/* Hero Particles - More visible */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    animation: float-up 7s infinite;
    opacity: 0;
}

.particle.shape-dot {
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(245, 197, 24, 0.5);
}

.particle.shape-square {
    border-radius: 2px;
    transform: rotate(45deg);
    background: rgba(245, 197, 24, 0.8);
}

.particle.shape-line {
    border-radius: 1px;
    height: 2px !important;
    width: 18px !important;
    background: rgba(255, 255, 255, 0.5);
}

@keyframes float-up {
    0% { opacity: 0; transform: translateY(100vh) rotate(0deg) scale(0.5); }
    15% { opacity: 0.9; }
    50% { opacity: 0.7; }
    85% { opacity: 0.5; }
    100% { opacity: 0; transform: translateY(-80px) rotate(180deg) scale(1); }
}

.particle:nth-child(3n) {
    animation-name: float-zigzag;
}

@keyframes float-zigzag {
    0% { opacity: 0; transform: translateY(100vh) translateX(0); }
    15% { opacity: 0.8; }
    25% { transform: translateY(75vh) translateX(40px); }
    50% { transform: translateY(50vh) translateX(-30px); opacity: 0.7; }
    75% { transform: translateY(25vh) translateX(20px); }
    100% { opacity: 0; transform: translateY(-50px) translateX(-10px); }
}

.particle:nth-child(even) {
    animation-name: float-drift;
}

@keyframes float-drift {
    0% { opacity: 0; transform: translateY(100vh) translateX(0) scale(0.8); }
    15% { opacity: 0.85; }
    50% { transform: translateY(50vh) translateX(50px) scale(1); opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-60px) translateX(-30px) scale(0.6); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 750px;
    padding: 0 20px;
}

.closed-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 28px;
    animation: fadeSlideUp 0.8s ease forwards, notice-pulse 2s ease-in-out 1.5s infinite;
}

.closed-notice i {
    font-size: 1.1rem;
    color: var(--accent);
}

@keyframes notice-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    50% { box-shadow: 0 0 20px rgba(220, 53, 69, 0.3); }
}

.hero-title {
    margin-bottom: 20px;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 24px;
    border-radius: 2px;
    animation: divider-expand 1.2s ease 0.8s forwards;
    transform: scaleX(0);
}

@keyframes divider-expand {
    to { transform: scaleX(1); }
}

.hero-title-main {
    display: block;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    font-style: italic;
    text-shadow: 0 2px 30px rgba(245, 197, 24, 0.15);
}

.hero-subtitle {
    font-size: clamp(0.72rem, 1.5vw, 0.88rem);
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-cta .btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-cta .btn-primary i {
    font-size: 0.75rem;
}

.hero-cta .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 197, 24, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll a {
    color: var(--white);
    font-size: 1.3rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ===== Soft creamy background for light sections ===== */
.services-intro,
.services,
.about,
.contact {
    background: #ece5dd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect fill='%23ece5dd' width='100' height='100'/%3E%3Ccircle cx='25' cy='25' r='1' fill='%23d4cdc4' opacity='.4'/%3E%3Ccircle cx='75' cy='75' r='1' fill='%23d4cdc4' opacity='.4'/%3E%3Ccircle cx='50' cy='10' r='0.7' fill='%23d4cdc4' opacity='.3'/%3E%3Ccircle cx='10' cy='60' r='0.7' fill='%23d4cdc4' opacity='.3'/%3E%3Ccircle cx='90' cy='40' r='0.5' fill='%23d4cdc4' opacity='.25'/%3E%3C/svg%3E");
}

.services-detail {
    background: #e4ddd5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect fill='%23e4ddd5' width='100' height='100'/%3E%3Ccircle cx='30' cy='30' r='1' fill='%23cfc7be' opacity='.3'/%3E%3Ccircle cx='70' cy='70' r='1' fill='%23cfc7be' opacity='.3'/%3E%3C/svg%3E");
}

/* ===== Services Intro ===== */
.services-intro {
    padding: 60px 0 20px;
}

.services-intro-header {
    text-align: center;
}

.services-intro-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.success-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 4px 16px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-left: 8px;
}

body[dir="rtl"] .success-badge {
    margin-left: 0;
    margin-right: 8px;
}

/* ===== Services Circle Grid ===== */
.services {
    padding: 50px 0 80px;
}

.services-circle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    max-width: 700px;
    margin: 0 auto;
}

.service-circle-item {
    text-align: center;
}

.service-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-circle::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 2px solid rgba(245, 197, 24, 0.2);
}

.service-circle i {
    font-size: 2.5rem;
    color: var(--accent);
    transition: var(--transition);
    z-index: 1;
}

.service-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(27, 58, 75, 0.4);
    background: var(--primary-light);
}

.service-circle:hover i {
    transform: scale(1.1);
}

.service-circle-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== Detailed Services ===== */
.services-detail {
    padding: 80px 0;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-detail-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

body[dir="rtl"] .service-detail-card::before {
    transform-origin: right;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 197, 24, 0.15);
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--transition);
}

.service-detail-icon i {
    font-size: 1.3rem;
    color: var(--accent);
}

.service-detail-card:hover .service-detail-icon {
    background: var(--accent);
}

.service-detail-card:hover .service-detail-icon i {
    color: var(--primary-dark);
}

.service-detail-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-detail-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(245, 197, 24, 0.12);
    color: var(--accent-dark);
    padding: 6px 18px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.3;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    padding: 90px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag { margin-bottom: 10px; }
.about-content .section-title { text-align: left; margin-bottom: 18px; }
body[dir="rtl"] .about-content .section-title { text-align: right; }

.about-text {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 36px;
}

.stat { text-align: center; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-dark);
    display: inline;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-top: 4px;
    font-weight: 500;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
}

.about-shape {
    position: absolute;
    inset: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.about-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image i {
    font-size: 5rem;
    color: var(--accent);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== Values Section ===== */
.values {
    padding: 90px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(245, 197, 24, 0.03) 0%, transparent 60%);
}

.values .section-tag {
    background: rgba(245, 197, 24, 0.15);
    color: var(--accent);
}

.values .section-title { color: var(--white); }
.values .section-desc { color: rgba(255, 255, 255, 0.7); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(245, 197, 24, 0.25);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 70px 0;
    background: var(--primary-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(245, 197, 24, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(245, 197, 24, 0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.btn-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 14px 40px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 197, 24, 0.3);
}

/* ===== Contact Section ===== */
.contact {
    padding: 90px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

body[dir="rtl"] .contact-card:hover {
    transform: translateX(-5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: var(--accent);
    font-size: 1.1rem;
}

.contact-detail h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== WhatsApp Contact Box ===== */
.wa-contact-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
}

.wa-contact-box:hover {
    box-shadow: 0 12px 50px rgba(37, 211, 102, 0.15);
    transform: translateY(-4px);
}

.wa-contact-header {
    background: #075e54;
    padding: 30px 28px;
    text-align: center;
}

.wa-contact-icon-big {
    width: 70px;
    height: 70px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    animation: wa-bounce 2s ease infinite;
}

@keyframes wa-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.wa-contact-icon-big i {
    font-size: 2.2rem;
    color: var(--white);
}

.wa-contact-header h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.wa-contact-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.wa-contact-body {
    padding: 24px;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Crect fill='%23e5ddd5' width='200' height='200'/%3E%3Cpath d='M0 0h10v10H0zM20 0h10v10H20zM40 0h10v10H40z' fill='%23d6cfb8' opacity='.15'/%3E%3C/svg%3E");
}

.wa-contact-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    padding: 4px;
    object-fit: contain;
}

.wa-bubble {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    max-width: 80%;
}

.wa-bubble strong {
    display: block;
    font-size: 0.8rem;
    color: #075e54;
    margin-bottom: 4px;
}

.wa-bubble p {
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.wa-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #25d366;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.wa-contact-btn:hover {
    background: #1ebe5d;
}

.wa-contact-btn i {
    font-size: 1.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.3);
}

.btn-full { width: 100%; }

/* ===== Map Section ===== */
.map-section { width: 100%; }

.map-container {
    width: 100%;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 400px;
}

.map-link {
    text-align: center;
    padding: 14px;
    background: var(--primary);
}

.map-link a {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.map-link a:hover {
    color: var(--accent-hover);
    transform: translateY(-1px);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    padding: 70px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 55px;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links ul li,
.footer-services ul li { margin-bottom: 9px; }

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

body[dir="rtl"] .footer-links ul li a:hover,
body[dir="rtl"] .footer-services ul li a:hover {
    padding-left: 0;
    padding-right: 6px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--accent);
    min-width: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 92px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--accent);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 100;
}

body[dir="rtl"] .back-to-top { right: auto; left: 28px; }

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== WhatsApp Widget ===== */
.whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

body[dir="rtl"] .whatsapp-widget {
    right: auto;
    left: 24px;
}

.whatsapp-float {
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    animation: wa-pulse 2s infinite;
    margin-left: auto;
}

body[dir="rtl"] .whatsapp-float {
    margin-left: 0;
    margin-right: auto;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Chat Box */
.whatsapp-chat-box {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 340px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    transform-origin: bottom right;
}

body[dir="rtl"] .whatsapp-chat-box {
    right: auto;
    left: 0;
    transform-origin: bottom left;
}

.whatsapp-chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-chat-header {
    background: #1a2d45;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-header-avatar img {
    width: 32px;
    height: auto;
}

.wa-header-info {
    flex: 1;
}

.wa-header-info h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.wa-header-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
}

.wa-chat-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.wa-chat-close:hover {
    color: var(--white);
}

.wa-chat-body {
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cpath d='M0 0h300v300H0z' fill='%23e5ddd5'/%3E%3Cpath d='M20 20h4v4h-4zm30 0h4v4h-4zm30 0h4v4h-4zm30 0h4v4h-4zm30 0h4v4h-4z' fill='%23d4ccb6' opacity='.3'/%3E%3C/svg%3E");
    padding: 20px 16px;
    min-height: 100px;
}

.wa-message {
    display: flex;
}

.wa-message-content {
    background: var(--white);
    padding: 10px 14px;
    border-radius: 0 10px 10px 10px;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wa-message-content p {
    font-size: 0.88rem;
    color: var(--gray-800);
    line-height: 1.5;
    margin-bottom: 4px;
}

.wa-message-time {
    font-size: 0.68rem;
    color: var(--gray-500);
}

.wa-chat-footer {
    padding: 14px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.wa-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
}

.wa-send-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-send-btn i {
    font-size: 1.2rem;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowIn {
    from { opacity: 0; transform: translateY(40px) scale(0.95); text-shadow: 0 0 0 transparent; }
    to { opacity: 1; transform: translateY(0) scale(1); text-shadow: 0 2px 30px rgba(245, 197, 24, 0.15); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-title-main {
    animation: glowIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards, title-breathe 4s ease-in-out 2.5s infinite;
    opacity: 0;
}

.hero-title-main:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-subtitle {
    animation: fadeSlideUp 1s ease 1s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeSlideUp 1s ease 1.4s forwards;
    opacity: 0;
}

@keyframes title-breathe {
    0%, 100% { text-shadow: 0 2px 30px rgba(245, 197, 24, 0.1); }
    50% { text-shadow: 0 2px 50px rgba(245, 197, 24, 0.25), 0 0 80px rgba(245, 197, 24, 0.08); }
}

/* Pulse on service circles */
.service-circle {
    animation: gentle-pulse 3s ease-in-out infinite;
}

.service-circle-item:nth-child(2) .service-circle { animation-delay: 0.5s; }
.service-circle-item:nth-child(3) .service-circle { animation-delay: 1s; }
.service-circle-item:nth-child(4) .service-circle { animation-delay: 1.5s; }
.service-circle-item:nth-child(5) .service-circle { animation-delay: 2s; }
.service-circle-item:nth-child(6) .service-circle { animation-delay: 2.5s; }

@keyframes gentle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); }
    50% { box-shadow: 0 0 0 8px rgba(245, 197, 24, 0.1); }
}

/* Glowing accent on section tags */
.section-tag {
    animation: tag-glow 3s ease-in-out infinite alternate;
}

@keyframes tag-glow {
    from { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0); }
    to { box-shadow: 0 0 12px rgba(245, 197, 24, 0.15); }
}

/* Animated SUCCESS badge in services intro */
.success-badge {
    animation: highlight-pulse 2.5s ease-in-out infinite;
}

@keyframes highlight-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(245, 197, 24, 0.35); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .services-circle-grid { max-width: 600px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    }

    body[dir="rtl"] .nav-menu { right: auto; left: -100%; }
    .nav-menu.active { right: 0; }
    body[dir="rtl"] .nav-menu.active { left: 0; }
    .nav-toggle { display: flex; }
    .nav-link { font-size: 1rem; }

    .services-circle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .service-circle {
        width: 110px;
        height: 110px;
    }

    .service-circle i { font-size: 2rem; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-content .section-title { text-align: center; }
    .about-stats { justify-content: center; }
    .about-visual { order: -1; }
    .about-image-wrapper { width: 230px; height: 230px; }

    .contact-grid { grid-template-columns: 1fr; gap: 36px; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact p { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

    .values-grid { grid-template-columns: 1fr; }
    .services-detail-grid { grid-template-columns: 1fr; }

    .hero-title-main { font-size: 2rem; }
}

@media (max-width: 480px) {
    .services-circle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    .service-circle { width: 90px; height: 90px; }
    .service-circle i { font-size: 1.6rem; }
    .service-circle-item h4 { font-size: 0.8rem; }

    .about-stats { flex-direction: column; gap: 20px; }
    .about-image-wrapper { width: 180px; height: 180px; }
    .about-image i { font-size: 3.5rem; }
    .stat-number { font-size: 2rem; }

    .social-links { justify-content: center; }

    .hero-title-main { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.65rem; }

    .whatsapp-widget { bottom: 16px; right: 16px; }
    body[dir="rtl"] .whatsapp-widget { right: auto; left: 16px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; }
    .whatsapp-chat-box { width: calc(100vw - 32px); right: 0; }
    body[dir="rtl"] .whatsapp-chat-box { right: auto; left: 0; }

    .back-to-top { bottom: 18px; right: 80px; width: 40px; height: 40px; }
    body[dir="rtl"] .back-to-top { right: auto; left: 80px; }

    .logo-img { height: 40px; }
    .navbar.scrolled .logo-img { height: 34px; }
}
