/* ═══════════════════════════════════════════════════════════════
   RentEquip - Complete Stylesheet
   Arabic RTL - Orange/Navy Theme - Cairo Font
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ═══════════════ CSS VARIABLES ═══════════════ */
:root {
    /* Colors */
    --primary-color: #d97706;
    --primary-dark: #b45309;
    --primary-light: #f59e0b;
    --orange: #d97706;
    --orange-dark: #b45309;
    --orange-light: #fef3c7;
    --secondary-color: #f59e0b;

    --navy: #1e293b;
    --navy-light: #334155;

    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: rgba(0, 0, 0, 0.1);

    --success-color: #22c55e;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --warning-color: #f59e0b;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Typography */
    --font-main: 'Cairo', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ═══════════════ BASE ═══════════════ */
body {
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.3;
}

p, span, div, a, button, input, textarea, select, label {
    font-family: var(--font-main);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sr-only:focus {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: auto;
    height: auto;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    z-index: 9999;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav-content, .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.logo-icon, .logo-img {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    object-fit: cover;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}
.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-link, .nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}
.nav-link:hover,
.nav-link.active,
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}
.nav-link.active::after,
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}
.nav-phone:hover {
    color: var(--text-primary);
}

.mobile-menu-btn, .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}
.menu-toggle {
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}
.hb {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-white,
.btn-outline-white,
.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.95rem;
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    border-color: var(--primary-color);
    background: white;
    color: var(--primary-color);
}

.btn-white {
    background: white;
    color: var(--primary-color);
}
.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-success {
    background: var(--success-color);
    color: white;
}
.btn-success:hover {
    background: #16a34a;
}

.btn-lg, .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
    position: relative;
    min-height: calc(100vh - 5rem);
    display: flex;
    align-items: center;
    background-color: var(--navy);
    margin-top: 5rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent, rgba(30, 41, 59, 0.8), var(--navy));
}
.hero-content {
    position: relative;
    max-width: 48rem;
    padding: 3rem 1rem;
    margin: 0 auto;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: 9999px;
    color: #fbbf24;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* ✅ مُصحَّح — حذفنا .d1 من هنا */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.hero-title .highlight {
    color: var(--primary-light);
}
.hero-text {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
}
.hero-feature svg {
    color: var(--success-color);
}

/* ═══════════════ SECTIONS ═══════════════ */
.section {
    padding: 5rem 0;
}
.section-gray {
    background: var(--bg-secondary);
}
.section-py {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title, .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.section-subtitle, .subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

/* ═══════════════ STATS ═══════════════ */
.stats-section {
    padding: 5rem 0;
    background: white;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.stat-card {
    text-align: center;
}
.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--text-secondary);
}

/* ═══════════════ CATEGORIES ═══════════════ */
.categories-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}
.category-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.3s;
}
.category-card:hover {
    transform: translateY(-4px);
}
.category-image {
    position: relative;
    height: 20rem;
}
.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.category-card:hover .category-image img {
    transform: scale(1.1);
}
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}
.category-content {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    left: 1.5rem;
}
.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}
.category-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.category-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}
.category-item i {
    color: #fbbf24;
}

/* ═══════════════ EQUIPMENT CARDS ═══════════════ */
.equipment-showcase {
    padding: 5rem 0;
    background: white;
}
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.equipment-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    border: 1px solid var(--gray-100);
}
.equipment-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.equipment-image {
    position: relative;
    height: 14rem;
    overflow: hidden;
    background: var(--gray-100);
}
.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.equipment-card:hover .equipment-image img {
    transform: scale(1.1);
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.status-available {
    background: var(--success-color);
    color: white;
}
.status-booked {
    background: var(--danger-color);
    color: white;
}

.equipment-info {
    padding: 1.5rem;
}
.equipment-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.equipment-card:hover .equipment-name {
    color: var(--primary-color);
}
.equipment-specs {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pricing-table {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-bottom: 1rem;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}
.price-label {
    color: var(--text-secondary);
}
.price-value {
    font-weight: 600;
    color: var(--text-primary);
}
.price-value.highlight {
    color: var(--primary-color);
    font-size: 1rem;
}

.book-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--font-main);
    text-align: center;
    display: block;
    text-decoration: none;
}
.book-btn:hover {
    background: var(--primary-dark);
}

/* ═══════════════ PACKAGES ═══════════════ */
.packages-section {
    padding: 5rem 0;
    background: white;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.package-card {
    position: relative;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s;
    text-align: center;
}
.package-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.package-badge {
    position: absolute;
    top: -0.75rem;
    right: 50%;
    transform: translateX(50%);
    padding: 0.3rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    white-space: nowrap;
}
.package-badge.badge-blue {
    background: #3b82f6;
}
.package-badge.badge-gold {
    background: var(--primary-color);
}
.package-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}
.package-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-main);
}
.package-features {
    margin-bottom: 2rem;
    text-align: right;
}
.package-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-family: var(--font-main);
    line-height: 1.6;
}
.package-feature i {
    color: var(--success-color);
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.package-card .btn {
    width: 100%;
    justify-content: center;
}

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    position: relative;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: serif;
    line-height: 1;
}
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.testimonial-text {
    color: var(--text-primary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-family: var(--font-main);
    font-weight: 400;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.testimonial-author .author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.testimonial-author .author-company {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ═══════════════ BRANCHES ═══════════════ */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.branch-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    font-family: var(--font-main);
}
.branch-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}
.branch-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.branch-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
}

