/* ============================================
   الرائد الأول - تصميم احترافي
   ============================================ */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: auto;
}

/* Navigation Bar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
}

.navbar-brand {
    font-size: 1.8rem !important;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    margin-top: 8px;
    margin-bottom: 4rem;
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.hero-section .carousel-item {
    height: 100vh;
    min-height: 600px;
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.6);
}

.hero-section .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

/* .hero-content {
    animation: fadeInUp 1s ease;
} */

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-section .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Section Titles */
.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    border-radius: 2px;
}

/* About Section Spacing */
#about {
    padding-top: 6rem !important;
}

/* About Section */
.feature-box {
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.feature-box i {
    transition: all 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.2);
}

/* Vision, Mission, Goals Cards */
.vision-card,
.mission-card,
.goals-card {
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.vision-card:hover,
.mission-card:hover,
.goals-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(10, 88, 202, 0.1));
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.vision-card:hover .icon-wrapper {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(10, 88, 202, 0.2));
    transform: scale(1.1);
}

.mission-card .icon-wrapper {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(20, 108, 67, 0.1));
}

.mission-card:hover .icon-wrapper {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.2), rgba(20, 108, 67, 0.2));
    transform: scale(1.1);
}

.goals-card .icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
}

.goals-card:hover .icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    transform: scale(1.1);
}

/* Contact Section */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.contact-icon {
    min-width: 50px;
    text-align: center;
}

.contact-item a {
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #0d6efd !important;
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #212529 0%, #1a1e21 100%) !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
#backToTop {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

#backToTop i {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Styles */
.card {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-section .carousel-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .display-2 {
        font-size: 2.5rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section .lead {
        font-size: 1.2rem !important;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

/* Text Colors */
.text-primary {
    color: #0d6efd !important;
}

.text-success {
    color: #198754 !important;
}

.text-warning {
    color: #ffc107 !important;
}

