:root {
    --primary-blue: #1B365D;
    --accent-orange: #FDB813;
    --light-gray: #f8f9fa;
}

body {
    animation: fadeInPage 1s ease-in-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}
/* The hidden state */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* The visible state triggered by JS */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for a "staggered" look */
.d-1 {
    transition-delay: 0.1s;
}
.d-2 {
    transition-delay: 0.2s;
}
.d-3 {
    transition-delay: 0.3s;
}
.d-4 {
    transition-delay: 0.4s;
}
.d-5 {
    transition-delay: 0.5s;
}
.d-6 {
    transition-delay: 0.6s;
}
.d-7 {
    transition-delay: 0.7s;
}
.d-8 {
    transition-delay: 0.8s;
}

/* The base class for the reveal */
.reveal-text-lr {
    display: inline-block;
    position: relative;
    color: rgba(27, 54, 93, 0.1);
    /* Base "ghost" color before reveal (Navy) */
    background: linear-gradient(to right, #1B365D 50%, rgba(27, 54, 93, 0.1) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* When the section becomes visible */
.reveal-text-lr.visible {
    background-position: 0 0;
}

/* Optional: Add an orange accent for the first word */
.reveal-text-lr span {
    color: #FDB813;
    -webkit-text-fill-color: #FDB813;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(0px);
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border: 1px solid #FDB813;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Make the icon "pop" on hover */
.benefit-card:hover i {
    transform: rotate(-10deg) scale(1.2);
    color: #FDB813 !important;
    transition: transform 0.3s ease;
}

.benefit-card-1 {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(0px);
    border: 1px solid transparent;
    transition: all 0.4s ease;
}

.benefit-card-1:hover {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border: 1px solid #1B365D;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Make the icon "pop" on hover */
.benefit-card-1:hover i {
    transform: rotate(-10deg) scale(1.2);
    color: #1B365D !important;
    background: #cfddf1;
    transition: transform 0.3s ease;
}

.btn-color {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* The Shimmer effect */
.btn-color::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-color:hover::before {
    left: 150%;
}

.btn-color:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.3) !important;
}

#preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    /* Extremely high to stay on top */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Spinner Style */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(27, 54, 93, 0.1);
    border-top: 5px solid #1B365D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Container for alignment */
.pxs-chips {
    z-index: 10;
    position: relative;
}

/* Individual Chip Style */
.pxs-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    /* Translucent white */
    backdrop-filter: blur(10px);
    /* Blur effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    /* Pill shape */
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
}

/* Hover effect */
.pxs-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FDB813;
    /* Turns orange on hover */
    transform: translateY(-2px);
}

/* The Animated Orange Dot */
.pxs-cdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FDB813;
    /* Your brand orange */
    flex-shrink: 0;
    position: relative;
    animation: cdotPulse 2s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes cdotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 106, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    /* Adjust based on your logo size */
    display: block;
    margin: 0 auto;
}

.parallax-veil::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

/* Modern Spinner using your brand Navy */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(27, 54, 93, 0.1);
    border-top: 5px solid #1B365D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-logo {
    width: 200px;
    display: block;
    margin: 0 auto 10px;
}

.loader-text {
    color: #1B365D;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Class to trigger fade out */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.btn-color {
    background-color: #FDB813 !important;
    background: linear-gradient(rgb(247, 183, 33), rgba(238, 111, 13, 0.977));
    border: none !important;
    color: #fff !important;
    transition: 0.3s ease;
}

.view-details {
    background-color: #FDB813 !important;
    background: linear-gradient(rgb(247, 183, 33), rgba(238, 111, 13, 0.977));
    border: none !important;
    color: #fff !important;
    transition: 0.3s ease;
    padding: 6px;
    border-radius: 6px;

}

/* Navbar Customization */
.navbar {
    background-color: transparent !important;
    background: linear-gradient(rgb(252, 251, 251), rgba(245, 237, 237, 0.977));
}
.nav-link {
    color: #1B365D !important;
    margin: 0 10px;
}
.nav-link:hover {
    color: #FDB813 !important;
}
.navbar-brand img {
    max-height: 70px;
    /* Adjust based on logo visibility */
    transition: 0.3s ease;
}

#mainNavbar.scrolled .navbar-brand img {
    max-height: 55px;
    /* Shrink logo on scroll */
}

/* Base style for nav links */
.nav-link {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* The Orange Slash/Underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #FDB813;
    /* Your brand orange */
    transition: width 0.3s ease;
}

