/*
Theme Name: Reigate Builders
Theme URI: 
Author: Hoztox Technologies
Author URI: 
Description: A premium, bespoke WordPress theme engineered exclusively for Reigate Builders. Features a modern, fully responsive architecture built on Bootstrap 5, meticulously crafted for peak performance and an elevated user experience.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reigatebuilders
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   GLOBAL RESET — prevent horizontal overflow on all screens
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    min-width: 0;
}


/* ==========================================================================
   DESIGN TOKENS — Single source of truth for all colours & typography.
   Every rule in this file MUST reference a token — no hardcoded values.
   ========================================================================== */

:root {
    /* ── Colours ─────────────────────────────────────────── */
    --rb-heading: #1C1C1C;
    /* dark text / all headings        */
    --rb-highlight: #FB831C;
    /* brand orange / primary accent    */
    --rb-highlight-hover: #d96e10;
    /* orange darken on hover           */
    --rb-highlight-deep: #A14A00;
    /* orange deepest (active/pressed)  */
    --rb-body: #757575;
    /* normal body / paragraph text     */
    --rb-white: #ffffff;
    --rb-white-85: rgba(255, 255, 255, 0.85);
    --rb-white-75: rgba(255, 255, 255, 0.75);
    --rb-white-50: rgba(255, 255, 255, 0.50);
    --rb-white-12: rgba(255, 255, 255, 0.12);
    --rb-black-overlay-top: rgba(0, 0, 0, 0.35);
    --rb-black-overlay-mid: rgba(0, 0, 0, 0.20);
    --rb-black-overlay-btm: rgba(0, 0, 0, 0.55);
    --rb-black-mobile-nav: rgba(15, 15, 15, 0.95);
    --rb-scrolled-nav-bg: rgba(255, 255, 255, 0.97);
    --rb-play-btn-border: rgba(255, 255, 255, 0.85);

    /* ── Typography ──────────────────────────────────────── */
    --rb-font-heading: 'Playfair Display', serif;
    --rb-font-body: 'Manrope', sans-serif;

    --rb-font-weight-light: 300;
    --rb-font-weight-regular: 400;
    --rb-font-weight-medium: 500;
    --rb-font-weight-semi: 600;
    --rb-font-weight-bold: 700;

    /* Nav link specs (Figma exact) */
    --rb-nav-font-size: 14px;
    --rb-nav-line-height: 19.5px;
    --rb-nav-letter-spacing: 2.6px;

    /* ── Bootstrap 5 overrides (use same tokens) ─────────── */
    --bs-primary: var(--rb-highlight);
    --bs-primary-rgb: 251, 131, 28;
    --bs-link-color: var(--rb-highlight);
    --bs-link-hover-color: var(--rb-highlight-hover);
    --bs-body-color: var(--rb-body);
    --bs-body-font-family: var(--rb-font-body);
    --bs-heading-color: var(--rb-heading);
    /* base (overridden per breakpoint below) */
}


/* ==========================================================================
   RB-WRAP — Fluid stepped max-width container
   ─────────────────────────────────────────────
   Usage: add class="rb-wrap" to any section wrapper.
   Works alongside Bootstrap .container — both are overridden at the
   same breakpoints so all templates benefit automatically.

   Breakpoint table (max-width media queries, mobile-first stepping down)
   ┌──────────────────┬────────────────┐
   │  Viewport        │  Content width │
   ├──────────────────┼────────────────┤
   │  > 1800 px       │  1550 px       │
   │  ≤ 1800 px       │  1550 px       │
   │  ≤ 1650 px       │  1400 px       │
   │  ≤ 1500 px       │  1300 px       │
   │  ≤ 1400 px       │  1300 px       │
   │  ≤ 1300 px       │  100% fluid    │
   └──────────────────┴────────────────┘
   ========================================================================== */

/* ─── .rb-wrap — stepped fluid container ─────────────────────────────────
   RULE: always width:100% + max-width cap. Never set a fixed pixel width.
   max-width breakpoints step DOWN as viewport shrinks (max-width queries).
   ┌──────────────────┬──────────────┐
   │  Viewport        │  max-width   │
   ├──────────────────┼──────────────┤
   │  > 1800 px       │  1650 px     │
   │  ≤ 1800 px       │  1550 px     │
   │  ≤ 1650 px       │  1400 px     │
   │  ≤ 1500 px       │  1300 px     │
   │  ≤ 1350 px       │  100 %       │
   └──────────────────┴──────────────┘  */

.rb-wrap {
    width: 100%;
    /* fill parent — never hardcode a px width here */
    max-width: 1650px;
    /* base cap for > 1800 px screens */
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
    box-sizing: border-box;
    /* NOTE: NO overflow-x:hidden here — it clips mobile nav dropdowns */
}

/* Navbar always spans full available width inside the header */
.rb-navbar {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}


/* ==========================================================================
   TYPOGRAPHY
   Headings : --rb-font-heading  (Playfair Display, regular)
   Body/UI  : --rb-font-body     (Manrope, regular)
   ========================================================================== */

body,
button,
input,
select,
optgroup,
textarea {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    color: var(--rb-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: var(--rb-font-heading);
    font-weight: var(--rb-font-weight-regular);
    color: var(--rb-heading);
}

p {
    color: var(--rb-body);
}


/* ==========================================================================
   BOOTSTRAP PRIMARY COLOUR OVERRIDES
   All Bootstrap "primary" utilities inherit --rb-highlight automatically.
   ========================================================================== */

.bg-primary {
    background-color: var(--rb-highlight) !important;
}

.text-primary {
    color: var(--rb-highlight) !important;
}

.border-primary {
    border-color: var(--rb-highlight) !important;
}

.btn-primary {
    background-color: var(--rb-highlight);
    border-color: var(--rb-highlight);
    color: var(--rb-white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--rb-highlight-hover);
    border-color: var(--rb-highlight-hover);
    color: var(--rb-white);
}

.btn-outline-primary {
    color: var(--rb-highlight);
    border-color: var(--rb-highlight);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--rb-highlight);
    border-color: var(--rb-highlight);
    color: var(--rb-white);
}

a {
    color: var(--rb-highlight);
    text-decoration: none;
}

a:hover {
    color: var(--rb-highlight-hover);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .current-menu-item>.nav-link {
    color: var(--rb-highlight) !important;
}

.badge.bg-primary,
.alert-primary {
    background-color: var(--rb-highlight) !important;
    border-color: var(--rb-highlight) !important;
}

:focus-visible {
    outline: 2px solid var(--rb-highlight);
    outline-offset: 3px;
}

.rb-section-subtitle {
    font-family: var(--rb-font-body);
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rb-highlight);
    margin-bottom: 30px !important;
}

.rb-section-title {
    font-family: var(--rb-font-heading);
    font-weight: 600;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.1;
    color: var(--rb-heading);
    margin-bottom: 30px !important;
}

.rb-section-title em {
    color: var(--rb-highlight);
    font-style: normal;
    margin-bottom: 30px !important;
}

/* ==========================================================================
   NAVBAR LOGO
   ========================================================================== */
.page-id-36 .rb-about__text p{
    max-width: 100%!important;
}
.navbar-brand svg,
.navbar-brand img {
    height: 48px;
    width: auto;
    max-width: 180px;
    display: block;
}

.navbar-brand svg path[fill="none"],
.navbar-brand svg path:not([fill]) {
    stroke: var(--rb-heading);
}

.top-margin {
    margin-top: 150px;
}

.rb-subtitle-line {
    background: #FB831C1A;
    display: inline-block;
    padding: 5px 8px;
    border-radius: 2px;
}

/* ==========================================================================
   NAVBAR — Transparent overlay, Figma exact specs
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
}

.rb-navbar {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 100px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* ---- Logo ---- */
.rb-logo-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    margin-right: 2rem;
}

