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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --dark-blue: #1e40af;
    --light-blue: #dbeafe;
    --beige: #f5f5dc;
    --white: #FFFFFF;
    --surface-bg: #FFFFFF;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #dbeafe;
    --gradient-1: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(30,58,138,0.15);
    --shadow-xl: 0 20px 50px rgba(30,58,138,0.2);
}

body.dark-mode {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #93c5fd;
    --dark-blue: #1e40af;
    --light-blue: #1e293b;
    --beige: #1e293b;
    --surface-bg: #0f172a;
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
    --border-color: #334155;
    --gradient-1: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.6);
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--surface-bg);
    direction: rtl;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Notification Banner */
.notification-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.notification-banner.hidden {
    display: none;
}

.notification-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.notification-content i {
    font-size: 28px;
    animation: pulse 2s infinite;
}

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

.notification-content p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.notification-btn {
    background: white;
    color: #d97706;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
}

.notification-btn:hover {
    background: var(--light-blue);
    transform: scale(1.05);
}

.notification-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* Floating Social Media */
.floating-social {
    position: fixed;
    left: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

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

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.social-btn.whatsapp {
    background: #25d366;
    animation-delay: 0.1s;
}

.social-btn.phone {
    background: #3b82f6;
    animation-delay: 0.2s;
}

.social-btn.email {
    background: #ef4444;
    animation-delay: 0.3s;
}

.social-btn.scroll-top {
    background: var(--primary-color);
    animation-delay: 0.4s;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-btn.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.social-btn i {
    font-size: 22px;
}

/* Header */
.header {
    background: var(--surface-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 17px;
    padding: 10px 20px;
    border-radius: 25px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: var(--light-blue);
}

.nav-menu a:hover::after {
    width: 70%;
}

/* Services Dropdown */
.services-dropdown {
    position: relative;
}

.services-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--surface-bg);
    min-width: 350px;
    box-shadow: var(--shadow-xl);
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.services-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--light-blue);
    color: var(--primary-color);
    transform: translateX(-5px);
}

.dropdown-menu a i {
    font-size: 20px;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.lang-toggle {
    background: var(--gradient-1);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.lang-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.lang-toggle i {
    font-size: 18px;
}

.dark-mode-toggle {
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.dark-mode-toggle i {
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.dark-mode-toggle:hover i {
    transform: rotate(20deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--gradient-1);
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

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

.hero-content h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 18px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    background-color: var(--beige);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Why Us Section */
.why-us-section {
    padding: 120px 0;
    background: var(--surface-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--surface-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.05;
    transition: all 0.5s ease;
}

.why-card:hover::before {
    left: 0;
}

.why-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.why-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-1);
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    transform: rotateY(360deg) scale(1.1);
}

.why-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--light-blue), var(--surface-bg));
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-1);
    border-radius: 3px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-light);
    margin-top: 25px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--surface-bg);
    padding: 45px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    top: -25%;
    right: -25%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 45px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.service-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 22px;
}

.contact-icon:hover {
    background: var(--gradient-2);
    transform: scale(1.2) rotate(10deg);
    box-shadow: var(--shadow-lg);
}

.btn-service {
    display: inline-block;
    padding: 15px 35px;
    background: var(--gradient-1);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.btn-service:hover {
    background: var(--gradient-2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: var(--surface-bg);
    overflow: hidden;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scroll 5s linear infinite;
}

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

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.testimonial-card {
    min-width: 350px;
    max-width: 350px;
    height: auto;
    min-height: 220px;
    background: var(--surface-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 20px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.testimonial-company {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--light-blue), var(--surface-bg));
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--surface-bg);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-item .contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.contact-details a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 8px;
    transition: all 0.3s;
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.contact-details p {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
}

.contact-map {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    border-radius: 25px;
    width: 100%;
}

/* Stats Counter Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    background: rgba(255, 255, 255, 0.3);
}

.stat-icon i {
    font-size: 36px;
    color: white;
}

.stat-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: white;
    line-height: 1;
    font-family: 'Tajawal', sans-serif;
}

.stat-plus {
    font-size: 36px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.stat-label {
    width: 100%;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin: 10px 0 0;
}

/* Video Section */
.video-section {
    padding: 120px 0;
    background: var(--surface-bg);
}

.video-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 60px;
}

.video-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-placeholder {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 80px 40px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.video-placeholder:hover .play-button {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.play-button i {
    font-size: 32px;
    color: white;
    margin-right: -5px;
}

.video-placeholder h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.video-placeholder p {
    font-size: 16px;
    opacity: 0.9;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.video-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.video-feature i {
    font-size: 28px;
    color: var(--primary-color);
    min-width: 28px;
}

.video-feature h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.video-feature p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Partners Section */
.partners-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

body.dark-mode .partners-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.partner-card {
    background: var(--surface-bg);
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.partner-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.partner-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.partner-card:hover .partner-icon {
    transform: rotate(10deg) scale(1.1);
}

.partner-icon i {
    font-size: 36px;
    color: white;
}

.partner-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    left: -100px;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -150px;
    right: -50px;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
}

.newsletter-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.newsletter-form .form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    white-space: nowrap;
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.newsletter-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: var(--surface-bg);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--surface-bg);
}

.faq-question:hover {
    background: var(--light-blue);
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-question i {
    font-size: 18px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--light-blue);
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 25px 30px;
}

.faq-answer p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-dark);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 80px 0 30px;
    border-top: 3px solid var(--primary-color);
}

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

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 16px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: 500;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
    display: inline-block;
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.footer-contact i {
    margin-left: 12px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid var(--light-blue);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 16px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    left: 35px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse 2s infinite;
}

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

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37,211,102,0.6);
    animation: none;
}

