/* River Blue Services - Complete Stylesheet */

/* Reset & Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #333333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333333;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: #666666;
}

a {
    color: #00A8E8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0088BB;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

#logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00A8E8;
}

#logo img {
    max-height: 120px;
    width: auto;
}

/* Navigation */
#nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

#nav li {
    position: relative;
}

#nav a {
    color: #333333;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

#nav a:hover,
#nav a.active {
    color: #00A8E8;
}

.nav-phone {
    background: #00A8E8;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    font-weight: 600;
}

.nav-phone:hover {
    background: #0088BB;
    color: white !important;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    position: relative;
    padding-right: 1rem !important;
}

.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.has-dropdown.active > a::after {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.has-dropdown.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Disable hover on touch devices and mobile */
@media (hover: none) {
    .has-dropdown:hover .dropdown {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
}

/* Only enable hover on devices with a mouse/pointer (not touch screens) */
@media (hover: hover) and (pointer: fine) {
    .has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .has-dropdown:hover > a::after {
        transform: rotate(180deg);
    }
}

/* Additional safeguard for mobile devices */
@media (max-width: 767px) {
    /* Force all dropdowns to be hidden unless .active class is present */
    .dropdown {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .has-dropdown.active .dropdown {
        display: flex !important;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown:active .dropdown,
    .has-dropdown:focus .dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

.dropdown li {
    display: block;
    width: 100%;
}

.dropdown a {
    padding: 0.875rem 1.5rem;
    display: block;
    position: relative;
    transition: all 0.2s ease;
    width: 100%;
    white-space: nowrap;
    text-align: center;
}

.dropdown a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #00A8E8;
    transition: width 0.2s ease;
}

.dropdown a:hover {
    background: linear-gradient(180deg, rgba(0, 168, 232, 0.08) 0%, transparent 100%);
}

.dropdown a:hover::before {
    width: 60%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #00A8E8 0%, #0088BB 100%);
    color: #ffffff;
    padding: 100px 0;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 -15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 3.5rem;
}

.hero-tagline {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-cta {
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
}

.trust-badge i {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Prompt', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    margin: 0 0.5rem;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.125rem;
}

.btn-primary {
    background: #00A8E8;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0088BB;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #00A8E8;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #00A8E8;
    border: 2px solid #00A8E8;
    padding: 10px 25px;
    margin: 0;
}

.btn-outline:hover {
    background: #00A8E8;
    color: white;
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.section-bg-light {
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
    color: #333;
}

.section-title p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00A8E8, #0088BB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    color: #00A8E8;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* Feature Boxes */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Feature boxes with icon/content structure */
.feature-box:has(.feature-icon) {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Feature box headings with numbered icons - stack icon on top */
.feature-box h3 {
    display: block;
}

.feature-box h3 i.fa-1,
.feature-box h3 i.fa-2,
.feature-box h3 i.fa-3,
.feature-box h3 i.fa-4 {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: inherit;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00A8E8, #0088BB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-content p {
    margin: 0;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 350px;
    flex: 1;
    min-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00A8E8, #0088BB);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: #00A8E8;
}

/* Location Cards */
.location-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.location-card i {
    font-size: 2.5rem;
    color: #00A8E8;
    margin-bottom: 1rem;
}

.location-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.location-card a {
    color: #00A8E8;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00A8E8 0%, #0088BB 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 -20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
#footer {
    background: #333333;
    color: #ffffff;
    padding: 60px 0 20px;
}

#footer h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

#footer p,
#footer a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

#footer a:hover {
    color: #ffffff;
}

#footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer ul li {
    margin-bottom: 0.75rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #00A8E8;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00A8E8;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

/* City Service Cards */
.city-service-card {
    display: block;
    background: #ffffff;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.city-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: inherit;
}

.city-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00A8E8, #0088BB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-icon i {
    font-size: 2.5rem;
    color: white;
}

.city-service-card h3 {
    color: #00A8E8;
    margin-bottom: 1rem;
}

.city-sample-neighborhoods {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.view-link {
    color: #00A8E8;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.city-service-card:hover .view-link {
    color: #0088BB;
}

.view-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.city-service-card:hover .view-link i {
    transform: translateX(5px);
}

/* Breadcrumb */
.breadcrumb {
    background: #f5f5f5;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #00A8E8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0088BB;
}

.breadcrumb .separator {
    color: #999;
    margin: 0 0.5rem;
}

.breadcrumb .current {
    color: #666;
}

/* Neighborhoods Grid */
.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.neighborhood-column {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.neighborhood-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.neighborhood-list li {
    color: #666;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.neighborhood-list li:last-child {
    border-bottom: none;
}

.neighborhood-list li i {
    color: #00A8E8;
    margin-right: 0.75rem;
}

/* Stat Cards */
.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.stat-card i {
    font-size: 2.5rem;
    color: #00A8E8;
    margin-bottom: 1rem;
}

.stat-card h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.stat-card p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Responsive */
@media (max-width: 991px) {
    .cols-3,
    .cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-arrow {
        display: none;
    }

    .neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-wrap {
        width: 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .header-wrap {
        flex-wrap: wrap;
    }

    #logo img {
        max-height: 60px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    #nav {
        width: 100%;
        order: 3;
        display: none;
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        background: #fff;
    }

    #nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

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

    #nav ul {
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        padding-bottom: 1rem;
        width: 100%;
    }

    #nav li {
        width: 100%;
        border-bottom: 1px solid #eee;
        margin: 0;
        padding: 0;
    }

    #nav a {
        padding: 1rem;
        text-align: left;
    }

    .has-dropdown {
        position: relative;
    }

    .has-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .has-dropdown > a::after {
        content: '+';
        font-size: 1.5rem;
        line-height: 1;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active > a::after {
        transform: rotate(45deg);
    }

    /* Mobile dropdown styling - completely override desktop styles */
    #nav .dropdown {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f5f5f5 !important;
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        min-width: 100% !important;
        max-width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
        overflow: hidden;
    }

    /* Only show when .active class is present via JavaScript */
    #nav .has-dropdown.active .dropdown {
        display: flex !important;
        flex-direction: column !important;
    }

    .dropdown ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .dropdown li {
        width: 100%;
        border-bottom: none;
        margin: 0;
        padding: 0;
    }

    .dropdown a {
        text-align: left;
        padding: 0.75rem 1rem;
        padding-left: 2rem;
        width: 100%;
        white-space: normal;
        display: block;
        box-sizing: border-box;
    }

    .dropdown a::after {
        display: none !important;
    }

    .dropdown a::before {
        display: none;
    }

    .dropdown a:hover {
        background: rgba(0, 168, 232, 0.1);
    }

    /* Add scroll indicator styling for mobile nav */
    #nav::-webkit-scrollbar {
        width: 6px;
    }

    #nav::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    #nav::-webkit-scrollbar-thumb {
        background: #00A8E8;
        border-radius: 3px;
    }

    #nav::-webkit-scrollbar-thumb:hover {
        background: #0088BB;
    }

    .hero-section {
        padding: 60px 0;
        /* Fix background image display on mobile - fixed attachment doesn't work on iOS/mobile */
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .content-section {
        padding: 50px 0;
    }

    .cols-2,
    .cols-3,
    .cols-4 {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn {
        display: block;
        margin: 0.5rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .feature-box {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .process-steps {
        flex-direction: column;
    }

    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f8f8;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    color: #00A8E8;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #555;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   REVIEWS WIDGET
   ============================================ */

.reviews-widget {
    width: 100%;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.google-logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.google-logo .g-blue { color: #4285F4 !important; }
.google-logo .g-red { color: #EA4335 !important; }
.google-logo .g-yellow { color: #FBBC04 !important; }
.google-logo .g-green { color: #34A853 !important; }

.google-rating {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.google-rating .rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #202124;
}

.google-rating .rating-stars {
    color: #FBBC04 !important;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.google-rating .review-count {
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 0.25rem;
}

.reviews-counter {
    color: #666;
    font-size: 0.95rem;
}

.reviews-controls {
    display: flex;
    gap: 0.5rem;
}

.reviews-controls button {
    background: white;
    border: 1px solid #dadce0;
    color: #5f6368;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-controls button:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reviews-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.reviews-controls button i {
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-height: 280px;
    width: 100%;
}

.review-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285F4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #202124;
}

.review-location {
    margin: 0.25rem 0 0 0;
    font-size: 0.8rem;
    color: #5f6368;
}

.review-stars {
    color: #FBBC04 !important;
    font-size: 1rem;
    white-space: nowrap;
    letter-spacing: 2px;
}

.review-stars .fas {
    color: #FBBC04 !important;
}

.review-stars .far {
    color: #e0e0e0 !important;
}

.review-body {
    margin-top: 1rem;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #3c4043;
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.review-service {
    font-size: 0.8rem;
    color: #5f6368;
    font-weight: 500;
    background: #f1f3f4;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.review-service i {
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.review-date {
    font-size: 0.8rem;
    color: #5f6368;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .reviews-grid {
        grid-template-columns: 1fr !important;
    }

    .google-badge {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-controls {
        width: 100%;
    }

    .reviews-controls button {
        flex: 1;
        justify-content: center;
    }

    .review-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