.rb-logo-wrap svg,
.rb-logo-wrap img {
    width: 120px;
    height: 84.9px;
    object-fit: contain;
    display: block;
}

/* ---- Nav links ---- */
.rb-nav-list {
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.rb-nav-link {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-light);
    /* 300 */
    font-size: var(--rb-nav-font-size);
    /* 14px */
    line-height: var(--rb-nav-line-height);
    /* 19.5px */
    letter-spacing: var(--rb-nav-letter-spacing);
    /* 2.6px */
    text-transform: uppercase;
    color: var(--rb-white) !important;
    padding: 0 18px !important;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.rb-nav-link:hover,
.rb-nav-link.active,
.rb-nav-item.active .rb-nav-link,
.rb-navbar.scrolled .rb-nav-link.active {
    color: var(--rb-highlight) !important;
}

/* ---- Contact Us CTA button ---- */
.rb-btn-contact {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    /* 600 */
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rb-white) !important;
    background-color: var(--rb-highlight);
    border: none;
    border-radius: 2px;
    padding: 12px 20px 12px 24px;
    margin-left: 1rem;
    transition: background-color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.rb-btn-contact:hover {
    background-color: var(--rb-highlight-hover);
    color: var(--rb-white) !important;
    transform: translateX(2px);
}

.rb-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px
}

.rb-contact-icon svg {
    width: 22px;
    height: 22px;
}

/* ---- Mobile toggler ---- */
.rb-toggler {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    cursor: pointer;
    background: transparent;
}

.toggler-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--rb-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ---- Scrolled state — opaque white bg ---- */
.rb-navbar.scrolled {
    background-color: var(--rb-scrolled-nav-bg);
}

.rb-navbar.with-shadow {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.rb-navbar.scrolled .rb-logo-white {
    display: none !important;
}

/* Hide the last menu item as it's typically the Contact link duplicated by the CTA button */
.rb-nav-list .rb-nav-item:last-child {
    display: none !important;
}

.rb-navbar.scrolled .rb-logo-black {
    display: block !important;
}

.rb-navbar.scrolled .rb-nav-link {
    color: var(--rb-heading) !important;
}

.rb-navbar.scrolled .toggler-bar {
    background-color: var(--rb-heading);
}

/* ==========================================================================
   HERO — Full-screen video section
   ========================================================================== */

.rb-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rb-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            var(--rb-black-overlay-top) 0%,
            var(--rb-black-overlay-mid) 40%,
            var(--rb-black-overlay-btm) 100%);
    z-index: 1;
}

/* ---- Play / pause button ---- */
.rb-hero__play-btn {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2.5px solid var(--rb-play-btn-border);
    background: rgb(255 255 255);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.rb-hero__play-btn:hover {
    background: var(--rb-highlight);
    border-color: var(--rb-highlight);
    transform: scale(1.08);
}

.rb-hero__play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-hero__play-btn .icon-play {
    margin-left: 4px;
}

/* ---- Bottom-left caption ---- */
.rb-hero__caption {
    position: absolute;
    bottom: 80px;
    left: 48px;
    z-index: 2;
    color: var(--rb-white);
}

.rb-hero__title {
    font-family: var(--rb-font-heading);
    font-weight: var(--rb-font-weight-regular);
    font-size: clamp(32px, 3vw, 60px);
    line-height: 1.1;
    color: var(--rb-white);
    letter-spacing: 0.02em;
    margin: 0 0 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.rb-hero__sub {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--rb-white-85);
    margin: 0;
}

.rb-hero__sub strong {
    color: var(--rb-white);
    font-weight: var(--rb-font-weight-bold);
}

/* ---- Scroll indicator ---- */
.rb-hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--rb-white-75);
}

.rb-hero__scroll-text {
    font-family: var(--rb-font-body);
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    animation: rb-text-fade 1.5s ease-in-out infinite;
}

@keyframes rb-text-fade {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.rb-hero__scroll-line {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, rgba(243, 139, 32, 0) 0%, #F38B20 100%);
    /* animation: rb-scroll-pulse 1.6s ease-in-out infinite; */
}

@keyframes rb-scroll-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */

.rb-service-grid-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rb-service-grid__category {
    font-family: var(--rb-font-body);
    font-weight: 600;
    /* SemiBold */
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(14px, 1.5vw, 16.5px);
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--rb-highlight);
}

.rb-service-grid__icon {
    width: 48px;
    height: 48px;
    background-color: var(--rb-heading);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-service-grid__icon svg,
.rb-service-grid__icon img {
    width: 24px;
    height: 24px;
}

.rb-service-grid__icon svg path {
    fill: var(--rb-highlight);
}

.rb-service-grid__image-wrap {
    width: 100%;
    aspect-ratio: 595 / 342;
    overflow: hidden;
}

.rb-service-grid__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-service-grid__title {
    font-family: var(--rb-font-heading);
    font-weight: 600;
    font-size: clamp(26px, 2.5vw, 40px);
    line-height: clamp(26px, 2.5vw, 48px);
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--rb-heading);
}

.rb-service-grid__title em {
    font-style: normal;
    color: var(--rb-highlight);
}

.rb-service-grid__text {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(14px, 1.5vw, 26px);
    color: #757575;
}

.rb-service-grid__list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.rb-service-grid__list li {
    font-family: var(--rb-font-body);
    font-weight: 700;
    font-size: 12px;
    line-height: 16.5px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--rb-heading);
    display: flex;
    align-items: center;
    width: auto !important;
    gap: 10px;
    margin-bottom: 15px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 15px;
}

.rb-bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--rb-highlight);
    margin-top: -2px;
}


/* ==========================================================================
   ABOUT / EXCELLENCE SECTION
   ========================================================================== */

.rb-about {
    overflow: hidden;
}

.rb-about .rb-section-title,
.rb-contact-hero .rb-section-title,
.rb-thankyou-section .rb-section-title,
.rb-project-main-title {
    font-size: clamp(36px, 3vw, 80px);
    line-height: 1;
    font-weight: 400;
}


.rb-about .rb-section-title em,
.rb-contact-hero .rb-section-title em,
.rb-thankyou-section .rb-section-title em,
.rb-project-main-title em {
    font-style: italic;
}

.rb-about p {
    font-family: var(--rb-font-body);
    font-weight: 400;
    /* Regular */
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(20px, 2.5vw, 34px);
    color: var(--rb-body);
    margin-bottom: 40px;
    max-width: 580px;
}

/* Secondary Buttons */
.rb-btn-outline {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rb-heading);
    background-color: transparent;
    border: 1px solid var(--rb-heading);
    border-radius: 2px;
    height: 68px;
    padding: 12px 20px 12px 24px;
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.rb-btn-outline:hover {
    border-color: var(--rb-highlight);
    color: var(--rb-highlight);
    background: var(--rb-heading);
}

.rb-btn-dark {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rb-white);
    background-color: var(--rb-heading);
    border: 1px solid var(--rb-heading);
    border-radius: 2px;
    height: 68px;
    padding: 12px 20px 12px 24px;
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.rb-btn-dark:hover {
    background-color: var(--rb-heading);
    border-color: var(--rb-highlight);
    color: var(--rb-highlight);
}

.rb-btn-primary {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rb-white);
    background-color: var(--rb-highlight);
    border: 1px solid var(--rb-highlight);
    border-radius: 2px;
    height: 68px;
    padding: 12px 20px 12px 24px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.rb-btn-primary:hover {
    background-color: var(--rb-highlight-deep);
    border-color: var(--rb-highlight-deep);
    color: var(--rb-white);
}

.rb-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    /* Fixed width prevents button from expanding on hover */
    height: 18px;
}

.rb-btn-icon svg {
    width: 14px;
    height: 14px;
    transition: all 0.4s ease-out;
}

