/*
Theme Name: Dr. Fernando Hamilton Viera Premium
Theme URI: https://example.com
Author: Antigravity
Description: Tema premium customizado para Dr. Fernando Hamilton Viera.
Version: 2.1
*/

:root {
    /* Palette */
    --primary-dark: #003366;
    /* Azul Escuro Profundo */
    --primary-blue: #005b96;
    /* Azul Médio */
    --pool-blue: #00a8cc;
    /* Azul Piscina */
    --light-blue: #e6f7ff;
    /* Azul Claro Fundo */
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --border-color: #e0e0e0;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--pool-blue) 0%, var(--primary-blue) 100%);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Poppins', sans-serif;

    /* Spacing & Radius */
    --container-width: 1200px;
    --border-radius-lg: 24px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 15px 40px rgba(0, 168, 204, 0.2);
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Premium */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
    /* Reduced padding */
    transition: all 0.3s ease;
}

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

/* Logo Styling - Fixed Size */
.logo {
    display: flex;
    align-items: center;
    max-width: 200px;
    /* Constraint container */
}

.custom-logo-link img,
.custom-logo {
    max-height: 50px;
    /* Force small height */
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.2rem;
    /* Smaller text if no image */
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    margin: 0;
}

.logo span {
    font-size: 0.7rem;
    color: var(--pool-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    font-family: var(--font-accent);
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
}

.nav-list a {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-dark);
    position: relative;
}

.nav-list a:not(.btn-nav-whatsapp):hover {
    color: var(--pool-blue);
}

.btn-nav-whatsapp {
    background: #25D366;
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    font-size: 0.85rem !important;
}

.btn-nav-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Hero Premium */
.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--light-blue);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-hero);
    clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text-content {
    max-width: 50%;
    animation: fadeUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-title span {
    font-size: 1.3rem;
    color: var(--pool-blue);
    font-weight: 400;
    display: block;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: var(--text-gray);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-premium-primary {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.3);
}

.btn-premium-primary:hover {
    transform: translateY(-3px);
    background: var(--primary-blue);
}

.btn-premium-secondary {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

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

.hero-images {
    width: 45%;
    position: relative;
}

.hero-img-doctor img,
.img-placeholder-hero {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}

.img-placeholder-hero {
    height: 400px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Sections General */
.section-premium {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--pool-blue);
    border-radius: 2px;
    margin-bottom: 30px;
}

.section-header-premium {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-premium h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-header-premium p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.title-line-center {
    width: 80px;
    height: 4px;
    background: var(--pool-blue);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* About Section */
.about-section {
    background: white;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.img-placeholder-vertical {
    width: 100%;
    height: 500px;
    background: #eee;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.premium-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 1rem;
}

.premium-list i {
    color: var(--pool-blue);
    background: rgba(0, 168, 204, 0.1);
    padding: 10px;
    border-radius: 50%;
    font-size: 1rem;
    margin-top: -2px;
    min-width: 40px;
    text-align: center;
}

.cremers-box {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cremers-box span {
    background: var(--light-blue);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 91, 150, 0.1);
}

/* Experience Section */
.experience-section {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.exp-badge {
    display: inline-block;
    background: var(--pool-blue);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-title-center {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.exp-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Clinic Section */
.clinic-section {
    background: #f4f8fb;
}

.clinic-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
}

.cromoscopia-box {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin-top: 30px;
    text-align: left;
    border-left: 5px solid var(--pool-blue);
}

.cromoscopia-box h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.proc-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.proc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.proc-card i {
    font-size: 2rem;
    color: var(--pool-blue);
    margin-bottom: 15px;
}

.proc-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.proc-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Values Section */
.values-section {
    padding: 50px 0;
    background: white;
}

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

.value-item {
    text-align: center;
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--pool-blue);
    box-shadow: var(--shadow-md);
}

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

/* Specialties Grid */
.specialties-section {
    background: #fff;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.spec-card {
    background: var(--light-blue);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 600;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    cursor: default;
    font-size: 0.9rem;
}

.spec-card:hover {
    background: var(--pool-blue);
    color: white;
    transform: scale(1.05);
}

/* Exams Large */
.exams-section {
    background: linear-gradient(to bottom, #f9fbfd, #e6f7ff);
}

.exams-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.exam-card-large {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.exam-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.exam-icon {
    font-size: 2.5rem;
    color: var(--pool-blue);
    margin-bottom: 20px;
}

.exam-card-large h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.featured-exam {
    border: 2px solid var(--pool-blue);
    background: #f0fbff;
}

.badge-tech {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Fibroscan Detailed Section */
.fibroscan-detailed-section {
    background: white;
    padding: 80px 0;
}

.fibroscan-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 172, 193, 0.1);
}

.fibroscan-header-detailed {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.fibroscan-header-detailed i {
    font-size: 3rem;
    color: var(--pool-blue);
}

.fibroscan-header-detailed h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin: 0;
}

.fibroscan-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.fibroscan-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    .fibroscan-details-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        gap: 30px;
    }

    .exams-grid-large {
        grid-template-columns: 1fr;
        /* Stack exams on mobile */
    }

    .update-carousel-container {
        height: 400px;
        /* Smaller height for mobile */
    }
}

.fibro-col h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fibro-col ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--pool-blue);
    position: absolute;
    left: 0;
    top: 4px;
}

.star-list li::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fbc02d;
    position: absolute;
    left: 0;
    top: 4px;
}

/* Preparations */
.preparations-section {
    background: var(--primary-blue);
    color: white;
    text-align: center;
}

.prep-content h2 {
    color: white;
    margin-bottom: 20px;
}

.prep-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

/* FAQ Premium */
.faq-section-premium {
    background: white;
}

.accordion-premium {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--pool-blue);
}

.accordion-content {
    padding: 0 20px 20px;
    display: none;
    color: var(--text-gray);
}

/* Blog Grid */
.blog-section {
    background: #f9fbfd;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-img-placeholder {
    height: 180px;
    background: #eee;
}

.blog-content {
    padding: 20px;
}

.blog-content h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.read-more-link {
    color: var(--pool-blue);
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
    font-size: 0.9rem;
}

/* Numbers */
.numbers-section {
    background: var(--primary-dark);
    color: white;
    padding: 50px 0;
}

.numbers-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.number-item .count {
    font-size: 3rem;
    font-weight: 800;
    color: var(--pool-blue);
}

.number-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Insurance */
.insurance-section {
    background: white;
    text-align: center;
}

.insurance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.insurance-logo {
    background: #f9f9f9;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    color: #888;
    border: 1px solid #eee;
    font-size: 0.9rem;
}

.insurance-note {
    font-weight: 600;
    color: var(--primary-blue);
    background: var(--light-blue);
    display: inline-block;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* Contact & Footer Premium */
.contact-section {
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 40px;
    background: var(--primary-dark);
    color: white;
}

.contact-info h2 {
    color: white;
    margin-bottom: 10px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--pool-blue);
}

.info-item strong {
    display: block;
    color: white;
    margin-bottom: 5px;
}

.contact-map {
    background: #eee;
    min-height: 400px;
}

.footer-premium {
    background: #002244;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.ethical-note {
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--pool-blue);
    padding-left: 5px;
}

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

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

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

