:root {
    --r: #8B1515;
    --rd: #5E0909;
    --g: #D4AF37;
    --gl: #F3E5AB;
    --bg: #FDFCFB;
    --s1: #FFFFFF;
    --s2: #F7F5F0;
    --t: #111111;
    --tm: #555555;
    --rm: 8px;
    --rx: 16px;
    --r2x: 24px;
    --rpill: 100px;
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(139, 21, 21, 0.04);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg);
    color: var(--tm);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', sans-serif;
    color: var(--t);
    font-weight: 800;
}

a {
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--r), var(--g));
    border-radius: var(--rpill);
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--r), var(--g), var(--gl));
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 var(--rpill) var(--rpill) 0;
}

#ccls-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-logo {
    width: 90px;
    animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.7));
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.text-gold-gradient {
    background: linear-gradient(135deg, var(--g) 0%, #FFF8D6 50%, var(--g) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 4s linear infinite;
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

.inst-strip {
    background: linear-gradient(90deg, #111, #222);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1040;
}

.inst-r,
.inst-m,
.inst-o {
    margin: 0;
    opacity: 0.8;
    font-size: 0.75rem;
}

.inst-c {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    color: var(--g);
    font-weight: bold;
    font-size: 0.95rem;
}

.ccls-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 1rem 0;
    transition: all 0.4s var(--ease-out);
    z-index: 1030;
    top: 0;
}

.ccls-nav.scrolled {
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    width: 90%;
    margin: 15px auto 0;
    border-radius: var(--rpill);
    top: 15px;
    border: 1px solid rgba(255, 255, 255, 1);
}

@media (max-width: 991px) {
    .ccls-nav.scrolled {
        width: 100%;
        border-radius: 0;
        margin-top: 0;
        top: 0;
    }
}

.nav-brand-mark {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--r), var(--rd));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(139, 21, 21, 0.25);
}

.nav-brand-text {
    font-family: 'Cairo';
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--t);
    line-height: 1;
}

.nav-brand-sub {
    font-size: 0.75rem;
    color: var(--g);
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
}

.nl {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--t) !important;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    cursor: pointer;
    opacity: 0.7;
}

.nl:hover,
.nl.active {
    opacity: 1;
    color: var(--r) !important;
}

.nl::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--g);
    border-radius: 3px;
    transition: width 0.3s var(--ease-spring);
}

.nl:hover::after,
.nl.active::after {
    width: 40%;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(139, 21, 21, 0.2);
    border-radius: var(--rpill);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--t);
    transition: all 0.3s var(--ease-out);
    background: transparent;
}

.lang-pill:hover {
    border-color: var(--r);
    background: rgba(139, 21, 21, 0.05);
    color: var(--r);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: var(--shadow-lg);
    border-radius: var(--rx) !important;
}

.btn-primary-ccls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--r), var(--rd));
    color: white !important;
    padding: 14px 32px;
    border-radius: var(--rpill);
    border: none;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(139, 21, 21, 0.3);
    transition: all 0.4s var(--ease-spring);
    z-index: 1;
    text-decoration: none;
}

.btn-primary-ccls::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s var(--ease-out);
    z-index: -1;
}

.btn-primary-ccls:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4), 0 5px 15px rgba(139, 21, 21, 0.3);
}

.btn-primary-ccls:hover::before {
    left: 100%;
}

.btn-ghost-ccls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 32px;
    border-radius: var(--rpill);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out);
    text-decoration: none;
}

.btn-ghost-ccls:hover {
    background: white;
    color: var(--t) !important;
    border-color: white;
    transform: translateY(-4px);
}

.hero {
    position: relative;
    height: 95vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    margin-top: -85px;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s var(--ease-in-out), visibility 1.5s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-slide.active img {
    transform: scale(1);
}

.hero-overlay-1 {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
    top: 40px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--rpill);
    font-family: 'Cairo';
    font-weight: 700;
    color: var(--gl);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-spring);
}

.hero-dot.active {
    width: 35px;
    border-radius: var(--rpill);
    background: var(--g);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 10;
    text-decoration: none;
    transition: color 0.3s;
}

.scroll-indicator:hover {
    color: var(--g);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -15px);
    }

    60% {
        transform: translate(-50%, -7px);
    }
}

.premium-card,
.srv-card {
    background: var(--s1);
    border-radius: var(--r2x);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease-spring);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.premium-card::before,
.srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--g), var(--r));
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out);
    transform-origin: left;
}

html[dir="rtl"] .premium-card::before,
html[dir="rtl"] .srv-card::before {
    transform-origin: right;
}

.premium-card:hover,
.srv-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.2);
}

.premium-card:hover::before,
.srv-card:hover::before {
    transform: scaleX(1);
}

.card-icon,
.srv-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(139, 21, 21, 0.05));
    color: var(--r);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-spring);
}

.premium-card:hover .card-icon,
.srv-card:hover .srv-icon {
    background: linear-gradient(135deg, var(--r), var(--rd));
    color: white;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(139, 21, 21, 0.2);
}

.card-title,
.srv-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--t);
}

.card-desc,
.srv-desc {
    font-size: 1rem;
    color: var(--tm);
    flex-grow: 1;
    margin-bottom: 2rem;
}

