/* =================================================================
   ZOCDOC-STYLED CSS - Azoospermia Guide Website
   Incorporating Zocdoc's actual design system
   ================================================================= */

/* Top Navigation Bar */
.top-navbar {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #e8e9ea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand h1 {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    margin: 0;
    transition: color 0.2s ease;
}

.navbar-brand h1:hover {
    color: #0056b3;
}

.navbar-center {
    flex: 1;
    text-align: center;
    max-width: 400px;
    margin: 0 20px;
}

.breadcrumb {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 4px;
}

.progress-indicator {
    font-size: 14px;
    color: #666666;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.navbar-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.mobile-only {
    display: none;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay .mobile-nav-sections {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-sections {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e9ea;
}

.mobile-nav-header h3 {
    margin: 0;
    color: #333333;
    font-size: 20px;
    font-weight: 600;
}

.mobile-nav-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 16px;
    color: #333333;
    transition: color 0.2s ease;
}

.mobile-nav-item:hover {
    color: #007bff;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

/* Section Navigation */
.section-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e9ea;
}

.section-nav-right {
    display: flex;
    gap: 12px;
}

.section-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #e8e9ea;
    gap: 16px;
}

.nav-btn {
    background: #f8f9fa;
    color: #333333;
    border: 1px solid #e8e9ea;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    background: #e9ecef;
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-1px);
}

.nav-btn.next-btn {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.nav-btn.next-btn:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
}