/* Responsive Mobile */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-content,
    .hero-images {
        max-width: 100%;
        width: 100%;
    }

    .hero-bg-overlay {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        clip-path: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .values-wrapper {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu */
    .mobile-menu-icon {
        display: block;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        align-items: center;
    }

    .nav-list.active {
        display: flex;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .numbers-grid {
        flex-direction: column;
    }
}

/* --- Dynamic Content Styles (Images for CPTs) --- */

/* Procedures with Images */
.proc-card.has-image {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.proc-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.proc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.proc-card.has-image:hover .proc-image img {
    transform: scale(1.1);
}

.proc-card.has-image h4 {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.proc-card.has-image .proc-desc {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.proc-icon-placeholder {
    height: 180px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--pool-blue);
}

/* Exams with Images */
.exam-card-large.has-image {
    padding: 0;
    overflow: hidden;
}

.exam-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 4px solid var(--pool-blue);
}

.exam-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.exam-card-large.has-image:hover .exam-image-wrapper img {
    transform: scale(1.1);
}

.exam-card-large.has-image h4 {
    padding: 25px 25px 10px;
    margin: 0;
}

.exam-card-large.has-image .exam-desc {
    padding: 0 25px 25px;
    color: var(--text-gray);
}

/* Specialties with Images */
.spec-card.has-image {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.spec-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.spec-card.has-image span {
    font-size: 0.9rem;
    line-height: 1.2;
}


/* --- Clinic Section Layout --- */
.clinic-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.clinic-image-col {
    flex: 1;
    min-width: 300px;
}

.clinic-main-photo,
.img-placeholder-clinic {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.img-placeholder-clinic {
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.5rem;
}

.clinic-text-col {
    flex: 1;
}

@media (max-width: 768px) {
    .clinic-content-wrapper {
        flex-direction: column;
    }
}

/* --- Dark Card Style (Reference Match) --- */
.dark-card {
    background-color: #003366;
    /* Dark Blue */
    color: white;
    border-radius: 15px;
    /* Slightly rounded overall */
    overflow: hidden;
    padding: 15px;
    /* Padding around content */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    height: 100%;
}

.dark-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.4);
}

.dark-card .proc-image,
.dark-card .exam-image-wrapper {
    border-radius: 10px;
    /* Requested 10px radius for images */
    overflow: hidden;
    margin-bottom: 15px;
    height: 200px;
    /* Fixed height for consistency */
    width: 100%;
}

.dark-card .proc-image img,
.dark-card .exam-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image covers area well */
    border-radius: 10px;
}

.dark-card .card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dark-card h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.dark-card .proc-desc,
.dark-card .exam-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Button Style inside Card */
.btn-card-action {
    background-color: #00a8cc;
    /* Pool Blue */
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-top: auto;
    transition: background 0.3s;
}

.btn-card-action:hover {
    background-color: #0088a5;
    color: white;
}

/* Small Dark Cards (Specialties) */
.dark-card-small {
    background-color: #003366;
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
}

.dark-card-small:hover {
    background-color: #00a8cc;
    transform: scale(1.05);
}

.dark-card-small .spec-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    /* 10px radius */
    margin: 0 auto 10px;
}


/* --- Clinic Image Adjustment --- */
.clinic-intro-block {
    margin-bottom: 40px;
}

.clinic-featured-image {
    margin: 30px 0;
    text-align: center;
}

.clinic-featured-image img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 500px;
    object-fit: cover;
}

