/* Dynamo Frontend CSS */

/* ============================================================
   Bootstrap Primary Color Override
   Forces Bootstrap utilities to use the custom --primary
   variable set dynamically from admin color settings.
   ============================================================ */
.text-primary                   { color: var(--primary) !important; }
.bg-primary                     { background-color: var(--primary) !important; }
.bg-primary.bg-opacity-10       { background-color: var(--primary-light) !important; }
.border-primary                 { border-color: var(--primary) !important; }
.btn-primary                    { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.btn-primary:hover,
.btn-primary:focus-visible      { background-color: var(--primary-dark) !important; border-color: var(--primary-dark) !important; }
.btn-outline-primary            { color: var(--primary) !important; border-color: var(--primary) !important; }
.btn-outline-primary:hover      { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.badge.bg-primary               { color: #fff; }
.swiper-button-prev,
.swiper-button-next             { color: var(--primary) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    color: #1e293b;
}

html, body {
    overflow-x: hidden;
}

/* Navbar */
#mainNavbar {
    background: rgba(10,14,29,.9);
    top: 0;
    transition: box-shadow .3s;
    padding: .75rem 0;
}
#mainNavbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

/* Brand — gradient text */
#mainNavbar .navbar-brand {
    font-size: 1.3rem;
    background: linear-gradient(130deg, var(--primary) 0%, rgba(255,255,255,.92) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity .2s;
}
#mainNavbar .navbar-brand:hover { opacity: .75; }

/* Nav links */
#mainNavbar .navbar-nav { position: relative; }
#mainNavbar .nav-link {
    color: rgba(255,255,255,.87);
    font-weight: 500;
    padding: .35rem .9rem;
    border-radius: 100px;
    transition: color .2s;
    position: relative;
    z-index: 1;
}
#mainNavbar.scrolled .nav-link { color: rgba(255,255,255,.72); }
#mainNavbar .nav-link:hover { color: #fff; }

/* Sliding hover indicator (injected by JS) */
.nav-pill-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    border-radius: 100px;
    background: rgba(255,255,255,.13);
    pointer-events: none;
    z-index: 0;
    transition: left .22s cubic-bezier(.4,0,.2,1), width .22s cubic-bezier(.4,0,.2,1), opacity .18s;
    opacity: 0;
}

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: .2rem; }
.lang-btn {
    font-size: .72rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    padding: .22rem .55rem;
    border-radius: 100px;
    letter-spacing: .05em;
    transition: color .2s, background .2s;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.lang-btn.active { color: #fff; background: rgba(255,255,255,.16); }

/* Toggler */
#mainNavbar .navbar-toggler {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 50%;
    width: 38px; height: 38px;
    padding: 0;
    color: #fff;
    transition: background .2s;
}
@media (max-width: 991.98px) {
    #mainNavbar .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
#mainNavbar .navbar-toggler:hover { background: rgba(255,255,255,.2); }

/* Mobile nav overlay — enhanced */
.mobile-nav-overlay {
    position: fixed; inset: 0;
    background: #060c1d;
    z-index: 1050;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transform: translateX(-100%);
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.mobile-nav-overlay::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
    opacity: .12;
    top: -280px; right: -200px;
    pointer-events: none;
}
[dir="rtl"] .mobile-nav-overlay { transform: translateX(100%); }
[dir="rtl"] .mobile-nav-overlay::before { right: auto; left: -200px; }
.mobile-nav-overlay.open { transform: translateX(0); }
.mobile-nav-overlay .close-btn {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    color: #fff; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.mobile-nav-overlay .close-btn:hover { background: rgba(255,255,255,.16); }
[dir="rtl"] .mobile-nav-overlay .close-btn { right: auto; left: 1.5rem; }
.mobile-nav-links { list-style: none; padding: 0; text-align: center; }
.mobile-nav-links li {
    margin: .15rem 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .4s ease, transform .4s ease;
}
.mobile-nav-overlay.open .mobile-nav-links li:nth-child(1) { opacity:1; transform:none; transition-delay:.1s; }
.mobile-nav-overlay.open .mobile-nav-links li:nth-child(2) { opacity:1; transform:none; transition-delay:.17s; }
.mobile-nav-overlay.open .mobile-nav-links li:nth-child(3) { opacity:1; transform:none; transition-delay:.24s; }
.mobile-nav-overlay.open .mobile-nav-links li:nth-child(4) { opacity:1; transform:none; transition-delay:.31s; }
.mobile-nav-overlay.open .mobile-nav-links li:nth-child(5) { opacity:1; transform:none; transition-delay:.38s; }
.mobile-nav-links a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.2;
    transition: color .2s;
    display: block;
}
.mobile-nav-links a:hover { color: #fff; }
.lang-switcher-large { display: flex; gap: .5rem; }
.lang-switcher-large a {
    color: rgba(255,255,255,.4);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .07em;
    padding: .4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.1);
    transition: color .2s, background .2s, border-color .2s;
}
.lang-switcher-large a:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.lang-switcher-large a.active {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.2);
}

/* Sections */
.section-pad { padding: 5rem 0; }
@media (max-width: 991px) { .section-pad { padding: 4rem 0; } }
@media (max-width: 575px) { .section-pad { padding: 2.75rem 0; } }
.min-vh-80 { min-height: 80vh; }

/* Hero — dark gradient */
.hero-section {
    background: linear-gradient(135deg, #0d1f3c 0%, var(--primary) 100%);
    min-height: 100vh; display:flex; align-items:center;
    position: relative; overflow: hidden;
}
.hero-section h1 { color: #fff; }
.hero-section .text-muted { color: rgba(255,255,255,.75) !important; }
.hero-section .btn-outline-primary { color: #fff !important; border-color: rgba(255,255,255,.6) !important; }
.hero-section .btn-outline-primary:hover { background: rgba(255,255,255,.15) !important; border-color: #fff !important; }

/* Floating decorative blobs */
.hero-blob {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.06); pointer-events: none;
}
.hero-blob-1 { width: 500px; height: 500px; top: -150px; right: -150px; }
.hero-blob-2 { width: 250px; height: 250px; bottom: -80px; left: -80px; }
.hero-blob-3 { width: 120px; height: 120px; top: 40%; left: 8%; }
[dir="rtl"] .hero-blob-1 { right: auto; left: -150px; }
[dir="rtl"] .hero-blob-2 { left: auto; right: -80px; }
[dir="rtl"] .hero-blob-3 { left: auto; right: 8%; }

/* Hero image frame container */
.hero-img-frame {
    position: relative;
    height: 480px;
    max-width: 540px;
    margin: 0 auto;
}
@media (max-width: 767px) { .hero-img-frame { height: 360px; } }
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 70px;
    }
}

/* Slow-spinning outer dashed ring */
.hero-shape-ring-lg {
    position: absolute; inset: -24px;
    border: 2px dashed rgba(255,255,255,.18); border-radius: 50%;
    pointer-events: none;
    animation: heroRingSpin 35s linear infinite;
}
@keyframes heroRingSpin { to { transform: rotate(360deg); } }

/* Static smaller ring — top corner */
.hero-shape-ring-sm {
    position: absolute; width: 160px; height: 160px;
    border: 2px solid rgba(255,255,255,.15); border-radius: 50%;
    top: -30px; right: -30px; pointer-events: none;
}
[dir="rtl"] .hero-shape-ring-sm { right: auto; left: -30px; }

/* Dot grids — top-left and bottom-right */
.hero-shape-dots-tl, .hero-shape-dots-br {
    position: absolute; width: 75px; height: 75px;
    background-image: radial-gradient(circle, rgba(255,255,255,.4) 1.5px, transparent 1.5px);
    background-size: 13px 13px; pointer-events: none;
}
.hero-shape-dots-tl { top: 10px; left: -15px; }
.hero-shape-dots-br { bottom: 20px; right: -15px; }
[dir="rtl"] .hero-shape-dots-tl { left: auto; right: -15px; }
[dir="rtl"] .hero-shape-dots-br { right: auto; left: -15px; }

/* Cross / plus shapes */
.hero-shape-cross { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.hero-shape-cross::before,
.hero-shape-cross::after { content: ''; position: absolute; background: rgba(255,255,255,.45); border-radius: 2px; }
.hero-shape-cross::before { width: 3px; height: 100%; left: calc(50% - 1.5px); top: 0; }
.hero-shape-cross::after  { height: 3px; width: 100%; top: calc(50% - 1.5px); left: 0; }
.hero-shape-cross-1 { top: 22px; right: 22px; transform: rotate(15deg); }
.hero-shape-cross-2 { bottom: 55px; left: 8px; transform: rotate(30deg); }
[dir="rtl"] .hero-shape-cross-1 { right: auto; left: 22px; }
[dir="rtl"] .hero-shape-cross-2 { left: auto; right: 8px; }

/* Real uploaded image (legacy single-image, kept for non-hero use) */
.hero-img-real {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 2rem;
    border: 3px solid rgba(255,255,255,.25);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* Placeholder when no image uploaded */
.hero-img-placeholder {
    position: relative; z-index: 2;
    width: 100%; height: 100%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1.25rem;
}

/* Floating stat badges */
.hero-stat-badge {
    position: absolute; z-index: 4;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: .875rem; padding: .55rem .9rem;
    color: #fff; display: flex; align-items: center; gap: .5rem;
    font-weight: 600; font-size: .8rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.hero-stat-badge-1 { bottom: 12%; left: -6%; }
.hero-stat-badge-2 { top: 14%; right: -6%; }
[dir="rtl"] .hero-stat-badge-1 { left: auto; right: -6%; }
[dir="rtl"] .hero-stat-badge-2 { right: auto; left: -6%; }

/* ── Hero Carousel ─────────────────────────────────────────── */
.hero-slides-text { position: relative; }

/* Image clipping wrapper — sits at z-index:2, clips slides */
.hero-img-inner {
    position: absolute; inset: 0;
    overflow: hidden; border-radius: 2rem; z-index: 2;
    border: 3px solid rgba(255,255,255,.25);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* Slide images — default state: hidden inside frame */
.hero-slide-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: translateY(100%);
    z-index: 1; transition: none;
}
.hero-slide-img.img-active {
    opacity: 1; transform: translateY(0); z-index: 2;
    transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.hero-slide-img.img-exit {
    opacity: 1; transform: translateY(-100%); z-index: 2;
    transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}

/* Slide text — states */
.hero-slide-text { transition: opacity .5s ease, transform .5s ease; }
.hero-slide-text.slide-active  { opacity: 1; transform: translateY(0); }
.hero-slide-text.slide-hidden  { position: absolute; inset: 0; pointer-events: none;
                                  opacity: 0; transform: translateY(40px); transition: none; }
.hero-slide-text.slide-enter   { position: absolute; inset: 0; pointer-events: none;
                                  opacity: 0; transform: translateY(40px); }
.hero-slide-text.slide-exit    { position: absolute; inset: 0; pointer-events: none;
                                  opacity: 0; transform: translateY(-40px); }

/* Carousel dots */
.hero-carousel-dots { display: flex; gap: .5rem; margin-top: 1.75rem; }
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.35); border: none; padding: 0; cursor: pointer;
    transition: background .3s, width .3s, border-radius .3s;
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* About image frame */
.about-img-frame { position: relative; height: 380px; }
.about-img-real {
    position: relative; z-index: 2;
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 1.5rem; box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.about-img-card {
    position: relative; z-index: 2;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 1.5rem; box-shadow: 0 12px 40px rgba(0,0,0,.12);
    display: flex; align-items: center; justify-content: center;
}
/* Dots grid behind image — bottom-left */
.about-shape-dots {
    position: absolute; z-index: 1;
    bottom: -18px; left: -18px;
    width: 90px; height: 90px;
    background-image: radial-gradient(circle, var(--primary) 2px, transparent 2px);
    background-size: 14px 14px; pointer-events: none;
}
[dir="rtl"] .about-shape-dots { left: auto; right: -18px; }
/* Ring behind image — top-right */
.about-shape-ring {
    position: absolute; z-index: 1;
    width: 130px; height: 130px;
    border: 10px solid var(--primary-light); border-radius: 50%;
    top: -18px; right: -18px; pointer-events: none;
}
[dir="rtl"] .about-shape-ring { right: auto; left: -18px; }

/* Wave divider */
.hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0;
    overflow: hidden; line-height: 0; z-index: 1;
}
.hero-wave svg { display: block; }

/* Section title underline */
.text-center.mb-5 h2::after {
    content: ''; display: block; width: 50px; height: 4px;
    background: var(--primary); border-radius: 2px;
    margin: .75rem auto 0;
}

/* Section overline pill */
.section-overline {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--primary);
    background: var(--primary-light); padding: .25rem .75rem;
    border-radius: 2rem; margin-bottom: .75rem;
}

/* Service cards */
.service-card {
    border-top: 3px solid var(--primary) !important;
    transition: transform .2s, box-shadow .2s;
    overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,.12) !important; }
.service-icon {
    width:60px; height:60px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, #6366f1) 100%);
}
.service-icon i { color: #fff !important; }

/* ============================================================
   Team Section
   ============================================================ */

.teamSwiper { padding: 1rem 2.5rem 2rem; }
@media (max-width: 575px) { .teamSwiper { padding: 1rem .5rem 2rem; } }

/* Card */
.team-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    transition: transform .28s ease, box-shadow .28s ease;
    text-align: center;
}
.team-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 50px rgba(0,0,0,.14);
}

/* Photo wrapper — clips both photo and hover overlay */
.team-card-photo-wrap {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

/* Shared shape: V-notch clip on photo and placeholder */
.team-card-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    display: block;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 55% 100%, 45% 100%, 0 82%);
    transition: transform .4s ease;
}
.team-card:hover .team-card-photo { transform: scale(1.04); }

/* Placeholder when no photo uploaded */
.team-card-photo--placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
}

