/********** Template CSS **********/
:root {
    --primary: #7B1B2B;
    --primary-dark: #5C1420;
    --primary-light: #9A2D3F;
    --secondary: #C9922A;
    --secondary-light: #E8B84A;
    --cream: #FBF6EE;
    --light: #FFFCF8;
    --dark: #2C2426;
    --muted: #5C5558;
    --danger: #dc3545;
    --success: #B45309;
    --warning: #ffc107;
    --info: #0dcaf0;
    --radius: 0.375rem;
    --transition: 0.5s ease-in-out;
    --navbar-height: 72px;
    --hero-carousel-height: clamp(300px, 44vh, 480px);
    /* Align custom Bootstrap theme (loaded before this file) */
    --bs-primary: #7B1B2B;
    --bs-primary-rgb: 123, 27, 43;
    --bs-success: #B45309;
    --bs-success-rgb: 180, 83, 9;
    --bs-green: #B45309;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
}

body {
    background-color: var(--cream);
    color: var(--dark);
    overflow-x: clip;
    max-width: 100%;
}

#main.main-inner {
    background: var(--light);
}

#main.main-inner h1,
#main.main-inner h2,
#main.main-inner h3 {
    color: var(--primary);
}

#main.main-inner .lead,
#main.main-inner p {
    color: var(--muted);
}

#main.main-inner ul li::marker {
    color: var(--secondary);
}

body.lang-en {
    font-family: "Nunito", system-ui, sans-serif;
}

body.lang-ar,
body.lang-ar .navbar,
body.lang-ar .carousel-caption,
body.lang-ar .facts,
body.lang-ar #about {
    font-family: "Noto Kufi Arabic", system-ui, sans-serif;
}

body.lang-ar .navbar-nav .nav-link,
body.lang-ar .dropdown-item {
    font-family: "Noto Kufi Arabic", system-ui, sans-serif;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: var(--transition);
    border-radius: var(--radius);
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    user-select: none;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover,
.btn-primary:focus {
    box-shadow: inset 0 0 0 0 var(--primary);
    color: #FFFFFF;
}

.btn-secondary:hover,
.btn-secondary:focus {
    box-shadow: inset 0 0 0 0 var(--secondary);
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

/* Form Controls */
.form-control,
.form-select {
    border: 1px solid #dee2e6;
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139, 27, 43, 0.25);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.invalid-feedback,
.valid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.invalid-feedback {
    color: var(--danger);
}

.valid-feedback {
    color: var(--success);
}


/*** Navbar ***/
.scc-navbar-wrap {
    position: relative;
    z-index: 1040;
    overflow: visible;
}

.navbar {
    min-height: var(--navbar-height);
    background-color: var(--primary) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    overflow: visible !important;
}

@media (min-width: 992px) {
    .navbar {
        height: var(--navbar-height);
        overflow: visible !important;
    }

    .navbar-collapse {
        overflow: visible !important;
    }
}

.navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    line-height: 0;
}

.navbar .navbar-brand .logo-img {
    display: block;
    width: auto;
    max-width: min(200px, 38vw);
    height: auto;
    max-height: 56px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

[dir="rtl"] .navbar .navbar-brand .logo-img {
    object-position: right center;
}

.logo-img-footer {
    max-width: 220px;
    max-height: none;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

.site-footer {
    background: linear-gradient(165deg, var(--primary-dark) 0%, #3A0E16 55%, #2A0A10 100%);
    border-top: 3px solid var(--secondary);
}

.site-footer .footer-brand {
    background: transparent;
}

.site-footer .section-title::before {
    background: var(--secondary-light);
}

.site-footer .text-primary,
.site-footer .bi.text-primary {
    color: var(--secondary-light) !important;
}

.site-copyright {
    background: #1A0609;
}


.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 0.95rem;
    padding: 0.5rem 0.65rem;
    transition: color var(--transition);
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        font-size: 0.875rem;
        padding: 0.45rem 0.45rem;
    }

    .navbar .navbar-brand .logo-img {
        max-width: min(160px, 32vw);
        max-height: 48px;
    }

    .nav-user-greeting {
        max-width: 7rem;
    }

    .nav-user-name {
        max-width: 5.5rem;
    }
}

@media (min-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
}

.navbar-collapse {
    flex-grow: 1;
    align-items: stretch;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.25rem;
        overflow: visible;
    }

    .scc-nav-main {
        flex-wrap: nowrap;
        min-width: 0;
        flex: 1 1 auto;
        justify-content: center;
    }

    .scc-nav-utils {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 0.35rem;
    }

}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:focus, .navbar-nav .nav-link:hover {
    color: var(--secondary-light) !important;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    color: #fff !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary-light) !important;
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
}

.navbar-dark .navbar-toggler:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
}

