/* ==========================================
        RED DUNE BUGGY TOURS - INNER PAGE HERO
        ========================================== */

.rd-inner-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 520px;
    padding: 100px 0 85px;
    overflow: hidden;
    isolation: isolate;
    background: #21160f;
    color: #fff;
}

/* Background image */
.rd-inner-hero-bg {
    position: absolute;
    z-index: -3;
    inset: 0;

    background-image: url('https://reddunebuggytour.com/img/hero.jpg');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;

    transform: scale(1.02);
    animation: rdHeroImageReveal 1.1s ease-out both;
}

/* Dark overlay for readable text */
.rd-inner-hero-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(16, 12, 10, .90) 0%,
            rgba(22, 15, 11, .78) 30%,
            rgba(28, 18, 11, .43) 53%,
            rgba(20, 13, 9, .08) 100%),
        linear-gradient(0deg,
            rgba(15, 10, 7, .38) 0%,
            transparent 35%,
            rgba(15, 10, 7, .08) 100%);
}

/* Content container */
.rd-inner-hero-container {
    position: relative;
    z-index: 2;
}

.rd-inner-hero-content {
    width: 100%;
    max-width: 610px;
    animation: rdHeroContentReveal .8s ease-out both;
}

/* Breadcrumb */
.rd-inner-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 27px;
    padding: 11px 19px;

    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 50px;

    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.rd-inner-breadcrumb a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 17px;
    text-decoration: none;

    transition: color .25s ease, transform .25s ease;
}

.rd-inner-breadcrumb a:hover {
    color: #ffb22c;
    transform: translateY(-1px);
}

.rd-breadcrumb-separator {
    color: rgba(255, 255, 255, .60);
    font-size: 16px;
}

.rd-breadcrumb-current {
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
}

/* Heading */
.rd-inner-hero-title {
    max-width: 650px;
    margin: 0;

    color: #fff;
    font-size: clamp(38px, 5.1vw, 68px);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -2px;

    overflow-wrap: anywhere;
    text-shadow: 0 3px 25px rgba(0, 0, 0, .18);
}

/* Red and gold accent */
.rd-inner-hero-accent {
    display: flex;
    align-items: center;
    gap: 5px;

    width: 112px;
    height: 5px;
    margin: 25px 0 22px;
}

.rd-inner-hero-accent span:first-child {
    width: 72%;
    height: 100%;
    border-radius: 10px;
    background: #e51c2a;
}

.rd-inner-hero-accent span:last-child {
    flex: 1;
    height: 100%;
    border-radius: 10px;
    background: #ffb12b;
}

/* Page about text */
.rd-inner-hero-description {
    max-width: 550px;
    margin: 0;

    color: rgba(255, 255, 255, .91);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;

    overflow-wrap: anywhere;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .30);
}

/* Bottom edge */
.rd-inner-hero-bottom {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;

    height: 65px;
    pointer-events: none;

    background: linear-gradient(0deg,
            rgba(15, 10, 7, .23),
            transparent);
}

/* Animations */
@keyframes rdHeroContentReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rdHeroImageReveal {
    from {
        opacity: .65;
        transform: scale(1.07);
    }

    to {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .rd-inner-hero {
        min-height: 460px;
        padding: 100px 0 75px;
    }

    .rd-inner-hero-bg {
        background-position: 60% center;
    }

    .rd-inner-hero-overlay {
        background:
            linear-gradient(90deg,
                rgba(16, 12, 10, .88) 0%,
                rgba(22, 15, 11, .69) 58%,
                rgba(20, 13, 9, .25) 100%);
    }

    .rd-inner-hero-content {
        max-width: 560px;
    }

    .rd-inner-hero-title {
        letter-spacing: -1.5px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .rd-inner-hero {
        min-height: 420px;
        padding: 95px 0 60px;
    }

    .rd-inner-hero-bg {
        background-position: 64% center;
    }

    .rd-inner-hero-overlay {
        background:
            linear-gradient(90deg,
                rgba(16, 12, 10, .87),
                rgba(20, 13, 9, .65)),
            linear-gradient(0deg,
                rgba(16, 12, 10, .25),
                transparent);
    }

    .rd-inner-hero-content {
        max-width: 100%;
    }

    .rd-inner-breadcrumb {
        gap: 11px;
        margin-bottom: 22px;
        padding: 9px 15px;
        font-size: 12px;
    }

    .rd-inner-hero-title {
        font-size: clamp(34px, 9vw, 46px);
        line-height: 1.13;
        letter-spacing: -1px;
    }

    .rd-inner-hero-accent {
        margin: 20px 0 17px;
    }

    .rd-inner-hero-description {
        font-size: 14px;
        line-height: 1.75;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {

    .rd-inner-hero-bg,
    .rd-inner-hero-content {
        animation: none;
    }
}

/* ==========================================
   RED DUNE TOURS - PAGE CONTENT
========================================== */

.rd-content-section {
    position: relative;
    padding: 65px 0 80px;
    background: #fff;
}


/* Sticky page image — desktop */
#maincontent .rd-content-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    align-self: flex-start;
    height: auto;
    z-index: 20;
}

/* Keep the image card at a suitable height */
#maincontent .rd-content-image-card {
    position: relative;
    min-height: 390px;
}

/* Desktop/tablet layout */
@media (min-width: 768px) {
    #maincontent>.container-fluid>.row {
        align-items: flex-start !important;
    }

    #maincontent .rd-content-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 110px !important;
    }
}

