/* 
   Project: MUDr. Petra Kaupeová Website
   Colors: Blue (#2C5F8D), Green (#4A9B8E)
   Fonts: Geologica, Open Sans
*/

:root {
    /* New Color Palette - Navy/Teal/Sky Blue/Beige */
    --primary-color: #2F4156;
    /* Navy - main brand color */
    --primary-dark: #1f2b38;
    /* Darker navy for hover states */
    --primary-light: #C8D9E6;
    /* Sky Blue - light accent */
    --secondary-color: #699bb2;
    /* Teal - accent color */
    --secondary-dark: #3f5a68;
    /* Darker teal */
    --text-color: #2F4156;
    /* Navy for text */
    --text-light: #2F4156;
    /* Teal for lighter text */
    --bg-light: #F5EEEB;
    /* Beige - light background */
    --white: #FFFFFF;
    --border-color: #C8D9E6;
    /* Sky Blue for borders */
    --shadow: 0 4px 6px -1px rgba(47, 65, 86, 0.1), 0 2px 4px -1px rgba(47, 65, 86, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(47, 65, 86, 0.1), 0 4px 6px -2px rgba(47, 65, 86, 0.05);

    --font-heading: 'Sen', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #F8F7F6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-blue {
    background-color: #EFEDEB;
    color: var(--text-color);
    margin-top: 80px;
}

#ordinacni-doba .container {
    max-width: 80%;
}

.bg-blue h2,
.bg-blue p,
.bg-blue .day,
.bg-blue .time {
    color: var(--text-color);
}

