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

:root {
    /* Professional medical color palette */
    --primary-color: #034534; /* Deep medical green */
    --secondary-color: #e7e2dd; /* Light neutral */
    --accent-color: #772e22; /* Deep maroon */
    --text-dark: #2c2c2c;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --success-green: #28a745;
    --warning-yellow: #ffc107;
    
    /* Fonts */
/* Print Bill Styles */
@media print {
    .printable-bill {
        padding: 20px;
        max-width: 800px;
        margin: 0 auto;
    }

    .header {
        text-align: center;
        margin-bottom: 30px;
    }

    .header h1 {
        color: #034534;
    }

    .header p {
        margin: 5px 0;
    }

    .bill-meta {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
    }

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

    .bill-table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    .bill-table th,
    .bill-table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }

    .bill-table th {
        background-color: #f2f2f2;
    }

    .bill-totals {
        margin-top: 20px;
        text-align: right;
    }

    .bill-totals p {
        margin: 5px 0;
    }

    .footer {
        margin-top: 40px;
        text-align: center;
        font-size: 0.9em;
    }
}
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-text {
    display: flex;
    flex-direction: column;
    padding-left: 1vw;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;

}

.logo h2 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.5rem;
}

.logo span {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 800;
}

.logo img {
    height: 7vw;
    width: auto;
}

.nav-menu {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-family: "Libertinus Sans", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
}

.dropdown-menu a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
}

.nav-cta {
    margin-left: 1rem;
    font-family: "Libertinus Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-link-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-cta:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 2em;
    height: 3px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

@media (max-width: 991px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
    }

    .nav-cta {
        margin: 1rem 0 0 0;
    }

    .nav-link-cta {
        display: block;
        text-align: center;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    .logo span {
        font-size: 0.8rem;
    }

    .logo img {
        height: 40px;
        min-height: auto;
    }

    /* Hamburger Animation */
    .nav-toggle[aria-expanded="true"] .hamburger {
        transform: rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(90deg);
        top: 0;
    }

    .nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(90deg);
        bottom: 0;
    }
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-family: "Libertinus Sans", sans-serif;    
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    font-family: "Libertinus Sans", sans-serif;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--rose-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(136, 135, 135, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.qualifications {
    margin-top: 2rem;
}

.qualifications h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qualifications ul {
    list-style: none;
}

.qualifications li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--text-light);
}

.qualifications li i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--light-pink);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--secondary-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--light-pink);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--rose-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    font-family: "Libertinus Sans", sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: "Libertinus Sans", sans-serif;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-family: "Libertinus Sans", sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--secondary-color);
    padding-top: 1.5rem;
}

.author-info h4 {
    font-family: "Libertinus Sans", sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-info span {
    font-family: "Libertinus Sans", sans-serif;
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.3rem;
}

.rating i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Appointment Section */
.appointment-section {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 2rem;
}

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

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    font-family: "Libertinus Sans", sans-serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-card h3 i {
    color: var(--accent-color);
}

.info-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-family: "Libertinus Sans", sans-serif;
}

.info-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.timing-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--secondary-color);
}

.timing-list li:last-child {
    border-bottom: none;
}

.timing-list li span {
    font-weight: 600;
    color: var(--text-dark);
}

.emergency-info {
    background: #fff5f5;
    border-left: 4px solid var(--accent-color);
}

.emergency-info h3 {
    color: var(--accent-color);
}

.emergency-number {
    display: block;
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1rem;
    text-align: center;
}

.appointment-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-family: "Libertinus Sans", sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.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(3, 69, 52, 0.1);
}

.terms {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

@media screen and (max-width: 1024px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
    }
    
    .appointment-info {
        order: 2;
    }
}

@media screen and (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .appointment-form-container {
        padding: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--light-pink);
}

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

.contact-info h3,
.contact-form h3 {
    font-family: "Libertinus Sans", sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-right: 1.5rem;
    margin-top: 0.3rem;
    width: 25px;
}

.contact-item h4 {
    font-family: "Libertinus Sans", sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contact-item p {
    font-family: "Libertinus Sans", sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, var(--text-dark) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 5rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--font-heading);
    color: var(--light-bg);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    color: #e0e0e0;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

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

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1.2rem;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section a:hover::before {
    opacity: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.social-links a::before {
    display: none;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 4rem 0 1rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1.2rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section a {
        padding-left: 0;
    }

    .footer-section a::before {
        display: none;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-container, 
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
    }

    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .about-text h3,
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 576px) {

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3,
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Medicines Catalog Styles */
.medicines-section {
    padding: 120px 0 80px;
    background: var(--light-bg);
}

.medicine-filters {
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-bar input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-family: inherit;
}

.search-bar button {
    padding: 0 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.medicines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.medicine-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.medicine-card:hover {
    transform: translateY(-5px);
}

.medicine-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.medicine-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medicine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.medicine-card:hover .medicine-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.8rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--primary-color);
    color: var(--white);
}

.medicine-info {
    padding: 1.5rem;
}

.medicine-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.medicine-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.medicine-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.medicine-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-buy {
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-buy:hover {
    background: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-numbers span {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-numbers span.active,
.page-numbers span:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.prev-page,
.next-page {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Blog Placeholder Styles */
.blog-placeholder {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.placeholder-message {
    max-width: 500px;
}

.placeholder-message i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.placeholder-message h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.placeholder-message p {
    color: var(--text-light);
}

/* Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header,
.about-content,
.services-grid,
.testimonials-grid,
.contact-content {
    animation: fadeIn 1s ease-out forwards;
}

/* Form Button Styles */
button.btn-primary {
    cursor: pointer;
    border: none;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
}

button.btn-primary:hover {
    background: var(--accent-color);
}

/* Additional Hover Effects */
.contact-item i,
.qualifications li i {
    transition: transform 0.3s ease;
}

.contact-item:hover i,
.qualifications li:hover i {
    transform: scale(1.2);
}

