@font-face {
    font-family: "Swissra-Bold";
    src: url("../fonts/Swissra_Bold.otf") format("woff2");
    font-weight: 400;
    font-style: normal;
}

:root {
    --heritage-red: #ce1126;
    --heritage-black: #0f0f0f;
    --heritage-paper: #f5f2ed;
    --heritage-gold: #c5a059;
    --font-sans: "Cairo", sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--heritage-paper);
    color: var(--heritage-black);
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

/* Navbar & Header Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: white;
    padding: 0.8rem 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

/* Slogan Header (Stacked) */
.header-side-text {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.15;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    user-select: none;
    text-align: left; /* Sit on left of screen, align text left */
}

.navbar.scrolled .header-side-text {
    color: var(--heritage-black);
}

/* Centered Logo */
.header-center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-img {
    width: 110px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .logo-img {
    width: 75px;
}

/* Fade out logo and side slogan when menu is open */
.navbar.menu-open .header-center-logo {
    opacity: 0 !important;
    pointer-events: none;
    transform: translate(-50%, -75%) scale(0.9);
}

.navbar.menu-open .header-side-text {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(-15px);
}

/* Always-collapsed Hamburger Menu Toggle */
.menu-toggle-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid white;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1100; /* Stays above the sidebar and background blur backdrop */
}

.menu-toggle-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.navbar.scrolled .menu-toggle-btn {
    border-color: var(--heritage-black);
    color: var(--heritage-black);
}

.navbar.scrolled .menu-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Premium active menu styling representing the 'X' button */
.menu-toggle-btn.btn-active {
    border-color: var(--heritage-gold) !important;
    color: var(--heritage-gold) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.menu-toggle-btn.btn-active i {
    transform: rotate(90deg);
}

/* Hide the default offcanvas close button, since our main top-level button handles closure */
.offcanvas-header .btn-close {
    display: none !important;
}

/* Premium Offcanvas Navigation Sidebar (Opening from Right) */
.offcanvas {
    width: 320px !important;
    background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%) !important;
    border: none !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.2rem 1.8rem;
}

.offcanvas-title {
    color: var(--heritage-gold);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.offcanvas-body {
    padding: 2.5rem 1.8rem;
}

.offcanvas-nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1.2rem !important;
    font-weight: 700;
    padding: 0.9rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    text-decoration: none;
    margin-bottom: 0.6rem;
    border-right: 3px solid transparent;
}

.offcanvas-nav-link:hover,
.offcanvas-nav-link.active {
    color: white !important;
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--heritage-gold);
    padding-right: 1.5rem !important;
}