/* Image Card */
.rd-content-image-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 22px;
    background: #2b2119;
    box-shadow: 0 14px 38px rgba(31, 24, 18, .14);
}

.rd-content-image {
    position: absolute;
    inset: 0;
    z-index: -2;

    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .65s ease;
}

.rd-content-image-card:hover .rd-content-image {
    transform: scale(1.055);
}

.rd-content-image-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;

    background: linear-gradient(180deg,
            rgba(17, 12, 8, .05) 20%,
            rgba(17, 12, 8, .30) 52%,
            rgba(17, 12, 8, .90) 100%);
}

.rd-content-image-caption {
    position: absolute;
    right: 22px;
    bottom: 25px;
    left: 22px;
    color: #fff;
}

.rd-content-image-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 12px;
    margin-bottom: 14px;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 30px;
    background: rgba(255, 255, 255, .12);

    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    backdrop-filter: blur(8px);
}

.rd-content-image-tag i {
    color: #ffb52e;
    font-size: 13px;
}

.rd-content-image-caption h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(23px, 2.3vw, 32px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.6px;
    overflow-wrap: anywhere;
}

.rd-content-caption-line {
    width: 58px;
    height: 4px;
    margin-top: 17px;
    border-radius: 10px;
    background: linear-gradient(90deg, #e51c2a 0 65%, #ffb52e 65% 100%);
}

/* Trust Card */
.rd-content-trust-card {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 18px;
    padding: 19px 17px;

    border: 1px solid #e51c2a;
    border-radius: 16px;
    background: #fcf9f5;

    box-shadow: 0 7px 22px rgba(31, 24, 18, .04);
}

.rd-trust-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    border-radius: 14px;

    background: #fff0e9;
    color: #d92319;
    font-size: 23px;
}

.rd-content-trust-card h4 {
    margin: 0 0 5px;
    color: #e51c2a;
    font-size: 14px;
    font-weight: 750;
}

.rd-content-trust-card p {
    margin: 0;
    color: #77716b;
    font-size: 12px;
    line-height: 1.6;
}

/* Sidebar Tour Details Card */
.rd-content-details-card {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid #e51c2a;
    border-radius: 16px;
    background: #fcf9f5;
    box-shadow: 0 7px 22px rgba(31, 24, 18, .04);
}

.rd-details-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid #f2ded2;
    border-radius: 12px;
    background: linear-gradient(110deg, #fff8f2, #fffdfb);
}

.rd-details-price-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #75665b;
    font-size: 11px;
    font-weight: 700;
}

.rd-details-price-label i {
    color: #d32b20;
    font-size: 15px;
}

.rd-details-price-value {
    color: #c5261c;
    font-size: 18px;
    font-weight: 850;
    white-space: nowrap;
}

.rd-details-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 11px;
}

.rd-details-spec {
    min-width: 0;
    padding: 10px 4px;
    border: 1px solid #eeeae5;
    border-radius: 11px;
    background: #fff;
    text-align: center;
}

.rd-details-spec i {
    display: block;
    margin-bottom: 4px;
    color: #ce2b20;
    font-size: 17px;
}

.rd-details-spec-label {
    display: block;
    margin-bottom: 3px;
    color: #92877e;
    font-size: 10px;
    font-weight: 650;
}

