/* ==========================================================================
   Al-Rashed International Aviation - Custom Responsive & Modern UI Enhancements
   ========================================================================== */

/* 1. Global Mobile Fixes & Overflow Prevention
   -------------------------------------------------------------------------- */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.page-wrapper {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Responsive Preloader */
.preloader {
    overflow: hidden;
}

.preloader-inner {
    max-width: 90vw;
    max-height: 90vw;
}

/* 2. Responsive Section Spacings on Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .ptb-120 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    .ptb-80 {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .section-header .section-title {
        font-size: 26px;
        line-height: 1.3;
    }
    .section-header .sub-title {
        font-size: 13px;
    }
}

/* 3. Offer Areas & Sliders (Passenger & Cargo)
   -------------------------------------------------------------------------- */
.offer-area {
    background-color: #121f3d !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-thumb {
    width: 50%;
    align-self: stretch;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background: #09152e;
}

.offer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.offer-area:hover .offer-thumb img {
    transform: scale(1.04);
}

/* Cargo Slider Specific Alignment */
@media (min-width: 992px) {
    .cargo-slider .offer-thumb {
        width: 54%;
    }
    .cargo-slider .offer-content {
        width: 46%;
    }
}
.cargo-slider .cargo-thumb img {
    object-fit: cover !important;
    object-position: center center !important;
}

/* Mobile & Tablet Slider Stacking */
@media (max-width: 991px) {
    .offer-thumb {
        width: 100% !important;
        height: 270px !important;
        min-height: 270px !important;
        border-radius: 16px 16px 0 0;
    }
    .offer-content {
        width: 100% !important;
        padding: 30px 22px !important;
    }
    .offer-content .title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 12px;
    }
    .offer-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 575px) {
    .offer-thumb {
        height: 220px !important;
        min-height: 220px !important;
    }
    .offer-content {
        padding: 24px 18px !important;
    }
    .offer-content .title {
        font-size: 20px;
    }
    .offer-content ul li {
        font-size: 13px;
        margin-bottom: 6px;
    }
}

/* Navigation buttons disabled for Cargo & Passenger Sliders */
.passenger-slider .swiper-button-next,
.passenger-slider .swiper-button-prev,
.cargo-slider .swiper-button-next,
.cargo-slider .swiper-button-prev {
    display: none !important;
}

/* Swiper Pagination Bullets */
.passenger-slider .swiper-pagination,
.cargo-slider .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 25px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 25 !important;
}

.passenger-slider .swiper-pagination-bullet,
.cargo-slider .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #0f2560 !important;
    opacity: 0.35 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    transition: all 0.35s ease !important;
    cursor: pointer !important;
}

.passenger-slider .swiper-pagination-bullet-active,
.cargo-slider .swiper-pagination-bullet-active {
    width: 32px !important;
    border-radius: 8px !important;
    background: #f37321 !important;
    opacity: 1 !important;
}

@media (max-width: 767px) {
    .passenger-slider .swiper-button-next,
    .passenger-slider .swiper-button-prev,
    .cargo-slider .swiper-button-next,
    .cargo-slider .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }
    .passenger-slider .swiper-button-prev,
    .cargo-slider .swiper-button-prev {
        left: 8px !important;
    }
    .passenger-slider .swiper-button-next,
    .cargo-slider .swiper-button-next {
        right: 8px !important;
    }
    .passenger-slider .swiper-button-next i,
    .passenger-slider .swiper-button-prev i,
    .cargo-slider .swiper-button-next i,
    .cargo-slider .swiper-button-prev i {
        font-size: 14px !important;
    }
}

/* 4. Course Cards Uniformity (Passenger & Cargo Listing Pages)
   -------------------------------------------------------------------------- */
.course-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(15, 37, 96, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid #edf2f7;
}

.course-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 37, 96, 0.14);
}

.course-thumb {
    width: 100%;
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #0f2560;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.course-item:hover .course-thumb img {
    transform: scale(1.08);
}

.course-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px;
}

.course-content-body {
    flex-grow: 1;
}

.course-content-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 575px) {
    .course-thumb {
        height: 190px;
    }
    .course-content {
        padding: 18px;
    }
    .course-content-header .title {
        font-size: 19px;
    }
}

