:root {
    /* Colors */
    --primary-color: #800020;
    /* Burgundy */
    --primary-dark: #5c0017;
    --secondary-color: #FFD700;
    /* Gold/Yellow */
    --neutral-white: #ffffff;
    --neutral-light: #f8f9fa;
    --neutral-gray: #e9ecef;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif, 'Cairo';
    /* Cairo for Arabic support */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--neutral-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

/* Arabic Support */
[lang="ar"] {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Update */
.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 70px;
    /* Bigger logo as requested */
    width: auto;
    transition: var(--transition);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Video Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Testimonials (WhatsApp Style) */

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    /* Increased from 100px to avoid navbar overlap/stickiness on Desktop */
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    /* Lighter overlay for video visibility */
    z-index: -1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 500px;
    /* Center and limit width */
    margin: 0 auto;
}

.hero-image {
    display: none;
}

/* Right side is now just for spacing/background visibility */
/* Mobile Responsive adjustments for Hero */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-form-card {
        margin: 0 auto;
        max-width: 500px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--neutral-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-primary {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}


/* Brand Section */
.brand-swiper {
    width: 100%;
    padding: 30px 20px;
}

.brand-item {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* No background */
    padding: 0;
    /* No padding */
    border: none;
    box-shadow: none;
    /* No shadow */
    transition: transform 0.3s ease;
}

/* Removed Colorful Variants - User wants direct images */

.brand-item img {
    max-width: 100%;
    max-height: 160px;
    /* Even bigger logos as requested */
    width: auto;
    object-fit: contain;
    filter: none;
    /* Original colors */
    transition: transform 0.3s ease;
}

/* Specific adjustment removed as background is gone */

.brand-item:hover {
    transform: scale(1.1);
    /* Simple scale */
    box-shadow: none;
}

.brand-item:hover img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Services */
/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff4f6 100%);
    /* Subtle warm gradient (tint of Burgundy) */
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(128, 0, 32, 0.05);
    /* Soft colored shadow */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(128, 0, 32, 0.1);
    /* Tinted border */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff 0%, #fffaf0 100%);
    /* Gold tint on hover */
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(128, 0, 32, 0.12);
    border-color: rgba(128, 0, 32, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: white;
    border: 1px solid rgba(128, 0, 32, 0.1);
    border-radius: 20px;
    /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
}

.service-card h3 {
    font-weight: 800;
    margin-bottom: 10px;
}

/* Portfolio Preview */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background: black;
    height: 350px;
    /* Fixed height for uniformity */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.portfolio-item:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    opacity: 0;
}

/* Always show content on hovering the card, but slightly hidden by default if preferred. 
   Let's make it intuitive: Text always visible at bottom, or fades in? 
   User wants modern. Let's make text slide up. */
.portfolio-content {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
    }

    to {
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Testimonials (WhatsApp Style) */
.whatsapp-chat {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chat-bubble {
    background: #E1FFC7;
    /* WhatsApp Green Light */
    padding: 15px 20px;
    border-radius: 15px;
    border-top-left-radius: 0;
    position: relative;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--neutral-gray);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.features-list {
    margin: 25px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.check-icon {
    color: #25D366;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a0012 100%);
    color: white;
    text-align: center;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    transition: var(--transition);
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Pricing Options Container */
.pricing-options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

/* Common Row Style */
.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fafafa;
    transition: all 0.3s ease;
}

.pricing-row:hover {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Row Labels */
.row-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.days {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
}

.sub-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Prices */
.row-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Divider "OU" */
.divider-text {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    position: relative;
    margin: -5px 0;
}

/* Promo Row Special Styling */
.promo-row {
    background: #FEF2F2;
    /* Light Red tint */
    border-color: #FECACA;
}

.promo-row:hover {
    border-color: #DC2626;
    background: #FEF2F2;
}

.promo-badge-pill {
    font-size: 0.65rem;
    background: #DC2626;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
}

.row-price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.row-price-stack .old {
    font-size: 1rem;
    /* Increased from 0.85rem for better visibility */
    font-weight: 600;
    text-decoration: line-through;
    color: #888;
    /* Slightly darker for readability */
    margin-bottom: -2px;
}

.row-price-stack .new {
    font-size: 1.5rem;
    font-weight: 800;
    color: #DC2626;
}

/* Features List Alignment */
.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: left;
}

/* Footer */
footer {
    background: var(--neutral-light);
    padding: 50px 0 20px;
    margin-top: 0;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        /* Image first on mobile */
        margin-bottom: 30px;
    }

    .nav-links {
        display: none;
        /* Hide default nav on mobile for simplicity, could add burger */
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .hero {
        padding-top: 120px;
        /* Increased from 110px to add that "small space" requested */
        padding-bottom: 40px;
        min-height: auto;
        display: flex;
        align-items: flex-start;
        /* Allow it to sit near top, but with padding */
    }

    .hero-form-card {
        padding: 20px;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        /* Full width on very small screens if needed */
    }

    .logo {
        font-size: 1.2rem;
    }

    .btn-whatsapp span {
        display: none;
    }

    /* Show only icon on small mobile */
}

/* Play Button Animation */
.portfolio-item:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.2) !important;
}

.portfolio-item:hover .play-button-overlay i {
    color: var(--primary-color) !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}