/* Ensure static dark cards have consistent height */
.dark-card {
    min-height: 350px;
}


/* --- Global Section Padding Fix --- */
.section-premium {
    padding: 50px 0 !important;
}

/* --- Procedures Grid Spacing --- */
.procedures-grid {
    margin-top: 60px;
    /* Space between Cromoscopia and Cards */
}

/* --- Improved Icon Placeholder (Big Icon Style) --- */
.proc-icon-placeholder,
.exam-icon-placeholder {
    height: 200px;
    /* Fixed height like images */
    background-color: #e6f7ff;
    /* Light Blue Background */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 10px;
    /* Match image radius */
    margin-bottom: 15px;
}

.proc-icon-placeholder i,
.exam-icon-placeholder i {
    font-size: 4rem;
    /* Large Icon */
    color: #00a8cc;
    /* Pool Blue Icon */
}

/* Adjust Dark Card Content to match the look */
.dark-card .card-content {
    padding: 0 10px 10px 10px;
    text-align: center;
    /* Center text as per image */
}

.dark-card h4 {
    margin-top: 0;
    font-size: 1.2rem;
}

.dark-card .proc-desc,
.dark-card .exam-desc {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}


/* --- Icon Colors Fix --- */
.proc-icon-placeholder i,
.exam-icon-placeholder i {
    color: #ffffff !important;
    /* White Icon as requested */
    font-size: 5rem;
    /* Even larger */
}

.proc-icon-placeholder,
.exam-icon-placeholder {
    background-color: #005b96;
    /* Slightly lighter blue background for contrast */
}

/* --- Gastrostomia Icon Fix --- */
.fa-tube:before {
    content: '\f0f1';
    /* Using 'stethosope' or 'medkit' as fallback if tube not found, or ensure FA version */
}

/* Note: fa-tube might not exist in FA 6 Free. Using fa-syringe or similar is safer. 
   Let's swap to fa-syringe in the PHP if needed, but CSS content override is tricky without knowing the font family version perfectly.
   Better to rely on the class change in PHP if possible, but here I will just ensure visibility. */

/* --- Typography & Spacing Enhancements --- */
.fibroscan-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    text-align: justify;
}

.accordion-content p {
    text-align: justify;
    line-height: 1.7;
}

.blog-content p {
    text-align: justify;
}


/* --- Clinic Carousel Styles --- */
/* --- Clinic Carousel Styles --- */
.clinic-carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* Limit width */
    margin: 30px auto;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.clinic-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.clinic-slide {
    min-width: 100%;
    height: 400px;
    /* Fixed height for consistency */
}

.clinic-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

/* --- Update/UEG Carousel Styles --- */
.update-carousel-container {
    position: relative;
    width: 100%;
    /* Full width of the flex column */
    height: 500px;
    /* Slightly taller to see details */
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.update-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.update-slide {
    min-width: 100%;
    height: 100%;
    background-color: #fff;
    /* Ensure clean background if image aspect ratio differs */
    display: flex;
    align-items: center;
    /* Center image vertically */
    justify-content: center;
    /* Center image horizontally */
}

.update-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Shows full image without cropping */
    padding: 10px;
    /* Slight padding to frame it */
}

