
/* ========================================
   ROUTE3 TRAVELS - COMPLETE HEADER CSS
   Bootstrap 5 + Font Awesome
======================================== */

:root {
    --r3-black: #050505;
    --r3-navy: #071326;
    --r3-gold: #f6b82e;
    --r3-gold-light: #ffd56b;
    --r3-text: #c7ced8;
    --r3-white: #ffffff;
    --r3-menu-bg: #070d18;
}

/* ========================================
   1. GLOBAL STYLES
======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 145px;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
}

a {
    text-decoration: none;
}

/* ========================================
   2. STICKY HEADER WRAPPER
======================================== */

.r3-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    isolation: isolate;
}

/* ========================================
   3. TOPBAR
======================================== */

.r3-topbar {
    position: relative;
    width: 100%;
    background: var(--r3-navy);
    color: var(--r3-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.r3-topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.r3-topbar-contact,
.r3-topbar-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.r3-topbar-contact {
    gap: 18px;
}

.r3-topbar-social {
    gap: 10px;
}

.r3-topbar a {
    color: var(--r3-text);
    text-decoration: none;
    transition: color 0.25s ease;
}

.r3-topbar a:hover {
    color: var(--r3-gold-light);
}

.r3-topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.r3-topbar-contact i {
    color: var(--r3-gold);
    font-size: 13px;
}

.r3-topbar-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;
    font-size: 12px;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.r3-topbar-social a:hover {
    background: var(--r3-gold);
    border-color: var(--r3-gold);
    color: var(--r3-black);
    transform: translateY(-2px);
}

/* ========================================
   4. MAIN NAVIGATION
======================================== */

.r3-navbar {
    position: relative;
    width: 100%;
    min-height: 82px;
    padding: 10px 0;
    background: var(--r3-black);
    border-bottom: 1px solid rgba(246, 184, 46, 0.18);
    box-shadow: 0 9px 28px rgba(0, 0, 0, 0.16);
}

/* Bootstrap nav reset and alignment */

.r3-navbar > nav.navbar {
    width: 100%;
    min-height: 60px;
    padding: 0;
}

.r3-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ========================================
   5. LOGO
======================================== */

.r3-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    gap: 11px;
    color: var(--r3-white);
    text-decoration: none;
}

.r3-brand:hover,
.r3-brand:focus {
    color: var(--r3-white);
}

.r3-logo {
    display: block;
    width: 90px;
    height: 90px;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
}

/* Optional brand name if added beside the logo */

.r3-brand-name {
    display: block;
    color: var(--r3-white);
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1;
    white-space: nowrap;
}

.r3-brand-name .r3-gold {
    color: var(--r3-gold);
}

.r3-brand-sub {
    display: block;
    margin-top: 6px;
    color: #c9ced7;
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.28em;
}

/* ========================================
   6. DESKTOP NAVIGATION WRAPPER
======================================== */

.r3-desktop-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-left: auto;
}

/* Force horizontal navigation.
   Bootstrap navbar-nav defaults to column. */

.r3-desktop-nav .r3-nav-links,
.r3-desktop-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.r3-desktop-nav .nav-item {
    flex: 0 0 auto;
    list-style: none;
}

.r3-desktop-nav .nav-link {
    position: relative;
    display: block;
    padding: 13px 10px !important;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    transition: color 0.25s ease;
}

/* Gold hover underline */

.r3-desktop-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 2px;
    background: var(--r3-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.r3-desktop-nav .nav-link:hover,
.r3-desktop-nav .nav-link:focus,
.r3-desktop-nav .nav-link.active {
    color: var(--r3-gold);
}

.r3-desktop-nav .nav-link:hover::after,
.r3-desktop-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* ========================================
   7. PLAN MY TRIP BUTTON
======================================== */

.r3-nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 19px;
    border: 0;
    border-radius: 999px;
    color: #141414;
    background: linear-gradient(
        135deg,
        var(--r3-gold-light),
        #e8a318
    );
    box-shadow: 0 7px 20px rgba(246, 184, 46, 0.13);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.r3-nav-cta:hover,
.r3-nav-cta:focus {
    color: #141414;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(246, 184, 46, 0.25);
}

/* ========================================
   8. MOBILE HAMBURGER
======================================== */

.r3-menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    border: 1px solid rgba(246, 184, 46, 0.58);
    border-radius: 13px;
    background: rgba(246, 184, 46, 0.08);
    color: var(--r3-gold);
    font-size: 1.2rem;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.r3-menu-toggle:hover {
    background: var(--r3-gold);
    color: var(--r3-black);
    transform: translateY(-1px);
}

.r3-menu-toggle:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(246, 184, 46, 0.22);
}

/* ========================================
   9. MOBILE OFFCANVAS
======================================== */

