/* ========================================
   EquiBook Custom Styles
   ======================================== */

/* Remove white bar on scroll - keep header transparent */
body:not(.header-demo) .header.navbar-scrolling {
    background-color: transparent !important;
}

/* Remove border line from navbar when scrolling */
body:not(.header-demo) .header.header.navbar-scrolling .navbar {
    border-bottom: none !important;
}

/* Logo Styling - Original Colors, Top Left */
.navbar-brand {
    padding: 10px 20px;
    margin-top: 20px;
}

.navbar-brand img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) brightness(1.3) contrast(1.2) !important;
    max-height: 60px;
    width: auto;
}

/* Increase top bar height to better match logo size and center items */
.top-bar {
    padding: 18px 0;
}

/* Reduce top padding of navbar so header overall stays balanced */
.navbar {
    padding-top: 10px;
}

.header-navibox-1 {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
}

/* Place the menu toggle at the top-right (mirrors the logo position on the left) */
.header-navibox-3 {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
}

@media (max-width: 767px) {
    .header-navibox-3 {
        position: static;
        transform: none;
        right: auto;
        top: auto;
        z-index: auto;
    }
}

/* Navigation Menu Button - Golden Hover Effect */
.toggle-menu-button {
    transition: all 0.3s ease;
}

.toggle-menu-button:hover {
    transform: scale(1.1);
}

