/*!
Theme Name: RICEER
Author: Volcone
Author URI: https://volcone.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: riceer
Tags: bootstrap, custom-colors, custom-menu, custom-logo, custom-header

*/

/* Custom Rice ER Colors and Styles */
:root {
    --rice-red: #ED1F24;
    --rice-red-text: #ED2429;
    --rice-red-hover: #b71c1c;
    --rice-gray: #666666;
    --rice-light-gray: #F7F7F7;
    --rice-dark-gray: #4a4a4a;
    --rice-dark-liver: #4D4E4E;
    --bs-font-sans-serif: 'Poppins', 'Roboto', sans-serif;
    --bs-heading-color: #1D1D1D;
    --bs-body-color: var(--rice-dark-liver);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}

/* Rice ER Red Button */
.btn {
    font-size: 1rem;
    transition: all 0.3s ease;
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
}

a {
    color: var(--rice-red-text);
}

.btn-rice-red {
    background-color: var(--rice-red);
    border-color: var(--rice-red);
    color: white;
    font-weight: 500;
}

.btn-group-lg>.btn, .btn-lg {
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.5rem;
}

.btn-rice-red:hover,
.btn-rice-red:focus {
    background-color: var(--rice-red-hover);
    border-color: var(--rice-red-hover);
    color: white;
    transform: translateY(-1px);
}

/* Text Colors */
.text-rice-red {
    color: var(--rice-red-text) !important;
}

.date-color {
    color: #929292 !important;
}

.heading-color {
    color: var(--bs-heading-color) !important;
}

.text-rice-gray {
    color: var(--rice-gray) !important;
}

.text-dark-liver {
    color: var(--rice-dark-liver) !important;
}

.fw-0875 {
    font-size: 0.875rem;
}

.fw-1375 {
    font-size: 1.375rem;
}

/* Background Colors */
.bg-rice-red {
    background-color: var(--rice-red) !important;
}

.bg-rice-light-gray {
    background-color: var(--rice-light-gray) !important;
}

.bg-rice-dark-gray {
    background-color: var(--rice-dark-gray) !important;
}

.bg-cream {
	background-color: #E0E0E0 !important;
}

/* Border Colors */
.border-rice-red {
    border-color: var(--rice-red) !important;
}

/* Hero Banner Section */
.hero-banner {
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url(); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.5); */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.min-vh-75 {
    min-height: 75vh;
}

.fs-0875 {
    font-size: 0.875rem;
}

.fs-1125 {
    font-size: 1.125rem !important;
}

.fs-09375 {
    font-size: 0.9375rem;
}

.fs-075 {
    font-size: 0.75rem;
}

.fs-275 {
    font-size: 2.75rem;
}

.fs-125 {
    font-size: 1.25rem;
}

.fw-500 {
    font-weight: 500;
}

.ff-roboto {
    font-family: 'Roboto', sans-serif;
}

.mb-2rem {
    margin-bottom: 2rem;
}

.home-bnr-subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

footer .text-muted {
    font-size: 0.875rem;
}

/* Feature Icons */

.col-lg-4.border-right {
    border-right: 1px solid #D2D2D2;
}

.features-section {
    border-bottom: 1px solid #D2D2D2;
}