/* Import Zocdoc fonts */
@font-face {
    font-display: swap;
    font-family: "sharp-sans-medium"; 
    src: url("https://d1uhlocgth3qyq.cloudfront.net/fonts/SharpSans-Medium-v1.002.woff2") format("woff2"),
        url("https://d1uhlocgth3qyq.cloudfront.net/fonts/SharpSans-Medium-v1.002.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "sharp-sans-semibold";
    src: url("https://d1uhlocgth3qyq.cloudfront.net/fonts/SharpSans-Semibold-v1.002.woff2") format("woff2"),
        url("https://d1uhlocgth3qyq.cloudfront.net/fonts/SharpSans-Semibold-v1.002.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "sharp-sans-bold";
    src: url("https://d1uhlocgth3qyq.cloudfront.net/fonts/SharpSans-Bold-v1.002.woff2") format("woff2"),
        url("https://d1uhlocgth3qyq.cloudfront.net/fonts/SharpSans-Bold-v1.002.woff") format("woff");
}

/* Reset following Zocdoc pattern */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

/* Base body styles - Zocdoc foundation */
body {
    font-family: "sharp-sans-medium", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.5;
    color: #333333;
    background-color: #F7F8F9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

/* Container - Zocdoc width */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Hero Section */
.hero-section {
    background: #ffffff;
    padding: 64px 0 48px;
    border-bottom: 1px solid #f1f5f9;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    font-family: "sharp-sans-semibold", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    font-family: "sharp-sans-bold", sans-serif;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 22px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.info-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    font-family: "sharp-sans-semibold", sans-serif;
}

.info-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Introduction Section */
.intro-section {
    padding: 64px 0;
    text-align: center;
}

.intro-content {
    max-width: 700px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    font-family: "sharp-sans-bold", sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.intro-content p {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
}

.key-message {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: left;
}

.key-message {
    font-size: 16px;
    color: #713f12;
    line-height: 1.5;
}

.key-message strong {
    color: #a16207;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
}

/* Treatment Timeline - Step-by-step layout */
.treatment-timeline {
    max-width: 800px;
    margin: 72px auto;
    padding: 0 24px;
    position: relative;
}

.timeline-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.timeline-intro h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    font-family: "sharp-sans-bold", sans-serif;
    letter-spacing: -0.01em;
}

.timeline-intro p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

/* Updated Timeline Styles - Compact Design */
.timeline-checklist {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 24px 0;
    position: relative;
}

/* Simplified connecting line */
.timeline-checklist::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background: #e5e7eb;
    z-index: 0;
}

/* Timeline item with compact spacing */
.timeline-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px; /* ensure >=44px touch target with content */
    min-height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
    text-decoration: none;
    color: inherit;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:hover {
    border-color: #2563eb;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.timeline-item:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.timeline-item:hover .checkbox {
    border-color: #2563eb;
    background: #f0f7ff;
}



/* Smaller, cleaner checkbox */
.checkbox {
    width: 32px;
    height: 32px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.check-number {
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    font-family: "sharp-sans-bold", sans-serif;
}

.timeline-item:hover .check-number {
    color: #2563eb;
}

.item-content {
    flex: 1;
}

/* More compact content */
.item-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
    font-family: "sharp-sans-semibold", sans-serif;
    line-height: 1.3;
}

.item-content p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}



.timeline-footer {
    text-align: center;
    margin-top: 48px;
    padding: 40px 32px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.timeline-footer h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    font-family: "sharp-sans-semibold", sans-serif;
    line-height: 1.3;
}

.timeline-footer p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 16px 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-footer p:last-child {
    margin-bottom: 0;
}

.timeline-footer strong {
    color: #059669;
    font-family: "sharp-sans-semibold", sans-serif;
    font-size: 18px;
}

/* Completed state styles (for future enhancement) */
.timeline-item.completed {
    background: #f0fdf4;
    border-color: #86efac;
}

.timeline-item.completed .checkbox {
    background: #22c55e;
    border-color: #22c55e;
}

.timeline-item.completed .checkbox::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.timeline-item.completed .check-number {
    display: none;
}

/* Content sections - Zocdoc style */
.content-section {
    display: none;
    background: #ffffff;
    border-radius: 16px;
    padding: 72px;
    margin: 56px auto;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-section:focus {
    outline: none;
}

.content-section.active {
    display: block;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.back-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 48px;
    font-size: 15px;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.content-section h2 {
    color: #1A1F36;
    margin-bottom: 48px;
    font-size: 42px;
    font-family: "sharp-sans-bold", sans-serif;
    font-weight: 700;
    border-bottom: 3px solid #f0f2f5;
    padding-bottom: 24px;
    line-height: 1.2;
}

.content-section h3 {
    color: #1A1F36;
    margin: 48px 0 24px 0;
    font-size: 32px;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.content-section h4 {
    color: #333333;
    margin: 36px 0 20px 0;
    font-size: 24px;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.content-section h5 {
    color: #333333;
    margin: 28px 0 16px 0;
    font-size: 20px;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.content-section p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.7;
    color: #5A6872;
}

.content-section ul, .content-section ol {
    margin: 24px 0 24px 28px;
    font-size: 17px;
    line-height: 1.7;
    color: #5A6872;
}

.content-section li {
    margin-bottom: 12px;
    position: relative;
}

/* Info boxes - Zocdoc style */
.highlight-box, .success-box, .warning-box, .info-box {
    padding: 32px;
    border-radius: 12px;
    margin: 36px 0;
    border-left: 5px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.highlight-box {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left-color: #ffa726;
    color: #e65100;
}

.success-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left-color: #66bb6a;
    color: #2e7d32;
}

.warning-box {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-left-color: #ef5350;
    color: #c62828;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: #42a5f5;
    color: #1565c0;
}

/* Statistics - Zocdoc style */
.statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin: 56px 0;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid rgba(102, 126, 234, 0.1);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 52px;
    font-family: "sharp-sans-bold", sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 17px;
    color: #5A6872;
    line-height: 1.4;
    font-family: "sharp-sans-medium", sans-serif;
}

/* Resource links - Zocdoc style */
.resource-links {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0;
    border: 2px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.resource-links h4 {
    color: #1A1F36;
    margin-bottom: 24px;
    font-size: 24px;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
}

.resource-links h5 {
    color: #333333;
    margin: 28px 0 16px 0;
    font-size: 20px;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
}

.resource-links a {
    color: #667eea;
    text-decoration: none;
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.2s ease;
    font-size: 17px;
    position: relative;
    padding-left: 20px;
}

.resource-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
}

.resource-links a:hover {
    color: #764ba2;
    padding-left: 24px;
}

.resource-links a:hover::before {
    transform: translateX(4px);
}

/* Checklist - Zocdoc style */
.checklist {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0;
    border-left: 5px solid #66bb6a;
    border: 2px solid rgba(102, 179, 106, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.checklist h4 {
    color: #1A1F36;
    margin-bottom: 24px;
    font-size: 24px;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
}

.checklist ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.checklist li {
    padding: 16px 0;
    position: relative;
    padding-left: 44px;
    font-size: 17px;
    line-height: 1.6;
    color: #5A6872;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 8px;
    top: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Timeline - Zocdoc style */
.timeline {
    position: relative;
    padding-left: 56px;
    margin: 56px 0;
}





/* Tables - Zocdoc style */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 24px;
    text-align: left;
    font-family: "sharp-sans-semibold", sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.5px;
}

.comparison-table td {
    padding: 24px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 16px;
    line-height: 1.6;
    color: #5A6872;
}

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

.comparison-table tr:nth-child(even) {
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9ff 100%);
}

.comparison-table tr:hover {
    background: linear-gradient(135deg, #f0f2ff 0%, #f8f0ff 100%);
}

/* Responsive design - Zocdoc style */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 56px 0;
    }
    
    .header h1 {
        font-size: 40px;
    }

    .header p {
        font-size: 19px;
    }
    
    .hope-message {
        padding: 40px 28px;
        margin: -30px 16px 48px;
    }

    .hope-message strong {
        font-size: 24px;
    }
    
    .nav-grid {
        gap: 20px;
        margin: 56px 0;
    }
    
    .nav-card {
        padding: 28px;
    }

    .nav-card h3 {
        font-size: 22px;
    }
    
    .content-section {
        padding: 48px 32px;
        margin: 40px 16px;
    }

    .content-section h2 {
        font-size: 32px;
        margin-bottom: 36px;
    }

    .content-section h3 {
        font-size: 26px;
        margin: 36px 0 20px 0;
    }
    
    .statistics {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 44px;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline:before {
        left: 20px;
    }

    .timeline-item:before {
        left: -30px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 32px;
    }

    .header p {
        font-size: 17px;
    }
    
    .nav-card {
        padding: 24px;
    }
    
    .content-section {
        padding: 32px 20px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .hope-message {
        padding: 32px 20px;
    }

    .hope-message strong {
        font-size: 20px;
    }

    .hope-message p {
        font-size: 17px;
    }
}

/* Additional Zocdoc-inspired animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Navigation Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 16px;
        height: 60px;
    }

    .navbar-brand h1 {
        font-size: 20px;
    }

    .navbar-center {
        margin: 0 12px;
        max-width: 200px;
    }

    .breadcrumb {
        font-size: 16px;
    }

    .progress-indicator {
        font-size: 12px;
    }

    .navbar-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .mobile-only {
        display: block;
    }

    .mobile-nav-overlay .mobile-nav-sections {
        width: 280px;
        padding: 16px;
    }

    .section-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .section-nav-right {
        justify-content: space-between;
    }

    .section-footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .nav-btn {
        padding: 12px 16px;
        text-align: center;
        justify-content: center;
    }

    body {
        padding-top: 60px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        height: 55px;
    }

    .navbar-brand h1 {
        font-size: 18px;
    }

    .navbar-center {
        display: none; /* Hide breadcrumbs on very small screens */
    }

    .navbar-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    .mobile-nav-overlay .mobile-nav-sections {
        width: 100%;
        padding: 12px;
    }

    .nav-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    body {
        padding-top: 55px;
    }
}

/* Responsive design for modern layout */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 40px;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }
    
    .info-card {
        padding: 24px 20px;
    }
    
    .intro-section {
        padding: 48px 20px;
    }
    
    .intro-content h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .intro-content p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .key-message {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .treatment-timeline {
        margin: 48px auto;
        padding: 0 16px;
    }
    
    .timeline-intro h2 {
        font-size: 22px;
    }
    
    .timeline-intro p {
        font-size: 14px;
    }
    
    .timeline-checklist {
        margin: 20px 0;
    }

    .timeline-checklist::before {
        left: 14px;
        top: 28px;
        bottom: 28px;
    }

    .timeline-item {
        padding: 10px 14px;
        margin-bottom: 6px;
    }

    .checkbox {
        width: 28px;
        height: 28px;
        margin-right: 12px;
    }

    .check-number {
        font-size: 12px;
    }

    .item-content h3 {
        font-size: 15px;
    }

    .item-content p {
        font-size: 12px;
    }


    
    .timeline-footer {
        margin-top: 32px;
        padding: 32px 20px;
    }
    
    .timeline-footer h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .timeline-footer p {
        font-size: 15px;
    }
    
    .timeline-footer strong {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 48px 0 32px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero-badge {
        padding: 6px 12px;
        margin-bottom: 20px;
    }
    
    .hero-badge span {
        font-size: 12px;
    }
    
    .info-card {
        padding: 20px 16px;
    }
    
    .card-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .info-card h3 {
        font-size: 18px;
    }
    
    .info-card p {
        font-size: 14px;
    }
    
    .intro-section {
        padding: 40px 16px;
    }
    
    .intro-content h2 {
        font-size: 24px;
    }
    
    .intro-content p {
        font-size: 15px;
    }
    
    .key-message {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .treatment-timeline {
        padding: 0 12px;
    }
    
    .timeline-intro h2 {
        font-size: 24px;
    }
    
    .timeline-intro p {
        font-size: 15px;
    }
    
    .timeline-checklist::before {
        left: 12px;
    }

    .timeline-item {
        padding: 8px 12px;
        margin-bottom: 4px;
    }

    .checkbox {
        width: 26px;
        height: 26px;
        margin-right: 10px;
    }

    .check-number {
        font-size: 12px;
    }

    .item-content h3 {
        font-size: 14px;
    }

    .item-content p {
        font-size: 11px;
    }


    
    .timeline-footer {
        padding: 24px 16px;
    }
    
    .timeline-footer h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .timeline-footer p {
        font-size: 14px;
    }
    
    .timeline-footer strong {
        font-size: 15px;
    }
}

/* =================================================================
   END OF ZOCDOC-STYLED CSS
   ================================================================= */