.r3-offcanvas {
    --bs-offcanvas-width: 380px;

    width: min(88vw, 380px) !important;
    background: var(--r3-menu-bg);
    color: var(--r3-white);
    border-left: 1px solid rgba(246, 184, 46, 0.25);
    z-index: 1055;
}

.r3-offcanvas .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.r3-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 22px 28px;
    overflow-y: auto;
}

.r3-offcanvas .btn-close {
    flex: 0 0 auto;
    filter: invert(1);
    opacity: 0.85;
}

.r3-offcanvas .btn-close:hover {
    opacity: 1;
}

/* ========================================
   10. MOBILE NAVIGATION LINKS
======================================== */

.r3-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.r3-mobile-links .nav-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 13px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.87);
    font-size: 0.95rem;
    font-weight: 600;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.r3-mobile-links .nav-link i {
    width: 20px;
    flex: 0 0 20px;
    text-align: center;
    color: var(--r3-gold);
}

.r3-mobile-links .nav-link:hover,
.r3-mobile-links .nav-link.active {
    color: var(--r3-gold-light);
    background: rgba(246, 184, 46, 0.09);
}

/* ========================================
   11. MOBILE CONTACT DETAILS
======================================== */

.r3-mobile-contact {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.r3-mobile-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 13px;
    color: #aeb8c7;
    font-size: 0.87rem;
    overflow-wrap: anywhere;
}

.r3-mobile-contact p i {
    width: 20px;
    flex: 0 0 20px;
    margin-top: 3px;
    color: var(--r3-gold);
    text-align: center;
}

.r3-mobile-contact p a {
    color: var(--r3-white);
    overflow-wrap: anywhere;
}

.r3-mobile-contact p a:hover {
    color: var(--r3-gold-light);
}

/* CTA inside mobile menu */

.r3-mobile-contact .r3-nav-cta {
    width: 100%;
    margin-bottom: 22px;
}

/* ========================================
   12. MOBILE SOCIAL ICONS
======================================== */

.r3-mobile-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
}

.r3-mobile-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(246, 184, 46, 0.38);
    border-radius: 50%;
    color: var(--r3-gold);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.r3-mobile-social a:hover {
    background: var(--r3-gold);
    border-color: var(--r3-gold);
    color: var(--r3-black);
}

/* ========================================
   13. DESKTOP / LAPTOP
======================================== */

@media (min-width: 1200px) {
    .r3-navbar .container {
        gap: 24px;
    }

    .r3-desktop-nav {
        gap: 15px;
    }

    .r3-desktop-nav .nav-link {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }
}

/* ========================================
   14. TABLET AND SMALL LAPTOP
======================================== */

@media (max-width: 1199.98px) and (min-width: 992px) {
    .r3-navbar .container {
        gap: 12px;
    }

    .r3-logo {
        width: 52px;
        height: 52px;
    }

    .r3-desktop-nav {
        gap: 5px;
    }

    .r3-desktop-nav .nav-link {
        padding: 12px 6px !important;
        font-size: 0.78rem;
    }

    .r3-desktop-nav .nav-link::after {
        left: 6px;
        right: 6px;
    }

    .r3-nav-cta {
        padding: 11px 12px;
        font-size: 0.78rem;
    }
}

/* ========================================
   15. MOBILE + TABLET
======================================== */

@media (max-width: 991.98px) {
    .r3-navbar {
        min-height: 76px;
        padding: 10px 0;
    }

    .r3-navbar .container {
        gap: 12px;
    }

    /* Hide desktop navigation */
    .r3-desktop-nav {
        display: none !important;
    }

    /* Show hamburger */
    .r3-menu-toggle {
        display: inline-grid !important;
    }

    .r3-logo {
        width: 52px;
        height: 52px;
    }
}

/* ========================================
   16. MOBILE PHONES
======================================== */

@media (max-width: 767.98px) {
    .r3-topbar-inner {
        justify-content: center;
    }

    .r3-topbar-contact {
        justify-content: center;
        gap: 7px 15px;
    }

    .r3-topbar-contact a {
        font-size: 11px;
        gap: 6px;
    }

    /* Social links remain available in offcanvas */
    .r3-topbar-social {
        display: none;
    }

    .r3-navbar {
        min-height: 72px;
    }

    .r3-logo {
        width: 49px;
        height: 49px;
    }

    .r3-brand {
        gap: 9px;
    }

    .r3-brand-name {
        font-size: 1.12rem;
    }

    .r3-brand-sub {
        font-size: 0.55rem;
    }

    .r3-offcanvas .offcanvas-header {
        padding: 18px;
    }

    .r3-offcanvas .offcanvas-body {
        padding: 18px;
    }
}

/* ========================================
   17. EXTRA SMALL PHONES
======================================== */