.update-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

/* Reusing generic dot styles */
.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* --- Doctor Vertical Image --- */
.doctor-vertical-photo {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 600px;
    /* Prevent it from being too tall */
}


/* --- Blog Page Styles --- */

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 120px 0 60px;
    /* Top padding to clear fixed header */
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.blog-page-section {
    background-color: #f9f9f9;
}

.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* --- Google Reviews Section --- */
.google-reviews-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.google-review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}

.review-meta {
    flex-grow: 1;
}

.review-author {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.review-stars {
    color: #ffc107;
    /* Gold color for stars */
    font-size: 0.9rem;
    margin-top: 5px;
}

.google-icon {
    font-size: 1.5rem;
    color: #4285F4;
    /* Google Blue */
    opacity: 0.8;
}

.review-body p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

/* Social Icons Hover */
.hero-social a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer-social a:hover {
    color: var(--pool-blue) !important;
    transform: translateY(-3px);
}

.blog-post-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-meta i {
    color: var(--pool-blue);
    margin-right: 5px;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-title a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: var(--pool-blue);
}

.post-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    color: var(--pool-blue);
    font-weight: 600;
    text-decoration: none;
    transition: padding-left 0.3s;
    margin-top: auto;
    /* Push to bottom */
}

.read-more-btn:hover {
    padding-left: 5px;
    color: var(--primary-dark);
}

.read-more-btn i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 40px;
}

.blog-pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--pool-blue);
    color: white;
}

.blog-pagination .next,
.blog-pagination .prev {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}


/* --- Compact 4-Column Blog Grid --- */
.blog-page-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns */
    gap: 20px;
    margin-bottom: 50px;
}

@media (max-width: 1200px) {
    .blog-page-grid-4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 576px) {
    .blog-page-grid-4col {
        grid-template-columns: 1fr;
    }
}

.blog-post-card-compact {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image-compact {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.blog-card-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card-compact:hover .blog-card-image-compact img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #003366;
    /* Dark Blue */
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.blog-card-content-compact {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-title-compact {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #333;
}

.post-title-compact a {
    color: #333;
    text-decoration: none;
}

.post-title-compact a:hover {
    color: var(--pool-blue);
}

.blog-meta-compact {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
}

.post-excerpt-compact {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

/* --- Single Post Style (Individual Page) --- */
.single-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.single-post-header {
    margin-bottom: 30px;
}

.single-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.single-post-meta {
    font-size: 0.9rem;
    color: #777;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.single-post-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.single-post-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.single-post-content h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

/* --- New Styles for Updated Content --- */

/* Carousel Drag Cursor */
.clinic-carousel-container {
    cursor: grab;
}

.clinic-carousel-container.grabbing {
    cursor: grabbing;
}

/* Journey Section */
.journey-section {
    background: #f4f8fb;
    padding: 60px 0;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.journey-step {
    background: white;
    padding: 30px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.journey-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--pool-blue);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0, 168, 204, 0.3);
}

.journey-step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.journey-step p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.journey-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-blue);
    background: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--pool-blue);
}

/* Education Extra Section */
.education-extra-section {
    background: white;
    padding: 60px 0;
}

.education-content-block {
    max-width: 1000px;
    margin: 0 auto;
}

.education-content-block>p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.edu-col {
    background: #f9fbfd;
    padding: 25px;
    border-radius: var(--border-radius-md);
    border: 1px solid #eee;
}

.edu-col h4 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.edu-col h4 i {
    color: var(--pool-blue);
}

.edu-col ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.edu-col ul li::before {
    content: '•';
    color: var(--pool-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Values Detailed */
.values-wrapper-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-item-detailed {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
}

.value-item-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--pool-blue);
}

.value-item-detailed .value-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.value-item-detailed h3 {
    margin-bottom: 15px;
}

.value-item-detailed p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.value-item-detailed ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* --- Health Guide Section Styles --- */
.health-guide-section {
    background: #fff;
    padding: 80px 0;
}

.guide-article-block {
    background: #f9fbfd;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

.guide-title {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid var(--pool-blue);
    padding-bottom: 15px;
}

.guide-title i {
    color: var(--pool-blue);
}

.guide-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-gray);
    text-align: justify;
}

/* Comparison Grid (Gastritis vs Reflux) */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.comparison-col {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-blue);
}