.rd-details-spec-value {
    display: block;
    color: #2a2622;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* Main Content */
.rd-content-main {
    min-width: 0;
}

.rd-dynamic-content {
    min-width: 0;
    color: #565656;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.rd-dynamic-content img {
    max-width: 100%;
    height: auto;
}

.rd-dynamic-content h2,
.rd-dynamic-content h3,
.rd-dynamic-content h4 {
    color: #202020;
    font-weight: 750;
    line-height: 1.35;
}

.rd-dynamic-content a {
    overflow-wrap: anywhere;
}

/* Contact Card */
.rd-contact-card {
    margin-bottom: 30px;
    overflow: hidden;

    border: 1px solid #f0e7df;
    border-radius: 21px;
    background: #fff;

    box-shadow: 0 13px 35px rgba(39, 29, 20, .07);
}

.rd-contact-header {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 25px 26px;

    background: linear-gradient(125deg,
            #b91818 0%,
            #e52b1e 60%,
            #f14a2d 100%);
    color: #fff;
}

.rd-contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 16px;
    background: rgba(255, 255, 255, .13);

    font-size: 25px;
}

.rd-contact-eyebrow {
    display: block;
    margin-bottom: 5px;

    color: rgba(255, 255, 255, .83);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rd-contact-header h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.rd-contact-header p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    line-height: 1.6;
}

.rd-contact-body {
    padding: 26px;
}

/* Form Fields */
.rd-form-label {
    display: block;
    margin-bottom: 7px;

    color: #333;
    font-size: 12px;
    font-weight: 700;
}

.rd-form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;

    border: 1px solid #e8e3de;
    border-radius: 10px;
    background: #fdfcfb;

    color: #292929;
    font-size: 13px;

    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease,
        background .2s ease;
}

.rd-form-control::placeholder {
    color: #aaa39c;
}

.rd-form-control:focus {
    border-color: #e23a2b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(226, 58, 43, .09);
    outline: none;
}

textarea.rd-form-control {
    min-height: 115px;
    resize: vertical;
}

/* Submit Button */
.rd-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 49px;
    padding: 0 23px;

    border: 0;
    border-radius: 11px;
    background: linear-gradient(110deg, #c91c18, #eb321f);

    color: #fff;
    font-size: 14px;
    font-weight: 750;

    box-shadow: 0 7px 17px rgba(210, 36, 26, .18);
    cursor: pointer;

    transition: transform .25s ease, box-shadow .25s ease;
}

.rd-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 23px rgba(210, 36, 26, .25);
}

.rd-contact-submit i {
    font-size: 17px;
    transition: transform .25s ease;
}

.rd-contact-submit:hover i {
    transform: translateX(4px);
}

/* Tablet */
@media (max-width: 991px) {
    .rd-content-section {
        padding: 45px 0 60px;
    }

    .rd-content-image-card {
        min-height: 330px;
    }

    .rd-content-trust-card,
    .rd-content-details-card {
        padding: 15px;
    }

    .rd-contact-header {
        padding: 22px;
    }

    .rd-contact-body {
        padding: 22px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .rd-content-section {
        padding: 30px 0 45px;
    }

    .rd-content-image-card {
        min-height: 300px;
        border-radius: 17px;
    }

    .rd-content-image-caption {
        right: 18px;
        bottom: 20px;
        left: 18px;
    }

    .rd-content-image-caption h3 {
        font-size: 27px;
    }

    .rd-contact-card {
        border-radius: 16px;
    }

    .rd-contact-header {
        align-items: flex-start;
        gap: 12px;
        padding: 20px 17px;
    }

    .rd-contact-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 21px;
    }

    .rd-contact-header h2 {
        font-size: 21px;
    }

    .rd-contact-header p {
        font-size: 12px;
    }

    .rd-contact-body {
        padding: 19px 16px;
    }

    .rd-contact-submit {
        width: 100%;
    }

    .rd-content-trust-card,
    .rd-content-details-card {
        margin-top: 13px;
    }
}


/* FORCE STICKY SIDEBAR */
@media (min-width: 992px) {

    #maincontent {
        overflow: visible !important;
    }

    #maincontent>.container-fluid {
        overflow: visible !important;
    }

    #maincontent>.container-fluid>.row {
        display: flex;
        align-items: flex-start !important;
        overflow: visible !important;
    }

    #maincontent>.container-fluid>.row>.col-lg-4 {
        align-self: stretch;
        overflow: visible !important;
    }

    #maincontent .rd-content-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 40px !important;
        align-self: flex-start !important;
        height: auto !important;
        /* max-height: calc(100vh - 130px); */
        overflow-y: auto;
        z-index: 100;
    }
}


