/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(to bottom, #f0fdf4, #ffffff);
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1580px;
    margin: 0 auto;
    padding: 0 1rem; /* Increased padding for mobile devices */
    width: 100%;
    box-sizing: border-box;
}

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

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

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Prevent horizontal overflow globally */
section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(to right, #16a34a, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.icon-green {
    width: 1.5rem;
    height: 1.5rem;
    color: #16a34a;
}

.icon-pink {
    width: 1.5rem;
    height: 1.5rem;
    color: #db2777;
}

.icon-red {
    width: 1.5rem;
    height: 1.5rem;
    color: #ef4444;
}

.icon-white {
    color: white;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    /* padding: 0.75rem 0; */
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* height: 5rem; */
}

/* @media (min-width: 768px) {
    .header-content {
        height: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .header-content {
        height: 4rem;
    }
} */

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

.logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .logo-img {
        height: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .logo-img {
        height: 5rem;
    }
}

/* Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .nav-desktop {
        gap: 1rem;
        font-size: 1rem;
    }
}

.nav-item {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .nav-item {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.nav-item:hover {
    background: #dcfce7;
    color: #15803d;
}

.nav-item.active {
    background: #22c55e;
    color: white;
}

.btn-tools {
    margin-left: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(to right, #ec4899, #db2777);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .btn-tools {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
}

.btn-tools:hover {
    background: linear-gradient(to right, #db2777, #be185d);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: #374151;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #dcfce7;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-item-mobile {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: left;
    font-weight: 500;
    font-size: 1rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item-mobile:hover {
    background: #dcfce7;
}

.nav-item-mobile.active {
    background: #22c55e;
    color: white;
}

.btn-tools-mobile {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(to right, #ec4899, #db2777);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #fdf2f8 100%);
    width: 100%;
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

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

@media (max-width: 768px) {
    .hero-grid {
        margin-top: 2rem;
        gap: 2rem;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

@media (min-width: 1024px) {
    .hero-left {
        align-items: flex-start;
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fce7f3;
    color: #be185d;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-green {
    background: #dcfce7;
    color: #15803d;
}

.badge-pink {
    background: #fce7f3;
    color: #be185d;
}

.badge-green-doctor {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #dcfce7;
    color: #15803d;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0;
    margin: 0;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
        text-align: left;
    }
}

.hero-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0;
    margin: 0;
}

@media (min-width: 480px) {
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.75;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.25rem;
        text-align: left;
    }
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1rem;
    width: 100%;
}

@media (min-width: 480px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1f2937;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 480px) {
    .feature-item {
        font-size: 0.875rem;
        gap: 0.75rem;
    }
}

@media (min-width: 640px) {
    .feature-item {
        font-size: 1rem;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    justify-content: center;
    width: 100%;
}

@media (min-width: 480px) {
    .hero-actions {
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(to right, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(to right, #16a34a, #15803d);
    box-shadow: 0 10px 15px rgba(34, 197, 94, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #15803d;
    border: 2px solid #16a34a;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f0fdf4;
}

/* Hero Right Card */
.hero-right {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 480px) {
    .card {
        padding: 1.25rem;
    }
}

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