.comparison-col h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.comparison-col ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.guide-footer-note {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: var(--border-radius-sm);
    margin-top: 20px;
    border-left: 5px solid #ffeeba;
}

/* Two Col Text (Anal Bleeding) */
.two-col-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.check-list-red li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.check-list-red li::before {
    content: '\f00d';
    /* Times icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #dc3545;
    position: absolute;
    left: 0;
}

.alert-box {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: var(--border-radius-sm);
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

/* Causes Grid (Bloating) */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cause-item {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid #e0e0e0;
}

.cause-item h4 {
    color: var(--pool-blue);
    margin-bottom: 10px;
}

.tips-box {
    background: #e6f7ff;
    padding: 30px;
    border-radius: var(--border-radius-md);
    border-left: 5px solid var(--pool-blue);
}

.tips-box ol {
    padding-left: 20px;
}

.tips-box ol li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* Premium Table (Weight Loss) */
.investigation-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.premium-table th {
    background: var(--primary-dark);
    color: white;
    padding: 15px;
    text-align: left;
}

.premium-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: var(--text-gray);
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.exams-list-block {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius-md);
    margin-top: 30px;
    border: 1px solid #eee;
}

.exams-list-block h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.exams-list-block ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.exams-list-block ul li::before {
    content: '\f058';
    /* Check circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--pool-blue);
    position: absolute;
    left: 0;
}

/* --- Responsive Styles for Health Guide --- */
@media (max-width: 768px) {
    .guide-article-block {
        padding: 25px;
    }

    .guide-title {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-grid,
    .two-col-text {
        grid-template-columns: 1fr;
    }

    .premium-table {
        font-size: 0.85rem;
    }

    .premium-table th,
    .premium-table td {
        padding: 10px;
    }
}

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

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

/* Apply to sections */
.section-premium,
.guide-article-block,
.journey-step,
.value-item-detailed,
.proc-card,
.exam-card-large,
.spec-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-premium.visible,
.guide-article-block.visible,
.journey-step.visible,
.value-item-detailed.visible,
.proc-card.visible,
.exam-card-large.visible,
.spec-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.journey-step:nth-child(1) {
    transition-delay: 0.1s;
}

.journey-step:nth-child(2) {
    transition-delay: 0.2s;
}

.journey-step:nth-child(3) {
    transition-delay: 0.3s;
}

.journey-step:nth-child(4) {
    transition-delay: 0.4s;
}

.value-item-detailed:nth-child(1) {
    transition-delay: 0.1s;
}

.value-item-detailed:nth-child(2) {
    transition-delay: 0.2s;
}

.value-item-detailed:nth-child(3) {
    transition-delay: 0.3s;
}

.proc-card:nth-child(1) {
    transition-delay: 0.1s;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .hero-text {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-header-premium h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .about-credentials li,
    .journey-step-detailed li,
    .fibro-col li,
    .edu-col li {
        font-size: 0.95rem;
        word-wrap: break-word;
    }

    .journey-step-detailed {
        padding: 20px !important;
    }

    .step-number {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }

    .journey-step-detailed h3 {
        font-size: 1.2rem !important;
    }

    .journey-step-detailed>div:first-child {
        gap: 10px !important;
    }

    .journey-step-detailed>div:last-child {
        margin-left: 0 !important;
        margin-top: 15px;
    }

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

    .footer-social {
        justify-content: center;
        display: flex;
    }

    .google-reviews-grid {
        grid-template-columns: 1fr;
    }
}

.proc-card:nth-child(2) {
    transition-delay: 0.2s;
}

.proc-card:nth-child(3) {
    transition-delay: 0.3s;
}

.proc-card:nth-child(4) {
    transition-delay: 0.4s;
}

.proc-card:nth-child(5) {
    transition-delay: 0.5s;
}

/* CREMERS Box Styling */
.cremers-box {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 15px;
    background: var(--light-blue);
    border-radius: var(--border-radius-md);
    justify-content: center;
}

.cremers-box span {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

/* Experience Section Styling */
.experience-section {
    background: linear-gradient(135deg, #f4f8fb 0%, #e6f7ff 100%);
}

.exp-badge {
    display: inline-block;
    background: var(--pool-blue);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.exp-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-preview {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 30px auto;
}

/* Cromoscopia Box */
.cromoscopia-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    margin-top: 40px;
    box-shadow: var(--shadow-lg);
}

.cromoscopia-box h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.cromoscopia-box h3 i {
    color: var(--pool-blue);
    margin-right: 10px;
}

.cromoscopia-box p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Clinic Description */
.clinic-desc-main {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* End of file */