/* General Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    transform: scale(0.9);
}

/* Page Header */
.page-header {
    background-color: var(--light-bg);
    margin-top: 76px;
}

/* Service Cards */
.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
}

/* Project Items */
.project-item {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-images img {
    transition: all 0.3s ease;
}

.project-images img:hover {
    transform: scale(1.05);
}

.project-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-details ul {
    margin-bottom: 1.5rem;
}

.project-details li {
    margin-bottom: 0.5rem;
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 2rem;
}

.filter-buttons .btn {
    margin: 0.25rem;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.filter-buttons .btn.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--secondary-color);
}

/* Contact Form */
.form-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

/* Contact Cards */
.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    color: var(--secondary-color);
}

/* Footer Styles */
footer {
    background: var(--dark-bg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-left: 1rem;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 4rem 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .filter-buttons .btn {
        margin: 0.25rem;
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .project-item {
        padding: 1rem;
    }

    .service-card,
    .feature-card,
    .contact-card {
        margin-bottom: 1rem;
    }

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

    .page-header img {
        margin-top: 2rem;
    }
}

/* RTL Specific Styles */
[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="rtl"] .me-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
    margin-right: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-right: 3rem;
}

.timeline-item .year {
    position: absolute;
    right: -3rem;
    top: 0;
    background: var(--secondary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
}

.timeline-item .content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Statistics Styles */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Map Styles */
.map-wrapper {
    height: 450px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
}

.lb-data .lb-number {
    font-family: 'Cairo', sans-serif;
} 


/* slider */
.hero-slider {
    margin-top: 76px;
}
.carousel-item {
    height: 600px;
    position: relative;
}
.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.carousel-caption {
    background: rgba(44, 62, 80, 0.4);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.caption-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.carousel-caption h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.carousel-caption .btn {
    font-size: 1.2rem;
    padding: 12px 30px;
    text-shadow: none;
    transition: all 0.3s ease;
}
.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 2.5rem;
    }
    .carousel-caption p {
        font-size: 1.2rem;
    }
    .carousel-caption .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* vission */
.vision-mission {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.vision-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.05);
    transition: all 0.3s ease;
}
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #2c3e50, #e67e22);
}
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
}
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.vision-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}
.card-icon i {
    font-size: 2rem;
    color: #fff;
}
.card-title {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: #e67e22;
    border-radius: 3px;
}
.card-text {
    color: #666;
    line-height: 1.8;
    text-align: justify;
}
@media (max-width: 768px) {
    .vision-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    .card-icon {
        width: 60px;
        height: 60px;
    }
    .card-icon i {
        font-size: 1.5rem;
    }
    .card-title {
        font-size: 1.3rem;
    }
}

/* features */
.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.feature-image {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    position: relative;
    padding: 10px;
    border-radius: 15px;
}
.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    padding: 1px;
}
.feature-card:hover .feature-image {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.feature-content h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.feature-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 20px;
    }
    .feature-image {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    .feature-content h3 {
        font-size: 1.1rem;
    }
    .feature-content p {
        font-size: 0.9rem;
    }
}

/* services */
.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.service-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.service-card:hover .service-image img {
    transform: scale(1.1);
}
.service-content {
    text-align: center;
}
.service-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}
.service-content p {
    color: #666;
    margin-bottom: 20px;
}

/* projects */
.project-card {
    display: block;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    text-decoration: none;
}
.project-image {
    position: relative;
}
.project-image img {
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95), rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0));
    padding: 30px;
    color: #fff;
}
.project-title h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.project-title .location {
    font-size: 1.1rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 10px;
}
.project-brief {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}
.project-card:hover .project-image img {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .project-image img {
        height: 300px;
    }
    .project-title h3 {
        font-size: 1.3rem;
    }
    .project-title .location {
        font-size: 1rem;
    }
    .project-brief {
        font-size: 0.9rem;
    }
}

/* gallelry */
.gallery-filters {
    margin-bottom: 30px;
}
.gallery-filters .btn {
    margin: 0 5px;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.gallery-filters .btn.active {
    background-color: #2c3e50;
    border-color: #2c3e50;
}
.gallery-item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}
.gallery-link {
    display: block;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}
.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-link:hover img {
    transform: scale(1.1);
}
.gallery-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-link:hover::after {
    opacity: 1;
}
.gallery-item.hide {
    display: none;
}
@media (max-width: 768px) {
    .gallery-link {
        aspect-ratio: 4/3;
    }
}

/* contact */
.contact-cta {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}
.cta-wrapper {
    padding: 80px 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
}
.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: #e67e22;
    border-color: #e67e22;
}
.btn-primary:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}
.btn-outline-primary {
    color: #fff;
    border-color: #fff;
}
.btn-outline-primary:hover {
    background-color: #fff;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}
.info-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}
.info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}
.info-item i {
    font-size: 2rem;
    color: #e67e22;
}
.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}
.info-item p {
    margin-bottom: 0;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .cta-wrapper {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .info-item {
        margin-bottom: 20px;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
}
