/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

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

/* Main content */
.main-content {
    padding: 40px 0;
}

/* Hero section */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.hero-content h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid #4a90e2;
    padding-bottom: 10px;
}

.hero-text p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-text strong {
    color: #2c5aa0;
    font-weight: 600;
}

/* Services section */
.services-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 5px solid #4a90e2;
}

.services-section h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.services-section ul {
    list-style: none;
    padding-left: 0;
}

.services-section li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 20px;
}

.services-section li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.services-section li strong {
    color: #2c5aa0;
}

/* Doctor info */
.doctor-info {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.doctor-image-placeholder img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.doctor-details h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.doctor-details ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.doctor-details li {
    padding: 5px 0;
    font-size: 0.95rem;
    position: relative;
    padding-left: 15px;
}

.doctor-details li:before {
    content: "•";
    color: #4a90e2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.doctor-details strong {
    color: #2c5aa0;
}

/* Clinic info */
.clinic-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 5px solid #28a745;
}

.clinic-info h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.contact-details strong {
    color: #2c5aa0;
}

.schedule-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #4a90e2;
}

.schedule-info h4 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.schedule-info ul {
    list-style: none;
    padding-left: 0;
}

.schedule-info li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    font-weight: 500;
}

.schedule-info li:before {
    content: "⏰";
    position: absolute;
    left: 0;
}

.schedule-info strong {
    color: #2c5aa0;
}

/* Two column layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* News section */
.news-section h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
    font-weight: 600;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-image-placeholder img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.news-content {
    flex: 1;
}

.news-content h4 a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.news-content h4 a:hover {
    color: #4a90e2;
    text-decoration: underline;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin: 8px 0;
}

.news-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Disease categories */
.diseases-categories {
    margin-top: 40px;
}

.diseases-categories h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
    font-weight: 600;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.category-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #357abd;
    transform: translateY(-1px);
}

.disease-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.disease-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.disease-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.disease-image-placeholder img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.disease-content h4 a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.disease-content h4 a:hover {
    color: #4a90e2;
    text-decoration: underline;
}

.disease-content p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 8px;
    line-height: 1.4;
}

/* Right column sidebar */
.right-column section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #4a90e2;
}

.right-column h4 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

/* Online support */
.support-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.support-info strong {
    color: #2c5aa0;
}

/* Location map */
.location-map {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #28a745;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
}

.map-info {
    background: #f8f9fa;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    border-left: 3px solid #4a90e2;
}

.map-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.map-info strong {
    color: #2c5aa0;
}

.directions-btn {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.directions-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea080 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

/* Latest articles sidebar */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-article {
    display: flex;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-image-placeholder img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.article-info h5 a {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.article-info h5 a:hover {
    color: #4a90e2;
    text-decoration: underline;
}

.article-date {
    color: #666;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Website links */
.website-links ul {
    list-style: none;
    padding-left: 0;
}

.website-links li {
    margin-bottom: 8px;
}

.website-links a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.website-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

/* Contact placeholder and facebook */
.contact-placeholder img,
.facebook-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Visit counter */
.counter-info p {
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c5aa0;
}

/* Tag cloud */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #e9ecef;
    color: #2c5aa0;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: #4a90e2;
    color: white;
}

/* Footer */
.footer {
    background: #2c5aa0;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-info p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-info strong {
    color: #87ceeb;
}

.footer-navigation ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.footer-navigation a {
    color: #87ceeb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a90e2;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        display: flex;
        flex-direction: column;
    }
    
    /* Move right column (map) to top on mobile */
    .right-column {
        order: -1;
    }
    
    .left-column {
        order: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-navigation ul {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .news-item,
    .disease-item {
        flex-direction: column;
    }
    
    .news-image-placeholder img,
    .disease-image-placeholder img {
        width: 100%;
        height: 200px;
    }
    
    .category-buttons {
        flex-direction: column;
    }
    
    .category-btn {
        text-align: center;
    }
    
    /* Mobile map styles */
    .map-container iframe {
        height: 250px;
    }
    
    .map-info {
        padding: 12px;
    }
    
    .directions-btn {
        display: block;
        text-align: center;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .services-section,
    .doctor-info,
    .clinic-info {
        padding: 20px 15px;
    }
}

/* Article Styles */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #4a90e2;
}

.article-header h1 {
    color: #2c5aa0;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    color: #666;
    font-style: italic;
}

.article-meta p {
    margin-bottom: 8px;
}

.article-body h2 {
    color: #2c5aa0;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.article-body h3 {
    color: #357abd;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.article-body h4 {
    color: #4a90e2;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.article-body p {
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    border-left: 5px solid #4a90e2;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.highlight-box h3 {
    color: #2c5aa0;
    margin-top: 0;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.symptom-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.symptom-item h4 {
    color: #2c5aa0;
    margin-top: 0;
    margin-bottom: 10px;
}

.research-findings {
    margin: 25px 0;
}

.finding-item {
    background: white;
    border: 2px solid #e9ecef;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.stat-bar {
    display: flex;
    background: #e9ecef;
    border-radius: 25px;
    overflow: hidden;
    margin-top: 10px;
}

.stat-positive {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    flex: 58.7;
}

.stat-negative {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    flex: 41.3;
}

.biochemical-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.data-item {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #ffc107;
}

.data-item h4 {
    color: #856404;
    margin-top: 0;
}

.data-item p {
    color: #856404;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.treatment-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #17a2b8;
}

.surgery-outcomes {
    background: #fff5f5;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #dc3545;
}

.prognosis-section {
    margin: 30px 0;
}

.neuro-outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.outcome-item {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.outcome-item.severe {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.outcome-item.moderate {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.outcome-item.eeg {
    background: #d4edda;
    border: 2px solid #28a745;
}

.importance-section {
    background: #fff5f5;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #dc3545;
    margin: 25px 0;
}

.expert-advice {
    margin: 30px 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #28a745;
}

.doctor-quote {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.doctor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #28a745;
}

.quote-content {
    flex: 1;
}

.quote-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.quote-content cite {
    font-weight: 600;
    color: #2c5aa0;
}

.warning-signs {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #ffc107;
}

.warning-signs ul {
    margin: 0;
}

.warning-signs li {
    margin-bottom: 8px;
    font-weight: 500;
}

.services-section {
    background: #e3f2fd;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #4a90e2;
    margin: 25px 0;
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.tags {
    margin-bottom: 20px;
}

.tags h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    color: #2c5aa0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: 10px;
}

.share-section h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-buttons a {
    background: #4a90e2;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-buttons a:hover {
    background: #357abd;
    transform: translateY(-2px);
}

.contact-cta {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.cta-content h3 {
    color: white;
    margin-bottom: 15px;
}

.contact-info {
    margin: 20px 0;
}

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

.contact-info a {
    color: #87ceeb;
    text-decoration: none;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #4a90e2;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Mobile responsiveness for article */
@media (max-width: 768px) {
    .article-content {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .symptoms-grid,
    .biochemical-data,
    .neuro-outcomes {
        grid-template-columns: 1fr;
    }
    
    .doctor-quote {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-avatar {
        align-self: center;
    }
    
    .share-buttons {
        justify-content: center;
    }
}