/* 5. AirlinePros Strategic Partnership Section
   -------------------------------------------------------------------------- */
.airlinepros-partnership-section {
    position: relative;
    padding: 30px 0 90px;
    background: transparent !important;
    overflow: hidden;
}

.airlinepros-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 50px 45px 45px;
    box-shadow: 0 20px 50px rgba(15, 37, 96, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.7);
    overflow: hidden;
    z-index: 1;
}

/* Strategic Partnership Pill */
.partnership-badge-wrap {
    display: inline-block;
}

.partnership-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 37, 96, 0.06);
    color: #0f2560;
    border: 1px solid rgba(15, 37, 96, 0.15);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 50px;
}

.partnership-badge i {
    color: #f37321;
}

/* Logo Badge */
.airlinepros-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.airlinepros-logo-link {
    display: inline-block;
    padding: 14px 28px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 25px rgba(15, 37, 96, 0.06);
    transition: all 0.3s ease;
}

.airlinepros-logo-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 37, 96, 0.12);
    border-color: #cbd5e1;
}

.airlinepros-logo-img {
    height: 52px;
    width: auto;
    max-width: 260px;
    display: block;
    object-fit: contain;
}

/* Heading & Typography */
.partnership-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f2560;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.partnership-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 24px;
}

.partnership-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0f2560 0%, #f37321 100%);
    margin: 0 auto 28px;
    border-radius: 4px;
}

.partnership-description p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-word;
}

.partnership-description p strong {
    color: #0f2560;
}

/* Key Highlights Feature Grid */
.partnership-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 35px 0 30px;
}

.partnership-feature-item {
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.partnership-feature-item::before,
.partnership-feature-item::after {
    display: none !important;
    content: none !important;
}

.partnership-feature-item:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 37, 96, 0.08);
    border-color: #0f2560;
}

.partner-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(15, 37, 96, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f2560;
    font-size: 19px;
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.partner-card-icon::before,
.partner-card-icon::after {
    display: none !important;
    content: none !important;
}

.partnership-feature-item:hover .partner-card-icon {
    background: #0f2560;
    color: #ffffff;
}

.partner-feature-text h6 {
    font-size: 15px;
    font-weight: 700;
    color: #0f2560;
    margin-bottom: 4px;
}

.partner-feature-text p {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.35;
}

/* CTA & Link Styling */
.partnership-cta-btn {
    background: linear-gradient(135deg, #0f2560 0%, #173b94 100%) !important;
    color: #ffffff !important;
    padding: 13px 32px !important;
    border-radius: 50px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 8px 24px rgba(15, 37, 96, 0.25) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.partnership-cta-btn:hover {
    background: linear-gradient(135deg, #f37321 0%, #e05e0c 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(243, 115, 33, 0.35) !important;
}

.partnership-url-text {
    font-size: 13.5px;
    color: #64748b;
}

.partnership-url-text a {
    color: #0f2560;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.partnership-url-text a:hover {
    color: #f37321;
}

/* Responsive AirlinePros Section */
@media (max-width: 991px) {
    .airlinepros-card {
        padding: 38px 28px 32px;
        border-radius: 24px;
    }
    .partnership-title {
        font-size: 24px;
    }
    .partnership-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 575px) {
    .airlinepros-partnership-section {
        padding: 30px 0 65px;
    }
    .airlinepros-card {
        padding: 28px 18px 25px;
        border-radius: 20px;
    }
    .airlinepros-logo-img {
        height: 42px;
        max-width: 220px;
    }
    .partnership-title {
        font-size: 20px;
    }
    .partnership-subtitle {
        font-size: 13.5px;
    }
    .partnership-description p {
        font-size: 14px;
        text-align: left;
    }
    .partnership-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .partnership-feature-item {
        padding: 14px 8px;
    }
    .partner-feature-text h6 {
        font-size: 13px;
    }
    .partner-feature-text p {
        font-size: 11.5px;
    }
    .partnership-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px !important;
        font-size: 13.5px !important;
    }
}

/* 6. Footer Responsive Polish
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .footer-section {
        padding-top: 60px !important;
    }
    .footer-widget {
        margin-bottom: 25px;
    }
    .footer-widget .widget-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    .footer-list li {
        margin-bottom: 8px;
        font-size: 14px;
    }
    .copyright-area {
        padding: 25px 0 15px;
    }
}



/* --------------------------------------------------------------------------
   6. Charter Services Page Tabs & Cards
   -------------------------------------------------------------------------- */
.charter-header-desc {
    max-width: 780px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

.charter-tabs-wrapper {
    margin-top: 15px;
    margin-bottom: 45px;
}

.charter-nav-pills {
    display: inline-flex;
    background: #ffffff;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(15, 37, 96, 0.1);
    border: 1px solid #e2e8f0;
    gap: 10px;
}

.charter-nav-pills .nav-item {
    margin: 0;
}

.charter-nav-pills .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 13px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #0f2560;
    border-radius: 50px;
    background: transparent;
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
}

.charter-nav-pills .nav-link i {
    font-size: 16px;
    color: #f37321;
    transition: color 0.35s ease;
}

.charter-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 37, 96, 0.08);
    color: #0f2560;
    font-size: 12px;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.35s ease;
}

.charter-nav-pills .nav-link:hover {
    color: #0f2560;
    background: rgba(15, 37, 96, 0.04);
}

.charter-nav-pills .nav-link.active {
    background: #0f2560 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(15, 37, 96, 0.28);
}

.charter-nav-pills .nav-link.active i {
    color: #f37321 !important;
}

.charter-nav-pills .nav-link.active .charter-tab-badge {
    background: #f37321 !important;
    color: #ffffff !important;
}

.charter-tab-heading {
    font-size: 22px;
    font-weight: 800;
    color: #0f2560;
    margin-bottom: 6px;
}

.charter-thumb {
    position: relative;
    height: 240px;
}

.charter-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 37, 96, 0.88);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.charter-card-btn {
    font-size: 13px !important;
    padding: 10px 20px !important;
    font-weight: 700;
}