/* Show slash on Hover */
.nav-link:hover::after {
    width: 100%;
}

/* The Active State (The fixed orange slash) */
.nav-link.active::after {
    width: 100%;
}

/* Optional: Change text color when active */
.nav-link.active {
    color: #FDB813 !important;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #1B365D;
}

/* Force uniform card sizes */
.benefit-card,
.facility-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers content vertically */
    align-items: center;
    /* Centers content horizontally */
    height: 100%;
    /* Makes card fill the column height */
    min-height: 140px;
    /* Sets a consistent base height */
    text-align: center;
    padding: 20px !important;
}

/* Ensure the Bootstrap row handles heights correctly */
.row.g-3 {
    display: flex;
    flex-wrap: wrap;
}

.col-6.col-md-3 {
    display: flex;
    /* Makes the column a flex container */
}

.highlight-auto {
    /* Uses your brand orange for the highlight */
    background-image: linear-gradient(rgb(247, 183, 33), rgba(238, 111, 13, 0.977));
    background-repeat: no-repeat;
    background-size: 0 100%;
    background-position: 0 90%;
    /* Adjust this to move highlight up/down */

    /* Animation settings */
    animation: drawHighlight 1.5s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
    animation-delay: 0.5s;
    /* Starts slightly after page load */

    padding: 2px 4px;
    display: inline-block;
    font-weight: 600;
}

/* Center the underline for the section header */
.section-title {
    position: relative;
    padding-bottom: 15px;
    /* Space between text and line */
}

.section-title span::after {
    content: '';
    position: absolute;
    width: 60px;
    /* Length of the line */
    height: 4px;
    /* Thickness of the line */
    background: #FDB813;
    /* Your brand orange */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* Keeps it perfectly centered */
    border-radius: 2px;
}

.pg-size {
    font-size: 0.8rem;
}
.vertical-line {
    border-left: 3px solid rgb(243, 234, 234);
    /* Creates a solid black line 3px thick */
    height: auto;
    /* Sets the length of the line */
}

/* Facility Icons */
.facility-card {
    padding: 20px;
    transition: 0.3s;
}
.facility-card i {
    color: #1B365D;
    font-size: 2rem;
    margin-bottom: 15px;
}
/* Custom Facility Card Styling */

.facility-card span {
    font-size: 1.1rem;
}
/* Update these styles in your <style> block */
.facility-card {
    padding: 20px;
}

.facility-card i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    /* Slightly smaller for mobile layout */
    height: 50px;
    background-color: #f1f6ff;
    border-radius: 10px;
    color: #1B365D !important;
    font-size: 1.5rem !important;
    flex-shrink: 0;
    /* Prevents icon from squishing */
}

/* Calendar Container */
.flatpickr-calendar {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    border: 1px solid #eee;
}

/* Day Names (Mon, Tue...) */
.flatpickr-weekday {
    color: #1B365D !important;
    /* Your Brand Navy */
    font-weight: bold;
}

/* Selected Day */
.flatpickr-day.selected {
    background: #ff6a00 !important;
    /* Your Brand Orange */
    border-color: #ff6a00 !important;
}

/* Hover Effect */
.flatpickr-day:hover {
    background: rgba(255, 106, 0, 0.1) !important;
}

.facility-card span {
    font-size: 0.9rem;
    /* Smaller text to ensure it fits on one line if possible */
    line-height: 1.2;
}

@media (min-width: 768px) {
    .facility-card i {
        width: 60px;
        height: 60px;
        font-size: 1.8rem !important;
    }
    .facility-card span {
        font-size: 1.1rem;
    }
}