.highlight {
    color: var(--secondary-color);
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: transparent;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #F8F7F6;
    backdrop-filter: blur(10px);
    box-shadow: none;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.logo-text .title {
    font-size: 0.85rem;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-btn::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Hero Section */
/* Hero Section */
.hero {
    padding-top: 120px;
    /* Space for fixed header */
    padding-bottom: 60px;
    background-color: #F8F7F6;
    /* Page background is white/light */
    position: relative;
    overflow: hidden;
}

/* The "Card" layout */
.hero-container {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('_fotky/mudr kaupeova.jpg');
    background-size: cover;
    background-position: center 20%;
    /* Adjusted to focus on face if possible */
    border-radius: 40px;
    /* Large rounded corners as per reference */
    padding: 100px 20px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Ensure container behavior persists */
    width: 100%;
    margin: 0 auto;
}

.hero::before {
    display: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    padding: 0 0 0 80px;
    /* No background on content itself, the card has the dark overlay */
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
    backdrop-filter: blur(5px);
    color: var(--white);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    /* White text */
    line-height: 1.1;
    font-weight: 700;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    /* White paragraph */
    font-weight: 400;
    margin-left: 0;
    margin-right: auto;
    max-width: 800px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

/* Removed hero specific button overrides to maintain consistent solid button style */

/* Intro Section (below hero) */
.intro-section {
    padding: 100px 0 40px;
    background-color: #F8F7F6;
}

.intro-text {
    max-width: 60%;
    margin: 0 auto;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-color);
    font-family: var(--font-heading);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: transparent;
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
    text-align: center;
    border: none;
    outline: none;
    box-shadow: none;
}

.benefit-card:hover {
    transform: none;
    border: none;
    outline: none;
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.benefit-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Services Section */
#sluzby .container {
    max-width: 75%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 1s ease;
    /* Slow animation as requested */
    /* border-left: 4px solid var(--secondary-color); Removed as requested */
}

.service-card.visible:hover,
.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

/* About Section */
#o-lekarce {
    padding: 120px 0 80px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    /* Increased spacing between image and text */
    align-items: center;
}

.about-image .image-placeholder {
    height: 600px;
    box-shadow: -20px 20px 0 var(--primary-color);
}

.about-img-real {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    /* box-shadow: -20px 20px 0 var(--primary-color); Removed as requested */
    display: block;
}

.about-content .subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content {
    max-width: 80%;
}

.about-content p {
    margin-bottom: 1.25rem;
}

.signature p {
    font-family: 'Birthstone', cursive;
    /* Birthstone calligraphic font */
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Ordination & Map */
.ordination-row {
    align-items: stretch;
}

.hours-col {
    background-color: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.hours-list {
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 30px;
}

.hours-header {
    border-bottom: 2px solid var(--primary-light) !important;
    padding-bottom: 10px !important;
    margin-bottom: 5px;
}

.header-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hours-header .header-label:nth-child(2),
.hours-header .header-label:last-child {
    text-align: right;
}

.time-walkin,
.time-appointment {
    align-items: flex-end;
    text-align: right;
}

.hours-list .day {
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
}

.hours-list li.current-day {
    background-color: #e7edf3;
    /* Aktuální den zvýrazněn světle modrou */
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 10px;
    border-bottom: 1px solid transparent;
}

.hours-list li.current-day .day {
    color: var(--secondary-color);
    font-weight: 700;
}

.hours-list li.current-day .time {
    color: var(--primary-color);
    font-weight: 700;
}

.hours-legend-mobile {
    display: none;
}

.time-group {
    display: contents;
}

.time-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.time {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.2;
}

.hours-note {
    font-style: normal;
    font-size: 0.9rem;
    color: #888;
    margin-top: auto;
}

.cta-bottom {
    text-align: center;
    margin-top: 5rem;
}

.cta-bottom h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.map-info-box {
    background-color: var(--white);
    padding: 50px;
    border-radius: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info-box .address-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.map-info-box p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.map-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.map-wrapper.card-map {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: none;
}

.map-wrapper.card-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.btn.full-width {
    display: block;
    width: 100%;
    text-align: center;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Insurance Section */
.insurance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.insurance-logo {
    width: 200px;
    height: 100px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: var(--transition);
}

.insurance-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.insurance-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #2F4156;
    color: var(--white);
    padding: 120px 0 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
}

.footer-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #C8D9E6;
    margin-bottom: 1.25rem;
    letter-spacing: 1.5px;
}

.footer-pill {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-pill:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.05);
}

.footer-address {
    color: var(--white);
    line-height: 1.5;
}

.footer-address p {
    color: var(--white);
    margin-bottom: 2px;
}

.footer-address .name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-address .ico {
    margin-top: 10px;
    font-size: 0.9375rem;
    color: var(--white);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
}

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

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-container,
    .about-container,
    .row,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-container {
        border-radius: 20px;
        padding: 50px 20px;
        min-height: 450px;
    }

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

    .hero-content {
        padding: 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0;
        align-items: flex-start;
    }

    .hero .btn {
        width: auto;
        min-width: 200px;
    }

    .about-content {
        max-width: 100%;
    }

    /* Removed hero-image styles as element is deleted */

    .about-image .image-placeholder {
        height: 400px;
        box-shadow: none;
        margin-bottom: 30px;
    }

    .about-img-real {
        height: 400px;
        box-shadow: none;
        margin-bottom: 30px;
    }

    #ordinacni-doba .container,
    #sluzby .container {
        max-width: 90%;
    }

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

    .hours-col {
        padding: 40px 20px;
    }

    .map-col {
        margin-top: 30px;
        grid-template-rows: auto auto;
        gap: 20px;
    }

    .map-info-box {
        margin-bottom: 0;
        padding: 40px 20px;
    }

    .map-wrapper.card-map {
        order: -1;
        margin-bottom: 0;
    }

    .map-wrapper.card-map iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .header {
        padding: 10px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero .btn {
        width: auto;
        min-width: 200px;
        text-align: center;
    }

    .about-container {
        gap: 30px;
    }

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

    .hours-col .card-title {
        text-align: center;
    }

    .hours-list li {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 15px 0;
        text-align: center;
        justify-content: center;
    }

    .time-cell {
        align-items: center;
    }

    .hours-list li.current-day .day {
        color: #1f2b38
            /* Match regular day color */
    }

    .time-walkin .time {
        color: #699bb2 !important;
        /* Blue for walk-in */
    }

    .time-appointment .time {
        color: #ff4444d7 !important;
        /* Orange/Red for appointment */
    }

    .hours-legend-mobile {
        display: block;
        text-align: center;
        margin-bottom: 15px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .legend-walkin {
        color: #ff4444d7;
    }

    .legend-appointment {
        color: #699bb2
    }

    .hours-note {
        text-align: center;
    }

    .insurance-grid {
        flex-direction: column;
        gap: 20px;
    }

    .hours-header {
        display: none !important;
        /* Headers don't work in stacked layout */
    }

    .time-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hours-list .day {
        color: var(--primary-color);
        font-weight: 700;
        margin-bottom: 5px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reviews Section */
#reference {
    padding-bottom: 0px;
}

/* Reviews Slider */
.reviews-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 40px;
}

.reviews-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 1rem 0.5rem;
    cursor: grab;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-slider-track::-webkit-scrollbar {
    display: none;
}

.reviews-slider-track.active {
    cursor: grabbing;
    scroll-behavior: auto;
    /* Disable smooth scroll while dragging */
}

/* Ensure cards maintain width in slider */
.reviews-slider-track .review-card {
    flex: 0 0 320px;
    margin: 0;
    /* Reset transform for smooth sliding */
    transform: none;
}

/* Re-apply hover effect carefully */
.reviews-slider-track .review-card:hover {
    transform: translateY(-5px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

@media (max-width: 768px) {
    .reviews-slider-container {
        padding: 0 50px;
        /* Space for buttons */
    }

    .slider-btn {
        display: flex;
        /* Show buttons on mobile */
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    .reviews-slider-track {
        padding: 1rem 0;
        gap: 0;
        scroll-snap-type: x mandatory;
    }

    .reviews-slider-track .review-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        /* Subtle shadow on mobile */
        padding: 1.5rem;
        /* Reduced padding on mobile */
        min-height: 250px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}


.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    /* Matched to other cards (service-card) */
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.review-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eef2f6;
    padding-top: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary-color);
}

.review-source {
    font-size: 0.9rem;
    color: var(--text-light);
}

.reviews-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .reviews-actions {
        flex-direction: column;
        width: 100%;
    }

    .reviews-actions .btn {
        width: 100%;
        text-align: center;
    }

    .insurance-logo {
        width: 140px;
        height: 70px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-pill {
        width: 100%;
        max-width: 320px;
    }
}