* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B1538;
    --secondary-color: #A91B47;
    --accent-color: #C73E5A;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--primary-color);
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Section Styles */
section {
    padding: 80px 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Mission Section */
.mission {
    background: var(--bg-light);
}

.mission-content {
    text-align: center;
    max-width: 900px;
    margin: 3rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 3px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card ul {
    list-style: none;
    color: var(--text-light);
}

.service-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 25px;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Sub-list styling */
.service-card .sub-list {
    margin-top: 0.5rem;
    margin-left: 0;
}

.service-card .sub-list .sub-item {
    padding: 0.3rem 0;
    padding-left: 25px;
    font-size: 0.95rem;
}

.service-card .sub-list .sub-item::before {
    content: '■';
    color: var(--secondary-color);
    font-size: 0.7rem;
}

/* Partners Section */
.partners {
    background: var(--bg-light);
}

.partners-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.partner-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: flex-start;
    column-gap: 2rem;
    padding: 2rem 2.5rem;
    background: white;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.12);
}

.partner-photo-wrap {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(199,62,90,0.15), rgba(139,21,56,0.05) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(199,62,90,0.15);
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.partner-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
}

.partner-name {
    font-size: 1.35rem;
    color: var(--primary-color);
    font-weight: 700;
}

.partner-name-upper {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.partner-title {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.partner-organization {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.partner-credentials {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.partner-photo {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.partner-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.85;
    margin-bottom: 0.6rem;
}

.partner-bio-accent {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

@media (max-width: 900px) {
    .partner-card {
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
        padding: 2rem;
        text-align: left;
    }

    .partner-photo-wrap {
        margin: 0 auto;
    }
}
/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact h2::after {
    background: white;
    left: 0;
    transform: none;
}

.contact-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-left {
    text-align: left;
    padding-right: 2rem;
}

.contact-info-items {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-info-text h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-info-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.contact-main {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s ease;
}

.contact-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.contact-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.contact-main h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.email-address-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.25rem 0 0.25rem 0;
    color: white;
}

.schedule-appointment-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.schedule-appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.contact-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
    margin-bottom: 0.25rem;
}

.email-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.email-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.email-options {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.email-options-text {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.email-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.email-option-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.email-option-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.email-icon {
    font-size: 1.2rem;
}

.contact-footer-text {
    margin-top: 1.5rem;
    text-align: center;
}

.contact-tagline {
    font-size: 1rem;
    font-weight: 400;
    color: white;
    opacity: 0.95;
    margin: 0;
    line-height: 1.5;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

footer a {
    color: #C73E5A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #E85A7B;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        font-size: 1.1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* Appointment Form Styles */
.appointment-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s ease;
    width: 100%;
    max-width: 550px;
}

.form-group {
    margin-bottom: 0.9rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    opacity: 0.95;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.schedule-appointment-btn {
    width: 100%;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
    background: white;
    color: var(--primary-color);
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.schedule-appointment-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.schedule-appointment-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message:not(:empty) {
    display: block;
}

.form-message.success {
    background: rgba(46, 213, 115, 0.2);
    border: 2px solid rgba(46, 213, 115, 0.5);
    color: white;
}

.form-message.error {
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid rgba(255, 107, 107, 0.5);
    color: white;
}

/* Mobile responsiveness for form */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-left {
        text-align: center;
        padding-right: 0;
    }

    .contact h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info-items {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .appointment-form {
        padding: 1.5rem;
        max-width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .schedule-appointment-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Blog Styles */
.blog-hero {
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blogs-section {
    padding: 80px 2rem;
    background: var(--bg-light);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 3px solid var(--secondary-color);
    opacity: 0;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
}

.blog-card-image-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
}

.blog-card-image-placeholder::after {
    content: '📝';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.3;
}

.blog-card-content {
    padding: 1.8rem;
}

.blog-card-date {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-preview {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.blog-card-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Blog View Page */
.blog-view-section {
    padding: 120px 2rem 80px;
    min-height: 70vh;
}

.blog-view-container {
    max-width: 900px;
    margin: 0 auto;
}

.back-to-blogs {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blogs:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.blog-view-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.blog-post h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.blog-date,
.blog-author {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.blog-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.blog-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.blog-content h2::after {
    display: none;
}

.blog-content h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.blog-content p {
    margin-bottom: 1.2rem;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.blog-content code {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--secondary-color);
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.loading-message,
.error-message,
.no-blogs-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.error-message {
    color: var(--accent-color);
}

.error-message a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Blog Article Styles */
.blog-article {
    width: 100%;
}

.blog-header {
    margin-bottom: 1rem;
}

.blog-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    font-weight: 700;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--bg-light);
}

.blog-date,
.blog-author {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.blog-date::before {
    content: "📅 ";
    margin-right: 0.3rem;
}

.blog-author::before {
    content: "✍️ ";
    margin-right: 0.3rem;
}

.blog-featured-image {
    margin: 0.8rem 0 1.2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.blog-content section {
    margin-bottom: 0;
}

.blog-content h2 {
    color: var(--primary-color);
    font-size: 1.9rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-content h2:first-child {
    margin-top: 0;
}

.blog-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.blog-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.bios-inline {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.bios-simple-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: underline;
}

.bios-simple-link:hover {
    color: var(--primary-color);
}

.blog-content ul,
.blog-content ol {
    margin: 1.5rem 0 2rem 2rem;
    color: var(--text-dark);
}

.blog-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.blog-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.blog-content a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Mobile responsive for blog */
@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-view-content {
        padding: 2rem 1.5rem;
    }

    .blog-view-section {
        padding: 100px 1rem 60px;
    }

    .blog-header h1 {
        font-size: 1.9rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-content h3 {
        font-size: 1.3rem;
    }

    .blog-content p {
        font-size: 1rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .blog-featured-image {
        margin: 1.5rem 0 2rem;
    }
}