.toggle-menu-button .toggle-menu-button-icon span {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.toggle-menu-button:hover .toggle-menu-button-icon span {
    background-color: #C5A653 !important;
    box-shadow: 0 0 8px rgba(197, 166, 83, 0.6);
}

/* Golden glow effect on hover */
.toggle-menu-button:hover {
    filter: drop-shadow(0 0 6px rgba(197, 166, 83, 0.5));
}

/* Slider Background - 5 Home Images */
.equibook-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.equibook-slider-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.equibook-slider-bg img {
    flex: 1;
    width: 20%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(2px);
    margin: 0;
    padding: 0;
}

/* Gold color for hero text to match logo */
.main-slider__emphasis {
    color: #C5A653 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.main-slider__subtitle {
    color: #C5A653 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Ensure text stays on top */
.sp-slide .container {
    position: relative;
    z-index: 2;
}

/* Responsive - stack background images on smaller screens */
@media (max-width: 768px) {
    .equibook-slider-bg {
        flex-wrap: wrap;
    }

    .equibook-slider-bg img {
        flex: 0 0 50%;
        width: 50%;
    }
}

@media (max-width: 480px) {
    .equibook-slider-bg img {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* Responsive - stack background images on smaller screens */
@media (max-width: 767px) {
    .equibook-features-intro {
        padding: 50px 0 40px;
    }

    .equibook-features-heading {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .equibook-features-label {
        font-size: 11px;
    }

    .equibook-features-statement {
        font-size: 16px;
    }
}

/* ========================================
   Features Section in Original Layout
   ========================================*/

.equibook-features-section {
    background: linear-gradient(135deg, #fafafa 0%, #f0efe9 100%);
}

.equibook-features-section .equibook-features-label {
    color: #C5A653;
    font-weight: 600;
}

.equibook-features-section .b-advantages {
    background: linear-gradient(135deg, #ffffff 0%, #fefdfb 100%);
    border: 2px solid #f0e6d2;
    border-radius: 12px;
    padding: 35px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(197, 166, 83, 0.08);
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.equibook-features-section .b-advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #C5A653 0%, #8A6E11 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.equibook-features-section .b-advantages:hover::before {
    transform: scaleX(1);
}

.equibook-features-section .b-advantages:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(197, 166, 83, 0.2);
    border-color: #C5A653;
    background: linear-gradient(135deg, #fffef8 0%, #fefcf5 100%);
}

.equibook-feature-icon-wrapper {
    color: #C5A653;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, rgba(197, 166, 83, 0.1) 0%, rgba(138, 110, 17, 0.05) 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
    position: relative;
}

.equibook-feature-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #C5A653;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.equibook-features-section .b-advantages:hover .equibook-feature-icon-wrapper {
    background: linear-gradient(135deg, #C5A653 0%, #8A6E11 100%);
    color: #ffffff;
    transform: rotate(360deg) scale(1.1);
}

.equibook-features-section .b-advantages:hover .equibook-feature-icon-wrapper::after {
    opacity: 0.3;
    transform: scale(1.2);
}

.equibook-feature-icon-wrapper svg {
    width: 40px;
    height: 40px;
    transition: all 0.4s ease;
}

.equibook-features-section .b-advantages .b-advantages__title {
    color: #2a2a2a;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
}

.equibook-features-section .b-advantages:hover .b-advantages__title {
    color: #C5A653;
}

.equibook-features-section .b-advantages__info {
    color: #666;
    transition: all 0.3s ease;
    width: 100%;
}


.equibook-features-statement {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
}

/* Hero Section with Full-Width Banner Images */
.equibook-hero-images {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.equibook-hero-image-item {
    flex: 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.equibook-hero-image-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    margin: 0;
    padding: 0;
}

/* Responsive - stack on smaller screens */
@media (max-width: 768px) {
    .equibook-hero-images {
        flex-wrap: wrap;
    }

    .equibook-hero-image-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 480px) {
    .equibook-hero-image-item {
        flex: 0 0 100%;
    }
}

/* ========================================
   Role-Based App Experience Section
   ======================================== */

.equibook-app-screen {
    margin-bottom: 20px;
}

.equibook-app-screen img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.equibook-app-screen img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(197, 166, 83, 0.3);
}

.equibook-role-info {
    margin-top: 20px;
}

/* Ensure images fill container width nicely */
.equibook-app-screen .tilter__figure {
    margin: 0;
}

/* Role images: rounded corners without altering image size */
.equibook-role-images-side .role-images-grid .role-image-item .tilter__figure {
    border-radius: 12px;
    overflow: hidden; /* clip corners while preserving intrinsic image size */
    display: inline-block; /* preserve natural sizing of the figure */
}

.equibook-role-images-side .role-images-grid .role-image-item .tilter__figure img {
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    /* Intentionally do NOT set width/height or max-width here so
       the image retains its original dimensions. */
}

/* Ensure the decorative shadow pseudo-element also respects rounded corners */
.equibook-role-images-side .role-images-grid .role-image-item .tilter__figure::before {
    border-radius: 12px;
}

/* Round the actual image content so its visible corners match the figure */
.equibook-role-images-side .role-images-grid .role-image-item .tilter__figure img {
    border-radius: 12px;
}

@media (max-width: 767px) {
    .equibook-app-screen {
        margin-bottom: 30px;
    }
}

/* ========================================
   Equestrian Events Section - Advanced GSAP Animated
   ======================================== */

.equibook-events-section {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f8f8f8 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

/* Animated background pattern - more visible */
.equibook-events-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(197, 166, 83, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(197, 166, 83, 0.06) 0%, transparent 50%),
        radial-gradient(circle, rgba(197, 166, 83, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px;
    opacity: 1;
    pointer-events: none;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.equibook-events-label {
    color: #C5A653;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    opacity: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.equibook-events-section .ui-title-block {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    text-transform: capitalize;
}

@media (max-width: 767px) {
    .equibook-events-section .ui-title-block {
        font-size: 32px;
    }
}



.equibook-events-cards {
    margin-top: 70px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

/* Base card styling */
.equibook-event-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(197, 166, 83, 0.1);
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    opacity: 1;
    visibility: visible;
    border: 1px solid rgba(197, 166, 83, 0.1);
}

/* Floating Animation Keyframes */
@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatCardCenter {

    0%,
    100% {
        transform: scale(1.08) translateY(0px);
    }

    50% {
        transform: scale(1.08) translateY(-18px);
    }
}

/* First card (Eventing-Left) - Left, smaller, stays in lower position with LEFT tilt */
.equibook-event-card[data-event="eventing-left"] {
    width: 340px;
    margin-top: 80px;
    z-index: 1;
    /* No animation by default - stays static */
    animation: none;
    /* Permanent 3D tilt effect - tilted LEFT */
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
    transform-style: preserve-3d;
}

/* Second card (Show Jumping) - Center, larger, elevated with upward tilt */
.equibook-event-card[data-event="jumping"] {
    width: 400px;
    margin-top: 0;
    z-index: 3;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 10px 25px rgba(197, 166, 83, 0.15);
    /* No floating animation - stays static */
    animation: none;
    /* Upward tilt to look elevated in center */
    transform: perspective(1000px) scale(1.08) rotateX(3deg);
    transform-style: preserve-3d;
}

/* Third card (Dressage-Right) - Right, smaller, stays in lower position with RIGHT tilt */
.equibook-event-card[data-event="dressage-right"] {
    width: 340px;
    margin-top: 80px;
    z-index: 1;
    /* No animation by default - stays static */
    animation: none;
    /* Permanent 3D tilt effect - tilted RIGHT (opposite direction) */
    transform: perspective(1000px) rotateY(8deg) rotateX(3deg);
    transform-style: preserve-3d;
}

/* Hover state for center card (Show Jumping) - maintains upward tilt */
.equibook-event-card[data-event="jumping"]:hover {
    transform: perspective(1000px) scale(1.12) rotateX(3deg) translateY(-25px);
    z-index: 10;
    animation: none;
    transition-delay: 0s;
}

/* Eventing-left card hover - maintains the LEFT tilt */
.equibook-event-card[data-event="eventing-left"]:hover {
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(-20px) scale(1.03);
    z-index: 5;
    animation: none;
    transition-delay: 0s;
}

/* Dressage-right card hover - maintains the RIGHT tilt */
.equibook-event-card[data-event="dressage-right"]:hover {
    transform: perspective(1000px) rotateY(8deg) rotateX(3deg) translateY(-20px) scale(1.03);
    z-index: 5;
    animation: none;
    transition-delay: 0s;
}



/* Shimmer effect on hover */
.equibook-event-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 70%);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.18s;
    transition-delay: 0s;
    pointer-events: none;
    z-index: 10;
}

.equibook-event-card:hover::before {
    transform: translateX(100%) rotate(45deg);
    animation: shimmer 0.6s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* Pulsing glow animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
            0 5px 15px rgba(197, 166, 83, 0.1);
    }

    50% {
        box-shadow: 0 30px 80px rgba(197, 166, 83, 0.3),
            0 10px 40px rgba(197, 166, 83, 0.2);
    }
}

.equibook-event-card:hover {
    transform: translateY(-20px) scale(1.03);
    animation: pulseGlow 0.8s ease-in-out infinite;
    border-color: rgba(197, 166, 83, 0.3);
    transition-delay: 0s;
}

/* Ripple effect on click */
.equibook-event-card__ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(197, 166, 83, 0.6);
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    animation: ripple 0.4s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

.equibook-event-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(197, 166, 83, 0.25);
    transition-delay: 0s;
}

.equibook-event-card__image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}


/* Animated particles overlay */
.equibook-event-card__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(197, 166, 83, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0;
    transition: opacity 0.18s;
    animation: particleFloat 12s linear infinite;
    pointer-events: none;
}

.equibook-event-card:hover .equibook-event-card__image-wrapper::after {
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        background-position: 0 0, 40px 40px;
    }

    100% {
        background-position: 0 -200px, 40px -160px;
    }
}

/* Animated border glow */
.equibook-event-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #C5A653, #8A6E11, #C5A653);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.18s;
}

.equibook-event-card:hover::after {
    opacity: 1;
    animation: borderGlow 1s infinite;
    transition-delay: 0s;
}

@keyframes borderGlow {

    0%,
    100% {
        filter: blur(10px) brightness(1);
    }

    50% {
        filter: blur(15px) brightness(1.3);
    }
}

.equibook-event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), filter 0.18s ease;
    transition-delay: 0s;
    filter: grayscale(30%) brightness(0.95);
    will-change: transform;
}

.equibook-event-card:hover .equibook-event-card__image {
    transform: scale(1.15) rotate(2deg);
    filter: grayscale(0%) brightness(1.05);
}

.equibook-event-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    transition: opacity 0.18s;
    transition-delay: 0s;
}