.list-check-mark img {
    width: 24px;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Navigation */
.navbar-nav .nav-link {
    font-size: 1.125rem;
    font-weight: 400;
    color: #454545 !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--rice-red) !important;
}

/* Dropdown */
.dropdown-menu {
    font-size: 1.125rem;
    font-weight: 400;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.dropdown-menu .dropdown-item {
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover {
    background-color: var(--rice-light-gray);
    color: var(--rice-red);
}

/* Form Inputs */
.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--rice-red);
    box-shadow: 0 0 0 0.2rem rgba(214, 48, 49, 0.25);
}

/* Provider Cards */
.providers-section .card {
    border-radius: 15px;
    overflow: hidden;
}

.providers-section .card.border-rice-red {
    border: 2px solid var(--rice-red) !important;
}

/* Google Review Widget */
.google-review-widget {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.google-review-widget .btn {
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
}

/* Individual Review Cards */
.review-card-individual {
    background: white;
    padding: 20px;
    border-radius: 12px;
    height: 280px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card-individual:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.review-content {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 8px;
}

.review-content::-webkit-scrollbar {
    width: 4px;
}

.review-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.review-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.review-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Reviews Carousel Navigation - Light Style */
.reviews-carousel .carousel-control-prev,
.reviews-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.reviews-carousel .carousel-control-prev {
    left: -20px;
}

.reviews-carousel .carousel-control-next {
    right: -20px;
}

.carousel-nav-btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: #6c757d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
}

.carousel-nav-btn-light:hover {
    background: white;
    color: var(--rice-red);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn-light i {
    font-size: 1rem;
}

/* Review Avatar Styling */
.review-avatar img {
    border: 2px solid #f8f9fa;
}

/* Sliding Check-in Widget */
.checkin-widget {
    position: fixed;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    transition: right 0.4s ease;
    display: flex;
    align-items: stretch;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.checkin-widget.active {
    right: 0;
}

.checkin-widget-toggle {
    background: #FB8E28;
    color: white;
    width: 40px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px 0 0 8px;
    transition: all 0.3s ease;
    position: relative;
    order: 1;
}

.checkin-widget-toggle:hover {
    background: linear-gradient(135deg, #D68910, #E67E22);
    transform: translateX(-1px);
}

.checkin-widget-text {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    rotate: 180deg;
}

.checkin-widget-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.checkin-widget.active .checkin-widget-toggle i {
    transform: rotate(180deg);
}

.checkin-widget-content {
    background: #FB8E28;
    padding: 24px 10px;
    /* border-radius: 0 8px 8px 0; */
    width: 200px;
    min-height: 140px;
    display: flex;
    align-items: center;
    order: 2;
}

.checkin-widget .btn-light {
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    color: #333;
}

.checkin-widget.active #checkin-toggle:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 6px solid #f58220;
}

.checkin-widget.active #checkin-toggle {
    background: #fff;
    width: 20px;
}


.checkin-widget.active .checkin-widget-text {
    display: none;
}


/* Responsive Design for Reviews */
@media (max-width: 992px) {
    .review-card-individual {
        height: 300px;
        margin-bottom: 1rem;
    }
    
    .google-review-widget {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .reviews-carousel .carousel-control-prev,
    .reviews-carousel .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav-btn-light {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav-btn-light i {
        font-size: 0.9rem;
    }
    
    .reviews-carousel .carousel-control-prev {
        left: -15px;
    }
    
    .reviews-carousel .carousel-control-next {
        right: -15px;
    }
    
    .review-card-individual {
        height: 250px;
        padding: 16px;
    }
    
    .google-review-widget {
        padding: 20px;
    }
}

/* Stars */
.text-warning {
    color: #FB8E28 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }

    .checkin-widget {
        right: -195px;
    }
    
    .checkin-widget-content {
        width: 200px;
        padding: 15px;
        min-height: 120px;
    }
    
    .checkin-widget-toggle {
        width: 35px;
        height: 120px;
    }
    
    .checkin-widget-text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .checkin-widget {
        right: -180px;
    }
    
    .checkin-widget-content {
        width: 190px;
        padding: 12px;
    }
    
    .checkin-widget-toggle {
        width: 30px;
        height: 60px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    position: relative;
}

/* Footer */
footer {
    border-top: 1px solid #dee2e6;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Team cards */
#providers .card:hover {
    background-color: var(--rice-red) !important;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
   .btn {
        background-color: var(--rice-light-gray);
        border: 1px solid var(--rice-light-gray) !important;
        color: #000;
    }
    .text-muted {
        color: var(--rice-light-gray) !important;
    }
    .card-body h5 {
        color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
    }
}

/* Utility Classes */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.rounded-3 {
    border-radius: 0.75rem !important;
}

.w-90 {
    width: 90% !important;
}

/* Custom Spacing */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-dot7 {
	padding-top: 0.7rem !important;
	padding-bottom: 0.7rem !important;
}

/* Newsletter Form */
.newsletter-section input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Comparison Section */
.comparison-section .card {
    overflow: hidden;
    border-radius: 15px;
}

.comparison-section .card-header {
    border-bottom: none;
    font-weight: 600;
}

/* Fixed Position Elements */
.position-fixed {
    z-index: 1030;
}

/* Bootstrap Icon Adjustments */
.bi {
    line-height: 1;
}

/* Button Outline Variant */
.btn-outline-rice-red {
    color: var(--rice-red);
    border-color: var(--rice-red);
    background-color: transparent;
}

.btn-outline-rice-red:hover,
.btn-outline-rice-red:focus {
    color: white;
    background-color: var(--rice-red);
    border-color: var(--rice-red);
}

/* Top Contact Bar Styling */
.bg-dark {
    background-color: #4a4a4a !important;
}

/* Header Logo Styling */
.navbar-brand {
    font-size: 1rem;
    font-weight: bold;
}

/* Section Padding Utility */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Provider Section Styling */
.provider-image {
    position: relative;
    display: inline-block;
}

.provider-image img {
    transition: all 0.3s ease;
    object-fit: cover;
}

.provider-hover .provider-image img {
    border-color: var(--rice-red) !important;
    box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.2);
}

.section-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ED1F24;
    border-radius: 2px;
}

.experience-section {
    min-height: 28vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* .experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
} */

.experience-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.bg-rice-red .bi {
    display: flex;
}

.social-icons .bi::before {
	background: #929292;
    color: white;
    border: 1px solid;
    border-radius: 50%;
    padding: 8px;
}

.gap-dot7 {
	gap: 0.7rem !important;
}

/* Provider Grid Responsive */
@media (min-width: 1200px) {
    .providers-section .col-lg {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .review-btn .w-90 {
        width: 100% !important;
    }

    #providers .card-body h5 {
        font-size: 1.125rem;
    }

    .navbar-expand-lg .navbar-nav {
        gap: 2rem !important;
    }

    .fs-3 {
        font-size: 1.8125rem !important;
    }
    .text-lg-break {
        word-wrap: break-word !important;
        word-break: break-word !important;
    }
}

@media (min-width: 1400px) {
    .review-btn .w-90 {
        width: 85% !important;
    }

    #providers .card-body h5 {
        font-size: 1.25rem;
    }

}

/* Footer Responsive */
@media (min-width: 992px) {
    footer .col-lg {
        flex: 0 0 20%;
        max-width: 20%;
    }

    /* Navigation */
    .navbar-expand-lg .navbar-collapse {
        gap: 0.75rem;
    }
    .navbar-expand-lg .navbar-nav {
        gap: 0.75rem;
    }

    .pe-lg-2rem {
        padding-right: 2rem !important;
    }
}

@media (max-width: 991px) {
    footer .col-lg {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 1rem;
    }
    .navbar .menu-buttons {
        margin: 0.75rem 0;
    }
}

/* Swiper Reviews Styles */
.reviews-swiper-container {
    padding: 0 0px;
}

.reviews-swiper {
    overflow: visible;
}

.reviews-swiper .swiper-slide {
    padding: 0 0px;
}

.reviews-swiper-button-prev,
.reviews-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rice-red);
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 9999;
}

.reviews-swiper-button-prev {
    left: -20px;
}

.reviews-swiper-button-next {
    right: -20px;
}

.reviews-swiper-button-prev:hover,
.reviews-swiper-button-next:hover {
    background: var(--rice-red);
    color: white;
    transform: translateY(-50%) scale(1.05);
}
.swiper-slide.swiper-slide-prev {
    transition: all 0.5s;
    visibility: hidden;
}

/* Mobile swiper controls */
@media (max-width: 767px) {
    .reviews-swiper-container {
        padding: 0 20px;
    }
    
    .reviews-swiper-button-prev,
    .reviews-swiper-button-next {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
    .reviews-swiper-button-prev {
        left: 0px;
    }

    .reviews-swiper-button-next {
        right: 0px;
    }
    .swiper-slide.swiper-slide-next {
        transition: all 0.5s;
        visibility: hidden;
    }
    .fs-275 {
        font-size: 1.75rem;
    }
    .justify-sm-center {
        justify-content: center;
    }
}


/* Custom Button */
.btn-custom {
    background-color: var(--rice-red);
    border-color: var(--rice-red);
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #C13843;
    border-color: #C13843;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(213, 63, 71, 0.3);
}

.btn-custom:focus {
    box-shadow: 0 0 0 0.2rem rgba(213, 63, 71, 0.25);
    color: white;
}

/* Header Styles */
.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Service Card Styles */
.service-card {
    background: var(--rice-light-gray);
    border-radius: 12px;
    padding: 1.25rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Service Title */
.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

/* Service Description */
.service-description {
    color: var(--rice-dark-gray);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Container Spacing */
.container-fluid {
    background-color: #FFFFFF;
    min-height: 100vh;
}

.p-2rem {
    padding: 2rem !important;
}

/* .container {
    max-width: 1200px;
} */

.imaging-service-services .service-main-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .display-4 {
        font-size: 2.2rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .btn-custom {
        margin-top: 2rem;
    }
    .fs-275 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
        text-align: center;
    }
    
    .lead {
        /* text-align: center; */
        margin-bottom: 2rem;
    }
    
    .btn-custom {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .service-card {
        padding: 1.25rem;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
}

/* Services Grid - Uniform Spacing */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card-wrapper {
    display: flex;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #navbarNav .nav-item.ms-2 {
        margin-left: 0 !important;
        margin-right: 10px;
    }

    .col-lg-4.border-right {
        border-right: none;
        border-bottom: 1px solid #D2D2D2;
        padding: 10px;
    }

    .col-lg-6.emergency-cards {
        margin-top: 25px;
    }

    .google-review-widget1 .align-items-start {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive fixes */

.newsletter-form form p {
    display: flex;
    justify-content: space-between;
}

.newsletter-form form p input[type='submit'] {
    margin-left: 20px;
}

.newsletter-form form p input[type='email'] {
    background-color: transparent;
    /* color: #fff !important; */
}

.newsletter-form form p input[type='email']::placeholder {
    /* background-color: transparent; */
    color: #eee !important;
}

.service-card-wrapper .btn {
    width: 125px;
}

.navbar .menu-buttons {
    display: flex;
}
.wpcf7 p {
    margin-bottom: 0;
}


@media (min-width: 992px) and (max-width: 1199px) {
    .newsletter-form form p {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .newsletter-form form p input[type='submit'] {
        margin-left: 0px;
    }

    footer .col-lg {
        flex: 1 0 25%;
        max-width: 25%;
    }
    
    .follow-us-sec .ftr-btns .btn {
        width: 30%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    footer .follow-us-sec {
        width: 100%;
        max-width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .follow-us-sec .ftr-btns {
        justify-content: center;
        align-items: center;
    }

    .follow-us-sec .social-icons {
        justify-content: center;
        gap: 1.2rem;
    }

    footer .copyright-sec {
        justify-content: center;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    footer .col-lg {
        flex: 0 0 100%;
    }

    .follow-us-sec .ftr-btns .btn {
        width: 45%;
    }
}


@media (max-width:767px) {
    .newsletter-form form p {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .newsletter-form form p input[type='submit'] {
        margin-left: 0px;
    }

    .rating-sec .reviews-content div {
        flex-direction: column;
        gap: 15px;
    }

    footer .container .row {
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        align-content: center;
    }

    .footer-logo-sec {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .f-col-g10 {
        flex-direction: column;
        gap: 10px;
        display: flex;
    }

    footer .f-col-g10 .rounded-circle {
        margin: 0 !important;
    }

    .social-icons {
        justify-content: center;
    }

    .col-lg-4.border-right {
        border-right: none;
        border-bottom: 1px solid #D2D2D2;
        padding: 10px;
    }
    
    .hero-content h1, .hero-content p {
        text-align: left;
    }
    
    .col-lg-6.emergency-cards {
        margin-top: 25px;
    }
    
    .why-go-hospital .lead {
        text-align: left;
    }
    
    .newsletter-sec .lead {
        text-align: left;
    }

    .comparison-section .g-5 {
        margin-left: 0;
        margin-right: 0;
    }

    .comparison-section .g-5 .col-lg-6 {
        padding: 0;
        margin-top: 1.5rem;
    }

    .comparison-section .text-center {
        text-align: left !important;
    }

    /* .m-my-1 {
        margin: 1rem 0;
    } */

    #navbarNav .nav-item.ms-2 {
        margin-left: 0 !important;
    }

    li.nav-item {
        border-bottom: 1px solid #f7f7f7;
    }

    .contact-wrapper.mx-5 {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .contact-wrapper.p-2rem {
        padding: 1rem !important;
    }

    .navbar .menu-buttons {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 15px;
        padding-top: 10px;
    }

    .google-review-widget1 .align-items-start {
        justify-content: center;
    }

    div#checkin-widget {
        display: none;
    }

}
@media (max-width:576px) {
    footer .col-lg {
        max-width: 70%;
    }
    footer .col-lg.col-md-6.follow-us-sec {
        max-width: 65%;
    }
    .fs-sm-006 {
        font-size: 0.6rem;
    }
}


/* About page styles */


p.about-text {
    font-size: 1.125rem;
    color: #4D4E4E;
}
/* Comparison Table Styles */
.comparison-section {
    margin: 0 auto;
    padding: 40px 0;
}

.comparison-title {
    color: #333;
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.comparison-table-container {
    background: white;
    /* border-radius: 8px; */
    overflow: hidden;
    margin: 0 auto;
}

.comparison-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

/* Override Bootstrap table styles */


.comparison-table thead th {
    border: none;
    padding: 0;
    position: relative;
    /* vertical-align: top; */
}

.service-column {
    width: 35%;
}

.rice-er-column,
.hospital-er-column,
.urgent-care-column {
    width: 21.67%;
    text-align: center;
}

/* Header Cells */
.header-cell {
    padding: 20px 15px;
    font-size: 1.6rem;
    font-weight: 300;
    color: white;
    text-align: center;
    position: relative;
}

/* Header Styles */
.rice-er-header {
    background-color: var(--rice-red);
    /* border: 4px solid var(--rice-red); */
    border-bottom: 0;
    border-radius: 1.5rem 0 0 0;
}

.hospital-er-header {
    background-color: #000000;
    color: white;
    /* border-left: 7px solid #fff; */
    /* border-right: 7px solid #fff; */
    border-radius: 1rem 1rem 0 0;
}

.urgent-care-header {
    background-color: #343434;
    color: white;
    border-radius: 0 1.5rem 0 0;
}

/* Table Body */
.comparison-table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody td {
    padding: 18px 15px;
    vertical-align: middle;
    border: none;
}

/* Alternating row colors */
.comparison-table tbody tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

.comparison-table tbody tr:nth-child(odd) {
    background-color: white !important;
}

/* Override individual cell backgrounds for alternating colors */
.comparison-table tbody tr:nth-child(even) .service-name,
.comparison-table tbody tr:nth-child(even) .rice-er-cell,
.comparison-table tbody tr:nth-child(even) .hospital-er-cell,
.comparison-table tbody tr:nth-child(even) .urgent-care-cell {
    background-color: #fff !important;
}

.comparison-table tbody tr:nth-child(odd) .service-name,
.comparison-table tbody tr:nth-child(odd) .rice-er-cell,
.comparison-table tbody tr:nth-child(odd) .hospital-er-cell,
.comparison-table tbody tr:nth-child(odd) .urgent-care-cell {
    background-color: #f7f7f7 !important;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2B2B2B !important;
    text-align: left;
}


.comparison-table .service-name {
    font-size: 1.1rem;
}

.comparison-table .header-cell {
    padding: 20px 15px;
    font-size: 1.1rem;
    font-weight: 400;
    border:none;
    /* border-radius: 1.5rem 1.5rem 0 0; */
}

.comparison-table .hospital-er-header {
    border-radius: 0;
}

.comparison-table tbody i {
    font-size: 2rem;
}

/* Rice ER Column with full red border */
.rice-er-cell {
    text-align: center;
    border-left: 4px solid var(--rice-red) !important;
    border-right: 4px solid var(--rice-red) !important;
    position: relative;
}

.comparison-table tbody tr:first-child .rice-er-cell {
    border-top: none; /* Header already has top border */
}

.comparison-table tbody tr:last-child .rice-er-cell {
    border-bottom: 4px solid var(--rice-red) !important;
}

.hospital-er-cell {
    text-align: center;
}

.urgent-care-cell {
    text-align: center;
}

@media (max-width: 1024px) {
    
    table.table.comparison-table img.tick-icon {
        width: 30px;
    }

    .hospital-er-header {
        border-left: 4px solid #fff;
        border-right: 4px solid #fff;
        border-radius: 0.7rem 0.7rem 0 0;
    }

    .header-cell {
        padding: 10px 6px;
    }
}


/* Responsive Design for Comparison Table */
@media (max-width: 768px) {
    .comparison-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .comparison-table-container {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .header-cell {
        padding: 15px 8px;
        font-size: 0.95rem;
    }
    
    .comparison-table tbody td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    
    .service-name {
        font-size: 0.9rem;
    }
    
    .rice-er-cell {
        border-left: 3px solid var(--rice-red) !important;
        border-right: 3px solid var(--rice-red) !important;
    }
    
    .rice-er-header {
        border: 3px solid var(--rice-red);
        border-bottom: 0;
    }
    
    .comparison-table tbody tr:last-child .rice-er-cell {
        border-bottom: 3px solid var(--rice-red) !important;
    }

    .hospital-er-header {
        border-left: 2px solid #fff;
        border-right: 2px solid #fff;
        border-radius: 0.6rem 0.6rem 0 0;
    }

    table.table.comparison-table img.tick-icon {
        width: 20px;
    }
}

@media (max-width: 576px) {
    .service-column {
        width: 40%;
    }
    
    .rice-er-column,
    .hospital-er-column,
    .urgent-care-column {
        width: 20%;
    }
    
    .header-cell {
        padding: 6px 4px;
        font-size: 0.85rem;
    }
    
    .comparison-table tbody td {
        padding: 10px 5px;
        font-size: 10px !important;
    }
    
    .service-name {
        font-size: 0.85rem;
    }

    .rice-er-cell {
        border-left: 2px solid var(--rice-red) !important;
        border-right: 2px solid var(--rice-red) !important;
    }
    
    .rice-er-header {
        border: 2px solid var(--rice-red);
        border-bottom: 0;
    }
    
}



/* Gallery Section Styles */
.gallery-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.gallery-nav {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0;
    /* background-color: #f8f9fa; */
    border-radius: 8px;
    padding: 8px;
    margin: 0 auto;
    max-width: 1000px;
}

.gallery-nav-item {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--rice-dark-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.gallery-nav-item:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--rice-red-hover);
}

.gallery-nav-item.active {
    background-color: var(--rice-red);
    color: white;
    font-weight: 600;
}

.gallery-grid {
    position: relative;
    min-height: 500px;
}

.gallery-category {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-category.active {
    display: block;
    opacity: 1;
}

.gallery-images-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: unset;
    margin: 0 auto;
    gap: 20px;
    justify-items: center;
}

.bg-dark-opacity-90 {
    background: #000000c9;
}
.carousel-item img {
    max-height: 90vh;
    object-fit: contain;
    height: 85vh;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

button.carousel-control-next {
    right: -12%;
}

button.carousel-control-prev {
    left: -12%;
}

#galleryModal .btn-close {
    z-index: 99;
}


@media (min-width: 1400px) {
    .gallery-image {
        height: 390px;
    }
}

/* Ensure maximum 3 columns */
@media (min-width: 992px) {
    .gallery-images-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 430px;
    /* border-radius: 12px; */
    overflow: hidden;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, rgba(237, 36, 41, 1) 50%, #0001);
    padding: 10px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover .gallery-overlay {
    background: linear-gradient(to right, rgba(237, 36, 41, 1) 50%, #0001);
}

.gallery-label {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-nav {
        flex-direction: column;
        gap: 8px;
        max-width: 350px;
    }
    
    .gallery-nav-item {
        padding: 10px 16px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .gallery-images-container {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .gallery-image {
        height: 322px;
    }
    
    .gallery-overlay {
        padding: 10px;
        transform: translateY(0);
    }
    
    .gallery-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .gallery-title {
        font-size: 1.75rem;
    }
    
    .gallery-nav {
        padding: 6px;
        max-width: 320px;
    }
    
    .gallery-nav-item {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .gallery-images-container {
        max-width: 320px;
        gap: 12px;
    }
    
    .gallery-image {
        height: 292px;
    }
    
    .gallery-overlay {
        padding: 10px;
        transform: translateY(0);
    }
    
    .gallery-label {
        font-size: 0.8rem;
    }

    table.table.comparison-table th div {
        /* height: 55px; */
        font-size: 10px;
        width: 85px;
        padding: 10px 3px;
        height: auto;
    }

    .urgent-care-header {
        border-radius: 0 .7rem 0 0;
    }

    .rice-er-header {
        border-radius: .7rem 0 0 0;
    }

    .comparison-table tbody i {
        font-size: 1.5rem;
    }

    button.carousel-control-next {
        right: -2%;
    }

    button.carousel-control-prev {
        left: -2%;
    }
}


/* Services Section Styles */


 /* Accordion Border Styles */

#imagingServicesAccordion button.accordion-button.collapsed:not(.show) {
    background: #fff;
}

.imaging-service-quality .accordion-border {
    display: flex;
    height: 1px;
    margin-bottom: 0;
}

.imaging-service-quality .border-red {
    background-color: #dc3545;
    width: 20%;
    height: 100%;
}

.imaging-service-quality .border-grey {
    background-color: #dee2e6;
    width: 80%;
    height: 100%;
}

.imaging-service-quality .border-grey-full {
    background-color: #dee2e6;
    width: 100%;
    height: 100%;
}

button.accordion-button:not(.collapsed) {
    background-color: #f7f7f7;
    /* border-bottom: none !important; */
    box-shadow: none;
}

.accordion-button:focus {
    border-color: unset;
    box-shadow: none;
}

.accordion-item {
    /* background: #f7f7f7; */
    border-color: #fff;
    /* padding-top: 20ppx !important; */
}
.accordion-collapse {
    background-color: #f7f7f7;
    margin-bottom: 4px;
}

button.accordion-button {
    background: #f7f7f7;
    font-size: 20px;
    font-weight: 600;
    color: #000 !important;
    /* border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important; */
}

.accordion-item:first-of-type {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important
}

button.accordion-button:nth-child(1) {
    padding: 25px !important;
}

.accordion-body {
    padding-top: 0px !important;
}
    
/* FAQ Section Styles */
.faq-title {
    font-weight: 700;
    color: #212529;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.3;
}

/* FAQ Accordion Customization */
.faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #0002;
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.faq-item:last-of-type .accordion-collapse {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.faq-button {
    background: transparent;
    border: none;
    color: #212529;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1.5rem 0;
    box-shadow: none;
    position: relative;
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-button:not(.collapsed) {
    background: transparent;
    color: #212529;
    box-shadow: none;
}

.faq-button:hover {
    color: #495057;
}

.faq-button::after {
    display: none;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 200;
    color: #495057;
    margin-left: auto;
    flex-shrink: 0;
}

.faq-body {
    padding: 0 0 1.5rem 1.5rem;
    margin-top: -1rem;
    /* border-top: 1px solid #dee2e6; */
}

.faq-body p {
    color: #495057;
    line-height: 1.6;
    margin: 1rem 0 0 0;
}

#faqAccordion  button.accordion-button {
    padding: 15px !important;
}

#faqAccordion  button.accordion-button:not(.collapsed) {
    background: #fff;
}

#faqAccordion .accordion-collapse.show {
    border-bottom: 2px solid #000;
}

#faqAccordion .accordion-collapse {
    background: #fff;
    margin-bottom: 0;
}


/* Benefits Section Styles */
.benefits-title {
    font-weight: 700;
    color: #212529;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.3;
}

.benefits-subtitle {
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Benefits Slider Container */
.benefits-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.benefits-slider::-webkit-scrollbar {
    display: none;
}

/* Individual Slide Card */
.benefit-slide-card {
    flex: 0 0 66.67%; /* Shows 1.5 cards (1 full + 0.5) */
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 280px;
    min-width: 500px;
}

/* Card Content Area */
.benefit-content {
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-card-title {
    font-weight: 700;
    color: #212529;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.benefit-card-text {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Card Image Area */
.benefit-card-image {
    height: 100%;
    overflow: hidden;
}

.benefit-card-image img {
    object-fit: cover;
    border-radius: 0;
}

/* Bottom Section with Navigation and Divider */

.benefit-slider-sec .slider-navigation {
    display: flex;
    gap: 15px;
    margin-right: 2rem;
}

.slider-bottom-section {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-slider-sec .slider-nav-btn {
    width: 45px;
    height: 45px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.slider-nav-prev {
    background-color: #6c757d;
    color: white;
}

.slider-nav-prev:hover {
    background-color: #5a6268;
}

.slider-nav-next {
    background-color: #dc3545;
    color: white;
}

.slider-nav-next:hover {
    background-color: #c82333;
}

/* Bottom Divider */
.slider-divider {
    height: 1px;
    background-color: #dee2e6;
    width: 90%;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .benefit-slide-card {
        flex: 0 0 85%;
        min-width: 320px;
        height: 280px;
    }
    
    .benefit-content {
        padding: 1.5rem 1.25rem;
    }
    
    .benefit-card-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .benefit-card-text {
        font-size: 0.9rem;
    }
}




/* Services Main section styling */

/* Left content section */
.diagnostic-section .content-wrapper {
    background-color: var(--white);
    min-height: 600px;
    max-width: 500px;
    margin: 0 auto;
}


/* Right grid section */
.diagnostic-section .grid-container {
    min-height: 600px;
}

.diagnostic-section .grid-item {
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Image sections */
.diagnostic-section .image-section {
    background-color: #fff;
}

.diagnostic-section .image-section img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Content sections */
.diagnostic-section .content-section {
    background-color: #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem;
    position: relative;
    height: 100%;
    border-radius: 12px;
}

/* Icon styling */
.diagnostic-section .icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;
}

.diagnostic-section .icon-wrapper i {
    font-size: 1.2rem;
}

/* Content text styling */
.diagnostic-section .content-text {
    width: 100%;
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .main-heading {
        font-size: 2rem;
    }
    
    .diagnostic-section .content-wrapper {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    .diagnostic-section .grid-container {
        min-height: 500px;
        margin-top: 2rem;
    }
    
    .diagnostic-section .content-section {
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }
    
    .diagnostic-section .icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .diagnostic-section .icon-wrapper i {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .diagnostic-section .diagnostic-section {
        padding: 2rem 0;
    }
    
    .main-heading {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .diagnostic-section .grid-container {
        min-height: 400px;
    }
    
    .diagnostic-section .content-section {
        padding: 1rem;
        gap: 1rem;
    }
    
    .diagnostic-section .icon-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .diagnostic-section .icon-wrapper i {
        font-size: 0.9rem;
    }
    
}

@media (max-width: 575.98px) {
    .diagnostic-section .grid-container .row {
        flex-direction: column;
    }
    
    .diagnostic-section .grid-container .col-6 {
        width: 100%;
        flex: 0 0 auto;
    }
    
    .diagnostic-section .grid-container .col-6:not(:last-child) {
        margin-bottom: 20px;
    }
    
    .diagnostic-section .grid-column {
        min-height: 400px;
    }
    
    .diagnostic-section .grid-image-item {
        min-height: 250px;
    }
    
    .diagnostic-section .grid-content-item {
        min-height: 150px;
    }
    
    .diagnostic-section .grid-container {
        min-height: 800px;
    }
    
    .diagnostic-section .main-heading br {
        display: none;
    }
}

/* Utility classes */
.object-cover {
    object-fit: cover;
}

.h-50 {
    height: 50% !important;
}

/* Grid column layout */
.diagnostic-section .grid-column {
    display: flex;
    flex-direction: column;
    padding: 0 8px;
    gap: 12px;
}

/* Grid item heights within columns */
.diagnostic-section .grid-image-item {
    flex: 1.5;
    min-height: 0;
}

.diagnostic-section .grid-content-item {
    flex: 1;
    min-height: 0;
}


/* EOB Main Container */
.eob-main-container {
    position: relative;
}

/* White speech bubble content area */
.eob-content-white {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    position: relative;
    margin-bottom: 1rem;
}

/* Speech bubble tail */
.eob-content-white::after {
  content: "";
  position: absolute;
  bottom: -10px;   /* move below bubble */
  left: 30px;     /* horizontal position */
  width: 0;
  height: 0;
  border-left: 15px solid transparent;  /* equal side 1 */
  border-right: 22px solid transparent; /* equal side 2 */
  border-top: 25px solid white; 
  border-radius: 0px 8px 0px 0px;
  transform: rotate(148deg);
}

/* Dotted Line in Red Background */
.dotted-line-separator {
    height: 1px;
    background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0.9) 3px, transparent 3px, transparent 6px);
    margin: 0 0 1.5rem 0;
}

/* Red Footer (part of red background) */
.eob-footer-red {
    padding: 0;
}

.info-card-header {
    display: flex;
    align-items: center;
    /* margin-bottom: 0.75rem; */
}

img.heading-icon {
    height: 30px;
}



/* Blog Archive Script Starts */

.featured-article {
    background-color: transparent;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.featured-image-container {
    text-align: center;
    position: relative;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.featured-content {
    padding-left: 2rem;
}

/* Category Navigation */
.category-nav {
    margin-bottom: 2rem;
}

.category-scroll-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.nav-arrow {
    background: #f7f7f7;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 2;
    transition: all 0.3s ease;
    color: #6c757d;
}

.nav-arrow:hover {
    background: #e9ecef;
    color: #495057;
}

.nav-arrow-left {
    margin-right: 1rem;
}

.nav-arrow-right {
    margin-left: 1rem;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
    flex: 1;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    background: #f7f7f7;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 0.375rem;
    color: #4D4E4E;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
}

.category-tab:hover {
    background: var(--rice-red);
    color: #fff;
}

.category-tab.active {
    background: var(--rice-red);
    color: white;
}

/* Blog Grid */
.blog-grid {
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    min-height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


@media (max-width: 1199.98px) {
    .blog-content {
        padding: 1rem 0;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .featured-content {
        padding-left: 0;
        margin-top: 2rem;
    }
 
}

@media (max-width: 767.98px) {
    
    .featured-article {
        padding: 1rem;
    }
    
    .featured-condition {
        font-size: 1.5rem;
    }
    
    .category-tabs {
        gap: 0.5rem;
    }
    
    .category-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .blog-image {
        padding: 0;
        min-height: 150px;
    }
    
    .blog-content {
        padding: 1.2rem 0;
    }
}

@media (max-width: 575.98px) {
    .featured-article {
        padding: 0;
    }
    
    .blog-card {
        margin-bottom: 1rem;
    }
    
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .category-tab i {
        font-size: 0.8rem;
    }

    .featured-content {
        margin-top: 0.75rem;
    }
}

/* Animation for filtered items */
.blog-card.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.blog-card.fade-out {
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Blog Archive Script Ends */

/* WP Block Editor Styles */
.page-cont h2.wp-block-heading:not(.display-4) {
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
}

.page-cont p {
    font-size: 1.125rem;
}

.page-cont ul.wp-block-list {
    font-size: 1.125rem;
}

.page-cont ul.wp-block-list li {
    padding: 0.25rem;
}

ul.wp-block-list li {
    line-height: 1.9rem;
}



/* Scoped styles for single-post template (minimal, reuses theme classes where possible) */

.single-post-template .post-featured img {
	max-height: 520px;
	object-fit: cover;
}
.single-post-template .card {
	border: 1px solid #eee;
}
.single-post-template .list-unstyled a {
	display: inline-block;
}

/* Ensure sidebar stacks on mobile (after main) */
.single-post-template .sidebar-col {
	display: block;
}
.single-post-template .main-col { order: 0; }
.single-post-template .sidebar-col { order: 1; }

/* Layout: 70% / 30% on large screens */
@media (min-width: 992px) {
	.single-post-template .content-row {
		display: flex;
		gap: 30px;
		flex-wrap: nowrap; /* prevent wrapping */
		align-items: flex-start;
	}
	.single-post-template .main-col, .single-post-template .sidebar-col {
		box-sizing: border-box; /* include padding/border in width */
		min-width: 0; /* allow flex children to shrink properly */
	}
	.single-post-template .main-col {
		flex: 0 0 70%;
		max-width: 70%;
	}
	.single-post-template .sidebar-col {
		flex: 0 0 30%;
		max-width: 30%;
		/* Vertical divider between main content and sidebar */
		border-left: 1px solid #e9e9e9;
		padding-left: 28px;
	}
	.single-post-template .main-col { padding-right: 28px; }
}

/* Share button styles (icon-only square buttons) */
.sp-share-buttons .share-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:44px;
	height:44px;
	border-radius:8px;
	color:#fff;
	text-align:center;
}
.sp-share-buttons .share-btn .share-icon{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:100%;
	height:100%;
}
.share-btn i{ font-size:18px; line-height:1; }
.share-facebook{ background: #355089; }
.share-twitter{ background: #4a4a4a; }
.share-linkedin{ background: #0a66c2; }

/* Single Post Template Styles ends */


/* Event Single Page Base */
.single.single-tribe_events .tribe-events-event-image img {
  max-width: 100%;
  height: auto;
}

.single.single-tribe_events a:not(.btn) {
  color: var(--rice-red);
}

/* Calendar Subscribe Dropdown */
.single.single-tribe_events .tribe-events-c-subscribe-dropdown {
  .tribe-events-c-subscribe-dropdown__button-icon {
    color: var(--rice-red);;
    stroke: var(--rice-red);;
  }

  .tribe-events-c-subscribe-dropdown__button-text,
  button.tribe-events-c-subscribe-dropdown__button-text {
    color: var(--rice-red);;
  }

  .tribe-events-c-subscribe-dropdown__list-item a {
    color: #6c757d;
  }
}

/* Border Button */
.single.single-tribe_events .tribe-common-c-btn-border,
.single.single-tribe_events a.tribe-common-c-btn-border {
  border: 1px solid var(--rice-red);;
}

.single.single-tribe_events .tribe-common-c-btn-border:hover 
.tribe-events-c-subscribe-dropdown__button-text,
.single.single-tribe_events .tribe-common-c-btn-border:hover 
.tribe-events-c-subscribe-dropdown__button-icon,
.single.single-tribe_events .tribe-common-c-btn-border:hover 
.tribe-events-c-subscribe-dropdown__export-icon {
  color: #fff !important;
  stroke: #fff;
}

/* Export Icon (standalone) */
.single-tribe_events .tribe-events-c-subscribe-dropdown__export-icon,
.tribe-block__events-link .tribe-events-c-subscribe-dropdown__export-icon {
  color: var(--rice-red);;
}

/* Focus State */
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus,
.single-tribe_events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus,
.tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus {
  background-color: #fff;
}

/* RSVP Form */
.single.single-tribe_events input.rtec-submit-button {
  background-color: var(--rice-red);
  color: #fff;
  border-color: var(--rice-red);
  border-radius: 8px;
}

.single.single-tribe_events button#rtec-form-toggle-button {
  display: none !important;
}

.single.single-tribe_events .tribe-common-c-btn-border:focus {
  background-color: var(--rice-red);;
  color: #fff !important;
}

.single.single-tribe_events .tribe-common-c-btn-border:focus svg {
  color: #fff;
  stroke: #FFF;
}

.single.single-tribe_events .tribe-common-c-btn-border:focus button {
  color: #fff;
}

.single.single-tribe_events .tribe-common-c-btn-border:hover {
  background-color: var(--rice-red);;
  color: #fff !important;
}

/* Banner Mobile Adjustments */
@media (max-width: 767px) {
    .mb-fs-1p2 {
        font-size: 1.2rem;
    }
    /* .hero-banner::before {
        background: rgba(255, 255, 255, 0.3);
    }

    .hero-bg-image {
        background-position: right;
    }

    .hero-content h1, .hero-content p {
        background: #fff8;
        color: var(--bs-heading-color) !important;
    }

    .hero-content a.text-rice-red {
        background: #fff8;
    }
    .hero-content .btn-outline-secondary {
        background: #fff8;
        color: var(--bs-heading-color) !important;
    } */
}


/* Header Adjustments */

 /* Mobile-only tweaks for top header rows */
@media (max-width: 767.98px) {
    .bg-dark .address img { width: 16px; height: auto; vertical-align: middle; }
    .bg-dark .address { font-size: 0.9rem; }
    .bg-dark .py-dot7 { padding-top: .3rem; padding-bottom: .3rem; }
    /* ensure top header small text in second row is centered */
    /* .bg-dark .row.py-1 .col-12 { text-align: center; } */
}

/* Sticky Buttons Base */
.sticky-buttons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);

    /* hidden by default */
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.sticky-buttons.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Desktop */
.sticky-buttons .container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sticky-buttons .btn {
    flex: 0 0 auto; /* auto width */
}

/* Improved sticky UI tweaks */
/* subtle backdrop and slight blur to separate from content */
.sticky-buttons { backdrop-filter: saturate(1) blur(4px); }

/* Desktop: layout adjustments */
.sticky-logo { max-height: 48px; width: auto; display: block; }
.sticky-nav { gap: 0.5rem; }
.sticky-nav .nav-link { padding: .25rem .5rem; font-size: .95rem; }

/* Prevent nav overflow on smaller desktops; allow horizontal scroll */
.sticky-nav { max-width: 60vw; -webkit-overflow-scrolling: touch; }
.sticky-nav::-webkit-scrollbar { height: 6px; }
.sticky-nav::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.08); border-radius: 3px; }

/* Buttons sizing tweaks */
.sticky-buttons .btn { padding: .45rem .75rem; font-size: .95rem; }

.service-card-wrapper>a {
    text-decoration: none;
    color: var(--text-dark);
}


@media (min-width:1400px) {
    footer .mail-link{
        white-space: nowrap;
    }
}

/* Mobile: center buttons and reduce logo/menu area height */
@media (max-width: 767.98px) {
    .sticky-logo { max-height: 36px; }
    .sticky-nav { display: none; }
    .sticky-buttons { padding: 6px 0; }
    .sticky-buttons .btn { font-size: .95rem; padding: .5rem .75rem; }
    .mb-right-auto { margin-right: auto !important; }
}

/* Prevent menu items from wrapping and reduce spacing on desktop */
@media (min-width: 768px) {
    .sticky-nav .nav-link { white-space: nowrap; }
    .sticky-nav { max-width: 50vw; overflow: visible; }
    /* ensure dropdowns are visible and not clipped */
    .sticky-nav .dropdown-menu { position: absolute; z-index: 1060; }
    .sticky-nav .dropdown { position: relative; }
    .sticky-nav .nav-item { margin-left: .35rem; margin-right: .35rem; }
}

/* Mobile */
@media (max-width: 767.98px) {
    .sticky-buttons .container {
        flex-direction: row;
        justify-content: space-between;
    }
    .sticky-buttons .btn {
        flex: 1 1 auto;
        font-size: 14px;
        padding: 8px 10px;
    }
}


.comparison-section img.tick-icon {
    width: 30px;
}


/* Print Styles */
@media print {
    .checkin-widget,
    .navbar,
    footer {
        display: none !important;
    }
}