.whatsapp-float::after {
    content: 'استفسارات مجانية في محاسبة';
    position: absolute;
    right: 85px;
    background: white;
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 25px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 100px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 30px;
        box-shadow: var(--shadow-xl);
        transition: 0.4s;
        gap: 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        box-shadow: none;
        background: var(--light-blue);
    }

    .logo img {
        height: 90px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services {
        padding: 80px 0;
    }

    .testimonial-card {
        min-width: 320px;
    }

    .notification-content {
        flex-wrap: wrap;
        text-align: center;
    }
    
    .notification-content p {
        font-size: 14px;
    }
    
    .notification-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .floating-social {
        left: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
    }
    
    .social-btn i {
        font-size: 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 18px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-plus {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 28px;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-placeholder {
        padding: 60px 30px;
    }
    
    .play-button {
        width: 70px;
        height: 70px;
    }
    
    .play-button i {
        font-size: 24px;
    }
    
    .video-placeholder h3 {
        font-size: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partner-card {
        padding: 30px 15px;
    }
    
    .partner-icon {
        width: 60px;
        height: 60px;
    }
    
    .partner-icon i {
        font-size: 28px;
    }
    
    .partner-card h4 {
        font-size: 16px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .newsletter-text h2 {
        font-size: 28px;
    }
    
    .newsletter-text p {
        font-size: 16px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }

    .whatsapp-float {
        bottom: 25px;
        left: 25px;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .whatsapp-float::after {
        display: none;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
}

/* VAT Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: var(--surface-bg);
}

.calculator-container {
    max-width: 700px;
    margin: 0 auto;
}

.calculator-box {
    background: var(--surface-bg);
    border-radius: 25px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-color);
}

.calc-input-group {
    margin-bottom: 30px;
}

.calc-input-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.calc-input {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 18px;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s;
    background: var(--surface-bg);
    color: var(--text-dark);
}

.calc-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

.calc-result {
    margin-top: 40px;
    padding: 30px;
    background: var(--light-blue);
    border-radius: 20px;
    border: 2px solid var(--primary-color);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.result-item.total {
    border-top: 3px solid var(--primary-color);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 24px;
}

.result-item strong {
    color: var(--primary-color);
    font-weight: 900;
}

/* Booking Section */
.booking-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--light-blue), var(--surface-bg));
}

.booking-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface-bg);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 17px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 22px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s;
    background: var(--surface-bg);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: var(--surface-bg);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.download-card {
    background: var(--surface-bg);
    padding: 45px 35px;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.download-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.download-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-1);
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: white;
    transition: all 0.4s;
}

.download-card:hover .download-icon {
    transform: rotateY(360deg) scale(1.1);
}

.download-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-download:hover {
    background: var(--gradient-2);
    transform: translateY(-3px);
}

/* Tools Section */
.tools-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--light-blue), var(--surface-bg));
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.tool-card {
    background: var(--surface-bg);
    padding: 45px 35px;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.tool-card i {
    font-size: 55px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
    transition: all 0.4s;
}

.tool-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.tool-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tool-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-tool {
    padding: 14px 30px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Tajawal', sans-serif;
}

.btn-tool:hover {
    background: var(--gradient-2);
    transform: translateY(-3px);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--surface-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--surface-bg);
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    padding: 45px 35px;
    transition: all 0.4s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: 20px;
    left: -35px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 50px;
    font-weight: 700;
    transform: rotate(-45deg);
    font-size: 14px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.pricing-price .currency {
    font-size: 18px;
    color: var(--text-light);
}

.pricing-price .amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
}

.pricing-price .period {
    font-size: 16px;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 35px;
}

.pricing-features li {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 17px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i.fa-check {
    color: #10b981;
    font-size: 20px;
}

.pricing-features li i.fa-times {
    color: #ef4444;
    font-size: 20px;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--gradient-1);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-pricing:hover {
    background: var(--gradient-2);
    transform: translateY(-3px);
}

/* Live Chat Button */
.chat-widget {
    position: fixed;
    bottom: 110px;
    left: 30px;
    z-index: 999;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16,185,129,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s;
}

.chat-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.5);
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .calculator-box,
    .booking-form {
        padding: 30px 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}
