/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    padding-top: 76px;
    color: #333;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c3e50 !important;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-left: 10px;
}

.brand-name {
    color: #2c3e50;
}

.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #3498db !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-section .carousel-item {
    height: 100vh;
    min-height: 600px;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-section .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.hero-section .carousel-caption h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section .carousel-caption p {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 5%;
}

.hero-section .carousel-indicators {
    bottom: 30px;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
}

.hero-section .carousel-indicators button.active {
    background-color: #fff;
}

/* Section Styles */
section {
    padding: 0 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(to left, #3498db, #2ecc71);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.icon-box {
    margin-bottom: 1rem;
}

.card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
}

.card-text {
    color: #666;
    line-height: 1.8;
}

/* Services Section */
.service-card {
    background: #fff;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    color: #2c3e50;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact-info {
    border-radius: 15px;
}

.contact-item {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.contact-item i {
    width: 25px;
}

.contact-item a {
    color: #3498db;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2980b9;
}

.contact-form {
    border-radius: 15px;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #27ae60);
}

/* Footer */
footer {
    background: #2c3e50 !important;
    color: #ecf0f1;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

footer i {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        height: 70vh;
        min-height: 400px;
    }

    .hero-section .carousel-item {
        height: 70vh;
        min-height: 400px;
    }

    .hero-section .carousel-caption h1 {
        font-size: 2rem;
    }

    .hero-section .carousel-caption p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .logo-img {
        height: 40px;
    }

    .brand-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .service-card {
    animation: fadeIn 0.6s ease-out;
}