/* Premium FAQ Section */
.faq-premium-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 0;
    position: relative;
}

/* FAQ Header */
.faq-premium-section .faq-header {
    background: linear-gradient(135deg, #111111, #D71920);
    border-radius: 30px;
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.faq-premium-section .faq-header::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .05);
    border-radius: 50%;
    top: -120px;
    right: -120px;
    pointer-events: none;
}

/* Badge */
.faq-premium-section .faq-badge {
    display: inline-block;
    color: #F4B400;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.faq-premium-section .faq-badge i {
    margin-right: 6px;
}

/* Title */
.faq-premium-section .faq-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.faq-premium-section .faq-subtitle {
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Accordion Items */
.faq-premium-section .faq-accordion .faq-item {
    border: none;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08) !important;
}

/* Questions */
.faq-premium-section .faq-accordion .accordion-button {
    background: #fff;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    box-shadow: none;
}

/* Active Question */
.faq-premium-section .faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #D71920, #B11217);
    color: #fff;
}

/* Arrow */
.faq-premium-section .faq-accordion .accordion-button::after {
    filter: none;
}

.faq-premium-section .faq-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* Answer */
.faq-premium-section .faq-accordion .accordion-body {
    padding: 25px 30px;
    background: #fff;
    color: #111;
    line-height: 1.8;
    font-size: 16px;
}

.faq-premium-section .faq-accordion .accordion-body p {
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .faq-premium-section {
        padding: 30px 0;
    }

    .faq-premium-section .faq-header {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .faq-premium-section .faq-title {
        font-size: 28px;
    }

    .faq-premium-section .faq-subtitle {
        font-size: 14px;
    }

    .faq-premium-section .faq-accordion .accordion-button {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-premium-section .faq-accordion .accordion-body {
        padding: 20px;
        font-size: 14px;
    }
}
        
/* =====================================
   RED DUNE - PREMIUM BOOKING BUTTON
===================================== */

.hero-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 60px;
    padding: 8px 9px 8px 21px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50px;
    background: linear-gradient(120deg, #a91016 0%, #d82125 55%, #ed4432 100%);
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .35px;
    text-decoration: none !important;
    box-shadow:
        0 9px 25px rgba(174, 20, 25, .28),
        inset 0 1px 0 rgba(255, 255, 255, .2);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

/* Subtle light sweep */
.hero-btn::before {
    position: absolute;
    z-index: -1;
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;
    content: "";
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .25),
        transparent
    );
    transform: rotate(22deg);
    transition: left .65s ease;
}

.hero-btn:hover::before {
    left: 140%;
}

.hero-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 220, 164, .7);
    color: #fff !important;
    box-shadow:
        0 15px 32px rgba(174, 20, 25, .36),
        0 0 0 4px rgba(232, 173, 83, .10),
        inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* Calendar icon */
.hero-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #ffe0a0;
    font-size: 17px;
    transition: transform .3s ease, background .3s ease;
}

.hero-btn:hover .hero-btn-icon {
    background: rgba(255, 255, 255, .2);
    transform: rotate(-8deg);
}

/* Button text */
.hero-btn-text {
    white-space: nowrap;
    transition: letter-spacing .3s ease;
}

.hero-btn:hover .hero-btn-text {
    letter-spacing: .55px;
}

/* Arrow circle */
.hero-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe0a0, #e8ad53);
    color: #781a16;
    font-size: 19px;
    box-shadow: 0 3px 10px rgba(70, 20, 10, .15);
    transition: transform .3s ease, background .3s ease;
}

.hero-btn:hover .hero-btn-arrow {
    transform: rotate(45deg);
    background: linear-gradient(145deg, #fff0ca, #f2c675);
}

/* Keyboard accessibility */
.hero-btn:focus-visible {
    outline: 3px solid #e8ad53;
    outline-offset: 5px;
}

/* Mobile */
@media (max-width: 575px) {
    .hero-btn {
        gap: 10px;
        min-height: 54px;
        padding: 7px 8px 7px 15px;
        font-size: 12px;
    }

    .hero-btn-icon {
        width: 33px;
        height: 33px;
        font-size: 15px;
    }

    .hero-btn-arrow {
        width: 37px;
        height: 37px;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-btn,
    .hero-btn::before,
    .hero-btn-icon,
    .hero-btn-arrow,
    .hero-btn-text {
        transition: none !important;
    }
}