.card-link,
.srv-link {
    color: var(--r);
    font-family: 'Cairo';
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.card-link i,
.srv-link i {
    transition: transform 0.3s ease;
}

html[dir="rtl"] .premium-card:hover .card-link i,
html[dir="rtl"] .srv-card:hover .srv-link i {
    transform: translateX(-8px);
}

html[dir="ltr"] .premium-card:hover .card-link i,
html[dir="ltr"] .srv-card:hover .srv-link i {
    transform: translateX(8px);
}

.pc-wrap {
    background: white;
    border-radius: var(--r2x);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out);
    height: 100%;
    position: relative;
    z-index: 1;
}

.pc-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--r2x);
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--g), var(--r), var(--g)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 10;
    pointer-events: none;
    background-size: 200% 200%;
    animation: bgShift 3s ease infinite;
}

.pc-wrap:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pc-wrap:hover::after {
    opacity: 1;
}

@keyframes bgShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.pc-banner {
    padding: 3rem 2rem;
    position: relative;
    color: white;
    overflow: hidden;
}

.pc-banner.is-red {
    background: linear-gradient(135deg, var(--r), #4a0505);
}

.pc-banner.is-gold {
    background: linear-gradient(135deg, #A8871A, #6b540c);
}

.pc-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 40px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.pc-icon-wrap {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.pc-sys-name {
    font-size: 1.8rem;
    margin: 0;
    color: white;
}

.pc-body {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.pc-desc {
    color: var(--tm);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    min-height: 80px;
}

.pc-enter-btn {
    display: block;
    text-align: center;
    padding: 15px;
    border-radius: var(--rpill);
    font-family: 'Cairo';
    font-weight: bold;
    font-size: 1.1rem;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s var(--ease-spring);
}

.pc-enter-btn.is-red {
    background: var(--r);
}

.pc-enter-btn.is-gold {
    background: var(--g);
}

.pc-enter-btn:hover {
    transform: translateY(-3px);
    opacity: 0.95;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ct-card {
    background: white;
    border-radius: var(--rx);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ct-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--stripe);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
}

.ct-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.ct-card:hover::before {
    transform: scaleX(1);
}

.ct-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform 0.4s var(--ease-spring);
}

.ct-card:hover .ct-icon {
    transform: scale(1.1) rotate(5deg);
}

.ct-icon.tel {
    background: rgba(139, 21, 21, 0.1);
    color: var(--r);
}

.ct-icon.wa {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.ct-icon.mail {
    background: rgba(230, 112, 0, 0.1);
    color: #e67000;
}

.ct-icon.fb {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.ct-label {
    font-size: 1.2rem;
    color: var(--t);
    margin-bottom: 0.5rem;
}

.ct-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--t);
}

.ct-hint {
    font-size: 0.85rem;
    color: var(--tm);
    margin-top: auto;
    padding-top: 1rem;
}

.footer {
    background: #0D0A08;
    color: rgba(255, 255, 255, 0.6);
    padding: 100px 0 30px;
    position: relative;
    border-top: 4px solid var(--g);
}

.f-title {
    color: white;
    font-family: 'Cairo';
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

.f-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--g);
}

html[dir="ltr"] .f-title::after {
    right: auto;
    left: 0;
}

.f-lnk {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

.f-lnk:hover {
    color: var(--g);
    transform: translateX(-5px);
}

html[dir="ltr"] .f-lnk:hover {
    transform: translateX(5px);
}

.soc {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.soc:hover {
    background: var(--g);
    color: #000;
    transform: translateY(-5px);
}

.soc.soc-fb:hover {
    background: #1877F2 !important;
    color: #ffffff !important;
}

.soc.soc-wa:hover {
    background: #25D366 !important;
    color: #ffffff !important;
}

.f-bot {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 50px;
}

.page-banner {
    background: linear-gradient(150deg, #111 0%, var(--rd) 100%);
    padding: 180px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.pb-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--g);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.pb-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.pb-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        padding: 1.5rem;
        border-radius: var(--rx);
        box-shadow: var(--shadow-sm);
        margin-top: 15px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .lang-pill {
        width: fit-content;
        margin-top: 10px;
    }

    .nl::after {
        display: none;
    }
}

@media (max-width: 768px) {

    section[style*="padding: 120px"],
    section[style*="padding: 100px"] {
        padding: 60px 0 !important;
    }

    .page-banner {
        padding: 140px 0 40px !important;
    }

    .footer {
        padding: 60px 0 20px !important;
    }

    .hero {
        min-height: 500px;
        height: 100svh;
        margin-top: -75px;
    }

    .hero-content {
        top: 20px;
    }

    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hero-ctas .btn-primary-ccls,
    .hero-ctas .btn-ghost-ccls {
        margin: 0 !important;
        width: 100%;
    }

    .premium-card,
    .srv-card,
    .ct-card {
        padding: 2rem 1.5rem;
    }

    .pc-banner {
        padding: 2rem 1.5rem;
    }

    .pc-body {
        padding: 1.5rem;
    }

    .col-md-5.p-5 {
        padding: 2rem !important;
    }

    .footer .row.g-5 {
        gap: 2.5rem !important;
    }

    .footer .col-6 {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .nav-brand-text {
        font-size: 1.15rem;
    }

    .nav-brand-mark {
        width: 35px;
        height: 35px;
    }

    .nav-brand-mark img {
        width: 25px !important;
        height: 25px !important;
    }

    .pb-title {
        font-size: 2rem !important;
    }

    .btn-primary-ccls,
    .btn-ghost-ccls,
    .pc-enter-btn {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .pb-icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}