/* ===== Root Variables ===== */
:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e40af;
    --light-blue: #3b82f6;
    --gray-color: #6b7280;
    --dark-gray: #374151;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --text-dark: #1f2937;
    --navbar-gray: #4b5563;
    --navbar-dark-gray: #374151;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 76px;
}

/* ===== Navigation ===== */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--navbar-gray) 0%, var(--navbar-dark-gray) 100%) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.brand-name {
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 10px;
    left: 10px;
    height: 2px;
    background: var(--white);
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--gray-color) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.25;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.8) 50%, rgba(107, 114, 128, 0.7) 100%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--gray-color) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?w=1920&h=600&fit=crop') center/cover;
    opacity: 0.2;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* ===== Section Titles ===== */
.section-title {
    color: var(--dark-blue);
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gray-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
}

/* ===== Services Section ===== */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--light-gray);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: bold;
}

/* ===== Why Choose Us Section ===== */
.why-choose-section {
    background: var(--light-gray);
}

.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-item h5 {
    color: var(--dark-blue);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* ===== Contact Info Section ===== */
.contact-info-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.info-card h5 {
    margin-bottom: 1rem;
    font-weight: bold;
}

.info-card a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: var(--light-gray);
    text-decoration: underline;
}

/* ===== About Page Styles ===== */
.vision-card,
.mission-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 2rem;
}

.vision-icon,
.mission-icon {
    width: 100px;
    height: 100px;
    margin: -50px auto 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.mission-points {
    margin-top: 2rem;
}

.mission-point {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.mission-point:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(-5px);
}

.mission-point i {
    font-size: 1.2rem;
}

.goal-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-blue);
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.goal-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.goal-card h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: bold;
}

.value-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.value-item h5 {
    color: var(--dark-blue);
    font-weight: bold;
}

/* ===== Contact Page Styles ===== */
.contact-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-card h3 {
    color: var(--dark-blue);
    font-weight: bold;
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.contact-info-sidebar {
    position: sticky;
    top: 100px;
}

.info-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-item h5 {
    color: var(--dark-blue);
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1f2937 100%) !important;
    margin-top: 3rem;
}

.footer h5 {
    color: var(--white);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-info-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }

    .vision-card,
    .mission-card,
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== Scroll Animation ===== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .goal-card,
    .value-item {
        opacity: 0;
        transform: translateY(30px);
        animation: slideUp 0.6s ease forwards;
    }

    @keyframes slideUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===== Partnership Section ===== */
.partnership-section {
    background: var(--white);
}

.partnership-badge {
    padding: 2rem 0;
}

.badge-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.badge-icon-small {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 3px 15px rgba(37, 99, 235, 0.3);
}

.partnership-company {
    color: var(--dark-blue);
    font-weight: bold;
    font-size: 1.8rem;
}

.partnership-features {
    margin-top: 2rem;
}

.partnership-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.partnership-feature:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(-5px);
}

.partnership-feature i {
    font-size: 1.1rem;
}

.partnership-highlight {
    border-right: 4px solid var(--primary-blue);
}

.partnership-benefits {
    list-style: none;
    padding: 0;
}

.partnership-benefits li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.partnership-benefits li i {
    color: var(--primary-blue);
}

.partnership-image img {
    transition: all 0.3s ease;
}

.partnership-image:hover img {
    transform: scale(1.05);
}

/* ===== Social Links ===== */
.social-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: var(--light-blue);
    transform: translateY(-5px);
}

.social-link i {
    transition: all 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