/* Container for the effect */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 240px;
    /* Ensure this is tall enough for your content */
    perspective: 1000px;
    margin-bottom: 30px;
    /* Add spacing between cards on mobile */
}
/* The actual flipper */
.flip-card-inner {
    position: relative;
    /* Change from absolute if necessary, or keep parent height fixed */
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.recom {
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Hover trigger */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Common styles for both sides */
.flip-card-back,
.flip-card-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    padding: 15px;
    /* Added internal padding */
}

/* Front Side */
.flip-card-front {
    background-color: #fff;
    z-index: 2;
    /* Ensures front is on top initially */
}

/* Back Side */
.flip-card-back {
    background-color: white;
    color: white;
    transform: rotateY(180deg);
    /* This is the key: it's pre-rotated */
    z-index: 1;
}

@media (max-width: 768px) {
    /* Allow the flip card to be taller on mobile */
    .flip-card,
    .flip-card-back,
    .flip-card-front,
    .flip-card-inner {
        height: 280px !important;
        /* Increase this value until the button fits */
    }

    /* Adjust the font size slightly so it doesn't wrap as much */
    .flip-card-back ul li span {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Reduce margins on mobile to save space */
    .flip-card-back h5 {
        margin-bottom: 10px !important;
    }
    .flip-card-back ul {
        margin-bottom: 15px !important;
        margin-left: 10px !important;
        /* Move list left to give text more room */
    }
}
@media (max-width: 576px) {
    .flip-card {
        height: 240px;
    }
    .flip-card-back h5 {
        font-size: 1rem;
    }
    .flip-card-back ul {
        font-size: 0.8rem;
        margin-left: 10px !important;
    }
}
.border-bg-front {
    border-color: #FDB813;
    border-width: 2px;
}
.border-bg-back {
    border-color: #1B365D;
    border-width: 2px;
}
/* Community Card Styling */
.community-card {
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy Lift Effect */
}

.community-card img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* The Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    /* Fades into deep navy */
    color: white;
    padding: 30px 15px 15px;
    text-align: center;
    transform: translateY(10px);
    /* Small movement offset */
    opacity: 0.9;
    transition: all 0.4s ease;
}

.icon-size {
    gap: 20px;
}

/* Testimonials Styling */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-orange) !important;
    /* Matches RRC brand orange */
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-card img {
    border: 3px solid #f8f9fa;
}

.testimonial-card p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
    /* Stops scrolling on hover */
}

.testimonial-item {
    width: 350px;
    /* Fixed width for scrolling items */
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
    /* Scrolls half the width of the content */
}

/* Hover Effects */
.community-card:hover {
    transform: translateY(-12px);
    /* Lifts the card */
    box-shadow: 0 20px 40px rgba(0, 48, 91, 0.2) !important;
}

.community-card:hover img {
    transform: scale(1.1);
    /* Zooms the image */
}

.community-card:hover .card-overlay {
    background: transparent;
    /* Darkens on hover */
    transform: translateY(0);
}

.community-card h5 {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
/* Booking Section */
.booking-container {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
}

/* 1. Set the default outline state */
.btn-outline-primary {
    border-color: #1B365D !important;
    color: #1B365D !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* 2. Style the button when it is SELECTED (Checked) */
.btn-check:checked + .btn-outline-primary {
    background-color: #1B365D !important;
    border-color: #1B365D !important;
    color: #ffffff !important;
}

/* 3. Style the button on HOVER */
.btn-outline-primary:hover {
    background-color: #1B365D !important;
    border-color: #1B365D !important;
    color: #ffffff !important;
}

/* 4. Remove the default Bootstrap blue glow/shadow on focus */
.btn-check:focus + .btn-outline-primary,
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(27, 54, 93, 0.25) !important;
}

.btn-warning {
    background-color: var(--accent-orange);
    border: none;
    color: white;
    font-weight: bold;
}
.btn-warning:hover {
    background-color: #e67e22;
    color: white;
}

.btn-outline-light:hover {
    border-color: #1B365D !important;
    background-color: #1B365D !important;
    color: #FDB813 !important;
    transition: all 0.3s ease;
    box-shadow: #1B365D;
}

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
}

:root {
    --primary-blue: #00305b;
    /* Deep Navy (Headers/Footers) */
    --vibrant-blue: #1B365D;
    /* Icons/Links */
    --accent-orange: #ff6a00;
    /* Call to Action Buttons */
    --light-gray: #f8f9fa;
    /* Section Backgrounds */
}

/* Typography & Global Styles */
body {
    color: #212529;
}
h2,
h3 {
    color: var(--primary-blue);
    font-weight: 700;
}

.btn-warning {
    background-color: var(--accent-orange) !important;
    border: none !important;
    color: #fff !important;
    transition: 0.3s ease;
}

.btn-warning:hover {
    background-color: #e65c00 !important;
    transform: translateY(-2px);
}

.text-primary {
    color: var(--vibrant-blue) !important;
}

/* Matching Hero Size to removed background image */
#heroCarousel,
.carousel-bg,
.carousel-item {
    height: 70vh;
    /* Same size as previous hero */
    min-height: 500px;
}

.carousel-bg {
    background-size: cover;
    background-position: center;
    width: 100%;
}

/* Enhancing the fade transition */
.carousel-fade .carousel-item {
    transition-property: opacity;
}