.card-section {
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 480px) {
    .card-section {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

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

.card-green {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.card-pink {
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%);
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 480px) {
    .card-title {
        font-size: 1.375rem;
    }
}

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

.card-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 480px) {
    .card-subtitle {
        font-size: 1.0625rem;
    }
}

@media (min-width: 640px) {
    .card-subtitle {
        font-size: 1.125rem;
    }
}

.card-text {
    color: #374151;
    line-height: 1.75;
    font-size: 0.875rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 480px) {
    .card-text {
        font-size: 0.9375rem;
    }
}

@media (min-width: 640px) {
    .card-text {
        font-size: 1rem;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 480px) {
    .stats-grid {
        gap: 1rem;
    }
}

.stat-item {
    border-radius: 0.75rem;
    padding: 0.75rem 0.5rem;
    min-width: 0;
}

@media (min-width: 480px) {
    .stat-item {
        padding: 1rem;
    }
}

.stat-green {
    background: #f0fdf4;
}

.stat-pink {
    background: #fdf2f8;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #16a34a;
    word-wrap: break-word;
}

@media (min-width: 480px) {
    .stat-number {
        font-size: 1.875rem;
    }
}

.stat-pink .stat-number {
    color: #db2777;
}

.stat-label {
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 480px) {
    .stat-label {
        font-size: 0.875rem;
    }
}

/* Services Section */
.services-section {
    padding: 2rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

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

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    border-color: #22c55e;
}

.service-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    border-color: transparent;
    transform: translateY(-0.5rem);
}

.service-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.icon-bg-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.icon-bg-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.icon-bg-yellow {
    background: linear-gradient(135deg, #eab308, #f59e0b);
}

.service-img {
    width: 2rem;
    height: 2rem;
}

.service-img.invert {
    filter: invert(1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

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

.service-description {
    color: #6b7280;
    line-height: 1.75;
    font-size: 0.9375rem;
}

/* CTA Box */
.cta-box {
    margin-top: 4rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #fdf2f8 100%);
    border-radius: 1.5rem;
    padding: 2rem;
}

@media (min-width: 640px) {
    .cta-box {
        padding: 3rem;
    }
}

.cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 2rem;
}

/* Doctor Section */
.doctor-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #fdf2f8 100%);
    padding: 2rem 0 0;
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .doctor-grid {
        align-items: center;
    }
}

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

.doctor-philosophy {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.philosophy-card {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #86efac;
    width: 2rem;
    height: 2rem;
    opacity: 0.3;
}

.philosophy-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #15803d;
    margin-bottom: 1rem;
}

.philosophy-text {
    color: #374151;
    font-style: italic;
    margin-bottom: 1rem;
}

.philosophy-text p {
    margin-bottom: 0.5rem;
}

.philosophy-author {
    text-align: right;
}

.author-name {
    font-weight: bold;
    color: #111827;
}

.author-title {
    font-size: 0.875rem;
    color: #4b5563;
}

.doctor-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .doctor-info {
        align-items: flex-start;
    }
}

.doctor-name {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

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

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

.doctor-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.doctor-description {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.qualifications {
    margin-bottom: 2rem;
}

.qualifications-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.qualification-item-full {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
}

.doctor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* About Doctor */
.about-doctor {
    background: white;
    padding: 4rem 0;
    border-top: 1px solid #f3f4f6;
}

.about-content {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 2rem;
}

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

.about-text {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1.0625rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text em {
    font-style: italic;
}

/* Blog Section */
.blog-section {
    padding: 2rem 0;
    background: linear-gradient(to bottom, white, #f0fdf4);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    justify-items: center;
    margin: 1rem 0 0 0;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-items: stretch;
    }
}

.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.blog-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem);
}

.blog-image {
    aspect-ratio: 16 / 9; /* Add here */
    /* height: 900px; */
    /* width: 450px; */
    background: white;
    border-radius: 0.5rem;
}


/* @media (min-width: 768px) {
    .blog-image {
        height: 20rem;
    }
} */

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: fit;
    border-radius: inherit;
}

.blog-gradient-pink {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-gradient-green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-icon {
    width: 4rem;
    height: 4rem;
    color: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-icon {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .blog-content {
        padding: 2rem;
    }
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.blog-category {
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}

.blog-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #16a34a;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.blog-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #16a34a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #15803d;
}

.blog-link svg {
    transition: transform 0.3s ease;
}

.blog-link:hover svg {
    transform: translateX(0.25rem);
}

/* Contact Section */
.contact-section {
    padding: 2rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 1rem;
    padding: 2rem;
}

.info-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .info-title {
        text-align: left;
    }
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .info-item {
        flex-direction: row;
        align-items: flex-start;
    }
}

.info-icon {
    background: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    flex-shrink: 0;
}

.info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #16a34a;
}

.info-label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    text-align: center;
}

