:root {
    --primary-color: #4a6bff;
    --secondary-color: #7e9bff;
    --dark-color: #2d3748;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Tajawal', sans-serif;
    padding-top: 70px;
    color: var(--dark-color);
    background-color: #f5f7ff;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: #3a56d4;
    border-color: #3a56d4;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

section {
    padding: 100px 0;
}

.section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    right: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.9), rgba(126, 155, 255, 0.9)), url('https://images.unsplash.com/photo-1611162617213-7d7a39e9b1d7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Demo Slider */
.slider-demo {
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    height: 600px;
    margin: 50px auto;
}

.slider-demo .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
}

.slider-demo .slide.active {
    opacity: 1;
}

.slider-demo .slide-content {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
    color: white;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    width: 100%;
}

.slider-demo .timer {
    height: 3px;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 30s linear;
}

.slider-demo .slide.active .timer {
    width: 100%;
}

/* Features */
.feature-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
    border-top: 3px solid var(--primary-color);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
}

/* Contact */
.contact-info-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 10px;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 70px 0 30px;
}

.footer-links a {
    color: #ccc;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-right: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Auth Buttons */
.auth-buttons .btn {
    margin-left: 10px;
}