/* ======== Landing Page CSS ======== */
/* Color Palette (matched to Tasahel Express Logo):
   Navy Blue Primary:  #1B3764
   Navy Blue Dark:     #142B50
   Navy Blue Light:    #264D8A
   Golden Yellow:      #F5A623
   Golden Hover:       #E8960F
   Footer Dark:        #0E1E38
   Light Tints:        #EAF0F9, #F0F5FF
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
}

/* ======== Navbar ======== */
#mainNav {
    background: transparent;
    transition: all 0.4s ease;
    padding: 15px 0;
}

#mainNav.scrolled {
    background: rgba(20, 43, 80, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .navbar-logo {
    height: 65px;
    margin-left: 10px;
    vertical-align: middle;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(245, 166, 35, 0.4));
    transition: all 0.3s ease;
}

#mainNav.scrolled .navbar-brand .navbar-logo {
    height: 50px;
}

/* نسخة اللوجو الأصلية بالألوان في الأماكن الفاتحة */
.logo-original {
    filter: none !important;
}

.navbar-brand i {
    margin-left: 8px;
    color: #F5A623;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    margin: 0 5px;
    transition: 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #F5A623;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons .btn {
    border-radius: 50px;
    padding: 6px 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.nav-buttons .btn-warning {
    background: linear-gradient(135deg, #F5A623, #E8960F);
    border: none;
    color: #fff;
    font-weight: 700;
}

.nav-buttons .btn-warning:hover {
    background: linear-gradient(135deg, #E8960F, #D4850A);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

/* ======== Hero ======== */
.hero-section {
    background: linear-gradient(135deg, #142B50 0%, #1B3764 40%, #264D8A 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F5A623;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons .btn {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    transition: all 0.3s;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #F5A623, #E8960F);
    border: none;
    color: #fff;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.4);
    background: linear-gradient(135deg, #E8960F, #D4850A);
}

.hero-buttons .btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.hero-illustration {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.hero-illustration i {
    font-size: 8rem;
    color: #F5A623;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

/* ======== Section Common ======== */
.section-padding {
    padding: 80px 0;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1B3764;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #F5A623, #E8960F);
    border-radius: 2px;
    margin: 15px auto 40px;
}

/* ======== Services ======== */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #F5A623;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #EAF0F9, #F0F5FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.4s;
}

.service-icon i {
    font-size: 2rem;
    color: #1B3764;
    transition: 0.4s;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #1B3764, #264D8A);
}

.service-card:hover .service-icon i {
    color: #F5A623;
}

.service-card h4 {
    font-weight: 700;
    color: #1B3764;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* ======== About ======== */
.about-content h2 {
    font-weight: 800;
    color: #1B3764;
    margin-bottom: 10px;
}

.about-content p {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #EAF0F9, #F0F5FF);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-placeholder i {
    font-size: 6rem;
    color: #ccc;
}

/* ======== Statistics ======== */
.stats-section {
    background: linear-gradient(135deg, #142B50, #1B3764);
    padding: 60px 0;
}

.stat-card {
    padding: 25px 15px;
    color: #fff;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 166, 35, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #F5A623;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F5A623;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

/* ======== Packages ======== */
.package-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f0f0;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #F5A623;
}

.package-header {
    background: linear-gradient(135deg, #1B3764, #264D8A);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

.package-header i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    color: #F5A623;
}

.package-header h4 {
    font-weight: 700;
    margin-bottom: 5px;
}

.package-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #F5A623;
}

.package-body {
    padding: 25px;
    flex: 1;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    color: #555;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: #F5A623;
    margin-left: 8px;
}

.package-footer {
    padding: 0 25px 25px;
    text-align: center;
}

.package-footer .btn {
    border-radius: 50px;
    padding: 10px 35px;
    font-weight: 700;
    background: linear-gradient(135deg, #F5A623, #E8960F);
    border: none;
    color: #fff;
}

.package-footer .btn:hover {
    background: linear-gradient(135deg, #E8960F, #D4850A);
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.4);
    color: #fff;
}

/* ======== Testimonials ======== */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

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

.testimonial-stars {
    margin-bottom: 15px;
}

.testimonial-stars i {
    color: #F5A623;
    font-size: 1rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    min-height: 80px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #EAF0F9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 1.2rem;
    color: #1B3764;
}

.testimonial-author h6 {
    font-weight: 700;
    color: #1B3764;
    margin: 0;
}

/* ======== Partners ======== */
.partner-logo {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(50%);
    transition: 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* ======== Track Section ======== */
.track-section {
    background: linear-gradient(135deg, #f8f9fa, #EAF0F9);
    padding: 80px 0;
}

.track-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.track-header {
    text-align: center;
    margin-bottom: 30px;
}

.track-header i {
    font-size: 3rem;
    color: #1B3764;
    margin-bottom: 10px;
    display: block;
}

.track-header h3 {
    font-weight: 800;
    color: #1B3764;
}

.track-header p {
    color: #666;
}

.track-card .input-group-text {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #1B3764;
}

.track-card .form-control-lg {
    font-family: 'Cairo', sans-serif;
}

.track-card .btn-primary {
    background: linear-gradient(135deg, #1B3764, #264D8A);
    border: none;
    border-radius: 8px;
}

.track-card .btn-primary:hover {
    box-shadow: 0 5px 20px rgba(27, 55, 100, 0.4);
}

/* ======== Footer ======== */
.footer-section {
    background: #0E1E38;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-brand h4 {
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h4 i {
    color: #F5A623;
    margin-left: 8px;
}

.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(245, 166, 35, 0.3));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}

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

.footer-links a i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: #e4405f; }
.social-link.whatsapp { background: #25d366; }
.social-link.twitter { background: #1da1f2; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ======== Responsive ======== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-illustration {
        width: 200px;
        height: 200px;
        margin-top: 30px;
    }
    .hero-illustration i {
        font-size: 5rem;
    }
    .nav-buttons {
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .track-card {
        padding: 25px;
    }
    .hero-section {
        padding-top: 100px;
    }
}
