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

html {
    scroll-behavior: smooth;
}

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

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

/* Page Header */
.page-header {
    padding: 60px 0 20px 0; /* tighter vertical space */
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: clamp(2rem, 4.5vw, 2.75rem); /* scalable and not oversized */
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.page-header p {
    font-size: 1.05rem;
    opacity: 0.95;
    font-family: 'Open Sans', sans-serif;
    margin: 0 auto;
    max-width: 900px;
}

/* About Hero Section */
.about-hero-section {
    padding: 40px 0;
    background: white;
}

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-content h3 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.about-hero-content p {
    color: #7f8c8d;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* About Details Section */
.about-details-section {
    padding: 30px 0 20px 0;
    background: #f8f9fa;
}

.about-details {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-section h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-section h4 i {
    color: #e74c3c;
    font-size: 1.3rem;
}

.about-section p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.about-section ul {
    margin: 0;
    padding-left: 20px;
}

.about-section li {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* About Features Section */
.about-features-section {
    padding: 20px 0 40px 0;
    background: white;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h5 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem;
}

/* About Stats Section */
.about-stats-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Top Contact Bar */
.top-contact-bar {
    background: #2c3e50;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.top-contact-bar .contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: #f39c12;
    width: 16px;
}

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

.social-links a {
    color: white;
    text-decoration: none;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px 8px 10px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: -10px;
}

.nav-brand img {
    min-width: 50px;
    min-height: 50px;
}

.logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
    background: white;
    padding: 2px;
}

.logo:hover {
    transform: scale(1.1);
}

.brand-text h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1px;
}

.brand-text span {
    color: #7f8c8d;
    font-size: 11px;
    font-weight: 500;
}

.brand-text .punch-line {
    color: #f39c12;
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #ecf0f1;
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    transform: translateX(5px);
}

.dropdown-item:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-appointment {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

/* Make brand area obviously clickable */
.nav-brand { cursor: pointer; }

/* Curtain Effect */
.curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    overflow: hidden;
}

.curtain-flap {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.curtain-left {
    left: 0;
    animation: slideLeft 3s ease-in-out forwards;
}

.curtain-right {
    right: 0;
    animation: slideRight 3s ease-in-out forwards;
}

.curtain-content {
    text-align: center;
    color: white;
    opacity: 0;
    animation: fadeInCurtain 1s ease-in-out 0.5s forwards;
}

.curtain-logo {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.curtain-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.curtain-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Find Doctors Section */
.find-doctors-section {
    padding: 00px 0;
    background: #f8f9fa;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.find-doctors-header {
    margin-bottom: 40px;
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #ecf0f1;
    position: relative;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #2c3e50;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px 2px 0 0;
}

.tab-btn:hover {
    color: #2c3e50;
}

.search-interface {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.search-fields {
    display: flex;
    gap: 20px;
    flex: 1;
}

.field-group {
    flex: 1;
    min-width: 200px;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.dropdown-field {
    position: relative;
}

.dropdown-field select {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    background: white;
    font-size: 16px;
    color: #2c3e50;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-field select:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.dropdown-field i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    pointer-events: none;
}

.search-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.search-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.view-specialties {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-link {
    color: #2c3e50;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-link:hover {
    color: #e74c3c;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background: #e74c3c;
    transform: translateX(3px);
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-bottom: -50px;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #0e2a4e; /* solid background */
    transform: translateX(100%) scale(1);
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* overlay not needed for solid background */
.slide-overlay { display: none; }

.slide-content {
    position: relative;
    left: 10%;
    transform: translateY(-0%);
    text-align: left;
    color: white;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

/* Right-side doctor image */
.slide-illustration {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.slide-illustration img {
    max-height: 90%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.slide-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

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

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 60px 0 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    opacity: 1;
    transform: none;
    transition: none;
}

.about-section.slide-in { }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 00px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.feature i {
    font-size: 2rem;
    color: #e74c3c;
    width: 50px;
    text-align: center;
}

.feature h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Doctor Highlight Section */
.doctor-highlight-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fafbfc 0%, #f8f9fa 100%);
}

/* Dr. Taruna Section - Different background and layout */
.dr-taruna-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f5f7fa 100%);
}

.doctor-highlight-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

/* Dr. Taruna Content - Reverse order for desktop (image on right) */
.dr-taruna-content {
    grid-template-columns: 1.5fr 1fr;
}

.dr-taruna-content .doctor-highlight-text {
    order: 1;
}

.dr-taruna-content .doctor-highlight-image {
    order: 2;
}

.doctor-highlight-image {
    display: flex;
    justify-content: center;
}

.doctor-highlight-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.doctor-highlight-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.doctor-highlight-text {
    padding: 20px;
}

.doctor-highlight-title {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doctor-highlight-name {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.doctor-highlight-subtitle {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.doctor-highlight-description {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.doctor-highlight-text .btn {
    margin-top: 20px;
}

/* Home Care Services Section */
.home-care-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fafbfc 0%, #f8f9fa 100%);
}

.home-care-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.home-care-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.home-care-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.home-care-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.home-care-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.home-care-details {
    flex: 1;
}

.home-care-details h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.home-care-details p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.home-care-details a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.home-care-details a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.home-care-qr {
    display: flex;
    justify-content: center;
    align-items: start;
}

.qr-code-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #e74c3c;
}

.qr-code-box h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.qr-code-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: inline-block;
}

.qr-code-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}

.qr-instruction {
    color: #555;
    font-size: 1rem;
    margin-top: 10px;
    font-weight: 500;
}

/* Tablet/Laptop Breakpoint (1024px and below) */
@media (max-width: 1024px) {
    .doctor-highlight-section {
        padding: 80px 0;
    }

    .doctor-highlight-content {
        gap: 40px;
    }

    .doctor-highlight-img {
        max-width: 100%;
    }

    .doctor-highlight-name {
        font-size: 2rem;
    }

    .doctor-highlight-subtitle {
        font-size: 1.1rem;
    }

    .doctor-highlight-description {
        font-size: 1rem;
    }

    .doctor-highlight-text {
        padding: 15px;
    }

    .home-care-section {
        padding: 80px 0;
    }

    .home-care-content {
        gap: 40px;
    }
}

/* Medium Tablets/Small Laptops (900px and below) */
@media (max-width: 900px) {
    .doctor-highlight-content {
        gap: 30px;
    }

    .doctor-highlight-name {
        font-size: 2.2rem;
    }

    .doctor-highlight-subtitle {
        font-size: 1.05rem;
    }

    .home-care-content {
        gap: 30px;
    }

    .home-care-item {
        padding: 25px;
    }

    .home-care-details h4 {
        font-size: 1.2rem;
    }
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Doctors Section */
.doctors-section {
    padding: 100px 0;
    background: white;
}

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

.doctor-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
    opacity: 1;
    transform: translateY(0);
}

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

.doctor-image {
    margin-bottom: 25px;
}

.doctor-image .image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #e8f4f8, #d5e8f0);
}

.doctor-photo {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center top;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.doctor-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.doctor-info h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.doctor-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.doctor-info h3 a:hover {
    color: #e74c3c;
    transform: translateX(5px);
}

.specialization {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.qual {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #7f8c8d;
    font-size: 14px;
}

.contact-info i {
    color: #e74c3c;
    width: 16px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.service-category {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-category h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    overflow: hidden;
    opacity: 1;
    transform: none;
}

/* Colorful accents for speciality cards */
.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #e74c3c, #c0392b);
    opacity: 0.9;
}

/* Subtle colorful wash */
.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231,76,60,0.06), rgba(52,152,219,0.04));
    z-index: 0;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-item:hover {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.06);
}

/* Show pointer on any service card that is clickable via inline onclick */
.service-item[onclick] { cursor: pointer; }

.service-item:hover .service-bg {
    opacity: 0.55;
    filter: blur(1px) saturate(1.2);
}

/* Category-based accent colors */
.service-category:nth-of-type(1) .service-item::before { background: linear-gradient(180deg, #ff6b81, #e74c3c); }
.service-category:nth-of-type(2) .service-item::before { background: linear-gradient(180deg, #6dd5fa, #2980b9); }
.service-category:nth-of-type(3) .service-item::before { background: linear-gradient(180deg, #ff7675, #d63031); }
.service-category:nth-of-type(4) .service-item::before { background: linear-gradient(180deg, #1dd1a1, #10ac84); }
.service-category:nth-of-type(5) .service-item::before { background: linear-gradient(180deg, #a29bfe, #6c5ce7); }

.service-category h3 {
    position: relative;
}
.service-category h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 60px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(90deg, #e74c3c, #2980b9);
    opacity: 0.9;
}

.service-item i {
    font-size: 2rem;
    color: #e74c3c;
    width: 50px;
    height: 50px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-item:hover i {
    transform: scale(1.12);
    box-shadow: 0 8px 18px rgba(231, 76, 60, 0.35);
}

.service-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.25s ease, color 0.25s ease;
}

.service-item:hover .service-content {
    transform: translateX(4px);
}

.service-content h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-item:hover .service-content h4 { color: #e74c3c; }

.service-content p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

/* Service action buttons */
.service-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.service-actions .btn {
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 12px;
}

/* Make Map buttons visible on light backgrounds */
.service-actions .btn.btn-secondary {
    background: #2c3e50;
    color: #ffffff;
    border: 2px solid #2c3e50;
}
.service-actions .btn.btn-secondary:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #ffffff;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f5f7fa 0%, #ffffff 100%);
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image .image-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #e8f4f8, #d5e8f0);
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: none;
    opacity: 1;
    transform: none;
}

.gallery-item:nth-child(1) .gallery-image img { animation-delay: 0.1s; }
.gallery-item:nth-child(2) .gallery-image img { animation-delay: 0.2s; }
.gallery-item:nth-child(3) .gallery-image img { animation-delay: 0.3s; }
.gallery-item:nth-child(4) .gallery-image img { animation-delay: 0.4s; }
.gallery-item:nth-child(5) .gallery-image img { animation-delay: 0.5s; }
.gallery-item:nth-child(6) .gallery-image img { animation-delay: 0.6s; }
.gallery-item:nth-child(7) .gallery-image img { animation-delay: 0.7s; }
.gallery-item:nth-child(8) .gallery-image img { animation-delay: 0.8s; }
.gallery-item:nth-child(9) .gallery-image img { animation-delay: 0.9s; }
.gallery-item:nth-child(10) .gallery-image img { animation-delay: 1.0s; }
.gallery-item:nth-child(11) .gallery-image img { animation-delay: 1.1s; }
.gallery-item:nth-child(12) .gallery-image img { animation-delay: 1.2s; }
.gallery-item:nth-child(13) .gallery-image img { animation-delay: 1.3s; }
.gallery-item:nth-child(14) .gallery-image img { animation-delay: 1.4s; }
.gallery-item:nth-child(15) .gallery-image img { animation-delay: 1.5s; }

.gallery-item:hover .gallery-image img {
    transform: translateX(0) scale(1.05);
    opacity: 1;
}

.gallery-item.gallery-animate .gallery-image img { }

.gallery-item:not(.gallery-animate) .gallery-image img { }

.service-item.service-animate { }

.service-item:not(.service-animate) {
    opacity: 1;
    transform: none;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 62, 80, 0.9));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-modal.active { display: flex; }

.lightbox-body {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: white;
}

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

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
}

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

.blog-card.featured {
    grid-column: span 2;
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card.featured .blog-image {
    height: 250px;
}

.blog-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f4f8, #d5e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 3rem;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: #e74c3c;
    width: 14px;
}

.blog-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card.featured .blog-title {
    font-size: 1.5rem;
}

.blog-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #c0392b;
    transform: translateX(5px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.blog-cta {
    background: linear-gradient(135deg, #f8f9fa, #e8f0ff);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-cta h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-cta p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.newsletter-form .btn {
    padding: 15px 30px;
    white-space: nowrap;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #f0f2f5 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Left contact card stacked vertically */
.contact-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Nudge the form slightly inward from the right edge */
.contact-form {
    margin-right: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d0cfcf, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-details h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-details p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Style links in contact details to match paragraph text */
.contact-details p a {
    color: #7f8c8d;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-details p a:hover {
    color: #e74c3c;
    text-decoration: underline;
}


.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Single column form layout for contact form */
.contact-form .form-row {
    display: block;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.required-asterisk {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Appointment Modal */
.appointment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.appointment-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.appointment-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 20px;
    border-bottom: 1px solid #ecf0f1;
}

.modal-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #7f8c8d;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e74c3c;
}

.appointment-form {
    padding: 30px 40px 40px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Responsive footer layout */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-brand:hover {
    transform: translateX(5px);
}

.footer-brand a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.footer-brand a .footer-logo {
    flex-shrink: 0;
    min-width: 50px;
    min-height: 50px;
}

.footer-brand a > div {
    display: flex;
    flex-direction: column;
}

.footer-brand a h3 {
    margin: 0;
    line-height: 1.2;
}

.footer-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
}

.footer-logo:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.5);
}

.footer-section h3,
.footer-section h4 {
    margin: 0;
    color: #f39c12;
    transition: color 0.3s ease;
}

.footer-brand:hover h3 {
    color: #f39c12;
}

.footer-brand .punch-line {
    color: #95a5a6;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-brand:hover .punch-line {
    color: #f39c12;
}

.footer-section h4 {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #f39c12;
    transition: width 0.3s ease;
}

.footer-section:hover h4::after {
    width: 100%;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Two-column layout for speciality list in footer */
.footer-section.speciality-list ul {
    column-count: 2;
    column-gap: 20px;
    column-rule: none;
}

/* Responsive: single column on smaller screens */
@media (max-width: 768px) {
    .footer-section.speciality-list ul {
        column-count: 1;
    }
}

.footer-section ul li {
    margin-bottom: 8px;
    transition: transform 0.3s ease;
    break-inside: avoid;
    page-break-inside: avoid;
}

/* Optimize spacing for Quick Links and Speciality sections */
.footer-section.quick-links,
.footer-section.speciality-list {
    padding-right: 0;
}

/* Make Quick Links and Speciality sections more compact */
.footer-section.quick-links ul,
.footer-section.speciality-list ul {
    margin-top: 0;
}

/* Center the Speciality heading above both columns */
.footer-section.speciality-list h4 {
    text-align: center;
    width: 100%;
    display: block;
}

/* Center the underline for Speciality heading */
.footer-section.speciality-list h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 0;
}

/* Center the underline on hover for Speciality heading */
.footer-section.speciality-list:hover h4::after {
    width: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #f39c12;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f39c12;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer .social-links a:hover {
    background: #f39c12;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.footer .contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.footer .contact-details p:hover {
    transform: translateX(5px);
}

.footer .contact-details a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer .contact-details a:hover {
    color: #f39c12;
}

.footer .contact-details i {
    color: #f39c12;
    width: 16px;
    transition: transform 0.3s ease;
}

.footer .contact-details p:hover i {
    transform: scale(1.2);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .top-contact-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .navbar .container {
        flex-wrap: wrap;
        padding: 6px 12px 6px 8px; /* tighter navbar on mobile */
    }
    
    .nav-brand {
        margin-left: -8px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 20px;
        z-index: 9999;
        height: calc(100vh - 80px);
        overflow-y: auto;
        pointer-events: auto;
        opacity: 1 !important;
    }

    .nav-menu.active {
        left: 0;
        pointer-events: auto;
        opacity: 1 !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        background: #ffffff;
        margin-top: 10px;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-item {
        padding: 10px 20px;
        border-bottom: 1px solid #ecf0f1;
        font-size: 14px;
        cursor: pointer;
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(231, 76, 60, 0.2);
    }

    .nav-link {
        padding: 15px 20px;
        font-size: 16px;
        display: block;
        width: 100%;
        cursor: pointer;
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(231, 76, 60, 0.2);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto; /* push hamburger to far right */
    }

    .btn-appointment {
        display: none; /* hide on mobile */
    }

    /* Mobile menu overlay - Removed dark overlay to prevent faded appearance */
    /* .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        pointer-events: none;
    } */

    /* Hamburger menu animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .dropdown-toggle i {
        display: inline-block;
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .page-header h1 { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .page-header p { font-size: 1rem; }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero-content h3 {
        font-size: 2rem;
    }

    .about-hero-img {
        height: 340px;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .nav-toggle {
        display: flex !important;
        cursor: pointer;
        z-index: 1001;
        pointer-events: auto;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .slide-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 10px;
    }

    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .slide {
        background-size: cover;
        background-position: center;
    }

    /* Stack text above image on mobile */
    .slide { 
        flex-direction: column; 
        align-items: flex-start; 
        padding-top: 20px;
    }

    .slide-content {
        left: 5%;
        max-width: 90%;
        padding: 20px;
        position: relative;
        top: auto;
        transform: none;
        z-index: 2;
    }

    .slide-illustration {
        position: static;
        right: auto;
        bottom: auto;
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        margin-top: 10px;
        z-index: 1;
    }

    .slide-illustration img {
        max-height: 50vh;
        width: auto;
        object-fit: contain;
        object-position: center bottom;
    }
    /* Per-slide fine-tuning */
    .hero-slider .slide:nth-child(1) .slide-illustration img { max-height: 46vh; }
    .hero-slider .slide:nth-child(3) .slide-illustration img { max-height: 44vh; }

    .slide-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .slider-controls {
        padding: 0 15px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    /* Hide slider navigation arrows on mobile */
    .slider-controls { display: none; }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .doctor-highlight-section {
        padding: 60px 0;
    }

    .doctor-highlight-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Dr. Taruna Section - Image on top for mobile */
    .dr-taruna-content {
        grid-template-columns: 1fr;
    }

    .dr-taruna-content .doctor-highlight-text {
        order: 2;
    }

    .dr-taruna-content .doctor-highlight-image {
        order: 1;
    }

    .doctor-highlight-img {
        max-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 4/5;
    }

    .doctor-highlight-name {
        font-size: 1.8rem;
    }

    .doctor-highlight-title {
        font-size: 1rem;
    }

    .doctor-highlight-subtitle {
        font-size: 1rem;
    }

    .doctor-highlight-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .doctor-highlight-text {
        padding: 15px;
    }

    .home-care-section {
        padding: 60px 0;
    }

    .home-care-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-care-item {
        padding: 25px;
    }

    .home-care-item i {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .home-care-details h4 {
        font-size: 1.2rem;
    }

    .qr-code-box {
        padding: 25px;
    }

    .qr-code-image {
        max-width: 200px;
    }

    .search-interface {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .search-fields {
        flex-direction: column;
        gap: 15px;
    }

    .search-actions {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 0;
    }

    .tab-btn {
        text-align: left;
        border-bottom: 1px solid #ecf0f1;
    }

    .tab-btn.active::after {
        display: none;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 30px 0 50px 0;
        margin-top: -30px;
        opacity: 1 !important;
        transform: translateX(0) !important;
        transition: none !important;
    }

    .about-hero-section {
        padding: 20px 0;
    }

    .about-details-section {
        padding: 20px 0 10px 0;
    }

    .about-features-section {
        padding: 10px 0 20px 0;
    }

    .about-stats-section {
        padding: 20px 0;
    }

    .hero-slider {
        height: 95vh;
        margin-bottom: -30px;
    }

    .find-doctors-section {
        padding: 0;
        margin-top: -20px;
    }

    .find-doctors-header {
        margin-bottom: 20px;
    }

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

    .services-section {
        padding: 40px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card.featured {
        grid-column: span 1;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form { margin-right: 0; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .doctor-highlight-section {
        padding: 40px 0;
    }

    .doctor-highlight-content {
        gap: 30px;
    }

    .doctor-highlight-name {
        font-size: 1.5rem;
    }

    .doctor-highlight-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .doctor-highlight-subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .doctor-highlight-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .doctor-highlight-text {
        padding: 10px;
    }

    .home-care-section {
        padding: 40px 0;
    }

    .home-care-content {
        gap: 30px;
    }

    .home-care-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .home-care-item i {
        margin: 0 auto;
    }

    .home-care-details h4 {
        font-size: 1.1rem;
    }

    .home-care-details p {
        font-size: 0.95rem;
    }

    .qr-code-box {
        padding: 20px;
    }

    .qr-code-image {
        max-width: 180px;
    }

    .qr-instruction {
        font-size: 0.9rem;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .doctor-card,
    .service-category,
    .contact-form {
        padding: 20px;
    }

    .modal-content {
        width: 95%;
    }

    .modal-header,
    .appointment-form {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .qualifications {
        justify-content: center;
    }

    .qual {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}


@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    70% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(0);
    }
    70% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeInCurtain {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
}

/* WhatsApp Button Styles */
/* Social Media Float Buttons - Common Styles */
.social-float-button {
    position: fixed;
    right: 30px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.social-float-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
}

.social-float-button a:hover {
    transform: scale(1.1);
}

.social-float-button i {
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.social-tooltip {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%);
    background: #2c3e50;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #2c3e50;
}

.social-float-button:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    right: 62px;
}

/* Facebook Button */
.facebook-button {
    bottom: 165px;
    animation: facebookPulse 2s infinite;
}

.facebook-button a {
    background: #1877F2;
    box-shadow: 0 3px 15px rgba(24, 119, 242, 0.35);
}

.facebook-button a:hover {
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.5);
}

/* Instagram Button */
.instagram-button {
    bottom: 110px;
    animation: instagramPulse 2s infinite;
}

.instagram-button a {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 3px 15px rgba(225, 48, 108, 0.35);
}

.instagram-button a:hover {
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.5);
}

/* WhatsApp Button */
.whatsapp-button {
    bottom: 55px;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button a {
    background: #25D366;
    box-shadow: 0 3px 15px rgba(37, 211, 102, 0.35);
}

.whatsapp-button a:hover {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

@keyframes facebookPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(24, 119, 242, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
    }
}

@keyframes instagramPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 48, 108, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(225, 48, 108, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 48, 108, 0);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Social Media Float Buttons responsive */
@media (max-width: 768px) {
    .social-float-button {
        right: 15px;
    }
    
    .facebook-button {
        bottom: 145px;
    }
    
    .instagram-button {
        bottom: 95px;
    }
    
    .whatsapp-button {
        bottom: 45px;
    }
    
    .social-float-button a {
        width: 42px;
        height: 42px;
    }
    
    .social-float-button i {
        font-size: 20px;
    }
    
    .social-tooltip {
        display: none;
    }
}

/* Book Consultation Button Styles */
.book-consultation-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 14px;
}

.book-consultation-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    color: white;
    text-decoration: none;
}

.book-consultation-btn:active {
    transform: translateY(0);
}

/* Enhanced Dropdown Styles */
.dropdown-field {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-field:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-field select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.dropdown-field select:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.dropdown-field select:hover {
    border-color: #c0392b;
}

.dropdown-field i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    pointer-events: none;
    transition: all 0.3s ease;
}

.dropdown-field:hover i {
    color: #e74c3c;
    transform: translateY(-50%) rotate(180deg);
}

.field-group {
    position: relative;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

/* Search button enhancement */
.search-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

/* Arrow button enhancement */
.arrow-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* View link enhancement */
.view-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Enhanced Appointment Modal Styles */
.appointment-type-selection {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.appointment-type-selection h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.appointment-types {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.appointment-type-btn {
    flex: 1;
    min-width: 120px;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.appointment-type-btn:hover {
    border-color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.appointment-type-btn.active {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.appointment-type-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.appointment-type-btn span {
    font-weight: 600;
    font-size: 14px;
}

/* Calendar Styles */
.calendar-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.calendar-section h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.calendar-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.calendar-nav-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.current-month {
    font-weight: 600;
    font-size: 18px;
    color: #2c3e50;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #2c3e50;
}

.calendar-day:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.calendar-day.selected {
    background: #e74c3c;
    color: white;
}

.calendar-day.other-month {
    color: #bdc3c7;
}

.calendar-day.today {
    background: #3498db;
    color: white;
}

.calendar-day.unavailable {
    background: #ecf0f1;
    color: #bdc3c7;
    cursor: not-allowed;
}

/* Time Slots Styles */
.time-slots-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.time-slots-section h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 12px 20px;
    border: 2px solid #e1e8ed;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
}

.time-slot:hover {
    border-color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.time-slot.selected {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.time-slot.unavailable {
    background: #ecf0f1;
    color: #bdc3c7;
    cursor: not-allowed;
    border-color: #bdc3c7;
}

/* Call Options */
.call-options {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.call-options h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.call-preferences {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.call-preferences label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #2c3e50;
}

.call-preferences input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e74c3c;
}

/* Call Modal Styles */
.call-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.call-modal.active {
    opacity: 1;
    visibility: visible;
}

.call-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.call-modal.active .call-content {
    transform: scale(1);
}

.call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.call-header h3 {
    color: #2c3e50;
    margin: 0;
}

.close-call-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #7f8c8d;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-call-modal:hover {
    color: #e74c3c;
}

.call-info {
    margin-bottom: 30px;
}

.caller-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.call-info h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 24px;
}

.call-info p {
    color: #7f8c8d;
    font-size: 16px;
    margin: 0;
}

.call-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.call-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mute-btn {
    background: #3498db;
    color: white;
}

.mute-btn:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.mute-btn.muted {
    background: #e74c3c;
}

.end-call-btn {
    background: #e74c3c;
    color: white;
}

.end-call-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.speaker-btn {
    background: #f39c12;
    color: white;
}

.speaker-btn:hover {
    background: #e67e22;
    transform: scale(1.1);
}

.video-btn {
    background: #27ae60;
    color: white;
}

.video-btn:hover {
    background: #229954;
    transform: scale(1.1);
}

.video-btn.disabled {
    background: #95a5a6;
}

.screen-share-btn {
    background: #9b59b6;
    color: white;
}

.screen-share-btn:hover {
    background: #8e44ad;
    transform: scale(1.1);
}

/* Video Call Styles */
.video-container {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 300px;
}

.video-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-main video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.caller-info h4 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 20px;
}

.caller-info p {
    color: #ecf0f1;
    margin: 0;
    font-size: 14px;
}

.video-local {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid white;
}

.video-local video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design for Call Modals */
@media (max-width: 768px) {
    .call-content {
        padding: 20px;
        margin: 20px;
    }
    
    .call-controls {
        gap: 15px;
    }
    
    .call-btn {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .video-container {
        height: 250px;
    }
    
    .video-local {
        width: 100px;
        height: 75px;
    }
}