/* ============================================================
   QARIB — Smart Restroom Booking Platform
   Theme overrides (maps onto base intro_site styles)
   ============================================================ */

/* Typography */
body,
.hero-title,
.sports-heading {
    font-family: 'Cairo', 'myFont', sans-serif;
}

.hero-title {
    font-weight: 800;
    letter-spacing: 0;
}

/* Hero overlay — teal / navy wash */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(7, 16, 24, 0.92) 0%,
        rgba(11, 79, 108, 0.78) 55%,
        rgba(7, 16, 24, 0.88) 100%
    );
}

/* Map grid decoration (replaces football field) */
.field-lines-bg {
    opacity: 0.08;
}

.field-lines-bg svg line,
.field-lines-bg svg circle,
.field-lines-bg svg path {
    stroke: rgba(56, 189, 248, 0.9);
}

/* Water droplet particles */
.hero-particle {
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: rgba(56, 189, 248, 0.25);
    animation-name: qaribDropFloat;
}

@keyframes qaribDropFloat {
    0%   { transform: rotate(-45deg) translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 0.9; }
    90%  { opacity: 0.45; }
    100% { transform: rotate(-45deg) translateY(-110vh) translateX(12px); opacity: 0; }
}

.hero-badge {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.12);
    color: var(--gold);
}

.hero-image-frame img {
    border-color: rgba(56, 189, 248, 0.55);
    border-radius: 28px;
}

.hero-image-ring {
    border-color: rgba(56, 189, 248, 0.35);
    border-radius: 32px;
    inset: -14px;
}

.hero-image-ring::before {
    content: '\f043';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 16px;
    color: var(--gold);
    background: var(--dark-pitch);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(56, 189, 248, 0.4);
    top: -10px;
    right: 50%;
    transform: translateX(50%);
}

.stat-badge {
    background: rgba(7, 16, 24, 0.88);
    border-color: rgba(56, 189, 248, 0.35);
}

.stat-badge i {
    color: var(--gold);
    margin-inline-end: 6px;
}

/* Stats bar */
.stats-bar {
    background: linear-gradient(90deg, var(--dark-pitch), var(--pitch-green));
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.stats-bar::before {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

.stat-number {
    font-family: 'Cairo', sans-serif;
}

.stat-item {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 10px;
    animation: statIconPulse 2.8s ease-in-out infinite;
}

.stat-item:nth-child(2) .stat-icon { animation-delay: 0.4s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: 0.8s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 1.2s; }

@keyframes statIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.35); }
    50%      { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
}

.stat-number {
    color: #fff;
}

.stat-label {
    color: rgba(255, 255, 255, 0.72);
}

/* Buttons — clean teal CTA */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(14, 165, 164, 0.35);
}

.btn-gold:hover {
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(14, 165, 164, 0.45);
}

.btn-outline-white:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Service cards */
.service-card {
    border: 1px solid rgba(14, 165, 164, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 16px 40px rgba(11, 79, 108, 0.18);
}

.service-icon-wrap {
    background: linear-gradient(135deg, rgba(14, 165, 164, 0.15), rgba(56, 189, 248, 0.2));
}

.service-icon-wrap i {
    color: var(--pitch-green-light);
}

/* How it works — ripple step numbers */
.how-step-num {
    background: linear-gradient(135deg, var(--pitch-green-light), var(--gold));
    box-shadow: 0 8px 20px rgba(14, 165, 164, 0.35);
}

.how-step:hover .how-step-img {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(11, 79, 108, 0.2);
}

.how-step-img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 18px;
}

/* FAQ & partners */
.faq-section,
.partners-section,
.services-section {
    background: linear-gradient(180deg, var(--pitch-green) 0%, var(--dark-pitch) 100%);
}

/* Contact */
.contact-card-icon {
    background: linear-gradient(135deg, var(--pitch-green-light), var(--gold));
}

.contact-submit-btn {
    background: linear-gradient(135deg, var(--pitch-green-light), var(--pitch-green));
}

/* Header & navbar — Qarib scroll state */
header#site-header.scrolled {
    background: rgba(7, 16, 24, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.lang-btn {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.08);
}

.lang-btn:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: var(--gold);
    color: var(--gold);
}

/* Footer & loader */
footer {
    background: var(--dark-pitch);
}

/* Remove football watermark from base theme */
footer::before {
    content: none !important;
    display: none !important;
}

.social-m li a {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.06);
}

.social-m li a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark-pitch);
}

.Tfooter {
    color: var(--gold);
}

.Tfooter::after {
    background: var(--gold);
}

.link-footer li a:hover {
    color: var(--gold);
}

.link-footer li i {
    color: var(--gold);
}

.under_footer a {
    color: var(--gold);
}

.footer-logo,
.the-logo {
    max-width: 140px;
    max-height: 56px;
    width: auto;
    height: auto;
}

.loader {
    background: radial-gradient(circle at center, var(--pitch-green) 0%, var(--dark-pitch) 70%);
}

.loader-ball {
    font-size: 0;
    width: 28px;
    height: 36px;
    background: var(--gold);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: qaribWaterDrop 1.1s ease-in-out infinite;
}

.loader-ball::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 8px;
    background: rgba(56, 189, 248, 0.25);
    border-radius: 50%;
    animation: qaribDropShadow 1.1s ease-in-out infinite;
}

@keyframes qaribWaterDrop {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-14px) scale(0.92); }
}

@keyframes qaribDropShadow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50%      { transform: translateX(-50%) scale(0.7); opacity: 0.25; }
}

.loader-bar {
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.scroll-top-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-pitch);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

.scroll-top-btn:hover {
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.5);
}

/* Slider transitions — smooth fade instead of sports cam */
@keyframes qaribFadeOut {
    0%   { opacity: 1; transform: scale(1); filter: blur(0); }
    100% { opacity: 0; transform: scale(1.04); filter: blur(4px); }
}

@keyframes qaribFadeIn {
    0%   { opacity: 0; transform: scale(1.04); filter: blur(4px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.owl-index .sportsCamOut { animation-name: qaribFadeOut; }
.owl-index .sportsCamIn  { animation-name: qaribFadeIn; }

.slide-flash {
    background: radial-gradient(
        ellipse at center,
        rgba(56, 189, 248, 0.35) 0%,
        rgba(14, 165, 164, 0.15) 55%,
        transparent 100%
    );
}

/* Scrollbar */
::-webkit-scrollbar-thumb {
    background: var(--pitch-green-mid);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Mobile nav — Qarib dark theme */
.mobile-footer-nav {
    background: rgba(7, 16, 24, 0.97);
    border-top: 1px solid rgba(56, 189, 248, 0.25);
}

.mobile-footer-nav .footer-nav-item::before {
    background: var(--gold);
}

.mobile-footer-nav .footer-nav-item:hover,
.mobile-footer-nav .footer-nav-item.active {
    color: var(--gold);
}

/* Mobile nav active state */
.mobile-footer-nav .footer-nav-item.active i {
    color: var(--gold);
}

.section-label {
    letter-spacing: 0.3px;
}

.section-label i {
    margin-inline-end: 6px;
    color: inherit;
}

.about-feature-icon {
    background: linear-gradient(135deg, var(--pitch-green-light), var(--gold));
}

.about-download-badge {
    background: linear-gradient(135deg, var(--pitch-green), var(--pitch-green-light));
}

/* Venue type chips in hero (optional decorative) */
.qarib-venue-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    animation: fadeInUp 0.9s ease 0.75s both;
}

.qarib-venue-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qarib-venue-chip i {
    color: var(--gold);
    font-size: 13px;
}

.qarib-venue-chip:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
}