/* ═══════════════ CTA ═══════════════ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}
.cta-content {
    text-align: center;
}
.cta-title, .cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}
.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
    background: var(--navy);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}
.footer-desc, .footer-section p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.footer-social, .social-links {
    display: flex;
    gap: 0.75rem;
}
.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
}
.social-link:hover {
    background: var(--primary-color);
    color: white;
}
.footer-title, .footer-section h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #fbbf24;
}
.footer-contact {
    list-style: none;
}
.footer-contact li, .contact-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-contact i, .contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}
.footer-contact a, .contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover, .contact-item a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
}

.newsletter {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}
.newsletter h4 {
    color: white;
    margin-bottom: 0.5rem;
}
.newsletter p {
    margin-bottom: 1rem;
}
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
}
.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
}

/* ═══════════════ FLOATING BUTTONS ═══════════════ */
.floating-actions, .floating-btns {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 999;
}
.float-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.float-btn:hover {
    transform: scale(1.1);
}
.whatsapp-btn, .whatsapp {
    background: #25d366;
}
.call-btn, .phone-call {
    background: var(--primary-color);
}
.scroll-top {
    background: var(--navy);
}

/* ═══════════════ PAGE HEADER ═══════════════ */
.page-header {
    padding: 6rem 0 4rem;
    margin-top: 5rem;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}
.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.9));
}
.page-header > * {
    position: relative;
    z-index: 2;
}
.page-title, .page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}
.page-subtitle, .page-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: #fbbf24;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: white;
}
.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════ FILTERS ═══════════════ */
.filters-section {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}
.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}
.search-box input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: var(--font-main);
    font-size: 1rem;
}
.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}
.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.filter-group {
    margin-bottom: 1.5rem;
}
.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.filter-btn,
.filter-bar .filter-btn,
.category-tab {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
    text-decoration: none;
    font-size: 0.9rem;
}
.filter-btn:hover, .filter-btn.active,
.category-tab:hover, .category-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* ═══════════════ FORMS ═══════════════ */
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.form-input,
.form-select,
.form-textarea,
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.submit-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ═══════════════ CONTACT PAGE ═══════════════ */
.contact-content {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.contact-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}
.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}
.contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-main);
}
.contact-details {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}
.contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}
.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}
.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    font-family: var(--font-main);
}

/* Map */
.map-section {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}
.map-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.map-info {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-100);
}
.map-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
}
.map-address {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.map-link:hover {
    color: var(--primary-dark);
}

/* FAQ on Contact page */
.faq-section {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}
.faq-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
    font-family: var(--font-main);
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.faq-section .faq-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}
.faq-section .faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}
.faq-section .faq-question {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-main);
    line-height: 1.5;
    padding: 0;
    background: none;
    border: none;
    display: block;
    text-align: right;
    width: auto;
    cursor: default;
}
.faq-section .faq-answer {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9rem;
    font-family: var(--font-main);
    max-height: none;
    overflow: visible;
    padding: 0;
}

/* ═══════════════ TOAST ═══════════════ */
.toast-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}
.toast-overlay.show {
    display: flex;
    animation: fadeIn 0.3s;
}
.toast-box {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}
.toast-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.toast-icon.success {
    background: #d1fae5;
    color: #16a34a;
}
.toast-icon.error {
    background: #fee2e2;
    color: #dc2626;
}
.toast-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.toast-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.toast-close {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
}

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ✅ مُصحَّح — .d1, .d2, .d3 للـ animation delay فقط */
.rv {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.rv.in {
    opacity: 1;
    transform: translateY(0);
}
.rv.d1 { transition-delay: 0.1s; }
.rv.d2 { transition-delay: 0.2s; }
.rv.d3 { transition-delay: 0.3s; }

/* ═══════════════ BLOG ═══════════════ */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-image {
    position: relative;
    height: 200px;
    background: var(--gray-100);
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--primary-color);
    color: white;
    border-radius: 9999px;
    font-size: 0.8rem;
}
.blog-content {
    padding: 1.5rem;
}
.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}
.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.blog-link {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}
.sidebar-widget {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}
.sidebar-post {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    color: inherit;
}
.sidebar-post:last-child {
    border-bottom: none;
}
.sidebar-post img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.sidebar-post-info h4 {
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}
.sidebar-post-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.post-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 9999px;
    font-size: 0.825rem;
    margin: 0.2rem;
    text-decoration: none;
}

/* ═══════════════ GALLERY ═══════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-title {
    color: white;
    font-weight: 700;
}

/* ═══════════════ FAQ (Standalone) ═══════════════ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}
.faq-question.open .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    padding: 0 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.faq-answer.open {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

/* ═══════════════ PAGINATION ═══════════════ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    background: white;
}
.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.pagination .active span {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ═══════════════ EMPTY STATE ═══════════════ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}
.empty-state h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.empty-state p {
    color: var(--text-secondary);
}

/* ═══════════════ SIDEBAR MOBILE ═══════════════ */
.sb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.sb-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1999;
    transition: right 0.3s;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}
.sidebar.open {
    right: 0;
}
.sb-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--navy);
}
.sb-head {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: white;
}
.sb-tagline {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}
.sb-nav {
    padding: 1rem 0;
}
.sb-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
    border-right: 3px solid transparent;
}
.sb-link:hover, .sb-link.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-right-color: var(--primary-color);
}
.sb-link svg {
    width: 20px;
    height: 20px;
}
.sb-foot {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}
.sb-cta {
    display: block;
    padding: 0.9rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.sb-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    text-decoration: none;
    justify-content: center;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
    .nav-links, .nav-actions {
        display: none;
    }
    .mobile-menu-btn, .menu-toggle {
        display: flex;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 5rem;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .contact-form-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-text {
        font-size: 1rem;
    }
    .section-title, .section-header h2 {
        font-size: 2rem;
    }
    .page-title, .page-header h1 {
        font-size: 2rem;
    }
    .hero-buttons, .cta-buttons {
        flex-direction: column;
    }
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .faq-section {
        padding: 2rem 1rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .package-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
}