.equibook-event-card:hover .equibook-event-card__overlay {
    opacity: 0.7;
    background: linear-gradient(180deg,
            rgba(197, 166, 83, 0.2) 0%,
            rgba(0, 0, 0, 0.5) 100%);
}

.equibook-event-card__content {
    padding: 40px 35px 35px;
    background: #ffffff;
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 240px;
}

/* Cursor flare styles - golden sparkle trailing the mouse */
.equibook-cursor-flare {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1);
    mix-blend-mode: screen;
    will-change: transform, opacity;
    background: radial-gradient(circle at 30% 30%, #fff 0%, rgba(197, 166, 83, 1) 25%, rgba(197, 166, 83, 0.6) 55%, rgba(197, 166, 83, 0) 100%);
    box-shadow: 0 0 8px rgba(197, 166, 83, 0.95), 0 0 18px rgba(197, 166, 83, 0.6);
    z-index: 9999;
}

/* optional larger flare variant (used by JS sometimes) */
.equibook-cursor-flare--big {
    width: 20px;
    height: 20px;
}

/* Contrasting flare for light/white areas - darker gold that matches theme */
.equibook-cursor-flare--bright {
    /* lighter, warmer golden variant with reduced size/glow */
    background: radial-gradient(circle at 30% 30%, #fffaf0 0%, #fff0c9 26%, #ffe0a0 52%, #ffd58a 78%, rgba(197, 166, 83, 0.85) 92%, rgba(197, 166, 83, 0) 100%);
    box-shadow: 0 0 12px rgba(255, 215, 120, 0.9), 0 0 28px rgba(255, 200, 80, 0.6), inset 0 0 6px rgba(255, 245, 200, 0.08);
    /* keep normal blend for clarity on white */
    mix-blend-mode: normal;
    opacity: 0.98;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 240, 200, 0.08);
}

