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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fixed Header */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.doctor-info {
    flex: 1;
}

.doctor-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2px;
}

.doctor-specialty {
    font-size: 1rem;
    font-weight: 500;
    color: #e74c3c;
    margin-bottom: 2px;
}

.doctor-credentials {
    font-size: 0.8rem;
    font-weight: 400;
    color: #7f8c8d;
}

.header-cta {
    flex-shrink: 0;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.1rem;
}

/* Main Content */
.main-content {
    margin-top: 120px;
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

/* About Section */
.about-content {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.hospitals-list {
    list-style: none;
    margin-top: 20px;
}

.hospitals-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    border-bottom: 1px solid #ecf0f1;
}

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

.hospitals-list i {
    color: #e74c3c;
    font-size: 1.1rem;
}

/* Procedures Section */
.procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.procedure-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: left;
}

.procedure-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.procedure-item i {
    font-size: 1.8rem;
    color: #e74c3c;
    flex-shrink: 0;
}

.procedure-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.location-item {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.location-item i {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.location-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.location-item p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.location-link:hover {
    color: #2980b9;
}

.location-link i {
    font-size: 0.8rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.contact-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-item:nth-child(1) i {
    color: #25d366;
}

.contact-item:nth-child(2) i {
    color: #e4405f;
}

.contact-item:nth-child(3) i {
    color: #39e09b;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2980b9;
}

/* Fixed WhatsApp Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-content p:last-child {
    color: #bdc3c7;
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .doctor-name {
        font-size: 1.5rem;
    }
    
    .doctor-specialty {
        font-size: 0.9rem;
    }
    
    .doctor-credentials {
        font-size: 0.7rem;
    }
    
    .main-content {
        margin-top: 140px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .procedures-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .procedure-item {
        padding: 20px;
    }
    
    .procedure-item i {
        font-size: 1.5rem;
    }
    
    .procedure-item span {
        font-size: 0.9rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .whatsapp-btn span {
        display: none;
    }
    
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    
    .whatsapp-btn i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-fixed {
        padding: 12px 0;
    }
    
    .doctor-name {
        font-size: 1.3rem;
    }
    
    .btn-whatsapp {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .main-content {
        margin-top: 130px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .procedure-item {
        padding: 18px;
        gap: 12px;
    }
    
    .location-item,
    .contact-item {
        padding: 25px 20px;
    }
    
    .whatsapp-fixed {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-btn i {
        font-size: 1.3rem;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn-whatsapp:focus,
.contact-link:focus,
.location-link:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Loading animation */
.section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Testimonials Section */
.testimonials-section .section-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.testimonial-card .stars {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
}

/* Blog Section */
.blog-section .section-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card .btn-read-more {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.blog-card .btn-read-more:hover {
    background: #c0392b;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card,
    .blog-card {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .blog-card h3 {
        font-size: 1.1rem;
    }

    .blog-card p {
        font-size: 0.9rem;
    }
}




/* Doctor Photo Styling */
.doctor-photo-container {
    text-align: center;
    margin-bottom: 30px;
}

.doctor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e74c3c;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.doctor-photo-caption {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 10px;
}

@media (min-width: 769px) {
    .about-content {
        display: flex;
        align-items: flex-start;
        gap: 40px;
    }

    .doctor-photo-container {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .about-text {
        flex-grow: 1;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .doctor-photo {
        width: 150px;
        height: 150px;
    }
}




/* Blog Section - Specific Adjustments for Uniformity */
.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Ensure consistent gap between cards */
}

.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background: white;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card i {
    font-size: 2.5rem;
    color: #e74c3c; /* Red color for icons */
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.blog-card .btn-read-more {
    display: inline-block;
    background: #e74c3c; /* Red button */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
    align-self: flex-start; /* Align button to the start */
}

.blog-card .btn-read-more:hover {
    background: #c0392b;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-card {
        padding: 20px;
    }
    .blog-card i {
        font-size: 2rem;
    }
    .blog-card h3 {
        font-size: 1.1rem;
    }
    .blog-card p {
        font-size: 0.9rem;
    }
}


