/* Base Styles */
:root {
    --primary-color: #0097e6;
    --secondary-color: #4bcffa;
    --accent-color: #f1c40f;
    --text-color: #333;
    --light-text-color: #666;
    --lighter-text-color: #999;
    --bg-color: #fff;
    --light-bg-color: #f8f9fa;
    --border-color: #e1e1e1;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Header Styles */
.emergency-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: 500;
}

.emergency-banner a {
    color: white;
    font-weight: 700;
}

.navbar {
    background-color: var(--bg-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.menu ul {
    display: flex;
    gap: 20px;
}

.menu ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    padding: 10px;
}

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

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 151, 230, 0.8), rgba(75, 207, 250, 0.8)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Heading */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--light-text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Doctors Section */
.doctors {
    padding: 80px 0;
}

.doctors-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--light-bg-color);
    border: 1px solid var(--border-color);
    color: var(--light-text-color);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.doctor-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

/*.doctor-image {*/
/*    height: 200px;*/
/*    overflow: hidden;*/
/*}*/
.doctor-image {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow: hidden;
}


/*.doctor-image img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    transition: var(--transition);*/
/*}*/

.doctor-image img {
   
    width: 100%;
    height: auto;
    object-fit: contain; /* ya cover, difference neeche samjhaaya hai */
  
    max-height: 250px; /* ya jitna chhota chahiye */
}


.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-info {
    padding: 20px;
}

.doctor-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.doctor-position {
    font-weight: 500;
    color: var(--light-text-color);
    margin-bottom: 5px;
}

.doctor-specialty {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.doctor-qualifications {
    font-size: 0.85rem;
    color: var(--light-text-color);
    margin-bottom: 10px;
}

.doctor-languages {
    font-size: 0.85rem;
    color: var(--lighter-text-color);
    margin-bottom: 20px;
}

.doctor-action {
    text-align: center;
}

.btn-ratings {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-ratings:hover {
    background-color: var(--secondary-color);
    color: white;
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

.btn-load-more {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Contact Section */
.contact {
    background-color: var(--bg-color);
    padding: 80px 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-10px);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Footer Styles */
footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 20px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-contact p a {
    color: #aaa;
}

.footer-contact p a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .menu ul {
        gap: 15px;
    }
    
    .menu ul li a {
        font-size: 13px;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 80px 20px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .doctor-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .section-heading h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .doctors, .contact {
        padding: 60px 0;
    }
    
    .section-heading h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 20px;
    }
} 