﻿/* General Styles */
:root {
    --primary-color: #057cf2;
    --secondary-color: #2f2f2f;
    --accent-color: #eef6fe;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    font-size: 1.2rem;
}

/* Section 1: Hero Banner */
.about-hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: url('../Images/clinic-hero.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    background-image: url(../Images/nurseAndBaby.jpg);
    background-size:cover;
    background-repeat:no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-content p {
        font-size: 1.5rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

/* Section 2: Success Metrics */
.success-metrics {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

    .success-metrics .container {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 30px;
    }

.metric {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

    .metric .counter {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .metric p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

/* Section 3: Doctor Profile */
.profile-section {
    padding: 80px 0;
    background-color: var(--white);
}

    .profile-section .container {
        display: flex;
        align-items: center;
        gap: 50px;
    }

.profile-image {
    position: relative;
    flex: 1;
}

    .profile-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding:13%;
}

    .experience-badge span {
        font-size: clamp(20px, 2vw, 30px)!important;
        font-weight: 700;
    }

    .experience-badge p {
        font-size: 0.8rem;
        text-align: center;
        margin-top: 5px;
    }

.profile-content {
    flex: 1;
}

    .profile-content h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .profile-content .subtitle {
        font-size: 1.2rem;
        color: var(--secondary-color);
        margin-bottom: 20px;
        font-weight: 500;
    }

    .profile-content p {
        margin-bottom: 20px;
    }

.education-list {
    margin-top: 30px;
}

.education-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

    .education-item img {
        width: 30px;
        margin-right: 15px;
    }

/* Section 4: Clinic History */
.history-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

    .history-section .container {
        display: flex;
        align-items: center;
        gap: 50px;
    }

.history-content {
    flex: 1;
}

    .history-content h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 30px;
    }

.timeline {
    margin-bottom: 30px;
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
}

.year {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
    margin-right: 20px;
}

.event {
    flex: 1;
}

.history-image {
    flex: 1;
    position: relative;
}

    .history-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

    .image-caption p {
        margin: 5px 0;
    }

/* Section 5: Clinic Services */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

    .services-section h2 {
        text-align: center;
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #66b2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .service-icon img {
        width: 40px;
        height: 40px;
    }

.service-card h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

    .service-card li:before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 10px;
        height: 10px;
        background-color: var(--primary-color);
        border-radius: 50%;
    }

/* Section 6: Photo Gallery */
.gallery-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

    .gallery-section h2 {
        text-align: center;
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.gallery-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;
}

    .gallery-overlay span {
        color: var(--white);
        font-size: 1.2rem;
        font-weight: 600;
    }

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: #ccc;
    }

#caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 1.2rem;
}

/* Section 7: Testimonials */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

    .testimonials-section h2 {
        text-align: center;
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.5;
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.patient-info {
    display: flex;
    align-items: center;
}

    .patient-info img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 15px;
    }

.patient-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.patient-location {
    color: #666;
    font-size: 0.9rem;
}

/* Section 8: Call to Action */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(5, 124, 242, 0.9), rgba(5, 124, 242, 0.9)), url('../Images/cta-bg.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    text-align: center;
}

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 40px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .cta-button.primary {
        background-color: var(--white);
        color: var(--primary-color);
    }

        .cta-button.primary:hover {
            background-color: #f0f0f0;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

    .cta-button.secondary {
        background-color: transparent;
        color: var(--white);
        border: 2px solid var(--white);
    }

        .cta-button.secondary:hover {
            background-color: rgba(255, 255, 255, 0.1);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

/* Responsive Styles */
@media (max-width: 992px) {
    .profile-section .container,
    .history-section .container {
        flex-direction: column;
    }

    .profile-image,
    .profile-content,
    .history-content,
    .history-image {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .success-metrics .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .about-hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .success-metrics .container {
        grid-template-columns: 1fr;
    }

    .metric {
        margin-bottom: 30px;
    }
}