@media (max-width: 380px) {
    .r3-topbar-contact {
        gap: 6px 10px;
    }

    .r3-topbar-contact a {
        font-size: 10px;
        gap: 5px;
    }

    .r3-logo {
        width: 44px;
        height: 44px;
    }

    .r3-brand {
        gap: 8px;
    }

    .r3-menu-toggle {
        width: 42px;
        height: 42px;
    }

    .r3-offcanvas .offcanvas-header {
        padding: 16px;
    }

    .r3-offcanvas .offcanvas-body {
        padding: 16px;
    }
}

/* ========================================
   18. ACCESSIBILITY
======================================== */

.r3-topbar a:focus-visible,
.r3-nav-links .nav-link:focus-visible,
.r3-nav-cta:focus-visible,
.r3-menu-toggle:focus-visible,
.r3-mobile-links .nav-link:focus-visible,
.r3-mobile-social a:focus-visible {
    outline: 2px solid var(--r3-gold-light);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =====================================
   ROUTE3 TRAVELS - IMAGE HERO SLIDER
===================================== */

.r3-hero-slider {
    --r3-gold: #d5ad55;
    --r3-dark: #050505;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--r3-dark);
}

/* Image sizing */
.r3-hero-slider .carousel-inner {
    position: relative;
    overflow: hidden;
    background: var(--r3-dark);
}

.r3-hero-slider .carousel-item {
    position: relative;
    overflow: hidden;
}

/* Desktop image */
.r3-hero-slider .r3-slide-img {
    width: 100%;
    height: clamp(420px, 46vw, 680px);
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.04);
    transition: transform 5s ease;
}

/* Gentle zoom animation on active slide */
.r3-hero-slider .carousel-item.active .r3-slide-img {
    transform: scale(1);
}

/* Subtle cinematic overlay */
.r3-hero-slider .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.10) 0%,
        transparent 35%,
        rgba(0, 0, 0, 0.12) 100%
    );
}

/* Thin gold frame */
.r3-hero-slider::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 2;
    border: 1px solid rgba(213, 173, 85, 0.7);
    pointer-events: none;
}

/* Navigation arrows */
.r3-hero-slider .r3-slider-arrow {
    width: 9%;
    opacity: 1;
    z-index: 3;
}

.r3-hero-slider .r3-arrow-circle {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--r3-gold);
    background: rgba(5, 5, 5, 0.72);
    border: 1px solid var(--r3-gold);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.r3-hero-slider .r3-slider-arrow:hover .r3-arrow-circle {
    color: var(--r3-dark);
    background: var(--r3-gold);
    transform: scale(1.1);
}

/* Gold indicator dots */
.r3-hero-slider .r3-slider-indicators {
    z-index: 4;
    margin-bottom: 28px;
    gap: 7px;
}

.r3-hero-slider .r3-slider-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0 3px;
    border: 1px solid var(--r3-gold);
    border-radius: 50%;
    background-color: transparent;
    opacity: 1;
    transition: all 0.3s ease;
}

.r3-hero-slider .r3-slider-indicators .active {
    width: 28px;
    border-radius: 10px;
    background: var(--r3-gold);
}

/* Large tablets */
@media (max-width: 991.98px) {
    .r3-hero-slider .r3-slide-img {
        height: clamp(360px, 58vw, 520px);
    }

    .r3-hero-slider::before {
        inset: 10px;
    }

    .r3-hero-slider .r3-arrow-circle {
        width: 42px;
        height: 42px;
    }

    .r3-hero-slider .r3-slider-indicators {
        margin-bottom: 22px;
    }
}