.equibook-cursor-flare--big.equibook-cursor-flare--bright {
    width: 28px;
    height: 28px;
    box-shadow: 0 0 22px rgba(255, 215, 120, 0.95), 0 0 44px rgba(255, 200, 80, 0.75), inset 0 0 8px rgba(255, 245, 200, 0.1);
    opacity: 0.98;
}


/* Decorative accent line */
.equibook-event-card__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #C5A653, #8A6E11);
    transition: width 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0s;
}

.equibook-event-card:hover .equibook-event-card__content::before {
    width: 100%;
}

.equibook-event-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #C5A653;
    margin-bottom: 15px;
    transition: all 0.28s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    opacity: 1;
}

.equibook-event-card:hover .equibook-event-card__title {
    color: #8A6E11;
    transform: translateX(3px);
}

.equibook-event-card__description {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 25px 0;
    position: relative;
    opacity: 1;
    flex-grow: 1;
}

/* Learn More Button */
.equibook-event-card__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #C5A653 0%, #8A6E11 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    align-self: center;
    box-shadow: 0 4px 15px rgba(197, 166, 83, 0.3);
}

.equibook-event-card__button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.32s, height 0.32s;
}

.equibook-event-card__button:hover::before {
    width: 300px;
    height: 300px;
}

.equibook-event-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(197, 166, 83, 0.5);
    background: linear-gradient(135deg, #8A6E11 0%, #C5A653 100%);
}

.equibook-event-card__button svg {
    position: relative;
    z-index: 1;
    transition: transform 0.18s ease;
}

.equibook-event-card__button:hover svg {
    transform: translateX(4px);
}


/* Card number indicator - hidden */
.equibook-event-card::after {
    display: none;
}





/* Responsive */
@media (max-width: 991px) {
    .equibook-events-section {
        padding: 70px 0;
    }

    /* Adjust card sizes for tablets */
    .equibook-event-card[data-event="jumping"],
    .equibook-event-card[data-event="eventing"] {
        width: 300px;
    }

    .equibook-event-card[data-event="dressage"] {
        width: 360px;
    }

    .equibook-event-card__image-wrapper {
        height: 240px;
    }

    .equibook-event-card__title {
        font-size: 20px;
    }

    .equibook-event-card__content {
        min-height: 200px;
        padding: 35px 30px 30px;
    }
}

@media (max-width: 767px) {
    .equibook-events-section {
        padding: 50px 0;
    }

    .equibook-events-cards {
        margin-top: 40px;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    /* Reset all cards to same size on mobile */
    .equibook-event-card[data-event="jumping"],
    .equibook-event-card[data-event="dressage"],
    .equibook-event-card[data-event="eventing"] {
        width: 100%;
        max-width: 400px;
        margin: 0 !important;
        transform: none !important;
    }

    /* Keep center card slightly larger on mobile */
    .equibook-event-card[data-event="dressage"] {
        transform: scale(1.02) !important;
    }

    .equibook-event-card__image-wrapper {
        height: 220px;
    }

    .equibook-event-card__content {
        padding: 30px 25px 25px;
        min-height: 180px;
    }

    .equibook-event-card__title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .equibook-event-card__description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .equibook-event-card__button {
        padding: 10px 20px;
        font-size: 11px;
    }

    .equibook-event-card::after {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    /* Adjust hover for mobile */
    .equibook-event-card:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }
}

/* ==========================
   Footer Styles
   ========================== */
.footer-app {
    background: #0f1316;
    color: #d9d9d9;
    padding-top: 48px;
    padding-bottom: 24px;
}

.footer-app a {
    color: #d9d9d9;
    text-decoration: none;
}

.footer-app a:hover {
    color: #ffffff;
}

.footer-logo {
    max-width: 150px;
    display: block;
    margin-bottom: 12px;
}

.footer-desc {
    color: #bfc4c6;
    font-size: 14px;
    max-width: 320px;
}

.footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-top .footer-links ul li {
    margin-bottom: 8px;
}

.footer-top h5 {
    color: #C5A653;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 13px;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.footer-newsletter-form button {
    background: linear-gradient(135deg, #C5A653, #8A6E11);
    color: #111;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.social-links a {
    color: #C5A653;
    margin-right: 10px;
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 18px;
    margin-top: 18px;
    color: #9ea3a6;
}

.footer-bottom a {
    color: #9ea3a6;
}

.footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 767px) {

    .footer-top .footer-links,
    .footer-top .footer-newsletter {
        margin-top: 18px;
    }

    .footer-top .footer-brand {
        margin-bottom: 16px;
    }

    .footer-bottom .text-right {
        text-align: left !important;
        margin-top: 12px;
    }
}