.charter-cta-box {
    background: linear-gradient(135deg, #0f2560 0%, #19232d 100%);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 50px rgba(15, 37, 96, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.charter-cta-subtitle {
    color: #f37321;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 8px;
}

.charter-cta-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.charter-cta-desc {
    opacity: 0.9;
    font-size: 15px;
    line-height: 1.7;
}

.charter-cta-btn {
    background: #f37321 !important;
    border-color: #f37321 !important;
    color: #ffffff !important;
    padding: 14px 28px !important;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.charter-cta-btn:hover {
    background: #ffffff !important;
    color: #0f2560 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

@media (max-width: 767px) {
    .charter-nav-pills {
        width: 100%;
        display: flex;
        flex-direction: column;
        border-radius: 18px;
        padding: 6px;
    }
    .charter-nav-pills .nav-link {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 15px;
        border-radius: 14px;
    }
    .charter-cta-box {
        padding: 30px 20px;
        border-radius: 18px;
    }
    .charter-cta-title {
        font-size: 20px;
    }
}

/* ==========================================================================
   10. Our Associates / Partner Cards Responsive Grid
   ========================================================================== */
.associate-logos-row {
    margin-top: 5px;
    margin-bottom: 5px;
}

.associate-col {
    display: flex;
}

.associate-card,
.partners.associate-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 37, 96, 0.08) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    width: 100% !important;
    min-height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 10px rgba(15, 37, 96, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.associate-card:hover,
.partners.associate-card:hover {
    transform: translateY(-3px) !important;
    border-color: #c8a364 !important;
    box-shadow: 0 8px 22px rgba(15, 37, 96, 0.10) !important;
}

.associate-card a,
.partners.associate-card a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.associate-card img,
.partners.associate-card img {
    max-height: 38px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.associate-card:hover img,
.partners.associate-card:hover img {
    transform: scale(1.05) !important;
}

@media (max-width: 767px) {
    .associate-logos-row {
        gap: 0;
    }
    .associate-col {
        margin-bottom: 14px;
    }
}

@media (max-width: 575px) {
    .associate-card,
    .partners.associate-card {
        padding: 10px 14px !important;
        min-height: 64px !important;
        border-radius: 10px !important;
    }
    .associate-card img,
    .partners.associate-card img {
        max-height: 32px !important;
    }
}