/* Carousel Indicators Styling */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    /* RRC Brand Orange */
}

/* Gallery Item Base */
.gallery-item {
    height: 250px;
    /* Fixed height for a clean grid */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* The Transparent Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: Transparent at top, semi-black at bottom for text legibility */
    display: flex;
    align-items: end;
    /* Vertical Center */
    justify-content: left;
    /* Horizontal Center */
    padding: 16px;
    transition: background 0.3s ease;
}

.card-overlay h5 {
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    font-size: 1rem;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    /* Adds depth */
    margin: 0;
}

/* Hover Effects */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .card-overlay {
    background: transparent;
    /* Brand Blue transparency on hover */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    /* WhatsApp Green */
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    /* Pulsing effect */
    animation: pulse-green 2s infinite;
}

.whatsapp-float i {
    font-size: 24px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    /* Darker WhatsApp Green */
    color: white;
    transform: translateY(-5px);
}

/* Pulse Animation */
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Tweaks */
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }
    .float-text {
        display: none;
        /* Hide text on small screens, keep icon only */
    }
    .whatsapp-float {
        border-radius: 50%;
        width: 55px;
        height: 55px;
    }
}

/* Video Container Styling */
.video-container iframe {
    object-fit: cover;
    transform: scale(1.5);
    /* Prevents black bars on different aspect ratios */
}

.video-play-btn {
    width: 70px;
    height: 70px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 106, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
    }
}

.text-color {
    color: #FDB813 !important;
}

.text-color-1 {
    color: #1B365D !important;
}

li {
    list-style: none;
}

/* Define the drawing animation */
@keyframes drawHighlight {
    0% {
        background-size: 0 100%;
    }
    100% {
        background-size: 100% 100%;
    }
}

.highlight-auto {
    /* Uses your brand orange for the highlight */
    background-image: linear-gradient(rgb(27, 54, 93), rgb(27, 54, 93));
    background-repeat: no-repeat;
    background-size: 0 100%;
    background-position: 0 90%;
    /* Adjust this to move highlight up/down */

    /* Animation settings */
    animation: drawHighlight 1.5s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
    animation-delay: 0.5s;
    /* Starts slightly after page load */

    padding: 4px 6px;
    display: inline-block;
    font-weight: 600;
    border-radius: 18px;
}

.text-shadow {
    text-shadow: 4px 4px 4px rgba(0,0,0,0.5);
    color: rgb(255, 255, 255);
}

/* Styling for Desktop Icon view */
@media (min-width: 992px) {
    .nav-link i {
        font-size: 0.8rem;
        /* Makes icons slightly larger on desktop */
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .nav-link:hover i {
        color: #FDB813;
        /* Your brand orange */
        transform: scale(1.2);
        /* Slight pop effect */
    }

    /* Adjust the 'active' underline to work with icons */
    .nav-link.active::after {
        bottom: -10px;
    }
}

/* Styling for Mobile Text + Icon view */
@media (max-width: 991px) {
    .nav-link {
        font-size: 1.1rem;
        padding: 5px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link i {
        width: 30px;
        /* Aligns icons vertically in the drawer */
        color: #FDB813;
    }
}

@media (max-width: 767.98px) {
    /* Reduce the height of the carousel container */
    .carousel-item, 
    .carousel-bg {
        height: 70vh !important; /* vh = viewport height. 50vh is half the screen */
        min-height: 350px !important; /* Ensures it doesn't get too squashed */
    }

    /* Adjust the text size so it fits the smaller area */
    #heroCarousel h1, 
    #heroCarousel h2 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    #heroCarousel p, 
    #heroCarousel li {
        font-size: 0.9rem !important;
    }

    /* Make the padding smaller so content stays centered */
    .carousel-bg .container {
        padding-top: 20px;
    }

    /* Shrink buttons slightly for better fit */
    .btn-lg {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Specific fixes for iPhone 5/SE (320px width) */
@media (max-width: 320px) {
    /* 1. Global Container Padding */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* 2. Hero Carousel Adjustments */
    #heroCarousel {
        height: 60vh !important; /* Slightly taller on small screens to fit text */
    }
    
    #heroCarousel h1 {
        font-size: 1.4rem !important; /* Smaller headline */
        line-height: 1.2;
    }

    #heroCarousel .fs-5 {
        font-size: 0.85rem !important;
    }

    /* 3. Trust Chips (Make them wrap better) */
    .pxs-chips {
        gap: 8px !important;
    }
    
    .pxs-chip {
        padding: 6px 12px !important;
        font-size: 0.7rem !important;
    }

    /* 4. Grid System - Force 1 column if 2 columns look broken */
    .col-6 {
        width: 100% !important; /* Change cards from 2-per-row to 1-per-row */
        margin-bottom: 15px;
    }

    /* 5. Section Titles */
    .section-title span {
        font-size: 1.5rem !important;
    }

    /* 6. Gallery Items */
    .gallery-item {
        height: 180px !important;
    }

    /* 7. Floating Action Bar (Essential for iPhone 5) */
    .mobile-action-bar {
        width: 95% !important;
        padding: 8px 15px !important;
        bottom: 15px !important; /* Move it closer to edge */
    }

    .action-item i {
        font-size: 1rem !important;
    }

    /* 8. Booking Form Fixes */
    .booking-container {
        padding: 15px !important;
    }
    
    .form-control {
        font-size: 14px !important;
    }

    /* 9. Contact Section */
    #contact .p-5 {
        padding: 20px !important; /* Reduce the huge padding in the contact box */
    }

    /* 10. WhatsApp Button (Move it up so it doesn't hit the Action Bar) */
    .whatsapp-float {
        bottom: 80px !important;
        right: 15px !important;
    }
}