.dropdown-menu {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    border: 1px solid #dee2e6;
    z-index: 1055;
}

.navbar .dropdown-menu {
    position: absolute;
}

.dropdown-item {
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa;
    color: var(--primary);
}

.nav-user-greeting {
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 11rem;
    display: inline-block;
    vertical-align: middle;
}

.nav-user-name {
    display: inline-block;
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.scc-user-dropdown .dropdown-header {
    color: var(--primary);
    font-weight: 700;
    white-space: normal;
}

.scc-user-dropdown .dropdown-item {
    font-size: 0.95rem;
}

.scc-user-dropdown .dropdown-item i {
    color: var(--primary);
}

.scc-lang-link {
    font-weight: 700 !important;
}

.navbar-nav .nav-link .bi {
    vertical-align: -0.125em;
}

/* CTA — مثل «احجز موعد» في موقع السفارة */
.scc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-dark) !important;
    background: #fff !important;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.scc-cta-btn:hover,
.scc-cta-btn:focus,
.scc-cta-btn.show {
    color: #fff !important;
    background: var(--primary-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.scc-cta-btn.dropdown-toggle::after {
    margin-inline-start: 0.35rem;
    vertical-align: 0.12em;
    border-top-color: currentColor;
}

.scc-booking-cta {
    flex-shrink: 0;
    align-self: center;
    margin-inline-start: 0.5rem;
    position: relative;
    z-index: 1056;
}

.scc-booking-menu {
    min-width: 15rem;
    border-color: rgba(123, 27, 43, 0.12);
    margin-top: 0.35rem;
    background: #fff;
    inset: auto auto auto auto;
    top: 100%;
}

[dir="rtl"] .scc-booking-cta .scc-booking-menu.dropdown-menu-end {
    right: 0;
    left: auto;
}

[dir="ltr"] .scc-booking-cta .scc-booking-menu.dropdown-menu-end {
    right: 0;
    left: auto;
}

.scc-booking-nav .scc-cta-btn-mobile {
    margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        min-height: var(--navbar-height);
    }

    .navbar-dark.navbar-solid,
    .navbar-dark.navbar-overlay,
    .sticky-top.navbar-dark {
        position: sticky;
        top: 0;
        z-index: 1040;
        background: var(--primary) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .main-hero {
        margin-top: 0;
        z-index: 1;
    }

    .main-hero > .hero-carousel:first-child {
        padding-top: 0;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 0.65rem 0;
        color: #fff !important;
        white-space: normal;
    }

    .navbar-collapse {
        padding-top: 0.5rem;
        padding-bottom: 0.75rem;
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
    }

    .scc-nav-main,
    .scc-nav-utils {
        width: 100%;
    }

    .scc-nav-utils {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .scc-booking-cta {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .navbar-dark.navbar-overlay,
    .navbar-dark.navbar-solid {
        position: sticky;
        top: 0;
        z-index: 1040;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .navbar-dark.navbar-overlay {
        background: linear-gradient(180deg, rgba(123, 27, 43, 0.97) 0%, rgba(123, 27, 43, 0.88) 100%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .navbar-dark.navbar-solid {
        background: var(--primary) !important;
        box-shadow: 0 4px 20px rgba(60, 14, 22, 0.22);
    }

    .navbar-dark.navbar-overlay.navbar-scrolled {
        background: var(--primary) !important;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary-light);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/*** Carousel ***/
.main-hero {
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * var(--navbar-height));
}

.main-hero > .hero-carousel:first-child {
    padding-top: var(--navbar-height);
}

.hero-carousel {
    position: relative;
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(60, 20, 28, 0.18);
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: var(--hero-carousel-height) !important;
    min-height: 18rem;
}

.hero-carousel .carousel-item {
    position: relative;
}

/* Tone down photo greens / lift text readability */
.hero-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        165deg,
        rgba(45, 12, 18, 0.72) 0%,
        rgba(123, 27, 43, 0.42) 42%,
        rgba(20, 10, 12, 0.55) 100%
    );
}

.hero-carousel .carousel-item img {
    position: relative;
    z-index: 0;
    height: 100% !important;
    min-height: 18rem;
    object-fit: cover;
    object-position: center;
    width: 100%;
    transform: scale(1.01);
}

.hero-carousel .carousel-caption {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.25rem;
    background: transparent;
}

.hero-carousel .carousel-caption-inner {
    max-width: 52rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(20, 8, 10, 0.38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-carousel .hero-tagline {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    letter-spacing: 0.06em;
    opacity: 0.95;
    margin-bottom: 0.75rem !important;
}

.hero-carousel .hero-heading {
    font-size: clamp(1.2rem, 3.2vw, 2rem);
    font-weight: 700;
    line-height: 1.45;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
    margin-bottom: 1rem !important;
}

@media (max-width: 576px) {
    .hero-carousel .hero-tagline {
        font-size: 0.72rem;
    }

    .hero-carousel .hero-heading {
        font-size: 1.05rem;
        line-height: 1.4;
    }

    .hero-carousel .carousel-caption-inner {
        padding: 1rem;
    }
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 2.75rem;
    height: 2.75rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    padding: 0;
    border-radius: 50%;
    background: rgba(123, 27, 43, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.22);
    opacity: 0.92;
    transition: var(--transition);
}

.hero-carousel .carousel-control-prev {
    left: 1rem;
}

.hero-carousel .carousel-control-next {
    right: 1rem;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-prev:focus,
.hero-carousel .carousel-control-next:hover,
.hero-carousel .carousel-control-next:focus {
    opacity: 1;
    background: rgba(123, 27, 43, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 1.35rem;
    height: 1.35rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}


/*** Section Title ***/
.section-title {
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title.section-title-sm.text-center::before {
    left: 50%;
    margin-left: -45px;
}

.section-title.section-title-sm.text-center::after {
    -webkit-animation: section-title-run-center-sm 5s infinite linear;
    animation: section-title-run-center-sm 5s infinite linear;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center-sm {
    0% { left: 50%; margin-left: -45px; } 50% { left: 50%; margin-left: 40px; } 100% { left: 50%; margin-left: -45px; }
}

@keyframes section-title-run-center-sm {
    0% { left: 50%; margin-left: -45px; } 50% { left: 50%; margin-left: 40px; } 100% { left: 50%; margin-left: -45px; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 30px;
    transition: var(--transition);
    border-radius: var(--radius);
}

.service-item:focus-within {
    box-shadow: 0 0 30px rgba(139, 27, 43, 0.15);
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(139, 27, 43, 0.2);
}

.service-item .service-icon i {
    transition: var(--transition);
}

.service-item:hover .service-icon i {
    transform: scale(1.1);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
    transition: var(--transition);
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.testimonial-carousel .owl-dot:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: var(--transition);
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: var(--transition);
    border-radius: var(--radius);
    overflow: hidden;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
    transition: var(--transition);
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(123, 27, 43, 0.78);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: var(--transition) 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: var(--transition) 0.05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: var(--transition) 0.1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: var(--transition) 0.15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: var(--transition);
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -3.5rem;
        z-index: 1;
    }
}

.facts .shadow.rounded {
    padding: 1.75rem 1.35rem !important;
    min-height: 9.5rem;
    justify-content: center;
}

.facts .shadow.rounded .rounded.mb-2 {
    margin-bottom: 1rem !important;
}

.facts .shadow.rounded h5 {
    font-size: 1rem;
    line-height: 1.35;
}

.facts .shadow.rounded h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-top: 0.35rem !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    transition: var(--transition);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    transform: translateY(-3px);
}

.bg-header {
    background: linear-gradient(135deg, rgba(123, 27, 43, 0.88), rgba(217, 119, 6, 0.55)), url(../img/Logo-2.png) center center no-repeat;
    background-size: contain;
}

.link-animated a {
    transition: var(--transition);
}

.link-animated a:hover {
    padding-left: 10px;
}

.no-link-style {
    color: inherit;
    text-decoration: none;
}

.office-section-heading {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    margin-top: 40px;
    border-radius: var(--radius) var(--radius) 0 0;
}

/* Brand-aligned success/positive states (amber tones, not green) */
.text-success {
    color: #a16207 !important;
}

.alert-success {
    color: #78350f;
    background-color: #fffbeb;
    border-color: #fcd34d;
}

.btn-success,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: var(--success) !important;
    border-color: var(--success) !important;
    color: #fff !important;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Cards */
.card {
    border: 1px solid #dee2e6;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Alerts */
.alert {
    border-radius: var(--radius);
    border: 1px solid transparent;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

tbody td {
    border-bottom: 1px solid #dee2e6;
}

tbody tr:hover {
    background-color: #f8f9fa;
}


    @media (min-width: 767.98px) {
        .footer-about {
            margin-bottom: -75px;
        }
    }

    [dir="ltr"] h5, [dir="ltr"] p, [dir="ltr"] .small {
    text-align: left !important;
}

[dir="rtl"] h5,
[dir="rtl"] p,
[dir="rtl"] .small {
    text-align: right !important;
}

.site-footer .footer-social-row {
    margin-top: 0.5rem;
    padding-bottom: 1.5rem;
}

.site-footer .footer-social-icons {
    display: flex !important;
    flex-direction: row;
    justify-content: center !important;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0 auto;
}

.site-footer .footer-social-icons .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1;
    text-align: center !important;
}

.site-footer .footer-social-icons .btn i {
    display: block;
    line-height: 1;
    width: 1em;
    text-align: center;
}

.site-copyright .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
}

.site-copyright-inner {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center !important;
}

/* SCC hall calendar */
.scc-calendar-week .sticky-col {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 8rem;
    box-shadow: 1px 0 0 rgba(0,0,0,.06);
}

.scc-cal-pill {
    background: rgba(123, 27, 43, 0.08);
}

.scc-news-body img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    .scc-calendar-week {
        border-radius: var(--radius);
    }
}

/* ========== SCC global UI theme (forms, pages, components) ========== */

.scc-page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 2.5rem 0;
}

.scc-page-banner h1,
.scc-page-banner .display-4 {
    color: #fff !important;
}

.scc-page-banner a {
    color: var(--secondary-light) !important;
}

.scc-card {
    background: #fff;
    border: 1px solid rgba(123, 27, 43, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(44, 36, 38, 0.06);
}

.form-label {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-control,
.form-select {
    border: 1px solid rgba(123, 27, 43, 0.22);
    border-radius: var(--radius);
    padding: 0.6rem 0.85rem;
    background-color: #fff;
    color: var(--dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(123, 27, 43, 0.15);
}

.form-control::placeholder {
    color: #9a8f92;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 600;
    border-radius: var(--radius);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-success,
.bg-success {
    background-color: var(--success) !important;
    border-color: var(--success) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.badge.bg-secondary {
    background-color: var(--primary-light) !important;
}

.nav-tabs .nav-link {
    color: var(--muted);
    border-radius: var(--radius) var(--radius) 0 0;
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    color: var(--primary) !important;
    border-color: rgba(123, 27, 43, 0.2) rgba(123, 27, 43, 0.2) #fff;
}

.accordion-item {
    border: 1px solid rgba(123, 27, 43, 0.15);
    border-radius: var(--radius) !important;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.accordion-button {
    background-color: rgba(123, 27, 43, 0.06);
    color: var(--primary-dark);
    font-weight: 700;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(123, 27, 43, 0.15);
}

.table {
    --bs-table-hover-bg: rgba(123, 27, 43, 0.04);
}

.table thead th,
.table-light th {
    color: var(--primary-dark);
    font-weight: 700;
}

.alert-danger {
    border-color: rgba(220, 53, 69, 0.3);
}

.alert-success {
    background-color: rgba(180, 83, 9, 0.12);
    border-color: rgba(180, 83, 9, 0.35);
    color: var(--success);
}

.inner-page .section-title h2,
.section-title h2 {
    color: var(--primary);
}

.inner-page .contact .info-box i,
.contact .info-box i {
    color: var(--primary) !important;
}

.scc-booking-form .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.dropdown-menu {
    border-color: rgba(123, 27, 43, 0.12);
}

.dropdown-item:active {
    background-color: var(--primary);
    color: #fff;
}
