:root {
    --primary-color: #0fa3b1;
    /* Teal/Turquoise - Medical, Clean */
    --primary-dark: #0c8591;
    --secondary-color: #a0e8af;
    /* Soft Green - Safe, Growth */
    --accent-color: #2c3e50;
    /* Dark Blue/Gray - Professional */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-color);
    line-height: 1.2;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.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-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--accent-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--accent-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(15, 163, 177, 0.1) 0%, rgba(160, 232, 175, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    gap: 20px;
    font-weight: 500;
    color: var(--primary-dark);
}

.feature-item i {
    color: var(--secondary-color);
    /* Makes checkmark stand out */
    color: #27ae60;
    margin-right: 5px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border: 2px dashed var(--secondary-color);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* About Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 180px;
    height: 180px;
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    margin: 0 auto 20px;
}

.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

/* Diagnostics */
#diagnostics {
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('images/diagnostics-bg.jpg');
    background-size: cover;
    background-position: center;
}

.services-category {
    margin-bottom: 40px;
}

.services-category h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    color: var(--accent-color);
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.services-grid {
    display: grid;
    gap: 30px;
}

.two-col {
    grid-template-columns: 1fr 1fr;
}

.service-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.service-box h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Analysis CTA */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

.cta-content {
    flex: 1;
    z-index: 2;
}

.cta-image-box {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.cta-img {
    width: 100%;
    max-width: 250px;
    transform: rotate(15deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.cta-banner:hover .cta-img {
    transform: rotate(0deg) scale(1.1);
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding-bottom: 0;
    }

    .cta-image-box {
        flex: auto;
        width: 100%;
        margin-top: 20px;
        transform: translateY(20px);
    }

    .cta-img {
        max-width: 200px;
    }

    .check-list li {
        justify-content: center;
    }
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Specialists */
/* Specialists */
.specialists-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.specialists-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
}

.specialist-img-files {
    width: 100%;
    max-width: 350px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.specialists-content {
    flex: 1;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.specialist-card {
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    /* Prepare for hover border */
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
    /* Add a nice accent */
}

.specialist-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background-color: var(--primary-color);
    color: var(--white);
    border-left-color: var(--white);
}

@media (max-width: 900px) {
    .specialists-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .specialists-image {
        flex: auto;
        margin-bottom: 30px;
    }

    .specialist-img-files {
        max-width: 250px;
    }
}

/* Certificates */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Treatments */
#treatments {
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('images/treatments-bg.jpg');
    background-size: cover;
    background-position: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.treatment-block {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.treatment-block ul {
    margin-top: 15px;
}

.treatment-block li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-light);
}

/* Why Us */
.benefits-scroller {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.benefit-item {
    text-align: center;
    width: 180px;
}

.benefit-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(15, 163, 177, 0.2);
    line-height: 1;
    margin-bottom: 10px;
}

.benefit-item p {
    font-weight: 600;
}

/* Contacts */
.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-row i {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.map-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.map-container {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

.appointment-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-family: inherit;
}

.full-width {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        padding: 0 10px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .image-placeholder {
        width: 280px;
        height: 280px;
        font-size: 100px;
    }

    .two-col,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}