
/*
Final Desired CSS - Modern, Clean, and Professional
Replicates the design from the provided link.
*/

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Variables for Consistent Theming */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --text-color: #333;
    --background-color: #fff;
    --light-background-color: #f9f9f9;
    --border-color: #e0e0e0;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header {
    padding: 15px 5%;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
}

.main-menu {
    display: flex;
    list-style: none;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.login-register a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-left: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-login:hover {
    background-color: #0056b3;
}

.btn-register {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-register:hover {
    background-color: #1e7e34;
}

/* Hero Section */
.hero {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--light-background-color);
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.search-container select, .search-container input {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-size: 16px;
}

.search-container button {
    padding: 15px 30px;
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-container button:hover {
    background-color: #0056b3;
}

/* Sections */
.section {
    padding: 80px 5%;
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h3 {
    font-size: 36px;
    font-weight: 700;
}

/* Specialities Section */
.specialities-slider {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.speciality-card {
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    padding: 20px;
    text-align: center;
    min-width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speciality-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.speciality-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.speciality-info .department {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Offerings Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-background-color);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: left;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Expert Physicians Section */
.physician-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.physician-card {
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.physician-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.physician-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.physician-card h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.physician-card .speciality {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.physician-card .experience {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.physician-card .reviews {
    font-size: 14px;
    margin-bottom: 15px;
}

.physician-card button {
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.physician-card button:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-background-color);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
}

.testimonial-card .rating {
    font-size: 24px;
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-weight: 600;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(45deg, var(--primary-color), #00aaff);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.cta-banner h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-banner button {
    padding: 15px 40px;
    border: none;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-banner button:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 5%;
}

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

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p, .footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #555;
    margin-top: 40px;
}

/* Doctor Search and Filtering */
.doctor-search {
    padding: 40px 5%;
    text-align: center;
    background-color: var(--light-background-color);
}

.doctor-search h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filters select, .filters button {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 16px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filters button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Doctor Grid and Cards */
.doctor-list {
    padding: 40px 5%;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.doctor-card {
    background: var(--background-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.doctor-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--light-background-color);
}

.doctor-card h4 {
    font-size: 20px;
    margin: 10px 0;
    color: var(--text-color);
}

.doctor-card p {
    margin: 8px 0;
    font-size: 15px;
}

.doctor-card p:nth-of-type(2) {
    color: var(--primary-color);
    font-weight: 500;
}

.doctor-card p:nth-of-type(3) {
    color: #666;
    font-style: italic;
}

.doctor-card button {
    margin-top: 15px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.doctor-card button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Enhanced Specialities Slider */
.specialities-container {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
}

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

.specialities-header h3 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.specialities-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.specialities-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.specialities-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 0 30px;
    scroll-snap-type: x mandatory;
}

.specialities-slider::-webkit-scrollbar {
    display: none;
}

.speciality-card {
    background: var(--background-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 25px 20px;
    text-align: center;
    min-width: 180px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.speciality-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.speciality-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border: 3px solid var(--light-background-color);
}

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

.speciality-info .department {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
    transform: translateY(-50%);
}

.slider-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
}

/* Reviews Section Specific Styles */
.reviews-carousel-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.review-card {
    margin: 0 auto;
}

.reviews-carousel {
    justify-content: center;
}

/* Enhanced luxurious reviews carousel styling */
.reviews-carousel-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

.review-card {
    margin: 0 auto;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.review-card:hover {
    transform: scale(1.02);
    z-index: 10;
}

.reviews-carousel {
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.review-indicators-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
/* Consultation Video Participant Names */
.participant-name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
    max-width: calc(100% - 20px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

#doctor-video, #patient-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #aaa;
    font-size: 18px;
    text-align: center;
}
}
