/* Import Font Awesome directly */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Global Styles */
:root {
    --primary-color: #0e0f0e;
    --secondary-color: #2e7d32;
    --accent-color: #8bc34a;
    --dark-color: #2c3e50;
    --light-color: #f9f9f9;
    --text-color: #333;
    --text-light: #666;
    --text-white: #fff;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    padding-top: 120px;
    text-align: center;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Center all content by default */
section, div, p, h1, h2, h3, h4, h5, h6, ul, li, form, input, select, textarea {
    text-align: center;
}

/* Specific elements that need left alignment */
.doctor-details p, .disease-text p, .treatment-approach p, 
.doctor-bio, .blog-content p, .contact-item div {
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    padding-right: 20px;
    text-align: center;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center all images */
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 2px solid var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* Discharge Button Styles */
.btn-discharge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-discharge:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    color: white;
}

.btn-discharge:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.btn-discharge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-discharge:hover::before {
    left: 100%;
}

.btn-discharge i {
    margin-right: 8px;
    font-size: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Discharge Button Variants */
.btn-discharge.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 30px;
}

.btn-discharge.btn-small {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 20px;
}

.btn-discharge.btn-outline {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    box-shadow: none;
}

.btn-discharge.btn-outline:hover {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Discharge Button in Navigation Lists */
.nav-list .btn-discharge,
ul li .btn-discharge {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 0;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.nav-list .btn-discharge:hover,
ul li .btn-discharge:hover {
    transform: translateY(-1px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 16px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-header.light h2, 
.section-header.light p {
    color: var(--text-white);
}

.section-header.light h2:after {
    background-color: var(--text-white);
}

.center-btn {
    text-align: center;
    margin-top: 30px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover:after {
    margin-left: 10px;
}

/* Header Styles */
header {
    padding: 0px 0px;
    position: fixed;
    width: 100%;
    background-color: #FBB917;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    top: 0;
    left: 0;
    margin-bottom: 0; /* Ensure no bottom margin */
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
    text-align: left;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
    margin-left: 0;
    padding-left: 0;
    text-decoration: none;
    text-align: left;
}

/* Mobile logo size adjustment */
@media screen and (max-width: 768px) {
    .logo img {
        max-width: 100px;
    }
}

.logo img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-right: 0px;
    margin-left: 0;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.9rem;
    margin:-0px;
    color: rgb(7, 7, 7);
}

.logo-text p {
    font-size: 0.9rem;
    margin: 0;
    color: rgb(9, 9, 9);
}

nav .menu {
    display: flex;
}

nav .menu li {
    margin-left: 20px;
}

nav .menu li a {
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

nav .menu li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav .menu li a:hover:after,
nav .menu li a.active:after {
    width: 100%;
}

nav .menu li a:hover,
nav .menu li a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(39, 247, 7, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: rgb(246, 242, 242);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        padding: 75px 0 50px; /* Reduced by 1/2 from 150px 0 100px */
        width: 125%; /* Increased banner width by 25% */
        margin-left: -12.5%; /* Center the wider banner */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    
    .hero .container {
        width: 80%; /* Adjust container width to fit within the wider hero section */
        margin: 0 auto;
    }
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    margin: 0 auto 20px;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Doctor Section */
.doctor-highlight {
    padding: 80px 0;
    background-color: white;
}

.doctor-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.doctor-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    height: 250px;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-card h3 {
    margin: 20px 0 5px;
    font-size: 1.2rem;
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.doctor-desc {
    padding: 0 20px 20px;
    color: var(--text-light);
}

.doctor-card .btn-secondary {
    margin: 0 20px 20px;
}

/* Testimonial Section */
.testimonial-preview {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../assets/images/testimonial-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-white);
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.quote {
    position: relative;
    padding: 20px 0;
}

.fa-quote-left {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 1.5rem;
}

.fa-quote-right {
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 1.5rem;
}

.quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.client {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.client-info p {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Home Remedies Section */
.home-remedies-preview {
    padding: 80px 0;
    background-color: var(--light-color);
}

.remedies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.remedy-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.remedy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.remedy-image {
    height: 200px;
    overflow: hidden;
}

.remedy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.remedy-card:hover .remedy-image img {
    transform: scale(1.05);
}

.remedy-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
}

.remedy-card p {
    padding: 0 20px;
    color: var(--text-light);
}

.remedy-card .read-more {
    padding: 0 20px 20px;
    display: inline-block;
}

/* Blog Section */
.blog-preview {
    padding: 80px 0;
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--light-color);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
    text-align: center;
}

.blog-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../assets/images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 8px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-white);
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 50%;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 1.3rem;
    text-align: center;
}

.footer-links h3:after,
.footer-services h3:after,
.footer-newsletter h3:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
    text-align: center;
}

.footer-links ul li a,
.footer-services ul li a {
    color: var(--text-white);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    margin-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    opacity: 0.7;
}

.footer-newsletter form {
    display: flex;
    margin-bottom: 20px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: inherit;
}

.footer-newsletter button {
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
    border: none;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    padding: 30px 0;
    margin-bottom: 30px;
    margin-top: 0; /* Ensure no top margin */
}

@media (max-width: 768px) {
    .page-header {
        padding: 15px 0; /* Reduced by half from 30px */
    }
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    margin-top: 0;
    color: white;
}

/* Reduced Banner Size for Specific Pages */
body.home-remedies-page .page-header,
body.blog-page .page-header,
body.testimonials-page .page-header {
    padding: 11.25px 0; /* 37.5% of original padding (25% reduction from 15px) */
    margin-bottom: 11.25px; /* 37.5% of original margin */
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.8), rgba(139, 195, 74, 0.8)), #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    body.home-remedies-page .page-header,
    body.blog-page .page-header,
    body.testimonials-page .page-header {
        padding: 5.625px 0; /* Reduced by half from 11.25px */
        height: 50%; /* Reduce height by 50% */
        margin-bottom: 5px; /* Reduced margin */
    }
    
    body.home-remedies-page .page-header h1 {
        font-size: 1.4rem; /* Reduced font size */
        margin-bottom: 2px;
    }
    
    body.home-remedies-page .page-header p {
        font-size: 0.8rem; /* Reduced font size */
    }
    
    body.home-remedies-page .logo img {
        width: 100px !important; /* Reduced from 150px */
        max-height: 100px !important;
    }
}

/* Special styling for Diseases page banner */
body.diseases-page .page-header {
    padding: 15px 0; /* 50% of original padding */
    margin-bottom: 15px; /* 50% of original margin */
    background: linear-gradient(135deg, rgba(125, 50, 50, 0.85), rgba(180, 80, 80, 0.85)), #ffe6e6;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    height: auto; /* Allow height to adjust based on content */
}

@media (max-width: 768px) {
    body.diseases-page .page-header {
        padding: 3.75px 0; /* Reduced by 75% from original 15px */
        margin-bottom: 7.5px; /* Reduced margin as well */
        height: 50%; /* Reduce height by 50% */
    }
    
    body.diseases-page .page-header h1 {
        font-size: 1.4rem; /* Reduced font size */
        margin-bottom: 2px;
    }
    
    body.diseases-page .page-header p {
        font-size: 0.8rem; /* Reduced font size */
    }
}

/* Special styling for Doctors page banner */
body.doctors-page .page-header {
    padding: 15px 0; /* 50% of original padding */
    margin-bottom: 15px; /* 50% of original margin */
    background: linear-gradient(135deg, rgba(70, 50, 125, 0.85), rgba(100, 80, 180, 0.85)), #e6e6ff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    body.doctors-page .page-header {
        padding: 3.75px 0; /* Reduced by 75% from original 15px */
        margin-bottom: 7.5px; /* Reduced margin as well */
        height: 50%; /* Reduce height by 50% */
    }
    
    body.doctors-page .page-header h1 {
        font-size: 1.4rem; /* Reduced font size */
        margin-bottom: 2px;
    }
    
    body.doctors-page .page-header p {
        font-size: 0.8rem; /* Reduced font size */
    }
}

body.doctors-page .page-header h1,
body.diseases-page .page-header h1,
body.home-remedies-page .page-header h1,
body.blog-page .page-header h1,
body.testimonials-page .page-header h1 {
    font-size: 1.8rem; /* Increased for better readability on mobile */
    margin-bottom: 5px; /* Adjusted margin */
}

body.doctors-page .page-header p,
body.diseases-page .page-header p,
body.home-remedies-page .page-header p,
body.blog-page .page-header p,
body.testimonials-page .page-header p {
    font-size: 1rem; /* Increased for better readability on mobile */
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .logo img {
        width: 70px;
        height: 70px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    body.diseases-page,
    body.doctors-page {
        padding-top: 50px; /* Reduced padding-top for diseases and doctors page */
    }
    
    body.diseases-page header,
    body.doctors-page header {
        padding: 5px 0; /* Reduced padding for diseases and doctors page header */
    }
    
    body.diseases-page header .logo img,
    body.doctors-page header .logo img {
        width: 50px; /* Smaller logo for diseases and doctors page */
        height: 50px;
    }
    
    body.diseases-page header .logo-text h1,
    body.doctors-page header .logo-text h1 {
        font-size: 1.5rem; /* Smaller text for diseases and doctors page */
    }
    
    body.diseases-page header .logo-text p,
    body.doctors-page header .logo-text p {
        font-size: 0.8rem; /* Smaller text for diseases and doctors page */
    }
    
    nav .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        text-align: center;
        z-index: 1001;
    }
    
    nav .menu.active {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    nav .menu li {
        margin: 8px 0;
        text-align: center;
        width: 100%;
    }
    
    nav .menu li a {
        display: block;
        padding: 12px 15px;
        font-size: 1.1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    nav .menu li a:hover {
        background-color: rgba(46, 125, 50, 0.1);
    }
    
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle:hover {
        background-color: rgba(255, 255, 255, 0.3);
    }
    
    /* Remove gap between header and page-header in mobile view */
    .page-header {
        margin-top: 0;
        margin-bottom: 5px;
        padding: 15px 0; /* Reduced by half from 30px */
    }
    
    body {
        padding-top: 70px; /* Further reduced for mobile view */
        padding-left: 10px;
        padding-right: 10px;
    }
    
    body.home-remedies-page {
        padding-top: 50px; /* Reduced for home remedies page to align with smaller header */
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 15px;
        max-width: 100%;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 20px;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input,
    .footer-newsletter button {
        border-radius: 50px;
    }
    
    .footer-newsletter button {
        margin-top: 10px;
    }
    
    .logo img {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    body {
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    /* Further reduce padding for very small screens */
    body {
        padding-top: 70px;
    }
    
    /* Ensure no gap between header and page-header */
    .page-header {
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .service-grid,
    .doctor-preview,
    .remedies-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.doctor-info {
    padding: 25px;
    text-align: center;
}

/* Keyframes for animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .logo img {
        max-width: 250px; /* Increase logo size on mobile */
    }

    header .container {
        padding: 10px; /* Adjust padding for better alignment */
    }
}