.rb-btn-outline .rb-btn-icon svg path,
.rb-btn-dark .rb-btn-icon svg path,
.rb-btn-primary .rb-btn-icon svg path {
    transition: fill 0.4s ease-out;
}

.rb-btn-outline:hover .rb-btn-icon svg,
.rb-btn-dark:hover .rb-btn-icon svg,
.rb-btn-primary:hover .rb-btn-icon svg {
    width: 17px;
    height: 17px;
}

.rb-btn-outline .rb-btn-icon svg path {
    fill: var(--rb-heading);

}

.rb-btn-outline:hover .rb-btn-icon svg path,
.rb-btn-dark:hover .rb-btn-icon svg path {
    fill: var(--rb-highlight);
}

.rb-btn-dark .rb-btn-icon svg path,
.rb-btn-primary .rb-btn-icon svg path {
    fill: var(--rb-white);
}

/* Image & Badge */
.rb-about__image-wrap {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}

.rb-about__img {
    height: 625px;
    object-fit: cover;
}

.rb-about__badge {
    position: absolute;
    bottom: -10px;
    left: -18px;
    background-color: var(--rb-highlight);
    color: var(--rb-white);
    padding: 30px;
    width: 180px;
}

.rb-badge-number {
    font-family: var(--rb-font-heading);
    font-size: clamp(30px, 3vw, 56px);
    font-weight: 900;
    line-height: 1;
    display: block;
    margin-bottom: 15px;
}

.rb-badge-number sup {
    font-size: clamp(30px, 3vw, 42px);
    top: -4px;
}

.rb-badge-text {
    font-family: var(--rb-font-body);
    font-size: 16px;
    font-weight: 600;
    /* SemiBold */
    line-height: 17.12px;
    text-transform: uppercase;
    display: block;
    letter-spacing: 1.14px;
    vertical-align: middle;
}

/* Stats Section */
.rb-stats {
    margin-top: 60px;
}

.rb-stat-item {
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.rb-stat-item.border-0 {
    border-right: none;
}

.rb-stat-number {
    font-family: var(--rb-font-heading);
    font-weight: 400;
    font-size: clamp(35px, 6vw, 70px);
    line-height: 110px;
    color: var(--rb-heading);
    margin-bottom: 15px;
    display: inline-block;
    vertical-align: middle;
}

.rb-stat-number sup {
    font-size: clamp(32px, 3vw, 38px);
    top: clamp(-10px, -1.5vw, -22px);
    font-weight: 600;
    color: #000000;
}

.rb-stat-label {
    font-family: var(--rb-font-body);
    font-size: 16px;
    font-weight: 600;
    /* SemiBold */
    line-height: 16.5px;
    color: var(--rb-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    vertical-align: middle;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */

/* Scroll Reveal */
.rb-animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rb-animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements if needed */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Image Hover Effects */
.rb-hover-zoom {
    /* overflow: hidden; */
    border-radius: 2px;
}

.rb-hover-zoom img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.rb-hover-zoom:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.rb-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--rb-white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.rb-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.rb-preloader-content {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(28, 28, 28, 0.05);
    /* Very light grey ring */
    border-top-color: var(--rb-highlight);
    /* Orange spinning arc */
    border-radius: 50%;
    animation: rbSpin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    /* Smooth ease-in-out spin */
}

.rb-preloader-logo {
    width: 120px;
    /* Slightly smaller to fit nicely inside the 200px ring */
    animation: rbPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.rb-preloader-logo svg {
    width: 100%;
    height: auto;
}

@keyframes rbPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.6;
    }
}

@keyframes rbSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   LEADERSHIP SECTION
   ========================================================================== */
.rb-leadership {
    background-color: var(--rb-white);
}

.rb-leadership__line {
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: var(--rb-highlight);
    margin-bottom: 30px;
}



.rb-leadership__quote-wrap {
    border-left: 4px solid var(--rb-highlight);
    padding-left: 30px;
    margin-bottom: 40px !important;
}

.rb-leadership__quote-wrap p,
.rb-philosophy__text {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 34px;
    color: var(--rb-body);
    margin: 0;
}

.rb-leadership__name {
    font-family: var(--rb-font-heading);
    font-weight: 400;
    font-size: clamp(25px, 2.5vw, 30px);
    line-height: 32px;
    color: var(--rb-heading);
    margin-bottom: 5px;
}

.rb-leadership__position {
    font-family: var(--rb-font-body);
    font-weight: 600;
    font-size: 12px;
    line-height: 16.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rb-highlight);
}

.rb-leadership__image-wrap {
    border-radius: 2px;
    overflow: hidden;
}

/* ==========================================================================
   BEST BUILDERS SECTION
   ========================================================================== */
.rb-best-builders {
    background-color: var(--rb-white);
}

.rb-best-builders__image-wrap {
    border-radius: 2px;
    overflow: hidden;
}

.rb-best-builders__text-wrap {
    border-left: 4px solid var(--rb-highlight);
    padding-left: 30px;
}

.rb-best-builders__text-wrap p {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 32px;
    color: var(--rb-body);
    margin-bottom: 24px;
}

.rb-best-builders__text-wrap p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   EXPERTISE SECTION
   ========================================================================== */
.rb-expertise {
    background-color: var(--rb-heading);
}

.rb-expertise-card {
    display: block;
    background-color: #232323;
    padding: 40px;
    border-radius: 4px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0px 2px 30px 0px #FF95001F;
}

.rb-expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 2px 30px 0px rgba(255, 149, 0, 0.3);
    border-color: var(--rb-highlight-hover);
    color: var(--rb-highlight);
}

.rb-expertise-card:hover .rb-expertise-card__title {
    color: var(--rb-highlight);
}

.rb-expertise-card__title em {
    font-style: normal;
}

.rb-expertise-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.rb-expertise-card__icon svg {
    width: 100%;
    height: 100%;
}

.rb-expertise-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.rb-expertise-card__arrow svg {
    width: 100%;
    height: 100%;
}

.rb-expertise-card__arrow svg path {
    transition: fill 0.3s ease;
}

.rb-expertise-card:hover .rb-expertise-card__arrow {
    transform: translate(5px, -5px);
}

.rb-expertise-card:hover .rb-expertise-card__arrow svg path {
    fill: var(--rb-highlight);
}