/* Hover overlay — gradient fades in from bottom, shows arrow icon */
.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2.5rem;
    opacity: 0;
    transition: opacity .28s;
    text-decoration: none;
    color: #fff;
    font-size: 2rem;
}
.team-card:hover .team-card-overlay { opacity: 1; }

/* Body */
.team-card-body { padding: 1.1rem 1.4rem 1.75rem; }
.team-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .45rem;
    line-height: 1.3;
}

/* Role pill badge */
.team-role-badge {
    display: inline-block;
    padding: .22rem .85rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 2rem;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: .9rem;
}

/* Actions — side-by-side buttons */
.team-card-actions {
    display: flex;
    gap: .5rem;
    justify-content: center;
}
.team-btn-profile,
.team-btn-book {
    flex: 1;
    max-width: 130px;
    padding: .45rem .6rem;
    border-radius: .6rem;
    font-size: .82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    border: 1.5px solid var(--primary);
    text-decoration: none;
}
.team-btn-profile {
    color: var(--primary);
    background: transparent;
}
.team-btn-profile:hover,
.team-btn-profile:focus-visible { background: var(--primary); color: #fff; }
.team-btn-book {
    background: var(--primary);
    color: #fff;
}
.team-btn-book:hover,
.team-btn-book:focus-visible { background: var(--primary-dark); border-color: var(--primary-dark); }

/* Focus ring */
.team-btn-profile:focus-visible,
.team-btn-book:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Swiper navigation arrow color */
.swiper-button-prev,
.swiper-button-next { color: var(--primary) !important; }
.swiper-button-prev::after,
.swiper-button-next::after { font-size: 1.2rem !important; }

/* Stats */
.stats-section {
    background: linear-gradient(135deg, #0d1f3c 0%, var(--primary) 100%);
    position: relative;
}
.stats-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 60px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 0%);
}
.stat-card {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 1.25rem; padding: 2rem 1rem;
    backdrop-filter: blur(4px);
    transition: transform .2s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-icon-circle {
    width:64px; height:64px; border-radius:50%;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid rgba(255,255,255,.3);
}

/* Testimonials */
.testimonial-card { position: relative; }
.testimonial-quote {
    font-size: 4rem; line-height: 1; color: var(--primary);
    opacity: .25; font-family: Georgia, serif;
    position: absolute; top: .5rem;
}
[dir="ltr"] .testimonial-quote { left: 1rem; }
[dir="rtl"] .testimonial-quote { right: 1rem; }

/* Step number */
.step-number { width:40px; height:40px; border-radius:50%; background: var(--primary); color:#fff; font-weight:700; display:flex; align-items:center; justify-content:center; font-size:1.1rem; }

/* Footer */
.footer-section { background: #f8fafc; border-top: 1px solid #e2e8f0; padding-bottom: 6rem !important; }
.footer-link { color: #64748b; text-decoration:none; display:block; margin-bottom:.35rem; transition:color .2s; }
.footer-link:hover { color: var(--primary); }
.social-icon { width:36px; height:36px; border-radius:50%; background: var(--primary-light); color: var(--primary); display:flex; align-items:center; justify-content:center; text-decoration:none; transition: background .2s; }
.social-icon:hover { background: var(--primary); color:#fff; }

/* FAB */
.whatsapp-fab { position:fixed; bottom:9rem; right:1.5rem; width:52px; height:52px; border-radius:50%; background:#25D366; color:#fff; font-size:1.5rem; display:flex; align-items:center; justify-content:center; text-decoration:none; box-shadow:0 4px 12px rgba(0,0,0,.2); z-index:1000; transition: transform .2s; }
[dir="rtl"] .whatsapp-fab { right:auto; left:1.5rem; }
.whatsapp-fab:hover { transform:scale(1.1); color:#fff; }

.back-to-top { position:fixed; bottom:5.5rem; right:1.5rem; width:40px; height:40px; border-radius:50%; background: var(--primary); color:#fff; border:none; font-size:1rem; display:none; z-index:1000; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.2); }
[dir="rtl"] .back-to-top { right:auto; left:1.5rem; }
.back-to-top.visible { display:block; }

.sticky-book-bar { position:fixed; bottom:0; left:0; right:0; background: var(--primary); padding:.75rem 0; z-index:999; transform:translateY(100%); transition:transform .3s; }
.sticky-book-bar.visible { transform:translateY(0); }
.btn-white { background:#fff; color: var(--primary); }
.btn-white:hover { background:#f0f4ff; }

/* Booking modal */
.booking-progress .progress-dot { width:10px; height:10px; border-radius:50%; background:#e2e8f0; transition:background .2s; }
.booking-progress .progress-dot.active { background: var(--primary); }
.booking-progress .progress-dot.done { background: #86efac; }
.service-select-card { cursor:pointer; transition: border-color .2s, background .2s; }
.service-select-card:hover, .service-select-card.selected { border-color: var(--primary) !important; background: var(--primary-light); }
.slot-btn { padding:.4rem .8rem; border:2px solid #e2e8f0; border-radius:8px; cursor:pointer; font-size:.85rem; transition: all .2s; background:#fff; }
.slot-btn:hover, .slot-btn.selected { border-color: var(--primary); background: var(--primary); color:#fff; }

/* Gallery */
.gallery-img { transition: transform .2s, opacity .2s; }
.gallery-img:hover { transform: scale(1.03); opacity:.9; }

/* Info Bar */
.info-bar { background: var(--primary); font-size: 0.85rem; }
.info-bar a { opacity: .85; transition: opacity .2s; }
.info-bar a:hover { opacity: 1; }

/* Portfolio hover overlay */
.portfolio-item { position: relative; overflow: hidden; cursor: pointer; }
.portfolio-item img { transition: transform 0.3s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
    color: #fff; text-align: center; padding: 1rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* Pricing cards */
.pricing-card { transition: transform 0.2s, box-shadow 0.2s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important; }
.pricing-card.featured { border: 2px solid var(--primary) !important; }
.pricing-price { font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.pricing-period { font-size: 0.85rem; color: #6c757d; }

/* Service card cover — diagonal-cut effect */
.service-card-cover {
    position: relative;
    overflow: visible;
    padding-bottom: 1.25rem; /* space below diagonal for icon badge */
}
.service-card-cover-inner {
    height: 200px;
    overflow: hidden;
    position: relative;
    line-height: 0;
}
.service-card-cover-inner img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    transition: transform .4s ease;
}
[dir="rtl"] .service-card-cover-inner img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }
.service-card:hover .service-card-cover-inner img { transform: scale(1.05); }

.service-card-cover-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex; align-items: center; justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}
[dir="rtl"] .service-card-cover-placeholder { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }

/* Gradient overlay fades in on hover */
.service-card-cover-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom right, transparent 40%, rgba(0,0,0,.28) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    opacity: 0; transition: opacity .3s; pointer-events: none;
}
[dir="rtl"] .service-card-cover-overlay { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }
.service-card:hover .service-card-cover-overlay { opacity: 1; }

/* Dot-grid accent — top-right corner */
.service-card-cover-dots {
    position: absolute; z-index: 3;
    top: 8px; right: -6px;
    width: 54px; height: 54px;
    background-image: radial-gradient(circle, var(--primary) 2px, transparent 2px);
    background-size: 11px 11px; pointer-events: none;
}
[dir="rtl"] .service-card-cover-dots { right: auto; left: -6px; }

/* Icon badge floating at diagonal cut edge */
.service-card-icon-badge {
    position: absolute; z-index: 4;
    bottom: 0; left: 1.5rem;
    width: 44px; height: 44px;
    background: #fff; border: 2px solid var(--primary-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.15rem;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
}
[dir="rtl"] .service-card-icon-badge { left: auto; right: 1.5rem; }

.service-card.service-card--cover { border-top: none !important; }

/* Team detail hero */
.team-detail-hero {
    min-height: 320px; padding-top: 90px; padding-bottom: 3rem;
    background: linear-gradient(135deg, #0d1f3c 0%, var(--primary) 100%);
    position: relative; overflow: hidden; display: flex; align-items: flex-end;
}
.team-detail-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center top;
    filter: blur(24px) scale(1.15);
    opacity: .22;
}
.team-detail-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,31,60,.92) 0%, rgba(13,31,60,.5) 100%);
}
.team-detail-hero-content { position: relative; z-index: 2; color: #fff; }
.team-detail-hero-content h1 { color: #fff; }
.team-avatar-hero {
    width: 110px; height: 110px; object-fit: cover; border-radius: 50%;
    border: 4px solid rgba(255,255,255,.35);
    box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.team-avatar-hero-placeholder {
    width: 110px; height: 110px; border-radius: 50%;
    background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
    border: 4px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: #fff; font-weight: 700;
}
/* Today's schedule row highlight */
.schedule-today td { color: var(--primary) !important; font-weight: 600; }

/* Services listing page hero */
.services-page-hero {
    background: linear-gradient(135deg, #0d1f3c 0%, var(--primary) 100%);
    padding: 7rem 0 5rem; text-align: center;
    position: relative; overflow: hidden;
}
.services-page-hero h1 { color: #fff; }
.services-page-hero p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto; }

/* Service detail cover hero */
.service-detail-hero {
    min-height: 340px; padding-top: 90px; padding-bottom: 3rem;
    background: linear-gradient(135deg, #0d1f3c 0%, var(--primary) 100%);
    position: relative; overflow: hidden; display: flex; align-items: flex-end;
}
.service-detail-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.service-detail-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,31,60,.88) 0%, rgba(13,31,60,.35) 100%);
}
.service-detail-hero-content { position: relative; z-index: 2; color: #fff; }
.service-detail-hero-content h1 { color: #fff; }

/* Services section dot pattern background */
.services-section {
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}

/* FAQ accordion styling */
.faq-section .accordion-item {
    border: none !important;
    border-inline-start: 4px solid #e2e8f0 !important;
    border-radius: .625rem !important;
    margin-bottom: .75rem; overflow: hidden;
    transition: border-color .2s; background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.faq-section .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-inline-start-color: var(--primary) !important;
}
.faq-section .accordion-button { font-weight: 600; background: #fff; }
.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary); background: var(--primary-light); box-shadow: none;
}
.faq-section .accordion-button:focus { box-shadow: none; }

/* Contact info cards */
.contact-info-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.25rem; margin-bottom: .75rem;
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: .875rem; transition: box-shadow .2s, border-color .2s;
}
.contact-info-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); border-color: var(--primary); }
.contact-info-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
}

/* ===== Event Cards — Festival Ticket Style ===== */
.event-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-inline-start: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.14);
}
.event-card__media {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.event-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.event-card:hover .event-card__img { transform: scale(1.06); }
.event-card__img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}
.event-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.32) 100%);
}
.event-card__date-stamp {
    position: absolute;
    top: .875rem;
    inset-inline-end: .875rem;
    background: var(--primary);
    color: #fff;
    border-radius: .625rem;
    padding: .3rem .65rem;
    text-align: center;
    min-width: 48px;
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
    line-height: 1.1;
}
.event-card__date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}
.event-card__date-month {
    display: block;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .88;
    margin-top: .1rem;
}
.event-card__body {
    padding: 1.125rem 1.125rem .625rem;
    flex: 1;
}
.event-card__title {
    font-size: .975rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    margin-bottom: .625rem;
}
.event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    font-size: .78rem;
    color: #64748b;
}
.event-card__meta i { color: var(--primary); }
.event-card__tearline {
    position: relative;
    border-top: 2px dashed #dee2e6;
    margin: 0 .875rem;
    overflow: visible;
}
.event-card__tearline-hole {
    position: absolute;
    top: -8px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid #dee2e6;
}
.event-card__tearline-hole--start { inset-inline-start: -1.5rem; }
.event-card__tearline-hole--end   { inset-inline-end: -1.5rem; }
.event-card__stub {
    padding: .75rem 1.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.event-card__seats {
    font-size: .75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.event-card__seats--low { color: #d97706; }
.event-card__seats--ok  { color: #16a34a; }
.event-card__cta {
    border-radius: 2rem !important;
    padding: .3rem 1rem !important;
    font-size: .78rem !important;
    font-weight: 600 !important;
    letter-spacing: .02em;
    white-space: nowrap;
}
/* ===== End Event Cards ===== */