/* --- Custom Scrollbar for Chrome, Edge, and Safari --- */

/* 1. The width of the entire scrollbar */
::-webkit-scrollbar {
    width: 8px; /* Slimmer than default */
}

/* 2. The background of the scrollbar track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

/* 3. The actual draggable handle (The Thumb) */
::-webkit-scrollbar-thumb {
    background: #FDB813; /* Your brand orange */
    border-radius: 10px;
    border: 2px solid #f1f1f1; /* Creates a padding effect */
    transition: background 0.3s ease;
}

/* 4. Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #1B365D; /* Changes to Navy on hover */
}

/* --- Custom Scrollbar for Firefox --- */
html {
    scrollbar-width: thin;
    scrollbar-color: #fd9013 #f1f1f1;
}

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999; /* Above the navbar */
}

.scroll-progress-bar {
    height: 4px;
    background: #fd9013; /* Brand Orange */
    width: 0%; /* Initial width */
}

/* Floating Booking Button Base */
.booking-float {
    position: fixed;
    bottom: 100px; /* Positioned above the WhatsApp button (which is at 30px) */
    right: 30px;
    background: linear-gradient(rgb(247, 183, 33), rgba(238, 111, 13, 0.977));
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    transform: translateY(20px);
}

.booking-float:hover {
    background-color: #e65c00;
    color: white;
    transform: translateY(-5px);
}

.booking-float.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Tweaks to match WhatsApp button style */
@media (max-width: 576px) {
    .booking-float {
        bottom: 85px; /* Adjust for smaller mobile WhatsApp button */
        right: 20px;
        width: 65px;
        height: 55px;
        border-radius: 50%;
        padding: 0;
    }
    .booking-float .float-text {
        display: none;
    }
}

/* Fixed Availability Card */
.availability-card-fixed {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1050;
    border-left: 5px solid #FDB813; /* Green for "available" status */
    transition: all 0.3s ease;
}

.availability-card-fixed:hover {
    transform: translateY(-52%) scale(1.02);
}

/* Status Pulse Animation */
.pulse-icon {
    width: 12px;
    height: 12px;
    background-color: #FDB813;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: 15px;
    box-shadow: 0 0 0 0 #FDB813;
    animation: pulse-green-status 2s infinite;
}

@keyframes pulse-green-status {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 #FDB813; }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.status-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #FDB813;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.btn-color-1{
    background-color: #1B365D !important;
    border: none !important;
    color: #fff !important;
    transition: 0.3s ease;
}

/* Hide on mobile to avoid cluttering floating buttons */
@media (max-width: 992px) {
    .availability-card-fixed {
        display: none !important;
    }
}

/* Mobile Availability Banner Styling */
.pulse-icon-static {
    width: 12px;
    height: 12px;
    background-color: #FDB813; /* Success Green */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 #FDB813;
    animation: pulse-green-mobile 2s infinite;
}

@keyframes pulse-green-mobile {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 #FDB813; }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

#mobile-availability .availability-banner {
    background: #fff;
    transition: transform 0.3s ease;
}

#mobile-availability .status-text {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.work-gallery-text .community-card-text {
    font-style: italic;
    font-family: Arial, Helvetica, sans-serif;
}

