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

:root {
    --primary-color: #2c7a7b;
    --secondary-color: #38b2ac;
    --accent-color: #319795;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 122, 123, 0.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 178, 172, 0), rgba(56, 178, 172, 0.8), rgba(56, 178, 172, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header.header-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.header.header-scrolled::after {
    opacity: 1;
}

.nav {
    padding: 0.55rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    margin: 0;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo img {
    display: block;
    width: clamp(68px, 11vw, 102px);
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(44, 122, 123, 0.2));
}

/* Hamburger Button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(237, 242, 247, 0.95));
    border: 1px solid rgba(44, 122, 123, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 0.55rem;
    z-index: 1001;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.nav-menu {
    display: none;
    flex-direction: column;
    list-style: none;
    gap: 0.25rem;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(44, 122, 123, 0.15);
    border-radius: 16px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
    padding: 0.5rem;
    margin: 0;
}

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

.nav-menu li {
    border-bottom: none;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.98rem;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.12), rgba(56, 178, 172, 0.18));
}

/* Hero Section */
.hero {
    background: radial-gradient(1200px 400px at 10% -10%, rgba(255, 255, 255, 0.25), transparent 60%),
                linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    top: 30px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    filter: blur(2px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-highlights {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    justify-content: flex-start;
}

.highlight-dot {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.btn-cta {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.hero-card li {
    line-height: 1.6;
    color: var(--text-light);
}

.hero-card strong {
    color: var(--text-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

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

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

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

.btn-light:hover {
    background-color: #eaf1f7;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.about-text h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-icon {
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Specialties Section */
.specialties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.specialty-card {
    background-color: var(--bg-white);
    padding: 0;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

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

.specialty-icon {
    margin: 0;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specialty-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-card h3 {
    font-size: 1.3rem;
    margin: 0;
    padding: 1.5rem 2rem 1rem;
    color: var(--primary-color);
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialty-card p {
    color: var(--text-light);
    padding: 0 2rem;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    line-height: 1.5;
}

/* Importance Section */
.importance {
    background-color: var(--bg-light);
}

.importance-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.importance-intro {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.importance-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.benefit p {
    color: var(--text-light);
    line-height: 1.7;
}

.importance-home {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.importance-home h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.home-benefits-grid {
    gap: 1rem;
}

.home-benefit-card {
    text-align: center;
}

.home-benefit-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
}

.home-benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.home-benefit-card .benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

/* Contact Section */
.contact {
    background: radial-gradient(500px 200px at 10% 0%, rgba(56, 178, 172, 0.12), transparent 70%),
                radial-gradient(420px 260px at 90% 40%, rgba(44, 122, 123, 0.12), transparent 70%);
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-panel {
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.95) 0%, rgba(56, 178, 172, 0.95) 100%);
    color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 600px;
}

.contact-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.contact-panel p {
    margin-bottom: 1.8rem;
    opacity: 0.95;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.contact-panel .btn-primary {
    background-color: #ffffff;
    color: var(--primary-color);
}

.contact-panel .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.contact-panel .btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

.contact-panel .btn-light {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.contact-panel .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.contact-note {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--bg-white);
    padding: 1.4rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.contact-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-info h3,
.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo a {
    display: inline-flex;
    align-items: center;
}

.footer-logo img {
    display: block;
    width: clamp(140px, 25vw, 230px);
    height: auto;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact a {
    color: #cfe9e8;
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-contact .instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-contact .instagram-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

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

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }

    /* Navigation - Show normal menu, hide hamburger */
    .nav-toggle {
        display: none;
    }

    .nav .container {
        flex-direction: row;
        gap: 0;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 999px;
        background-color: transparent;
        gap: 0.35rem;
        justify-content: flex-end;
        width: auto;
        padding: 0.3rem;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .nav-menu li {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 0.42rem 0.82rem;
        font-size: 0.95rem;
        border-radius: 999px;
        font-weight: 600;
    }

    .nav-menu a:hover {
        background: linear-gradient(135deg, rgba(44, 122, 123, 0.12), rgba(56, 178, 172, 0.16));
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: left;
    }

    .hero-content {
        margin: 0;
    }

    .hero-highlights {
        justify-items: start;
    }

    .hero-highlight {
        justify-content: flex-start;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .about-content {
        flex-direction: row;
        text-align: left;
    }

    .about-image {
        max-width: 360px;
        margin: 0;
        flex-shrink: 0;
    }

    .about-highlights {
        flex-direction: row;
        flex-wrap: wrap;
    }

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

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

    .importance-home {
        padding: 2rem;
    }

    .home-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-panel {
        max-width: 700px;
        padding: 3rem 2.5rem;
    }

    .contact-actions {
        flex-direction: row;
        gap: 1rem;
    }

    .contact-action {
        flex: 1;
    }

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

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }

    .hero {
        padding: 6rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .about-image {
        max-width: 420px;
    }

    section {
        padding: 5rem 0;
    }

    .whatsapp-float {
        width: 70px;
        height: 70px;
        bottom: 40px;
        right: 40px;
    }

    .whatsapp-icon {
        width: 40px;
        height: 40px;
    }
}

/* Accessibility */
.btn:focus,
.nav-menu a:focus,
.whatsapp-float:focus,
.contact-item a:focus,
.footer-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Fade-in animation classes */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Active navigation link */
.nav-menu a.active-nav {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.14), rgba(56, 178, 172, 0.2));
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .fade-in-element {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    .whatsapp-float,
    .header,
    .footer {
        display: none;
    }
}

/* Specialty Pages Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.specialties-page {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.specialty-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.specialty-link .learn-more {
    display: inline-block;
    margin-top: auto;
    margin-bottom: 2rem;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: center;
}

.specialty-link:hover .learn-more {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(44, 122, 123, 0.3);
}

.cta-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 18px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Individual Specialty Page Styles */
.specialty-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 2rem 0 3rem;
    position: relative;
}

.specialty-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.85) 0%, rgba(56, 178, 172, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.specialty-hero > * {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

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

.specialty-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.specialty-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialty-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.specialty-lead {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.specialty-section {
    padding: 4rem 0;
}

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

.specialty-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.content-box {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.content-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-box p:last-child {
    margin-bottom: 0;
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.problem-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.problem-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.problem-card ul {
    list-style: none;
    padding: 0;
}

.problem-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.problem-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.treatment-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.benefit-card .benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive for specialty pages */
@media (min-width: 768px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .specialty-hero h1 {
        font-size: 3rem;
    }

    .specialty-icon-large {
        font-size: 5rem;
    }

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

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

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

@media (min-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

