@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;1,400&display=swap');

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

body {
    font-family: 'Poppins','Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: hsl(240, 10%, 15%);
    background-color: hsl(0, 0%, 98%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Styles */
.header {
    background-color: hsl(245, 58%, 25%);
    color: white;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: hsl(0, 72%, 51%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: normal;
    letter-spacing: -0.025em;
}

.nav-desktop {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .menu-button {
        display: none;
    }
}

.icon-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    color: white;
}

.icon-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.menu-button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1rem 0;
}

@media (min-width: 640px) {
    .main-content {
        padding: 1.5rem 0;
    }
}

@media (min-width: 1024px) {
    .main-content {
        padding: 2rem 0;
    }
}

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

@media (min-width: 768px) {
    .main-grid {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .main-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Article Styles */
.article-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border: 1px solid hsl(214, 32%, 91%);
}

@media (min-width: 640px) {
    .article-card {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .article-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .article-card {
        padding: 2.5rem;
    }
}

.article-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: hsl(240, 10%, 15%);
}

@media (min-width: 640px) {
    .article-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .article-title {
        font-size: 2rem;
    }
}

.article-subtitle {
    font-size: 1.125rem;
    color: hsl(214, 17%, 19%);
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .article-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 768px) {
    .article-subtitle {
        margin-bottom: 1.5rem;
    }
}

.article-byline {
    font-size: 0.8125rem;
    color: hsl(215, 16%, 47%);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .article-byline {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
}

.font-semibold {
    font-weight: 600;
    color: hsl(240, 10%, 15%);
}

.video-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: hsla(210, 40%, 96%, 0.3);
}

.video-image {
    width: 100%;
    /* aspect-ratio: 16 / 9; */
    object-fit: cover;
    display: block;
}

.play-icon {
    width: 5rem;
    height: 5rem;
    color: white;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.cta-button {
    width: 100%;
    background-color: #1e2392;
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem 0.75rem;
    font-family: 'Poppins','Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transition: background-color 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 48px; /* Touch-friendly size */
}

@media (min-width: 640px) {
    .cta-button {
        font-size: 1.125rem;
        margin-bottom: 1.75rem;
    }
}

@media (min-width: 768px) {
    .cta-button {
        margin-bottom: 2rem;
    }
}

.cta-button:hover {
    background-color: #1e23aa;
}

.cta-button:active {
    transform: scale(0.98);
}

.button-icon {
    width: 48px;
    height: 48px;
}

@media (min-width: 640px) {
    .button-icon {
        width: 24px;
        height: 24px;
    }
}

.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: hsl(240, 10%, 15%);
    line-height: 1.3;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.375rem;
        margin-bottom: 0.875rem;
        margin-top: 1.75rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }
}

.paragraph {
    font-size: 1.125rem;
    color: hsl(240, 10%, 15%);
    margin-bottom: 0.875rem;
    line-height: 1.65;
}

@media (min-width: 640px) {
    .paragraph {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
}

.paragraph-in-box {
    color: hsl(240, 10%, 15%);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.symptom-list {
    list-style: none;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .symptom-list {
        margin-bottom: 1.5rem;
    }
}

.symptom-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.625rem;

}

@media (min-width: 640px) {
    .symptom-item {
        gap: 0.75rem;
        margin-bottom: 0.75rem;

    }
}

.check-icon {
    width: 1.125rem;
    height: 1.125rem;
    color: hsl(0, 72%, 51%);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

@media (min-width: 640px) {
    .check-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.info-box {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .info-box {
        padding: 1.125rem;
        margin-bottom: 1.75rem;
        font-size: 1.125rem;
        line-height: 1.6;
    }
}

@media (min-width: 768px) {
    .info-box {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }
}

.warning-box {
    background-color: hsl(48, 100%, 95%);
    border-left: 4px solid hsl(48, 95%, 76%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.highlight-box {
    background-color: hsl(48, 100%, 92%);
    border: 1px solid hsl(48, 95%, 76%);
}

.highlight-title {
    font-size: 1.125rem;
}

.success-box {
    background-color: hsl(48, 100%, 95%);
    border-left: 4px solid hsl(142, 71%, 45%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.success-text {
    color: hsl(142, 71%, 45%);
    font-weight: 600;
}

.testimonial-box {
    background-color: white;
    padding: 1.25rem;
    border-radius: 0.5rem;
    border: 2px solid hsla(245, 58%, 25%, 0.2);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .testimonial-box {
        padding: 1.5rem;
        margin-bottom: 1.75rem;
    }
}

@media (min-width: 768px) {
    .testimonial-box {
        padding: 2rem;
        margin-bottom: 2rem;
    }
}

.quote-mark {
    font-size: 3rem;
    color: hsl(245, 58%, 25%);
    text-align: center;
    line-height: 1;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .quote-mark {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 768px) {
    .quote-mark {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
}

.testimonial-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.25rem;
    color: hsl(240, 10%, 15%);
    line-height: 1.3;
}

@media (min-width: 640px) {
    .testimonial-title {
        font-size: 1.375rem;
        margin-bottom: 1.375rem;
    }
}

@media (min-width: 768px) {
    .testimonial-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.doctor-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .doctor-info {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

.doctor-image {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    object-fit: cover;
}

@media (min-width: 640px) {
    .doctor-image {
        width: 5rem;
        height: 5rem;
    }
}

@media (min-width: 768px) {
    .doctor-image {
        width: 6rem;
        height: 6rem;
    }
}

.doctor-name {
    font-weight: bold;
    font-size: 1rem;
    color: hsl(240, 10%, 15%);
}

@media (min-width: 640px) {
    .doctor-name {
        font-size: 1.0625rem;
    }
}

@media (min-width: 768px) {
    .doctor-name {
        font-size: 1.125rem;
    }
}

.doctor-title {
    color: hsl(215, 16%, 47%);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .doctor-title {
        font-size: 0.9375rem;
    }
}

@media (min-width: 768px) {
    .doctor-title {
        font-size: 1rem;
    }
}

.testimonial-quote {
    color: hsl(240, 10%, 15%);
    font-style: italic;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
}

@media (min-width: 640px) {
    .testimonial-quote {
        margin-bottom: 1.375rem;
        line-height: 1.625;
    }
}

@media (min-width: 768px) {
    .testimonial-quote {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-image {
    width: 100%;
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .sidebar {
        gap: 1.5rem;
    }
}

.sidebar-card {
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
    .sidebar-card {
        padding: 1.5rem;
    }
}

.featured-card {
    background-color: hsl(48, 100%, 95%);
    border: 1px solid hsl(48, 95%, 76%);
}

.related-card {
    background-color: white;
    border: 1px solid hsl(214, 32%, 91%);
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.875rem;
    color: hsl(240, 10%, 15%);
}

@media (min-width: 640px) {
    .sidebar-title {
        font-size: 1.1875rem;
        margin-bottom: 0.9375rem;
    }
}

@media (min-width: 768px) {
    .sidebar-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

.sidebar-list {
    list-style: none;
}

.sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sidebar-item span {
    font-size: 1.125rem;
    color: hsl(240, 10%, 15%);
    line-height: 1.4;
    cursor: pointer;
}

.sidebar-item span a {
    text-decoration: none;
    color: hsl(240, 10%, 15%);
}

.sidebar-item span:hover {
    text-decoration: underline;
}

.check-icon-small {
    width: 1.125rem;
    height: 1.125rem;
    color: hsl(142, 71%, 45%);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

@media (min-width: 640px) {
    .check-icon-small {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid hsl(214, 32%, 91%);
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: hsl(240, 10%, 15%);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    cursor: pointer;
}

.related-title a {
    text-decoration: none;
    color: hsl(240, 10%, 15%);
}

.related-title:hover {
    text-decoration: underline;
}

.related-meta {
    font-size: 0.75rem;
    color: hsl(215, 16%, 47%);
}

/* Footer Styles */
.footer {
    background-color: hsl(245, 58%, 25%);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .footer {
        padding: 1.75rem 0;
        margin-top: 3rem;
    }
}

@media (min-width: 768px) {
    .footer {
        padding: 2rem 0;
        margin-top: 4rem;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

.footer-description {
    font-size: 0.875rem;
    max-width: 42rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .footer-nav {
        gap: 0.75rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .footer-nav {
        gap: 1rem;
    }
}

.footer-link {
    color: white;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-separator {
    color: white;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.video-page img {
    width: 100%;
}

@media (min-width: 768px) {
    .video-page {
        padding: 1.75rem 0;
        margin: 0 auto;
        max-width: 1000px;
    }
}