.rb-expertise-card__title {
    font-family: var(--rb-font-heading);
    font-weight: 600;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: clamp(22px, 1.5vw, 32px);
    letter-spacing: 1px;
    color: var(--rb-white);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.rb-expertise-card p {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.rb-footer {
    background-color: var(--rb-heading);
    /* Assuming #1C1C1C */
    color: var(--rb-white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 20px;
}

.rb-footer__bg-text {
    position: absolute;
    bottom: -20px;
    right: clamp(80px, 5vw, 0px);
    pointer-events: none;
    z-index: 0;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
    opacity: 1;
    width: 50%;
}

.rb-footer__bg-text img {
    height: auto;
    width: 100%;
    min-width: 600px;
}

.rb-footer__content {
    position: relative;
    z-index: 1;
}

.rb-footer .rb-footer__text {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.5;
    color: #ffffff;
    max-width: 420px;
    width: 100%;
}

.rb-footer__heading {
    font-family: var(--rb-font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 16.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rb-highlight);
    margin-bottom: 30px;
}

.rb-footer__nav li {
    margin-bottom: 10px;
}

.rb-footer__nav a {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rb-footer__nav a:hover,
.rb-footer__nav a.active {
    color: var(--rb-highlight);
}

.rb-footer__contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

.rb-footer__contact li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rb-footer__contact li a:hover {
    color: var(--rb-highlight);
}

.rb-footer__icon-wrap {
    width: 20px;
    display: flex;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.rb-footer__icon-wrap img {
    max-width: 16px;
    max-height: 20px;
    margin-top: 3px;
}

.rb-footer__social {
    display: flex;
    gap: 15px;
}

.rb-footer__social a img {
    width: 24px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.rb-footer__social a:hover img {
    opacity: 1;
    transform: translateY(-3px);
}

.rb-footer__bottom {
    padding-top: 20px;
    margin-top: 120px !important;
}

.rb-footer__bottom p {
    font-family: var(--rb-font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    max-width: 100%;
}

/* ==========================================================================
   LATEST PROJECTS SECTION
   ========================================================================== */
.rb-projects {
    background-color: var(--rb-white);
    overflow: hidden;
}

.rb-slider-arrow {
    width: 56px;
    height: 56px;
    background: var(--rb-heading);
    border: 1px solid var(--rb-highlight);
    /* 0.5px visually via rgba */
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.rb-slider-arrow:hover {
    background-color: var(--rb-highlight);
    border-color: var(--rb-highlight);
}

.rb-slider-arrow:hover svg path {
    stroke: var(--rb-white);
    /* if stroke based */
    fill: var(--rb-white);
    /* if fill based */
}

.rb-projects-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 20px;
}

.rb-projects-slider::-webkit-scrollbar {
    display: none;
}

.rb-project-card {
    flex: 0 0 calc(33.33% - 20px);
    scroll-snap-align: start;
    display: block;
    color: var(--rb-heading);
}

@media (max-width: 1199.98px) {
    .rb-project-card {
        flex: 0 0 calc(45% - 20px);
    }
}

@media (max-width: 991.98px) {
    .rb-project-card {
        flex: 0 0 calc(48%);
    }
}

@media (max-width: 567.98px) {
    .rb-project-card {
        flex: 0 0 calc(100%);
    }
}

.rb-project-card__image-wrap {
    margin-bottom: 35px;
    overflow: hidden;
    position: relative;
}

.rb-project-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgb(28 28 28 / 56%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.rb-project-card:hover .rb-project-card__image-wrap::after {
    opacity: 1;
}

.rb-project-card__image-wrap img {
    aspect-ratio: 3 / 4;
    transition: transform 0.5s ease;
    width: 100%;
    object-fit: cover;
}

.rb-project-card:hover .rb-project-card__image-wrap img {
    transform: scale(1.03);
}


.rb-project-card__content {
    background: var(--rb-white);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.rb-project-card__title {
    font-family: var(--rb-font-heading);
    font-weight: 400;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: clamp(22px, 1.5vw, 32px);
    letter-spacing: -0.6px;
    text-transform: uppercase;
    color: var(--rb-heading);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.rb-project-card__location {
    font-family: var(--rb-font-body);
    font-weight: 700;
    font-size: 12px;
    line-height: 16.5px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--rb-body);
    margin: 0;
}

/* Button */
.rb-project-card__btn {
    display: flex;
    align-items: center;
    background-color: var(--rb-heading);
    height: 48px;
    width: 48px;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: flex-end;
}

.rb-project-card:hover .rb-project-card__btn {
    width: 160px;
}

.rb-project-card__btn-text {
    font-family: var(--rb-font-body);
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--rb-highlight);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding-left: 20px;
    margin-right: auto;
}

.rb-project-card:hover .rb-project-card__btn-text {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.rb-project-card:hover .rb-project-card__btn-icon svg path {
    fill: var(--rb-highlight);
}

.rb-project-card__btn-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rb-project-card__btn-icon svg {
    width: 15px;
    height: 15px;
}

.rb-project-card__btn-icon svg path {
    fill: var(--rb-white);
    transition: fill 0.3s ease;
}

/* ==========================================================================
   LOREM IPSUM SECTION
   ========================================================================== */
.rb-lorem-section {
    background-color: var(--rb-white);
}

.rb-lorem-section__text-wrap {
    border-left: 3px solid var(--rb-highlight);
    padding-left: 30px;
    margin-left: 5px;
}

.rb-lorem-section__text {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(24px, 1.5vw, 34px);
    color: var(--rb-body);
    margin: 0;
    text-align: justify;
}

.rb-lorem-section__image-wrap {
    overflow: hidden;
}

.rb-lorem-section__image-wrap img {
    aspect-ratio: 1 / 1;
    transition: transform 0.5s ease;
}

.rb-lorem-section__image-wrap:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   VIDEO GALLERY SECTION
   ========================================================================== */
.rb-video-card {
    flex: 0 0 calc(33.33% - 20px);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .rb-video-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 991.98px) {
    .rb-video-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 565.98px) {
    .rb-video-card {
        flex: 0 0 calc(100%);
    }
}

.rb-video-card__image-wrap {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-column {
    --bs-gutter-y: 40px;
    --bs-gutter-x: 80px;
}

.video-column .col-12 {
    margin-bottom: 40px;
}

.rb-video-card__image-wrap img {
    transition: transform 0.4s ease;
}

.rb-video-card__image-wrap:hover img {
    transform: scale(1.05);
}

.rb-video-card__image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    pointer-events: none;
    /* Let clicks pass through if needed, though js-play-video handles it */
}

.rb-video-card:hover .rb-video-card__image-wrap::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.rb-video-card__image-wrap.is-playing::after {
    display: none;
}

.rb-video-card__image-wrap.js-play-video {
    cursor: pointer;
}

.rb-video-card__image-wrap img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rb-video-card__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9;
    transform: translate(-50%, -50%);
    width: 83.33px;
    height: 83.33px;
    transition: transform 0.3s ease;
}

.rb-video-card:hover .rb-video-card__image-wrap img {
    transform: scale(1.05);
}

.rb-gallery-panel .rb-video-card__play-icon {
    background-color: var(--rb-highlight);
    border-radius: 50%;
}

.rb-video-card:hover .rb-video-card__play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.rb-video-card__title {
    font-family: var(--rb-font-heading);
    font-weight: 500;
    /* Medium */
    font-size: 24px;
    line-height: 28px;
    color: var(--rb-white);
    margin-bottom: 5px;
}

.rb-video-card__subtitle {
    font-family: var(--rb-font-body);
    font-weight: 700;
    /* Bold */
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 1px;
    color: #757575;
    text-transform: uppercase;
}

/* ==========================================================================
   HAPPY MOMENTS SECTION
   ========================================================================== */
.rb-moment-card {
    flex: 0 0 calc(33.33% - 20px);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .rb-moment-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 991.98px) {
    .rb-moment-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 565.98px) {
    .rb-moment-card {
        flex: 0 0 calc(100%);
    }
}

.rb-moment-card__image-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.rb-moment-card__image-wrap img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    aspect-ratio: 1 / 1;
}

.rb-moment-card:hover .rb-moment-card__image-wrap img {
    transform: scale(1.05);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.rb-testimonials {
    background-color: var(--rb-heading);
    /* Dark background */
    overflow: hidden;
}

.rb-testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.rb-testimonials-slider::-webkit-scrollbar {
    display: none;
}

.rb-testimonial-card {
    flex: 0 0 calc(25% - 22.5px);
    scroll-snap-align: start;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1199.98px) {
    .rb-testimonial-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 991.98px) {
    .rb-testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 767.98px) {
    .rb-testimonial-card {
        flex: 0 0 calc(100%);
    }
}

.rb-testimonial-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.rb-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-testimonial-card__name {
    font-family: var(--rb-font-body);
    font-weight: 700;
    /* Bold */
    font-size: 16px;
    line-height: 24px;
    color: var(--rb-white);
    margin-bottom: 5px;
    text-align: center;
}

.rb-testimonial-card__subtitle {
    font-family: var(--rb-font-body);
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.5px;
    color: #757575;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.rb-testimonial-card__stars {
    display: flex;
    gap: 0px;
    margin-bottom: 20px;
}

.rb-testimonial-card__text {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0;
}

/* Arrows for Testimonials */
.rb-testimonial-arrow {
    width: 56px;
    height: 56px;
    background: transparent;
    border: 1px solid var(--rb-highlight);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.rb-testimonial-arrow svg path {
    stroke: rgba(255, 255, 255, 0.5);
    transition: stroke 0.3s ease;
}

.rb-testimonial-arrow:hover {
    background-color: var(--rb-highlight);
    border-color: var(--rb-highlight);
}

.rb-testimonial-arrow:hover svg path {
    stroke: var(--rb-white);
    fill: var(--rb-white);
}

/* Light Theme Override for Testimonials */
.rb-testimonials-light {
    background-color: var(--rb-white, #fff);
}

.rb-testimonials-light .rb-testimonial-card {
    background-color: #F5F5F5;
    border: none;
}

.rb-testimonials-light .rb-testimonial-card__name {
    color: var(--rb-heading);
}

.rb-testimonials-light .rb-testimonial-card__text {
    color: var(--rb-body);
}

.rb-testimonials-light .rb-testimonial-arrow {
    background-color: var(--rb-heading);
    border-color: var(--rb-heading);
}

.rb-testimonials-light .rb-testimonial-arrow svg path {
    stroke: var(--rb-white);
}

.rb-testimonials-light .rb-testimonial-arrow:hover {
    background-color: var(--rb-highlight);
    border-color: var(--rb-highlight);
}


/* ==========================================================================
   BLOGS SECTION
   ========================================================================== */
.rb-blog-card__title {
    color: var(--rb-white);
}

.rb-blog-card {
    flex: 0 0 calc(31.33%);
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
}

.rb-blogs .rb-projects-slider {
    gap: 3%;
}

@media (max-width: 1199.98px) {
    .rb-blog-card {
        flex: 0 0 calc(48.5%);
    }
}

@media (max-width: 991.98px) {
    .rb-blog-card {
        flex: 0 0 calc(48.5%);
    }
}

@media (max-width: 767.98px) {
    .rb-blog-card {
        flex: 0 0 calc(100%);
    }
}

.rb-blog-card__image-wrap {
    overflow: hidden;
    width: 100%;
    margin-bottom: 30px;
}

.rb-blog-card__image-wrap img {
    transition: transform 0.5s ease;
    aspect-ratio: 16 / 10;
}

.rb-blog-card:hover .rb-blog-card__image-wrap img {
    transform: scale(1.05);
}

.rb-blog-card__date {
    font-family: var(--rb-font-body);
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 1px;
    color: #757575;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
}

.rb-blog-card__title {
    font-family: var(--rb-font-heading);
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color: var(--rb-white);
    margin-bottom: 32px;
}

.rb-blog-card__read-more {
    font-family: var(--rb-font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 16.5px;
    letter-spacing: 1.1px;
    color: var(--rb-highlight);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    transition: color 0.3s ease;
}

.rb-blog-card__read-more:hover {
    color: var(--rb-white);
}

.rb-blog-card__read-more svg path {
    transition: stroke 0.3s ease;
    fill: var(--rb-highlight);
}

.rb-blog-card__read-more:hover svg path {
    stroke: var(--rb-white);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.rb-faq-desc {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: clamp(22px, 1.5vw, 34px);
    color: var(--rb-body);
    width: 359px;
    max-width:100%;
}

.rb-faq-accordion .accordion-item {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.rb-faq-btn {
    font-family: var(--rb-font-heading);
    font-weight: 500;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: clamp(23px, 1.5vw, 28px);
    color: var(--rb-heading);
    padding: 24px 0 !important;
}

.rb-faq-btn:focus {
    box-shadow: none;
}

.rb-faq-btn:not(.collapsed) {
    color: var(--rb-highlight);
    background-color: transparent;
    box-shadow: none;
}

.rb-faq-btn::after {
    content: "+";
    background-image: none !important;
    font-family: var(--rb-font-body);
    font-size: 28px;
    font-weight: 300;
    color: var(--rb-highlight);
    width: auto;
    height: auto;
    line-height: 1;
    margin-left: auto;
    transition: transform 0.2s ease-in-out;
}

.rb-faq-btn:not(.collapsed)::after {
    content: "-";
    background-image: none !important;
    transform: none;
}

.rb-faq-body {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(24px, 1.5vw, 34px);
    color: var(--rb-body);
}

/* ==========================================================================
   CONTACT US SECTION
   ========================================================================== */
.rb-contact-title {
    font-family: var(--rb-font-heading);
    font-weight: 600;
    /* SemiBold */
    font-size: clamp(30px, 3vw, 64px);
    line-height: clamp(30px, 3vw, 80px);
}

.contact-form-row p,
.rb-contact-form p {
    margin: 0px;
}

.rb-contact-desc {
    font-family: var(--rb-font-body);
    font-weight: 400;
    /* Regular */
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: clamp(24px, 3.5vw, 34px);
}

.rb-contact-info__title {
    font-family: var(--rb-font-body);
    font-weight: 600;
    /* SemiBold */
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(16.5px, 1.5vw, 20px);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.rb-contact-info__phone {
    font-family: var(--rb-font-heading);
    font-weight: 500;
    /* Medium */
    font-size: clamp(24px, 3vw, 30px);
    line-height: clamp(30px, 4vw, 36px);
}

.rb-contact-info__hours {
    font-family: var(--rb-font-body);
    font-weight: 400;
    /* Regular */
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(18px, 2.1.5vw, 22px);
}

.rb-contact-form-box {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.rb-contact-form__title {
    font-family: var(--rb-font-heading);
    font-weight: 500;
    /* Medium */
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1;
    /* 100% */
    color: var(--rb-heading);
}

.rb-form-label {
    font-family: var(--rb-font-body);
    font-weight: 600;
    /* SemiBold */
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(16.5px, 1.5vw, 20px);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rb-heading);
    margin-bottom: 8px;
}

.rb-form-control {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(16.5px, 1.5vw, 20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* 1px solid #0000001A */
    padding: 16px 20px;
    border-radius: 0;
    color: var(--rb-heading);
}

.rb-form-control::placeholder {
    color: #999;
}

.rb-form-control:focus {
    border-color: var(--rb-highlight);
    box-shadow: none;
}

.rb-form-submit {
    background-color: var(--rb-heading);
    color: var(--rb-white);
    font-family: var(--rb-font-body);
    font-weight: 700;
    /* Bold */
    font-size: 14px;
    line-height: 16.5px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding: 22px;
    border-radius: 0;
    border: none;
    transition: background-color 0.3s ease;
}

.rb-form-submit:hover {
    background-color: var(--rb-highlight);
    color: var(--rb-white);
}

.rb-form-submit svg path {
    transition: stroke 0.3s ease;
}

.rb-form-submit:hover svg path {
    stroke: var(--rb-white);
}

/* About Us Divider */
.rb-about__divider {
    width: 100px;
    border: 1px solid var(--rb-highlight);
    margin-top: 30px;
    margin-bottom: 40px;
}

.rb-people-behind-section__text-wrap {
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(24px, 2.5vw, 34px);
}

.rb-philosophy__quote-wrap {
    border-left: 4px solid var(--rb-highlight);
    padding-left: 30px;
    margin-bottom: 40px !important;
    margin-top: 30px;
}


.rb-philosophy__quote-wrap p {
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: clamp(16px, 1.5vw, 24px);
    color: #1c1c1c;
}

/* ==========================================================================
   WE ENSURE SECTION
   ========================================================================== */

.rb-ensure-list {
    position: relative;
}

.rb-ensure-list::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 30px;
    bottom: 40px;
    width: 1px;
    border-left: 1px dashed rgba(251, 131, 28, 0.4);
    z-index: 1;
}

.rb-ensure-item {
    position: relative;
    margin-bottom: 50px;
}

.rb-ensure-item:last-child {
    margin-bottom: 0;
}

.rb-ensure-number {
    font-family: var(--rb-font-heading);
    font-weight: 400;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: clamp(24px, 1.5vw, 32px);
    color: var(--rb-body);
    position: relative;
    z-index: 2;
    /* background-color: var(--rb-white, #fff); */
    padding-bottom: 15px;
}

.rb-ensure-content h3 {
    font-family: var(--rb-font-heading);
    font-weight: 400;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: clamp(24px, 1.5vw, 32px);
    color: var(--rb-heading);
    margin-bottom: 20px;
}

.rb-ensure-content p {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(12px, 1.5vw, 16px);
    line-height: clamp(18px, 1.5vw, 26px);
    color: var(--rb-body);
}

/* ==========================================================================
   CARE COVER SECTION
   ========================================================================== */

.rb-care-section-title {
    font-family: var(--rb-font-heading);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 600;
    color: var(--rb-heading);
}

.rb-care-section-title em {
    font-style: normal;
    color: var(--rb-highlight);
}

.rb-care-card {
    background: #fafafa;
    border: 1px solid #f2dbca;
    padding: 40px;
    height: 100%;
}

.rb-care-card__title {
    font-family: var(--rb-font-heading);
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: var(--rb-heading);
    margin-top: 20px;
    margin-bottom: 15px;
}

.rb-care-card__text {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #757575;
}


.rb-care-card__large-icon {
    opacity: 0.4;
    position: absolute;
    right: 40px;
}


/* ==========================================================================
   GALLERY PAGE
   ========================================================================== */

/* ── Hero Banner ─────────────────────────────────── */
.rb-gallery-hero {
    position: relative;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    background-color: var(--rb-heading);
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

.rb-gallery-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.20) 0%,
            rgba(0, 0, 0, 0.60) 100%);
    pointer-events: none;
}

.rb-gallery-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.rb-gallery-hero__title {
    font-family: var(--rb-font-heading);
    font-weight: 400;
    font-size: clamp(44px, 7vw, 80px);
    line-height: 1;
    letter-spacing: -2px;
    text-align: center;
    text-transform: uppercase;
    color: var(--rb-white);
    margin-bottom: 24px;
}

.rb-gallery-hero__sub {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    line-height: clamp(20px, 2vw, 32.5px);
    letter-spacing: 0;
    text-align: center;
    color: var(--rb-white-85);
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 0;
}

/* ── Gallery/Video Tabs ──────────────────────────── */
.rb-gallery-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0;
}

.rb-gallery-tab {
    font-family: var(--rb-font-body);
    font-weight: 600;
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: clamp(20px, 2vw, 32.5px);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rb-body);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0 0 16px;
    cursor: pointer;
    transition: color .25s, border-color .25s;
    margin-bottom: -1px;
}

.rb-gallery-tab:hover {
    color: var(--rb-highlight);
}

.rb-gallery-tab.active {
    color: var(--rb-highlight);
    border-bottom-color: var(--rb-highlight);
}

/* ── Panel visibility ────────────────────────────── */
.rb-gallery-panel {
    display: none;
}

.rb-gallery-panel.active {
    display: block;
}

/* ── Per-Post Photo Tabs (pill filter) ──────────── */
.rb-photo-tabs-wrap {
    position: relative;
    margin-bottom: 48px;
}

.rb-photo-tabs-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 1.5px solid var(--rb-highlight);
    border-radius: 50px;
    padding: 12px 20px;
    font-family: var(--rb-font-body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--rb-highlight);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rb-photo-tabs-toggle__icon {
    transition: transform 0.3s ease;
}

.rb-photo-tabs.is-open {
    /* To be handled in responsive.css */
}

.rb-photo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 10px;
    margin-bottom: 48px;
    padding: 0px 32px 28px;
    border-radius: 8px;
    background: #fff;
    justify-content: center;
}

.rb-photo-tab {
    font-family: var(--rb-font-body);
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--rb-font-body);
    background: transparent;
    border: 1.5px solid #d0d0d0;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background .22s, color .22s, border-color .22s;
    white-space: nowrap;
}

.rb-photo-tab:hover {
    border-color: var(--rb-highlight);
    color: var(--rb-highlight);
}

.rb-photo-tab.active {
    background: var(--rb-highlight);
    color: #fff;
    border-color: var(--rb-highlight);
}

/* ── Photo Panel ─────────────────────────────────── */
.rb-photo-panel {
    display: none;
}

.rb-photo-panel.active {
    display: block;
}

/* ── Group Section Heading ───────────────────────── */
.rb-gallery-group-header {
    padding-bottom: 20px;
    margin-bottom: 32px;
}

.rb-gallery-group-title {
    font-family: var(--rb-font-heading);
    font-weight: 600;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: clamp(32px, 2.5px, 48px);
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--rb-heading);
    margin-bottom: 0;
}

.rb-gallery-group-title em {
    color: var(--rb-highlight);
    font-style: normal;
}

/* ── Image Grid ──────────────────────────────────── */
.rb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 80px;
}

.rb-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: zoom-in;
    aspect-ratio: 9/14;
    background: #f5f5f5;
}

.rb-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.rb-gallery-item:hover .rb-gallery-img {
    transform: scale(1.07);
}

.rb-gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 28, 28, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.rb-gallery-item:hover .rb-gallery-item__overlay {
    opacity: 1;
}

/* ── Lightbox ────────────────────────────────────── */
.rb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-lightbox[hidden] {
    display: none;
}

.rb-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    cursor: pointer;
}

.rb-lightbox__wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
    box-sizing: border-box;
}

.rb-lightbox__img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-lightbox__img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    display: block;
}

.rb-lightbox__close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    opacity: 0.8;
    transition: opacity .2s;
    padding: 0;
}

.rb-lightbox__close:hover {
    opacity: 1;
}

.rb-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .25s;
    z-index: 2;
}

