* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* .header {
    background: linear-gradient(135deg, #9b20bd 0%, #cb21fa 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position:relative;
    height: 60px;
} */

.clinic-name {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.tagline {
    font-size: 1.1em;
    opacity: 0.95;
    font-weight: 300;
}

.main-content {
    background-color: white;
    margin: 40px auto;
    padding: 50px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.intro-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.intro-section h2,
.privacy-section > h2 {
    font-size: 2.2em;
    color: #9b20bd;
    margin-bottom: 25px;
    font-weight: 600;
}

.intro-text {
    font-size: 1.05em;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 15px;
}

.terms-section,
.privacy-section {
    margin-bottom: 50px;
}

.privacy-section {
    padding-top: 40px;
    /* border-top: 3px solid #9b20bd; */
}

.term-item {
    margin-bottom: 35px;
    padding: 25px;
    background-color: #f7fafc;
    border-left: 4px solid #9b20bd;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.term-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.1);
}

.term-item h3 {
    color: #9b20bd;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.term-item h4 {
    color: #2d3748;
    font-size: 1.1em;
    margin-bottom: 8px;
    font-weight: 600;
}

.term-item p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 12px;
}

.subsection {
    margin: 20px 0;
    padding-left: 20px;
    border-left: 2px solid #cbd5e0;
}

.term-item ul {
    margin: 15px 0;
    padding-left: 30px;
}

.term-item ul li {
    color: #4a5568;
    margin-bottom: 10px;
    line-height: 1.7;
}

.contact-info {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #e2e8f0;
}

.contact-info p {
    margin-bottom: 8px;
}

.about-clinic {
    background: linear-gradient(135deg, #ebf4ff 0%, #e6f2ff 100%);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #bee3f8;
}

.about-clinic h3 {
    color: #9b20bd;
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-clinic p {
    color: #2d3748;
    line-height: 1.8;
    font-size: 1.05em;
}

/* .footer {
    background-color: #1a365d;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #90cdf4;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.7;
    color: #e2e8f0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
} */

@media (max-width: 768px) {
    .clinic-name {
        font-size: 1.8em;
    }

    .tagline {
        font-size: 1em;
    }

    .intro-section h2,
    .privacy-section > h2 {
        font-size: 1.7em;
    }

    .term-item {
        padding: 20px;
    }

    .term-item h3 {
        font-size: 1.2em;
    }

    .main-content {
        margin: 20px auto;
        padding: 30px 0;
    }

    /* .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    } */
}

@media print {
    /* .header {
        background: white;
        color: #9b20bd;
        border-bottom: 2px solid #9b20bd;
    } */

    .term-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* .footer {
        background: white;
        color: #333;
        border-top: 2px solid #9b20bd;
    } */
}