/* Mobile phones */
@media (max-width: 575.98px) {
    .r3-hero-slider .r3-slide-img {
        height: 62vh;
        min-height: 300px;
        max-height: 460px;
        object-fit: cover;
        object-position: center;
    }

    .r3-hero-slider::before {
        inset: 7px;
        border-color: rgba(213, 173, 85, 0.55);
    }

    .r3-hero-slider .r3-slider-arrow {
        width: 13%;
    }

    .r3-hero-slider .r3-arrow-circle {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .r3-hero-slider .r3-slider-indicators {
        margin-bottom: 17px;
        gap: 4px;
    }

    .r3-hero-slider .r3-slider-indicators [data-bs-target] {
        width: 7px;
        height: 7px;
        margin: 0 2px;
    }

    .r3-hero-slider .r3-slider-indicators .active {
        width: 21px;
    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .r3-hero-slider .r3-slide-img,
    .r3-hero-slider .r3-arrow-circle,
    .r3-hero-slider .r3-slider-indicators [data-bs-target] {
        transition: none;
    }
}

/* ==========================================
   ROUTE3 TRAVELS - PREMIUM CATEGORY SECTION
========================================== */

.r3-categories-section {
    --r3-gold: #d5ad55;
    --r3-gold-light: #f0d796;
    --r3-navy: #101c2e;
    --r3-black: #050505;
    --r3-text: #f5f2eb;

    position: relative;
    overflow: hidden;
    padding: 95px 0 100px;
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(213, 173, 85, 0.09),
            transparent 28%
        ),
        linear-gradient(135deg, #08111f 0%, #101c2e 55%, #070b12 100%);
}

/* Decorative background details */
.r3-categories-section::before {
    content: "";
    position: absolute;
    top: 50px;
    right: -100px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(213, 173, 85, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.r3-categories-section::after {
    content: "";
    position: absolute;
    top: 90px;
    right: -65px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(213, 173, 85, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.r3-categories-section .container {
    position: relative;
    z-index: 1;
}

/* Heading */
.r3-category-heading {
    max-width: 690px;
    margin: 0 auto 48px;
    text-align: center;
}

.r3-category-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: var(--r3-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.r3-category-eyebrow i {
    font-size: 14px;
}

.r3-category-heading h2 {
    margin: 0 0 15px;
    color: var(--r3-text);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.4px;
}

.r3-category-heading h2 span {
    color: var(--r3-gold);
}

.r3-category-heading p {
    max-width: 550px;
    margin: 0 auto;
    color: #b9c0ca;
    font-size: 15px;
    line-height: 1.8;
}

/* Category card */
.r3-category-card {
    position: relative;
    display: block;
    height: 390px;
    overflow: hidden;
    isolation: isolate;
    background: #182334;
    border: 1px solid rgba(213, 173, 85, 0.22);
    border-radius: 100px 100px 24px 24px;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

/* Card image */
.r3-category-card > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Dark gradient for readable text */
.r3-category-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(5, 9, 16, 0.02) 5%,
        rgba(5, 9, 16, 0.08) 35%,
        rgba(5, 9, 16, 0.88) 100%
    );
    transition: background 0.4s ease;
}

/* Number badge */
.r3-category-number {
    position: absolute;
    top: 22px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--r3-gold-light);
    background: rgba(5, 5, 5, 0.45);
    border: 1px solid rgba(213, 173, 85, 0.75);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

/* Card content */
.r3-category-content {
    position: absolute;
    right: 18px;
    bottom: 25px;
    left: 18px;
    color: white;
}

.r3-category-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--r3-gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.r3-category-content h3 {
    margin: 0 0 14px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(17px, 1.45vw, 21px);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.r3-category-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--r3-gold-light);
    font-size: 12px;
    font-weight: 600;
    transition: gap 0.3s ease, color 0.3s ease;
}

.r3-category-link i {
    font-size: 11px;
}

/* Hover effect */
@media (hover: hover) {
    .r3-category-card:hover {
        transform: translateY(-8px);
        border-color: var(--r3-gold);
        box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
    }

    .r3-category-card:hover > img {
        transform: scale(1.1);
    }

    .r3-category-card:hover .r3-category-link {
        gap: 15px;
        color: #fff;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .r3-categories-section {
        padding: 75px 0;
    }

    .r3-category-heading {
        margin-bottom: 38px;
    }

    .r3-category-card {
        height: 350px;
        border-radius: 80px 80px 22px 22px;
    }

    .r3-category-content {
        right: 15px;
        left: 15px;
        bottom: 22px;
    }

    .r3-category-content h3 {
        font-size: 19px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .r3-categories-section {
        padding: 55px 0 60px;
    }

    .r3-category-heading {
        margin: 0 auto 30px;
        padding: 0 8px;
    }

    .r3-category-eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .r3-category-heading h2 {
        font-size: 29px;
        letter-spacing: -0.8px;
    }

    .r3-category-heading p {
        font-size: 13px;
        line-height: 1.7;
    }

    .r3-category-grid {
        --bs-gutter-x: 14px;
        --bs-gutter-y: 18px;
    }

    .r3-category-card {
        height: clamp(225px, 67vw, 310px);
        border-radius: 65px 65px 18px 18px;
    }

    .r3-category-number {
        top: 14px;
        right: 12px;
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .r3-category-content {
        right: 11px;
        bottom: 17px;
        left: 11px;
    }

    .r3-category-tag {
        margin-bottom: 7px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .r3-category-content h3 {
        margin-bottom: 10px;
        font-size: clamp(13px, 3.5vw, 17px);
        line-height: 1.4;
    }

    .r3-category-link {
        gap: 6px;
        font-size: 10px;
    }
}

/* Very small phones */
@media (max-width: 359.98px) {
    .r3-category-card {
        height: 215px;
        border-radius: 48px 48px 15px 15px;
    }

    .r3-category-content {
        right: 8px;
        left: 8px;
    }

    .r3-category-content h3 {
        font-size: 12px;
    }

    .r3-category-tag {
        font-size: 7px;
        letter-spacing: 0.6px;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .r3-category-card,
    .r3-category-card > img,
    .r3-category-link {
        transition: none;
    }
}