@media (min-width: 640px) {
    .info-label {
        text-align: left;
    }
}

.info-text {
    color: #374151;
}

.info-subtext {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.info-link {
    margin-top: 0.5rem;
    color: #16a34a;
    font-weight: 700;
    text-decoration: underline;
    background: none;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #15803d;
}

.emergency-card {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #fecaca;
}

.emergency-icon {
    background: white;
}

.emergency-icon svg {
    color: #dc2626;
}

.emergency-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #991b1b;
    margin-bottom: 0.5rem;
}

.emergency-text {
    color: #374151;
    line-height: 1.75;
}

.contact-map {
    background: #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    border-top: 1px solid #e5e7eb;
}

.footer .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        justify-items: start;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: start;
    }
}

.footer-brand {
    max-width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 2;
        text-align: left;
    }
}

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

@media (min-width: 768px) {
    .footer-logo {
        justify-content: flex-start;
    }
}

.footer-logo-img {
    height: 3.75rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #15803d;
}

.footer-tagline {
    font-size: 0.875rem;
    color: #4b5563;
}

.footer-description {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.footer-heart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
}

.heart-icon {
    width: 1rem;
    height: 1rem;
    color: #ec4899;
}

.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-links,
    .footer-social {
        align-items: flex-start;
        font-size: 16px;
    }
}

.footer-heading {
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.footer-link {
    color: #4b5563;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: left;
}

.footer-link:hover {
    color: #16a34a;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .social-grid {
        flex-direction: row;
        gap: 1rem;
    }
}

.social-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 2rem;
}
.quick-links-grid{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .quick-links-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
}