.rb-lightbox__nav:hover {
    background: var(--rb-highlight);
    border-color: var(--rb-highlight);
}

.rb-lightbox__prev {
    left: 20px;
}

.rb-lightbox__next {
    right: 20px;
}

.rb-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--rb-font-body);
    font-size: 14px;
    letter-spacing: 1px;
}

/* Contact Page Specific Styles */
.contact-hero-intro {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(22px, 1.5vw, 28px);
    color: var(--rb-body);
}

.contact-address-text {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(26px, 1.5vw, 34px);
    color: var(--rb-body);
}

.contact-label {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: clamp(14px, 1.5vw, 16.5px);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rb-body);
}

.contact-value {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(16.5px, 1.5vw, 34px);
    color: var(--rb-heading);
    text-decoration: none;
}

.contact-hours {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(16.5px, 1.5vw, 20px);
    color: #1c1c1c;
}

.contact-follow {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(16.5px, 1.5vw, 16.5px);
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--rb-highlight);
}

.contact-side-img img {
    width: 400px;
}

/* Locations Section */
.rb-location-card {
    background: var(--rb-white);
    box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
    height: 100%;
}

.rb-location-flag {
    width: 32px;
    height: auto;
}

.rb-location-title {
    font-family: var(--rb-font-heading);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: clamp(28px, 2.5vw, 40px);
    color: var(--rb-heading);
}