/* New Premium Royal Hero Section */
#royalHero {
    min-height: 100vh;
    background-color: #0c0c0c;
    background-image: radial-gradient(
        circle at center,
        #1b1b1b 0%,
        #050505 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 11rem 0 7rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Exact 162pt / Signature font requested */
.royal-calligraphy {
    font-size: clamp(3.5rem, 15vw, 162pt);
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 35px rgba(255, 255, 255, 0.25);
    line-height: 0.9;
    user-select: none;
    font-family: "Aref Ruqaa Ink", "Aref Ruqaa", "Vibes", serif !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Staggered Signature reveal handwriting animation */
.sig-line-1,
.sig-line-2 {
    opacity: 0;
    display: block;
}

.signature-draw.active .sig-line-1 {
    animation: drawSignatureRTL 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.signature-draw.active .sig-line-2 {
    animation: drawSignatureRTL 2.2s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

@keyframes drawSignatureRTL {
    0% {
        opacity: 0;
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
        transform: translateX(18px) scale(0.97);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translateX(0) scale(1);
    }
}

/* Non-signature style text below the signature replicating image design */
.hero-normal-text {
    font-family: "Cairo", sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 5.5vw, 3.2rem);
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.5s forwards;
}

.hero-line-item {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.8rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.3;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.65);
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-line-item.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.hero-line-item:nth-of-type(1) {
    transition-delay: 0.1s;
}
.hero-line-item:nth-of-type(2) {
    transition-delay: 0.3s;
}
.hero-line-item:nth-of-type(3) {
    transition-delay: 0.5s;
}
.hero-line-item:nth-of-type(4) {
    transition-delay: 0.7s;
}

.hero-line-item .accent-red {
    color: var(--heritage-red);
    text-shadow: 0 0 30px rgba(206, 17, 38, 0.55);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive rules */
@media (max-width: 991px) {
    .navbar {
        padding: 1rem 0;
    }
    .royal-calligraphy {
        font-size: 4rem;
        margin-bottom: 0.8rem;
    }
    .hero-normal-text {
        font-size: 2.2rem;
    }
    .hero-line-item {
        font-size: 2.5rem;
        margin-bottom: 1.4rem;
    }
}

@media (max-width: 576px) {
    .royal-calligraphy {
        font-size: 10rem;
        margin-top: 35%;
        /* margin-bottom: 2rem; */
    }
    .hero-slogans {
        font-size: 3rem;
        margin-top: 50%;
        display: block;
    }
    .hero-line-item {
        font-size: 60%;
        margin-bottom: 1.1rem;
    }
    .logo-img {
        width: 90px;
    }
    .navbar.scrolled .logo-img {
        width: 65px;
    }
}

/* Sections */
.content-section {
    padding: 10rem 0;
}

/* Luxury Editorial Gallery Grid Styles */
.media-editorial-section {
    background-color: var(
        --heritage-paper
    ); /* Matching heritage paper background */
    padding: 8rem 0;
    font-family: "Cairo", sans-serif;
    overflow: hidden;
}

.media-section-header {
    margin-bottom: 6rem;
    text-align: center;
}

.media-section-header h5 {
    color: var(--heritage-red);
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.media-section-header h2 {
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--heritage-black);
    margin-bottom: 1.5rem;
}

.media-section-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Asymmetric Editorial Gallery Grid matching the design exactly */
.editorial-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem 2.8rem;
    direction: rtl; /* RTL aligned */
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Individual Card Item */
.editorial-card {
    display: flex;
    flex-direction: column;
    text-align: right;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Precise title custom styling with deep red to match design */
.editorial-title {
    color: var(--heritage-red);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    font-family: "Cairo", sans-serif;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

/* Highlight box for Title 1 and 5 just like in the user's design image */
.editorial-title.highlight-tag {
    background-color: rgba(206, 17, 38, 0.08); /* faint heritage red */
    padding: 4px 14px;
    border-radius: 4px;
    border-right: 4px solid var(--heritage-red);
    font-size: 1.15rem;
}

/* Royal Calligraphy Emblem "هيبتنا" on the left of title 4 */
.editorial-calligraphy-emblem {
    font-family: "Aref Ruqaa Ink", "Aref Ruqaa", serif !important;
    font-weight: 700;
    color: var(--heritage-red);
    font-size: 1.5rem;
    margin-right: auto; /* Push to far-left in RTL layout */
    opacity: 0.9;
}

/* Image Containers */
.editorial-img-container {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px; /* clean elegant corners */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-img-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.editorial-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-img-container:hover .editorial-img {
    transform: scale(1.03);
}

/* Premium Column spans matching the user's asymmetric photo layout */
@media (min-width: 992px) {
    /* Column 1 (Leftmost on RTL) */
    .card-item-1 {
        grid-column: span 3;
    }
    .card-item-1 .editorial-img {
        aspect-ratio: 4/5;
    }

    /* Column 2 (Sunset Flag & Rider in between) */
    .card-item-2 {
        grid-column: span 3;
        margin-top: 3.5rem; /* offset down just like in the layout */
    }
    .card-item-2 .editorial-img {
        aspect-ratio: 16/11;
    }

    /* Column 3 (Waving Flag) */
    .card-item-3 {
        grid-column: span 3;
    }
    .card-item-3 .editorial-img {
        aspect-ratio: 1/1;
    }

    /* Column 4 (Guards - Rightmost) */
    .card-item-4 {
        grid-column: span 3;
    }
    .card-item-4 .editorial-img {
        aspect-ratio: 3/4;
    }

    /* Bottom Row items */
    .card-item-5 {
        grid-column: span 3;
    }
    .card-item-5 .editorial-img {
        aspect-ratio: 4/3;
    }

    .card-item-6 {
        grid-column: span 6; /* Beautiful widescreen center image */
    }
    .card-item-6 .editorial-img {
        aspect-ratio: 1.618/1;
    }

    .card-item-7 {
        grid-column: span 3;
    }
    .card-item-7 .editorial-img {
        aspect-ratio: 4/3;
    }
}

/* Tablet Layout */
@media (max-width: 991px) and (min-width: 768px) {
    .editorial-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .card-item-1,
    .card-item-2,
    .card-item-3,
    .card-item-4,
    .card-item-5,
    .card-item-6,
    .card-item-7 {
        grid-column: span 1 !important;
        margin-top: 0 !important;
    }
    .card-item-6 {
        grid-column: span 2 !important; /* expand wide on tablet */
    }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .editorial-gallery-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .card-item-1,
    .card-item-2,
    .card-item-3,
    .card-item-4,
    .card-item-5,
    .card-item-6,
    .card-item-7 {
        grid-column: span 1 !important;
        margin-top: 0 !important;
    }
}

.btn-custom {
    padding: 1rem 3rem;
    font-weight: 700;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-red {
    background-color: var(--heritage-red);
    color: white;
    border: none;
}

.btn-red:hover {
    background-color: var(--heritage-black);
    color: white;
    transform: translateY(-3px);
}

/* Footer Styling */
footer {
    background: linear-gradient(180deg, #1c1c1c 0%, #0f0f0f 100%);
    color: white;
    padding: 7rem 0 3rem;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.footer-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--heritage-paper);
    clip-path: ellipse(50% 100% at 50% 0%);
}

.footer-slogan {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
    font-family: "Cairo", sans-serif;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.5px;
}

.footer-slogan span.signature {
    font-family: "Great Vibes", cursive;
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 3.4rem;
    opacity: 0.55;
    letter-spacing: 1px;
    pointer-events: none;
    font-weight: 400;
}

.footer-emblem {
    width: 170px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(197, 160, 89, 0.25));
    transition: transform 0.4s ease;
}
.footer-emblem:hover {
    transform: scale(1.05);
}

.footer-nav-list,
.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-nav-list {
    align-items: flex-start; /* aligned to the right in RTL */
    text-align: right;
}

.footer-social-list {
    align-items: flex-start; /* aligned to the right inside the left-positioned container */
    text-align: right;
}

.footer-nav-list li,
.footer-social-list li {
    margin-bottom: 0;
}

.footer-nav-list a,
.footer-social-list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: "Cairo", sans-serif;
}

.footer-nav-list a:hover {
    color: var(--heritage-gold);
    transform: translateX(-5px);
}

.footer-social-list a:hover {
    color: var(--heritage-gold);
    transform: translateX(-5px);
}

.footer-bottom-calligraphy {
    max-width: 320px;
    width: 85%;
    margin: 1.5rem auto 0;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(197, 160, 89, 0.55));
    transition: transform 0.4s ease;
}
.footer-bottom-calligraphy:hover {
    transform: scale(1.03);
}

.mesh-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at 2px 2px,
        rgba(255, 255, 255, 0.035) 1px,
        transparent 0
    );
    background-size: 32px 32px;
    pointer-events: none;
}

.footer-bottom-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(255, 255, 255, 0.08) 80%,
        transparent
    );
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    padding: 0 0.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-legal a:hover {
    color: var(--heritage-gold);
}

.footer-copyright {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Sponsors Bottom White Band */
.footer-sponsors-band {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

.sponsor-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
    filter: grayscale(0.15) opacity(0.9);
}

.sponsor-brand-item:hover {
    transform: scale(1.06);
    filter: grayscale(0) opacity(1);
}

.sponsor-brand-svg {
    height: 44px;
    width: auto;
    max-width: 180px;
}

@media (max-width: 768px) {
    .footer-slogan {
        font-size: 2rem;
    }
    .footer-slogan span.signature {
        font-size: 2.6rem;
        top: -18px;
    }
    .footer-nav-list,
    .footer-social-list {
        text-align: center;
        align-items: center;
        margin-bottom: 2rem;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-legal a {
        margin: 0 0.75rem;
    }
}

/* Sponsors Bottom White Band */
.footer-sponsors-band {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

.sponsor-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
    filter: grayscale(0.15) opacity(0.9);
}

.sponsor-brand-item:hover {
    transform: scale(1.06);
    filter: grayscale(0) opacity(1);
}

.sponsor-brand-svg {
    height: 44px;
    width: auto;
    max-width: 180px;
}

@media (max-width: 768px) {
    .footer-slogan {
        font-size: 2rem;
    }
    .footer-slogan span.signature {
        font-size: 2.6rem;
        top: -18px;
    }
    .footer-nav-list,
    .footer-social-list {
        text-align: center;
        align-items: center;
        margin-bottom: 2rem;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-legal a {
        margin: 0 0.75rem;
    }
}

/* Royal Tribute Section Styles */
.royal-tribute-section {
    background-color: #ffffff;
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.tribute-row-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 1rem; */
    height: 650px;
}

.tribute-portrait-left {
    /* width: 38%; */
    height: 100%;
    max-height: 650px;
    object-fit: contain;
    object-position: left bottom;
    z-index: 2;
    mix-blend-mode: multiply;
}

.tribute-portrait-right {
    /* width: 38%; */
    height: 100%;
    max-height: 650px;
    object-fit: contain;
    object-position: right bottom;
    z-index: 2;
    mix-blend-mode: multiply;
}

.tribute-center-content {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
    padding-bottom: 5rem;
    user-select: none;
}

.tribute-calligraphy-img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(206, 17, 38, 0.25));
}
/* Calligraphy Text */
.tribute-calligraphy-main {
    font-family: "Aref Ruqaa", "Cairo", serif !important;
    font-size: clamp(1.8rem, 3.8vw, 4.2rem);
    color: var(--heritage-red);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.tribute-calligraphy-sub {
    font-family: "Great Vibes", "Cairo", serif !important;
    font-size: clamp(1.2rem, 2.4vw, 2.6rem);
    color: var(--heritage-black);
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

/* Control box: Arrows and gold star */
.tribute-control-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.tribute-btn-rot {
    width: 48px;
    height: 38px;
    background: linear-gradient(180deg, #fefefe 0%, #d8d8d8 100%);
    border: 1px solid #c2c2c2;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    cursor: pointer;
    color: #555;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.tribute-btn-rot:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    color: var(--heritage-gold);
}

.tribute-btn-rot:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.tribute-spacer-star {
    font-size: 1.8rem;
    color: var(--heritage-gold);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    animation: rotateSlowly 25s linear infinite;
}

@keyframes rotateSlowly {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Perfect wavy gold line */
.gold-wave-separator {
    width: 100%;
    height: 32px;
    background-color: transparent;
    position: relative;
    z-index: 4;
    overflow: hidden;
    margin-top: -12px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.gold-wave-svg {
    width: 100%;
    height: 150%;
    display: block;
}

/* Wide Parade Banner */
.royal-parade-banner-container {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}

.royal-parade-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Scroll Reveal Transitions for Tribute Elements */
.royal-tribute-section .tribute-portrait-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.royal-tribute-section .tribute-portrait-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.royal-tribute-section .tribute-center-content {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
}

/* Active Reveal State */
.royal-tribute-section.reveal-active .tribute-portrait-left {
    opacity: 1;
    transform: translateX(0);
}

.royal-tribute-section.reveal-active .tribute-portrait-right {
    opacity: 1;
    transform: translateX(0);
}

.royal-tribute-section.reveal-active .tribute-center-content {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive scaling ensuring side-by-side but perfectly sized */
@media (max-width: 768px) {
    .tribute-row-container {
        height: 320px;
        /* padding: 0 0.5rem; */
    }

    .tribute-calligraphy-main {
        margin-bottom: -130px;
    }

    .tribute-portrait-left,
    .tribute-portrait-right {
        max-height: 239px;
        width: 38%;
    }

    .tribute-center-content {
        width: 60%;
        /* padding-bottom: 2rem; */
    }

    .tribute-btn-rot {
        width: 34px;
        height: 26px;
        font-size: 0.8rem;
    }

    .tribute-spacer-star {
        font-size: 1.1rem;
    }

    .tribute-control-box {
        gap: 0.8rem;
        margin-bottom: 40px;
        /* margin-bottom: 0.5rem; */
    }
}

/* ==========================================
           SPONSORSHIP CATEGORIES (أنواع الرعاية) STYLES
           ========================================== */
.sponsorship-section {
    background-color: #0b0c10;
    background-image:
        radial-gradient(
            circle at 50% 50%,
            rgba(197, 160, 89, 0.15) 0%,
            rgba(0, 0, 0, 0) 70%
        ),
        linear-gradient(rgba(11, 12, 16, 0.96), rgba(11, 12, 16, 0.96)),
        repeating-linear-gradient(
            45deg,
            rgba(197, 160, 89, 0.015) 0px,
            rgba(197, 160, 89, 0.015) 1px,
            transparent 1px,
            transparent 30px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(197, 160, 89, 0.015) 0px,
            rgba(197, 160, 89, 0.015) 1px,
            transparent 1px,
            transparent 30px
        );
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.sponsorship-header {
    margin-bottom: 5rem;
    text-align: center;
}

.sponsorship-title-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.sponsorship-diamond-line {
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--heritage-gold));
    position: relative;
}
.sponsorship-diamond-line.right {
    background: linear-gradient(270deg, transparent, var(--heritage-gold));
}

.sponsorship-diamond-line::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--heritage-gold);
    transform: rotate(45deg);
    top: -2.5px;
}
.sponsorship-diamond-line.left::after {
    right: 0;
}
.sponsorship-diamond-line.right::after {
    left: 0;
}

.sponsorship-main-title {
    font-family: "Cairo", sans-serif !important;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 40%, #f3dcb3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sponsorship-subtitle {
    font-family: "Cairo", sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Responsive Grid */
.sponsorship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* الإصدار 15 - أنماط جديدة للصور */
.brand-jordancode-img {
    max-width: 210px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.brand-jordancode-img:hover {
    transform: scale(1.05) rotate(-1.5deg);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.brand-club-badge-img {
    width: 250px;
    height: auto;
    object-fit: contain;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.brand-club-badge-img:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

/* Tablet Breakpoint (2 items on tablet) */
@media (max-width: 1199.98px) {
    .sponsorship-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

/* Mobile Breakpoint (1 item on mobile) */
@media (max-width: 767.98px) {
    .sponsorship-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding: 0 1.25rem;
    }
}

/* Sponsorship Cards styling */
.sponsor-card {
    background: rgba(18, 19, 23, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3.5rem 1.75rem 2.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(50px);
}

/* Specific card variants */
.sponsor-card.bronze {
    border-color: rgba(180, 110, 60, 0.2);
}
.sponsor-card.bronze:hover {
    border-color: rgba(180, 110, 60, 0.6);
    box-shadow:
        0 15px 40px rgba(180, 110, 60, 0.15),
        inset 0 0 15px rgba(180, 110, 60, 0.05);
    transform: translateY(-8px);
}

.sponsor-card.silver {
    border-color: rgba(192, 192, 192, 0.2);
}
.sponsor-card.silver:hover {
    border-color: rgba(192, 192, 192, 0.6);
    box-shadow:
        0 15px 40px rgba(192, 192, 192, 0.15),
        inset 0 0 15px rgba(192, 192, 192, 0.05);
    transform: translateY(-8px);
}

.sponsor-card.gold {
    border: 2px solid var(--heritage-gold);
    background: rgba(26, 22, 18, 0.88);
    box-shadow: 0 15px 45px rgba(197, 160, 89, 0.15);
}
.sponsor-card.gold:hover {
    transform: translateY(-12px);
    box-shadow:
        0 25px 55px rgba(197, 160, 89, 0.35),
        inset 0 0 25px rgba(197, 160, 89, 0.1);
}

.sponsor-card.platinum {
    border-color: rgba(229, 228, 226, 0.2);
}
.sponsor-card.platinum:hover {
    border-color: rgba(229, 228, 226, 0.65);
    box-shadow:
        0 15px 40px rgba(229, 228, 226, 0.25),
        inset 0 0 15px rgba(229, 228, 226, 0.05);
    transform: translateY(-8px);
}

/* Top outstanding badge for gold card */
.gold-badge {
    position: absolute;
    top: -15px;
    background: linear-gradient(135deg, #f3dcb3 0%, #c5a059 100%);
    color: #0b0c10;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 1.25rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: "Cairo", sans-serif;
}

/* Shield Icons styling */
.sponsor-icon-wrapper {
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 85px;
    height: 85px;
}

.sponsor-shield-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

/* Colors for shields */
.color-bronze {
    fill: url(#bronzeShieldGradient);
}
.color-silver {
    fill: url(#silverShieldGradient);
}
.color-gold {
    fill: url(#goldShieldGradient);
}
.color-platinum {
    fill: url(#platinumShieldGradient);
}

/* Typography Inside Cards */
.sponsor-card-name {
    font-family: "Cairo", sans-serif !important;
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}
.sponsor-card.bronze .sponsor-card-name {
    color: #cd7f32;
}
.sponsor-card.silver .sponsor-card-name {
    color: #e6e6e6;
}
.sponsor-card.gold .sponsor-card-name {
    color: #f3dcb3;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.35);
}
.sponsor-card.platinum .sponsor-card-name {
    color: #e5e4e2;
}

.sponsor-card-desc {
    font-family: "Cairo", sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

/* Stars rating styling */
.sponsor-stars {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}
.sponsor-star-icon {
    font-size: 0.95rem;
}
.sponsor-card.bronze .sponsor-star-icon {
    color: #b46e3c;
}
.sponsor-card.silver .sponsor-star-icon {
    color: #c0c0c0;
}
.sponsor-card.gold .sponsor-star-icon {
    color: #c5a059;
    filter: drop-shadow(0 0 4px rgba(197, 160, 89, 0.5));
}
.sponsor-card.platinum .sponsor-star-icon {
    color: #e2e8f0;
}

/* Separator inside card */
.sponsor-card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
}
.sponsor-card-divider::after {
    content: "◆";
    font-size: 0.6rem;
    position: absolute;
    top: -5px;
    background-color: #121317;
    padding: 0 0.5rem;
}
.sponsor-card.bronze .sponsor-card-divider::after {
    color: #cd7f32;
    background-color: #121317;
}
.sponsor-card.silver .sponsor-card-divider::after {
    color: #cccccc;
    background-color: #121317;
}
.sponsor-card.gold .sponsor-card-divider::after {
    color: var(--heritage-gold);
    background-color: #1a1612;
}
.sponsor-card.platinum .sponsor-card-divider::after {
    color: #e5e4e2;
    background-color: #121317;
}

/* List details styling */
.sponsor-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    text-align: right;
}

.sponsor-feature-item {
    font-family: "Cairo", sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.4;
}

.sponsor-check-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #121317;
    flex-shrink: 0;
}
.sponsor-card.bronze .sponsor-check-circle {
    background-color: #cd7f32;
}
.sponsor-card.silver .sponsor-check-circle {
    background-color: #cccccc;
}
.sponsor-card.gold .sponsor-check-circle {
    background-color: var(--heritage-gold);
    color: #0b0c10;
}
.sponsor-card.platinum .sponsor-check-circle {
    background-color: #cbd5e1;
}

/* Buttons matching the image */
.sponsor-card-btn {
    font-family: "Cairo", sans-serif !important;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-decoration: none;
}

.sponsor-card:not(.gold) .sponsor-card-btn:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.sponsor-card.gold .sponsor-card-btn {
    background: linear-gradient(135deg, #f3dcb3 0%, #c5a059 100%);
    border: none;
    color: #0b0c10;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.sponsor-card.gold .sponsor-card-btn:hover {
    box-shadow: 0 6px 22px rgba(197, 160, 89, 0.55);
    transform: translateY(-2px);
}

/* Scroll reveal triggers */
.sponsorship-section.reveal-active .sponsor-card {
    opacity: 1;
    transform: translateY(0);
}
.sponsorship-section.reveal-active .sponsor-card:nth-child(1) {
    transition-delay: 0.1s;
}
.sponsorship-section.reveal-active .sponsor-card:nth-child(2) {
    transition-delay: 0.2s;
}
.sponsorship-section.reveal-active .sponsor-card:nth-child(3) {
    transition-delay: 0.3s;
}
.sponsorship-section.reveal-active .sponsor-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* ==========================================
           ORGANIZERS SECTION (المنظمون) STYLES
           ========================================== */
.organizers-section {
    background-color: #0d0d11;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.organizers-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: row-reverse; /* Text on the right, images on the left */
    align-items: center;
    gap: 5rem;
}

@media (max-width: 991px) {
    .organizers-container {
        flex-direction: column-reverse;
        gap: 4rem;
    }
}

/* Image Collage Left side */
.organizers-visual-collage {
    width: 45%;
    position: relative;
    height: 520px;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 991px) {
    .organizers-visual-collage {
        width: 100%;
        max-width: 480px;
        height: 420px;
        transform: translateY(30px);
    }
}

.collage-main-img-container {
    width: 82%;
    height: 92%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-main-img-container:hover {
    transform: scale(1.02);
}

.collage-main-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.collage-inset-img-container {
    width: 48%;
    height: 38%;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--heritage-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-inset-img-container:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 45px rgba(197, 160, 89, 0.45);
}

.collage-inset-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Right side */
.organizers-content {
    width: 55%;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 991px) {
    .organizers-content {
        width: 100%;
        text-align: center;
        align-items: center;
        transform: translateY(-30px);
    }
}

.section-label-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 991px) {
    .section-label-row {
        justify-content: center;
    }
}

.section-label {
    font-family: "Cairo", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

.section-label-line {
    height: 2.5px;
    width: 110px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--heritage-gold) 100%
    );
}

.organizers-main-heading {
    font-family: "Cairo", sans-serif !important;
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 4rem;
}

/* Brand Logos container */
.organizers-logos-deck {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}
@media (max-width: 991px) {
    .organizers-logos-deck {
        justify-content: center;
    }
}
@media (max-width: 576px) {
    .organizers-logos-deck {
        flex-direction: column;
        gap: 3rem;
    }
}

/* Brand 1: Jordancode */
.brand-jordancode {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
@media (max-width: 991px) {
    .brand-jordancode {
        align-items: center;
        text-align: center;
    }
}

.jordancode-logo-main {
    font-family: "Inter", sans-serif;
    font-size: 2.3rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.35rem;
    user-select: none;
}

.jordancode-star {
    color: var(--heritage-gold);
    font-size: 1.8rem;
    vertical-align: middle;
    margin: 0 -0.1rem;
    display: inline-block;
    animation: pulseGlow 3.5s ease-in-out infinite;
}

.jordancode-sub {
    font-family: "Inter", sans-serif;
    letter-spacing: 6.5px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    border-top: 1.5px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.35rem;
    margin-right: 2px;
    user-select: none;
}

/* Brand 2: Club Motorcycle Badge SVG */
.brand-club-badge {
    width: 250px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.brand-club-badge:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

/* Scroll reveal triggers */
.organizers-section.reveal-active .organizers-visual-collage {
    opacity: 1;
    transform: translateX(0);
}
.organizers-section.reveal-active .organizers-content {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
           SUPPORTERS SECTION (الداعمون / شركاء النجاح) STYLES
           ========================================== */
.supporters-section {
    background-color: #0d0d11;
    padding: 6rem 0 10.5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.supporters-header {
    max-width: 1300px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    text-align: right;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 991px) {
    .supporters-header {
        text-align: center;
    }
}

.supporters-title {
    font-family: "Cairo", sans-serif !important;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.supporters-subtitle {
    font-family: "Cairo", sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
}

/* Fans Polaroid Deck and animations */
.supporters-fan-deck {
    position: relative;
    max-width: 1100px;
    height: 480px;
    margin: 5rem auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    transform: scale(0.95) translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .supporters-fan-deck {
        height: 380px;
        margin-top: 2rem;
    }
}

.fan-card {
    position: absolute;
    width: 260px;
    height: 360px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    transform-origin: bottom center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.25);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .fan-card {
        width: 175px;
        height: 250px;
        padding: 8px;
    }
}

.fan-card-img-wrapper {
    width: 100%;
    height: 82%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #f7f5f2;
}

.fan-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fan-card-label {
    height: 18%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cairo", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #121317;
    text-align: center;
}
@media (max-width: 768px) {
    .fan-card-label {
        font-size: 0.75rem;
    }
}

/* Polaroid Layout configuration for fanning effect */
/* Card 1: Leftmost (tilts left) */
.fan-card-1 {
    transform: translateX(-240px) translateY(45px) rotate(-16deg);
    z-index: 1;
}
/* Card 2: Inner Left (tilts slightly left) */
.fan-card-2 {
    transform: translateX(-120px) translateY(15px) rotate(-8deg);
    z-index: 2;
}
/* Card 3: Center (Straight) */
.fan-card-3 {
    transform: translateX(0) translateY(0) rotate(0deg);
    z-index: 3;
}
/* Card 4: Inner Right (tilts slightly right) */
.fan-card-4 {
    transform: translateX(120px) translateY(15px) rotate(8deg);
    z-index: 2;
}
/* Card 5: Rightmost (tilts right) */
.fan-card-5 {
    transform: translateX(240px) translateY(45px) rotate(16deg);
    z-index: 1;
}

@media (max-width: 768px) {
    .fan-card-1 {
        transform: translateX(-140px) translateY(30px) rotate(-16deg);
    }
    .fan-card-2 {
        transform: translateX(-70px) translateY(10px) rotate(-8deg);
    }
    .fan-card-3 {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    .fan-card-4 {
        transform: translateX(70px) translateY(10px) rotate(8deg);
    }
    .fan-card-5 {
        transform: translateX(140px) translateY(30px) rotate(16deg);
    }
}

/* Hover states for fanning cards */
.fan-card:hover {
    z-index: 10 !important;
    transform: translateX(var(--hover-tx, 0px)) translateY(-35px) rotate(0deg)
        scale(1.12) !important;
    box-shadow: 0 25px 50px rgba(197, 160, 89, 0.4);
    border-color: var(--heritage-gold);
}

/* Custom Hover Offset variables for smooth fanning */
.fan-card-1:hover {
    --hover-tx: -240px;
}
.fan-card-2:hover {
    --hover-tx: -120px;
}
.fan-card-3:hover {
    --hover-tx: 0px;
}
.fan-card-4:hover {
    --hover-tx: 120px;
}
.fan-card-5:hover {
    --hover-tx: 240px;
}

@media (max-width: 768px) {
    .fan-card-1:hover {
        --hover-tx: -140px;
    }
    .fan-card-2:hover {
        --hover-tx: -70px;
    }
    .fan-card-3:hover {
        --hover-tx: 0px;
    }
    .fan-card-4:hover {
        --hover-tx: 70px;
    }
    .fan-card-5:hover {
        --hover-tx: 140px;
    }
}

.fan-card:hover .fan-card-img {
    transform: scale(1.08);
}

/* Custom blue tint over first card as in image */
.fan-card-1 .fan-card-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(
        30,
        64,
        175,
        0.15
    ); /* Blueish tint overlay matching leftmost graphic */
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Scroll reveal triggers */
.supporters-section.reveal-active .supporters-header {
    opacity: 1;
    transform: translateY(0);
}
.supporters-section.reveal-active .supporters-fan-deck {
    opacity: 1;
    transform: scale(1) translateY(0);
}

@media (max-width: 768px) {
    .media-editorial-section {
        padding: 0;
    }

    .royal-tribute-section {
        padding: 0;
    }
}