@media (min-width: 768px) {
    .social-column {
        margin-left: 0;
    }
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: #4b5563;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #16a34a;
    background: #f0fdf4;
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.social-img {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #d1d5db;
    padding-top: 2rem;
}

.copyright {
    color: #4b5563;
    font-size: 0.875rem;
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        text-align: left;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

/* Blog List Page Styles */
.blog-list-hero {
    position: relative;
    background: linear-gradient(to right, #16a34a, #db2777);
    color: white;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    background: none;
    border: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-bottom: 2rem;
}

.back-button:hover {
    color: white;
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-0.25rem);
}

.blog-hero-content {
    max-width: 64rem;
}

.badge-white {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-hero-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .blog-hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .blog-hero-title {
        font-size: 3.75rem;
    }
}

.blog-hero-highlight {
    color: white;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Filter Section */
.blog-filter-section {
    padding-bottom: 3rem;
}

.filter-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.filter-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .filter-content {
        flex-direction: row;
    }
}

.search-wrapper {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 1.25rem;
    height: 1.25rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #22c55e;
}

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

.filter-icon {
    color: #6b7280;
    width: 1.25rem;
    height: 1.25rem;
}

.category-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.category-select:focus {
    outline: none;
    border-color: #22c55e;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pill {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f3f4f6;
    color: #4b5563;
}

.pill:hover {
    background: #e5e7eb;
}

.pill.active {
    background: linear-gradient(to right, #22c55e, #ec4899);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.results-count {
    margin-bottom: 1.5rem;
}

.results-count p {
    color: #4b5563;
}

.count-number {
    font-weight: 600;
    color: #111827;
}

/* Blog Grid Section */
.blog-grid-section {
    padding-bottom: 5rem;
}

.no-results {
    text-align: center;
    padding: 5rem 1rem;
}

.no-results-icon {
    width: 5rem;
    height: 5rem;
    color: #d1d5db;
    margin: 0 auto 1rem;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.no-results-text {
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.btn-clear-filters {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #22c55e, #ec4899);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.btn-clear-filters:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blog Details Page Styles */
.blog-details-hero {
    position: relative;
    background: linear-gradient(to right, #16a34a, #db2777);
    color: white;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

.blog-details-content {
    max-width: 64rem;
}

.blog-meta-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tag-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.hash-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    font-size: 0.75rem;
}

.blog-details-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .blog-details-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .blog-details-title {
        font-size: 3.75rem;
    }
}

.blog-details-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.meta-item svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Article Content */
.article-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

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

.article-main {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}



.featured-image {
    position: relative;
    aspect-ratio: 16 / 9;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: fit;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.article-body {
    padding: 2rem;
}

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

.prose {
    max-width: none;
    color: #374151;
    line-height: 1.75;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul,
.prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.tags-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tags-header svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
}

.tags-header span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f0fdf4, #fdf2f8);
    color: #374151;
    border-radius: 9999px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.tag-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.engagement-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.like-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f3f4f6;
    color: #4b5563;
    font-weight: 600;
}

.like-button:hover {
    background: #e5e7eb;
}

.like-button.liked {
    background: #fce7f3;
    color: #db2777;
}

.like-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-label {
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
}

.share-icon {
    padding: 0.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.share-facebook {
    background: #dbeafe;
    color: #2563eb;
}

.share-facebook:hover {
    background: #bfdbfe;
}

.share-twitter {
    background: #e0f2fe;
    color: #0284c7;
}

.share-twitter:hover {
    background: #bae6fd;
}

.share-linkedin {
    background: #dbeafe;
    color: #1e40af;
}

.share-linkedin:hover {
    background: #bfdbfe;
}

.share-generic {
    background: #dcfce7;
    color: #16a34a;
}

.share-generic:hover {
    background: #bbf7d0;
}

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

@media (min-width: 1024px) {
    .article-sidebar {
        position: sticky;
        top: 2rem;
    }
}

.sidebar-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #16a34a;
}

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

.related-post {
    display: block;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

.related-post:hover {
    background: #f9fafb;
}

.related-post-image {
    height: 8rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.related-post-category {
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 600;
}

.related-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-top: 0.25rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post:hover .related-post-title {
    color: #16a34a;
}

.related-post-date {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.cta-card {
    background: #fdf2f8;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #fbcfe8;
}

.cta-card-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.75rem;
}

.cta-card-text {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.cta-card-button {
    width: 100%;
    background: linear-gradient(to right, #22c55e, #ec4899);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.cta-card-button:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .services-section,
    .doctor-section,
    .blog-section,
    .contact-section {
        padding: 3rem 0;
    }

    .blog-list-hero,
    .blog-details-hero {
        padding: 6rem 0 3rem;
    }
    
    /* Mobile overflow fixes */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .container {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    * {
        max-width: 100%;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Mobile S - 320px specific fixes */
@media (max-width: 374px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.75rem !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }
    
    .badge {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.75rem !important;
    }
    
    .feature-item {
        font-size: 0.75rem !important;
        gap: 0.5rem !important;
    }
    
    .icon-green,
    .icon-pink,
    .icon-red {
        width: 1.25rem !important;
        height: 1.25rem !important;
    }
    
    .btn-primary {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.875rem !important;
    }
    
    .btn-secondary {
        padding: 0.625rem 1rem !important;
        font-size: 0.875rem !important;
    }
    
    .card {
        padding: 1rem !important;
    }
    
    .card-title {
        font-size: 1.25rem !important;
    }
    
    .card-subtitle {
        font-size: 1rem !important;
    }
    
    .card-text {
        font-size: 0.875rem !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .section-subtitle {
        font-size: 0.9375rem !important;
    }
    
    .hero-actions {
        gap: 0.5rem !important;
    }
}

/* Mobile M - 375px specific fixes */
@media (min-width: 375px) and (max-width: 424px) {
    .container {
        padding: 0 0.875rem !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem !important;
    }
    
    .feature-item {
        font-size: 0.8125rem !important;
    }
    
    .btn-primary {
        padding: 0.8125rem 1.5rem !important;
        font-size: 0.9375rem !important;
    }
    
    .card {
        padding: 1.25rem !important;
    }
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    padding: 8px 14px;
    background: #f1f5f9;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    transition: 0.2s;
}

.page-btn:hover {
    background: #e2e8f0;
}

.page-btn.active {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
}

.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}



