/* Main CSS Manifest */
@import 'variables.css';
@import 'base.css';
@import 'header.css';
@import 'components.css';
@import 'sections.css';
@import 'footer.css';
@import 'sections/internal-links.css';
@import 'responsive.css';

/* Partners Section - Marquee */
.partners-section {
    padding: 4.5rem 0;
    /* Reduced from 6rem */
    background-color: #0c0c0e;
    background-image: linear-gradient(rgba(12, 12, 14, 0.88), rgba(12, 12, 14, 0.88)), url('../images/bg-arabesque-gold.png');
    background-size: 600px;
    background-repeat: repeat;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
    /* Reduced from 4rem */
    position: relative;
    z-index: 2;
}

.partners-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.partners-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.logo-marquee {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 30s linear infinite;
    padding: 1rem 0;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.partner-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* RTL Support for Marquee */
.rtl-wrapper .marquee-track,
.rtl-wrapper .testimonials-scroller-inner {
    animation: scroll-rtl 45s linear infinite;
}

@keyframes scroll-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause Marquee on Hover */
.testimonials-scroller-wrapper:hover .testimonials-scroller-inner,
.logo-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Testimonials Scroller Specifics */
.testimonials-scroller-inner {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 45s linear infinite;
    padding: 1rem 0;
}

/* Compact Umrah cards with paired actions and smaller visual carousel controls. */
body .umrah-card[style] { align-self: start !important; height: auto !important; border-radius: 16px !important; }
body .umrah-card[style] .umrah-card-content { padding: 14px !important; gap: 10px !important; flex-grow: 0 !important; }
body .umrah-card[style] .umrah-card-content h3 { font-size: 0.9375rem !important; line-height: 1.45 !important; margin: 0 !important; display: block !important; -webkit-line-clamp: unset !important; line-clamp: unset !important; overflow: visible !important; }
body .umrah-card[style] .umrah-meta { margin-top: 0 !important; padding: 8px 10px !important; border-radius: 8px !important; gap: 8px !important; }
body .umrah-card[style] .umrah-meta .duration { font-size: 0.75rem !important; gap: 4px !important; }
body .umrah-card[style] .umrah-meta .price { font-size: 0.9375rem !important; white-space: nowrap !important; }
body .umrah-card[style] .umrah-actions { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; margin-top: 0 !important; }
body .umrah-card[style] .umrah-actions > a { min-width: 0 !important; min-height: 44px !important; padding: 8px 6px !important; font-size: 0.8125rem !important; line-height: 1.3 !important; border-radius: 9px !important; gap: 5px !important; }
body .umrah-card[style] .umrah-actions > a svg { width: 16px !important; height: 16px !important; flex-shrink: 0 !important; }

body .umrah-card[style] .umrah-meta { margin-bottom: 0 !important; }

/* Keep the standalone landing grid within narrow phone widths. */
body div[style]:has(> .umrah-card[style]) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)) !important; }
body .umrah-card[style] { min-width: 0; }
