/* Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: #f8f9fa;
}

.text-center {
    text-align: center;
}

.max-width-center {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.section-padding {
    padding: 90px 0;
}

.section-subtitle {
    display: inline-block;
    color: #0066cc;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 50px;
}

.section-desc {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
}

/* Top Bar */
.top-bar {
    background-color: #1a1a1a;
    color: #b0b0b0;
    font-size: 13px;
    padding: 10px 0;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 25px;
}

.top-bar-left i, .top-bar-right i {
    color: #0066cc;
    margin-right: 5px;
}

.top-bar-right .follow-label {
    margin-right: 10px;
}

.top-bar-right a {
    color: #b0b0b0;
    margin-left: 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-right a:hover {
    color: #0066cc;
}

/* Header & Navigation */
.site-header {
    background-color: #1f2229;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo a {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Brand Image Logo Configuration */
.brand-logo {
    height: 100px;         /* Control logo height to fit navbar cleanly */
    width: auto;          /* Maintains proper aspect ratio */
    object-fit: contain;
}

.logo i {
    color: #0066cc;
}

.logo span {
    color: #0066cc;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: #0066cc;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.header-phone i {
    font-size: 22px;
    color: #0066cc;
}

.header-phone small {
    display: block;
    font-size: 11px;
    color: #999;
}

.header-phone strong {
    font-size: 15px;
}

.btn-book {
    background-color: #0066cc;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-book:hover {
    background-color: #0052a3;
}
/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://images.unsplash.com/photo-1584515979956-d9f6e5d09982?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    padding: 130px 0 160px 0;
    color: #ffffff;
    position: relative;
}

.hero-content .sub-heading {
    color: #4da6ff;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.hero-content h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #0066cc;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0052a3;
}

/* Appointment Form Bar */
.appointment-bar {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.appointment-bar form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
}

.appointment-bar input, .appointment-bar select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-size: 14px;
    color: #444;
    outline: none;
    background-color: #fcfcfc;
}

.btn-submit {
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    padding: 0 35px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0052a3;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-images {
    display: flex;
    gap: 20px;
}

.about-images .img-box img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.about-badges {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.badge-item {
    background: #f0f7ff;
    color: #0066cc;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-footer-flex {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 35px;
}

.signature-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.signature-block img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.sign-text {
    font-weight: 700;
    color: #111;
    font-family: cursive;
    font-size: 18px;
}

/* Services Grid Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    width: 65px;
    height: 65px;
    background-color: #f0f7ff;
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.service-card .section-desc {
    margin-bottom: 20px;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Medicine Products Section */
.medicine-section {
    background-color: #ffffff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #0066cc;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.product-badge.hot {
    background-color: #e63946;
}

.product-img {
    height: 220px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.product-content {
    padding: 25px;
}

.product-category {
    font-size: 12px;
    color: #0066cc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    /* Description Control Constraints */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #0066cc;
}

.btn-cart {
    background-color: #1f2229;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s;
}

.btn-cart:hover {
    background-color: #0066cc;
}

/* Team Specialists Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.team-img img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}

.team-role {
    font-size: 13px;
    color: #0066cc;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.team-contact-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.team-contact-info i {
    color: #0066cc;
    margin-right: 5px;
}

/* Footer Styling */
.site-footer {
    background-color: #111522;
    color: #b0b0b0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    color: #0066cc;
}

.footer-logo span {
    color: #0066cc;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-phone-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.footer-phone-contact i {
    color: #0066cc;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul a i {
    font-size: 11px;
    color: #0066cc;
}

.footer-col ul a:hover {
    color: #0066cc;
}

.newsletter-form {
    display: flex;
    margin-bottom: 25px;
}

.newsletter-form input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px 15px;
    color: #fff;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 100%;
}

.newsletter-form button {
    background-color: #0066cc;
    color: #ffffff;
    border: none;
    padding: 0 18px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #0052a3;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social .follow-label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-right: 5px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: #0066cc;
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #b0b0b0;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #0066cc;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .main-nav {
        display: none;
    }
    .appointment-bar form {
        grid-template-columns: 1fr;
    }
    .about-grid, .services-grid, .product-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .about-images {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* Responsive Mobile Menu Trigger & Styles */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1f2229;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        padding: 20px 0;
    }

    .main-nav.mobile-active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header-right {
        display: none; /* Can be handled or customized based on view requirements */
    }
}