/* Local Fonts - Compliant with Swiss LPD */
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v12-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/outfit-v6-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color Palette - Medical & Trustworthy */
    --primary-color: #008080;
    /* Teal - Healing, Calm */
    --primary-dark: #005f5f;
    --secondary-color: #004d66;
    /* Deep Blue - Professionalism */
    --accent-color: #4db8ff;
    /* Light Blue - Energy */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --error: #dc3545;
    --success: #28a745;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

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

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

.section {
    padding: var(--spacing-lg) 0;
}

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

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 77, 102, 0.6);
    /* Overlay to make text readable */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.team-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.team-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    min-height: 3rem;
    /* Align titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.team-specialty {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    flex-grow: 1;
    /* Push languages down */
}

.team-languages {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    /* Push to bottom of content area */
    margin-bottom: 1rem;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Footer Bottom Layout - Split to avoid Center Button Overlap */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    flex-wrap: wrap;
    /* allow wrapping on mobile */
    gap: 1rem;
}

/* Make sure buttons have space at the bottom of the page if needed, OR just ensure content doesn't overlap */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-bottom: 70px;
        /* Add extra padding on mobile so buttons don't cover text if they stack */
    }
}

/* Responsive */
@media (max-width: 1300px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
        /* Ensure dropdowns work nicely in mobile menu if needed, though simpler is better */
    }

    .nav-menu.active {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll {
    opacity: 0;
    /* Initially hidden */
}

/* Cookie Bar */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-md);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-bar.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 800px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

@media (max-width: 768px) {
    .cookie-bar {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1500;
    /* Below cookie bar (2000) but above content */
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(5px);
    transition: bottom 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}



/* Lift up when cookie bar is shown */
body.cookie-bar-visible .floating-actions {
    bottom: 100px;
    /* Adjust based on cookie bar height */
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.fab-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fab-whatsapp {
    background-color: #25D366;
}

.fab-phone {
    background-color: var(--primary-color);
}

.fab-email {
    background-color: var(--secondary-color);
}

.fab-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

@media (max-width: 768px) {
    .floating-actions {
        padding: 8px 15px;
        gap: 10px;
        width: 90%;
        justify-content: space-around;
        border-radius: 15px;
    }

    .fab-btn {
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   NEW COMPONENTS - HLife Restructure
   ======================================== */

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

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: var(--spacing-sm) 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-content a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.team-card .team-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.team-card .team-specialty {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.team-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}

.team-languages span {
    background: var(--bg-light);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.team-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px dashed #ddd;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

/* Team Grid Improvements for Layout Refinement */
.team-wrapper {
    width: 100%;
}

.team-section-title {
    text-align: center;
    width: 100%;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.team-separator {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: var(--spacing-lg) 0;
}

/* Ensure grid is only grid, logic handled by wrapper */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Featured Articles / In Primo Piano */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.featured-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card-content {
    padding: var(--spacing-md);
}

.featured-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.featured-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.featured-card .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
}

/* Therapeutic Path Timeline */
.path-timeline {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    padding: var(--spacing-md) 0;
}

.path-step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: var(--spacing-md);
    text-align: center;
    position: relative;
}

.path-step::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-color);
}

.path-step:last-child::after {
    display: none;
}

.path-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
}

.path-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.path-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .path-timeline {
        flex-direction: column;
        align-items: center;
    }

    .path-step::after {
        content: '↓';
        right: auto;
        bottom: -10px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .path-step:last-child::after {
        display: none;
    }
}

/* Service Grid Enhanced */
.services-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card-full {
    background: var(--white);
    border-radius: 16px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card-full .service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-card-full h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-card-full p {
    color: var(--text-light);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: var(--spacing-sm);
}

.service-card-full .btn {
    align-self: flex-start;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
}

/* Page Breadcrumb */
.breadcrumb {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Service Detail Page */
.service-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 120px 0 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 60, 0.7);
    /* Dark teal overlay for readability */
    z-index: 0;
}

.service-hero>.container {
    position: relative;
    z-index: 1;
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: var(--spacing-sm);
}

.service-hero h1 {
    color: var(--white);
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.service-sidebar {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 16px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.service-sidebar h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.service-sidebar ul {
    list-style: disc;
    padding-left: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.service-sidebar li {
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

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

    .service-sidebar {
        position: static;
    }

    .nav-dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        padding: 0;
        background: var(--bg-light);
        border-radius: 8px;
        margin-top: 0.5rem;
    }
}

/* Insurance Note Box */
.insurance-note {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.1), rgba(0, 77, 102, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: var(--spacing-md);
    border-radius: 0 12px 12px 0;
    margin: var(--spacing-md) 0;
}

.insurance-note h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Benefits List */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.benefit-item::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Reviews Carousel */
.reviews-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--white);
    overflow: hidden;
}

.reviews-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.reviews-track-container {
    overflow: hidden;
    padding: 1rem 0;
    /* Space for shadow */
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.review-card {
    flex: 0 0 calc(100% - 20px);
    /* Mobile: 1 card */
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    border: 1px solid #eee;
}

@media (min-width: 768px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
        /* Tablet/Desktop: 2 cards */
    }
}

.review-stars {
    color: #ffc107;
    /* Star yellow */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.review-author {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Split Logo Styling */
.split-logo {
    display: flex;
    align-items: center;
    gap: 0;
    /* Adjust gap to 0 so they touch or seamlessly blend if designed that way */
    text-decoration: none;
}

.logo-part {
    height: 38px;
    /* Base height */
    width: auto;
    display: block;
}

/* Adjust if needed for mobile */
@media (max-width: 480px) {
    .logo-part {
        height: 40px;
    }
}

.logo-dx {
    height: 10px !important;
    /* Force override. 50px / 5 = 10px approx */
    align-self: flex-end;
    /* Ensure it stays vertically bottom-aligned */
    margin-left: 15px;
    /* Add breathing room */
}

/* Service Page Layout Fixes */
.service-main-column {
    display: flex;
    flex-direction: column;
}

.back-link-wrapper {
    margin-bottom: 2rem;
}

.btn-back {
    padding: 0.5rem 1rem !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.service-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.service-content ul li {
    margin-bottom: 0.5rem;
}