.rb-location-address {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: 16px;
    line-height: 24px;
    color: var(--rb-body);
    min-height: 0px;
}

.rb-location-hr {
    background-color: #DBC2B0;
    height: 1px;
    border: none;
    margin: 20px 0;
    opacity: 1;
}

.rb-location-phone {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-bold);
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(18px, 1.5vw, 26px);
    letter-spacing: 0.7px;
    color: var(--rb-heading);
    text-decoration: none;
}

.rb-location-phone:hover {
    color: var(--rb-highlight);
}

.rb-google-map {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Careers Page - Why Join Us */
.rb-career-card {
    background: #F9F9F9;
    border: 0.5px solid var(--rb-highlight);
    padding: 40px;
    height: 100%;
}

.rb-career-icon-wrap {
    width: 48px;
    height: 48px;
    background: #EEEEEE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-career-icon {
    width: 24px;
    height: 24px;
}

.rb-career-title {
    font-family: var(--rb-font-heading);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(18px, 2vw, 24px);
    line-height: clamp(24px, 2vw, 32px);
    color: var(--rb-heading);
}

.rb-career-desc {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(18px, 2vw, 24px);
    color: var(--rb-body);
}

/* Careers Page - Apply Now Form */
.rb-upload-cv-box {
    border: 1px solid #EBEBEB;
    background-color: var(--rb-white);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.rb-upload-cv-box:hover {
    border-color: var(--rb-highlight);
}

.rb-upload-text {
    font-family: var(--rb-font-body);
    font-size: 14px;
    color: var(--rb-body);
}

.rb-upload-hint {
    font-family: var(--rb-font-body);
    font-size: 11px;
    color: #A0A0A0;
    text-transform: uppercase;
}

.rb-upload-cv-label {
    cursor: pointer;
}

.rb-upload-cv-box {
    cursor: pointer;
    box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rb-upload-cv-box .wpcf7-form-control-wrap {
    position: static;
}

.rb-upload-cv-box .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    margin-top: 10px;
    display: block;
    width: 100%;
    order: 10;
}

.rb-contact-form-box {
    box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Checkbox Styles */
.rb-form-check-input {
    border-radius: 0px !important;
    border-color: #000000;
    margin-top: 3px;
    margin-right: 12px;
    width: 20px;
    height: 20px;
}

.rb-form-check-label {
    font-family: var(--rb-font-body);
    font-size: 14px;
    color: var(--rb-body);
}

/* Form Submit Button */
.rb-contact-form .rb-form-submit {
    background: #1C1C1C;
    color: #FFF;
    border-radius: 4px;
    padding: 20px;
    font-weight: 700;
    font-family: var(--rb-font-body);
    letter-spacing: 1px;
    font-size: 14px;
}

.rb-contact-form .rb-form-submit:hover {
    background: var(--rb-highlight);
    color: #FFF;
}
.repocean-slider-main-v2 .repocean-content-wrapper {
    max-width: 100%!important;
}
.repocean-slider-main-v2 .repocean-content-wrapper p{
    color: #ffffff!important;
}
/* Thank You Page */

.rb-thankyou-desc p {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.6;
    color: var(--rb-body);
}

.rb-thankyou-img-wrapper {
    height: 600px;
    width: 100%;
}

/* ==========================================================================
   SINGLE PROJECT PAGE
   ========================================================================== */

.rb-single-project {
    background: #fff;
}

/* ── Breadcrumb ─────────────────────────────────── */
.rb-project-breadcrumb {
    font-family: var(--rb-font-body);
    font-size: 13px;
    color: var(--rb-body);
}

.rb-project-breadcrumb a {
    color: var(--rb-body);
    text-decoration: none;
}

.rb-project-breadcrumb a:hover {
    color: var(--rb-highlight);
}

/* ── Project Main Title ─────────────────────────── */
.rb-project-main-title {
    color: var(--rb-heading);
}

.rb-project-main-title em {
    color: var(--rb-highlight);
}

/* ── Project Excerpt ────────────────────────────── */
.rb-project-excerpt {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    color: var(--rb-body);
    margin-bottom: 40px;
}

.rb-project-excerpt p {
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(28px, 2vw, 34px);
}

/* ── Hero Image ─────────────────────────────────── */
.rb-project-hero-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.rb-project-hero-img {
    width: 100%;
    height: clamp(340px, 60vw, 520px);
    object-fit: cover;
    display: block;
}

.rb-project-hero-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rb-project-hero-label__name {
    font-family: var(--rb-font-heading);
    font-size: clamp(17px, 2vw, 22px);
    font-weight: var(--rb-font-weight-semi);
    color: #fff;
    letter-spacing: 0.3px;
}

.rb-project-hero-label__cat {
    font-family: var(--rb-font-body);
    font-size: 12px;
    font-weight: var(--rb-font-weight-medium);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Hero Thumbnails ────────────────────────────── */
.rb-project-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.rb-project-thumbs::-webkit-scrollbar {
    display: none;
}

.rb-gallery-thumb-btn {
    padding: 0;
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.rb-gallery-thumb-btn--active {
    border-color: var(--rb-highlight);
}

.rb-gallery-thumb-btn:hover {
    border-color: var(--rb-highlight);
    opacity: 0.9;
}

.rb-project-thumb-img {
    width: clamp(120px, 20vw, 170px);
    height: clamp(120px, 20vw, 170px);
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

.rb-gallery-widget__main {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

/* ── Details Section ────────────────────────────── */
.rb-project-section-sub {
    font-family: var(--rb-font-body);
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(22px, 1.5vw, 34px);
    color: var(--rb-body);
}

.rb-details-list {
    display: flex;
    flex-direction: column;
}

.rb-details-row {
    padding: 14px 20px;
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    box-shadow: 0px 1.83px 43.88px 0px #0000000D;
    margin-bottom: 20px;
}

.rb-details-label {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(22px, 1.5vw, 30px);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rb-body);
}

.rb-details-value {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: clamp(22px, 1.5vw, 32px);
    color: var(--rb-heading);
    margin-top: 6px;
    padding-left: 28px;
}

.rb-details-icon svg,
.rb-details-icon i {
    width: 20px !important;
    height: 20px !important;
    color: var(--rb-highlight);
    font-size: 18px;
}

/* ── Tab Navigation ─────────────────────────────── */
.rb-project-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 30;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 40px;
    justify-content: space-between
}

.rb-project-tab-btn {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-medium);
    font-size: clamp(13px, 1.5vw, 16px);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rb-body);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 14px 0px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    margin-bottom: -1px;
}

.rb-project-tab-btn:hover {
    color: var(--rb-highlight);
}

.rb-project-tab-btn.rb-tab-active {
    color: var(--rb-highlight);
    border-bottom-color: var(--rb-highlight);
    font-weight: var(--rb-font-weight-semi);
}

/* ── Tab Panels ─────────────────────────────────── */
.rb-tab-panel {
    display: none;
}

.rb-tab-panel--active {
    display: block;
}

/* ── Mobile Accordion ───────────────────────────── */
.rb-accordion-btn {
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 1.83px 43.88px 0px #0000000D;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-family: var(--rb-font-body);
    font-size: clamp(14px, 1.5vw, 16px);
    letter-spacing: 2px;
    font-weight: var(--rb-font-weight-semi);
    color: var(--rb-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.rb-accordion-btn.rb-accordion-active {
    color: var(--rb-highlight);
    border-color: var(--rb-highlight);
    margin-bottom: 0;
    border-bottom: none;
}

.rb-accordion-icon {
    transition: transform 0.3s ease;
    color: var(--rb-highlight);
}

.rb-accordion-btn.rb-accordion-active .rb-accordion-icon {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .rb-tab-panel--active {
        border: 1px solid var(--rb-highlight);
        border-top: none;
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* ── Specifications ─────────────────────────────── */
.rb-specs-list {
    display: flex;
    flex-direction: column;
}

.rb-spec-item {
    padding: 20px;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 1.83px 43.88px 0px #0000000D;
    margin-bottom: 20px;
}

.rb-spec-title {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: clamp(22px, 1.5vw, 32px);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rb-heading);
}

.rb-spec-content {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(22px, 1.5vw, 30px);
    color: var(--rb-body);
    margin-top: 8px;
}

.rb-spec-icon svg,
.rb-spec-icon i {
    width: 24px !important;
    height: 24px !important;
    color: var(--rb-highlight);
    font-size: 24px;
}

/* ── Amenities ──────────────────────────────────── */
.rb-amenities-list {
    display: flex;
    flex-direction: column;
}

.rb-amenity-item {
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 1.83px 43.88px 0px #0000000D;
    margin-bottom: 14px;
}


.rb-amenity-title {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: clamp(18px, 1.5vw, 24px);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rb-heading);
}

.rb-amenity-icon svg,
.rb-amenity-icon i {
    width: 24px !important;
    height: 24px !important;
    color: var(--rb-highlight);
    font-size: 20px;
}

/* ── Easy Access ────────────────────────────────── */
.rb-easy-access-list {
    display: flex;
    flex-direction: column;
}

.rb-easy-access-row {
    padding: 12px 20px;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 1.83px 43.88px 0px #0000000D;
    margin-bottom: 14px;
    width: 450px;
    max-width: 100%;
}

.rb-ea-title {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-regular);
    font-size: 16px;
    line-height: 24px;
    color: var(--rb-heading);
}

.rb-ea-dist {
    font-family: var(--rb-font-body);
    font-weight: var(--rb-font-weight-bold);
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: clamp(18px, 1.5vw, 24px);
    color: var(--rb-heading);
    min-width: 60px;
    text-align: right;
}

.rb-ea-icon svg,
.rb-ea-icon i {
    width: 22px !important;
    height: 22px !important;
    color: var(--rb-highlight);
    font-size: 18px;
}

/* ── Plan Gallery ───────────────────────────────── */
.rb-plan-item {
    overflow: hidden;
    border: 1px solid #EBEBEB;
    display: block;
    position: relative;
}

.rb-plan-item img {
    transition: transform 0.35s ease;
    height: 420px;
    object-fit: contain;
    background: #fafafa;
}

.rb-plan-item:hover img {
    transform: scale(1.04);
}

/* ── Lightbox zoom icon overlay ─────────────────── */
.rb-tab-lightbox {
    position: relative;
    display: block;
    overflow: hidden;
}

.rb-lightbox-zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.rb-lightbox-zoom-icon svg {
    width: 16px;
    height: 16px;
    color: var(--rb-highlight);
    stroke: var(--rb-highlight);
}

.rb-tab-lightbox:hover .rb-lightbox-zoom-icon {
    opacity: 1;
}

/* ── Map ────────────────────────────────────────── */
.rb-project-map-wrap {
    border-radius: 2px;
    overflow: hidden;
}

.rb-project-map {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
}

/* ── QR Code ────────────────────────────────────── */
.rb-qr-img {
    max-width: 260px;
    width: 100%;
    border: 1px solid #EBEBEB;
    padding: 16px;
    background: #fff;
}

/* ── Status Gallery ─────────────────────────────── */
.rb-status-gallery-item {
    overflow: hidden;
    height: 320px;
    background: #f5f5f5;
}

.rb-status-gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rb-status-gallery-item:hover img {
    transform: scale(1.04);
}

/* ── Related Projects ───────────────────────────── */
.rb-related-projects {
    background: #fafafa;
}

.rb-related-title {
    font-family: var(--rb-font-heading);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: var(--rb-font-weight-bold);
    color: var(--rb-heading);
}

.rb-related-title span {
    color: var(--rb-highlight);
}

.rb-related-card {
    background: #fff;
    padding: 20px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rb-related-card__img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.rb-related-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rb-related-card:hover .rb-related-card__img-wrap img {
    transform: scale(1.05);
}

.rb-related-card__content {
    padding: 24px 10px 10px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rb-related-card__title {
    font-family: var(--rb-font-heading);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: clamp(22px, 1.5vw, 28px);
    font-weight: var(--rb-font-weight-regular);
    letter-spacing: 0px;
    color: var(--rb-heading);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.rb-related-card__link {
    font-family: var(--rb-font-body);
    font-size: 14px;
    font-weight: var(--rb-font-weight-regular);
    line-height: 16px;
    letter-spacing: 1px;
    color: var(--rb-highlight);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s ease-in-out;
}

.rb-related-card__link svg {
    width: 12px !important;
    height: 12px !important;
    fill: var(--rb-highlight);
}

.rb-related-card__link svg path {
    fill: var(--rb-highlight);
}

.rb-related-card__link:hover {
    font-weight: var(--rb-font-weight-semi);
    font-size: 15px;
}

/* ============================================================
   PROJECTS TEMPLATE (template-project.php)
============================================================ */

/* ── Badges ───────────────────────────────────── */
.rb-ongoing-badge,
.rb-completed-badge {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #F2F2F2;
    border: 0.5px solid #FB831C;
    padding: 6px 12px;
    display: inline-block;
    color: var(--rb-heading);
    /* Or brand color if needed */
}

/* ── Ongoing Card (Grid) ───────────────────────── */
.rb-ongoing-card {
    background: #FFFFFF;
    border: 0.5px solid #757575;
    box-shadow: 0px 1.83px 43.88px 0px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rb-ongoing-card__img-wrap {
    position: relative;
    width: 100%;
    height: 280px;
}

.rb-ongoing-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-ongoing-card__img-wrap .rb-ongoing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.rb-ongoing-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rb-ongoing-card__title {
    font-family: var(--rb-font-heading);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: clamp(24px, 1.5vw, 32px);
    color: var(--rb-heading);
    margin-bottom: 12px;
}

.rb-ongoing-card__desc {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: clamp(18px, 1.5vw, 24px);
    color: var(--rb-text);
    margin-bottom: 24px;
    flex-grow: 1;
}

.rb-ongoing-card__actions {
    margin-top: auto;
}

.rb-ongoing-card__actions .btn {
    padding: 12px 16px;
    font-size: 13px;
    display: flex;
    height: 45px;
    overflow: hidden;
    font-weight: 500;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}

.rb-ongoing-card__actions .btn svg {
    font-size: 18px;
    width: 18px;
    height: 18px;
    transition: all 0.4s ease-in-out;
}

.rb-ongoing-card__actions .btn:hover svg {
    font-size: 20px;
    width: 20px;
    height: 20px;
    transition: all 0.4s ease-in-out;
}

/* ── Completed Row ─────────────────────────────── */
.rb-completed-row {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    padding: 30px;
    position: relative;
    box-shadow: 0px 1.83px 43.88px 0px #0000000D;
    transition: box-shadow 0.3s ease;
}

.rb-completed-row:hover {
    box-shadow: 0px 1.83px 43.88px 0px rgba(0, 0, 0, 0.05);
}

.rb-completed-row__title {
    font-family: var(--rb-font-heading);
    font-weight: var(--rb-font-weight-semi);
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: clamp(24px, 1.5vw, 32px);
    color: var(--rb-heading);
}

.rb-completed-row__desc {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(20px, 1.5vw, 32px);
    color: var(--rb-text);
    margin-top: 16px !important;
}

/* Mobile Slider for Related Projects */

/* WhatsApp Floating Bubble */
.rb-whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.rb-whatsapp-bubble.shifted-up {
    bottom: 70px;
}

.rb-whatsapp-bubble:hover {
    background-color: #1ebe57;
    color: white;
    transform: scale(1.1);
}

.rb-whatsapp-bubble svg {
    width: 24px;
    height: 24px;
    margin-top: 1px;
}

@media (max-width: 767.98px) {
    .rb-whatsapp-bubble {
        bottom: 20px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .rb-whatsapp-bubble.shifted-up {
        bottom: 70px;
    }

    .rb-whatsapp-bubble svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================================
   Scroll To Top Button
   ========================================================================== */
 /* Gallery Slider Arrows */
.rb-gallery-widget__main.position-relative {
    position: relative;
}
.rb-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, color 0.3s ease;
    color: #333;
}
.rb-gallery-arrow:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--rb-highlight, #ff9900);
}
.rb-gallery-prev {
    left: 15px;
}
.rb-gallery-next {
    right: 15px;
}

.rb-scroll-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.rb-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rb-scroll-top:hover {
    background-color: #333;
    transform: translateY(0) scale(1.1);
}

@media (max-width: 767.98px) {
    .rb-scroll-top {
        bottom: 20px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}