/* Global Styles - Optimized for performance */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    border-radius: var(--border-radius);
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
/* Appointment Button Styles */
.btn-pink {
    background-color: #e83e8c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(232, 62, 140, 0.3);
}

.btn-pink:hover {
    background-color: #d63384;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(232, 62, 140, 0.4);
    text-decoration: none;
}

/* Modal Styles */
#appointmentModal .modal-header {
    background-color: #e83e8c;
    color: white;
}

#appointmentModal .btn-close {
    filter: brightness(0) invert(1);
}

@media (max-width: 767.98px) {
    .btn-pink {
        padding: 20px 20px;
        font-size: 15px;
        width: 100%;
    }
    .btn {
    border-radius: var(--border-radius);
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
    font-weight: 600;
}
}
/* Header & Navigation */
/* Top Header Bar */
/* Header Styles */
.top-header-bar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Contact Boxes */
.contact-box {
    background: white;
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.btn-pink {
    background-color: #ff0080;
    color: #fff !important;
    border-radius: 20px;
    font-weight: bold;
    padding: 12px 24px;
    display: inline-block;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Pendulum animation - rotate back and forth */
@keyframes pendulum {
    0%   { transform: rotate(-4deg); }
    50%  { transform: rotate(4deg); }
    100% { transform: rotate(-4deg); }
}

/* Apply same animation to both */
.btn-rotate {
    animation: pendulum 2s infinite ease-in-out;
}
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(79, 195, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.email-box .contact-icon {
    background: rgba(233, 30, 99, 0.1);
   
}

.contact-number, .contact-email {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Mobile Header Image */
/* Mobile Header Carousel */
#headerCarousel {
    max-height: 190px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid white;
}

.carousel-item img {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

/* Hide carousel on desktop */
@media (min-width: 768px) {
    #headerCarousel {
        display: none;
    }
}

/* Adjust spacing for mobile */
@media (max-width: 767.98px) {
    .contact-wrapper {
        margin-top: 15px;
    }
    
    .action-buttons {
        margin-top: 20px;
    }
}

/* Appointment Button */
.btn-appointment {
    background: linear-gradient(135deg, var(--primary-color), #0288d1);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-appointment:hover {
    background: linear-gradient(135deg, #0288d1, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: white;
}

/* Navigation */
.nav-orange {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    color: black;
    
}

/* Mobile Responsiveness */
/* Default styles (desktop) */
.contact-box {
    background: white;
    border-radius: 10px;
    padding: 12px 20px;
    display: inline-flex; /* Content-width by default */
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    white-space: nowrap;
    margin: 5px 10px 5px 0; /* Right margin for desktop spacing */
}



/* Mobile View (767.98px and below) */
/* Mobile View (767.98px and below) */
@media (max-width: 767.98px) {
    .contact-wrapper {
        display: flex !important;
        flex-direction: column!important;
        align-items: flex-start;
        width: 100%;
        padding: 0px;
        margin: 0;
        gap: 0; /* ✅ Remove spacing between boxes */
    }

    .contact-box {
        flex: 1;
        min-width: 0;
        padding: 0px 1x;
        background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
        display: flex;
        align-items:start;
        gap: 0px;
    }

    .contact-icon {
        font-size: 1.6rem;
        width: 18px;
        height: 28px;
        flex-shrink: 0;
        padding: 0px;
    }

    .contact-texts {
        display: flex;
        flex-direction: column;
        justify-content: left;
        min-width: 0;
        flex: 1;
    }

    .contact-number, 
    .contact-email {
        font-size: 1rem;
        font-weight: 900;
        color: #222;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        
    }

    .contact-label {
        font-size: 0.6rem;
        color: #666;
        opacity: 0.8;
    }
}


.btn-pink {
    background-color: #ff0080;
    color: #fff !important;
    border-radius: 20px;
    font-weight: bold;
    padding: 12px 24px;
    display: inline-block;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
   
}

/* Pendulum animation - rotate back and forth */
@keyframes pendulum {
    0%   { transform: rotate(-4deg); }
    50%  { transform: rotate(4deg); }
    100% { transform: rotate(-4deg); }
}

/* Apply same animation to both */
.btn-rotate {
    animation: pendulum 2s infinite ease-in-out;
}
/* Dropdown menu customization */
.nav-orange .dropdown-menu {
  background-color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-orange .dropdown-item {
  color: #333;
  font-weight: 500;
}

.nav-orange .dropdown-item:hover {
  background-color: #f1f1f1;
  color: #0d6efd;
}


.action-buttons {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: nowrap !important;
    width: 100%;
}
.nav-orange {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
}
@media (min-width: 1200px) {
  .navbar-nav .nav-link {
    font-size: 10px;   /* Reduce font size slightly */
    padding: 0 0px;
  }
}

/* Make navbar toggle button (hamburger icon) visible */
.nav-orange .navbar-toggler {
    border-color: rgba(0,0,0,0.3); /* Light border for visibility */
}

.nav-orange .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar links styling */
.nav-orange .nav-link {
    color: #333 !important; /* Darker color for better contrast */
    font-weight: bold;
    position: relative;
    padding: 0.75rem 1.5rem !important;
}

.nav-orange .nav-link:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -10px;
    color: #333; /* Darker color for better contrast */
}

.nav-orange .nav-link.active {
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #000 !important; /* Even darker for active state */
}

/* Rotation animation */


/* Mobile adjustments */
@media (max-width: 767.98px) {
    .lung-video {
        width: 70px;
        height: 70px;
    }

    .btn-pink {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .action-buttons {
        justify-content: space-between;
    }
}
h2::after {
  content: none !important;
}

.hero-section {
    background: linear-gradient(135deg, #061b41 0%, #0a2a5a 50%, #0d47a1 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(79, 195, 247, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.specialty-badge {
    display: inline-block;
    background: rgba(79, 195, 247, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(79, 195, 247, 0.4);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4fc3f7;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e0f7fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(79, 195, 247, 0.6), transparent);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtext {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 90%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(to right, #4fc3f7, #b3e5fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.2;
    width: 30px;
    height: 30px;
}

.cta-group {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #4fc3f7 0%, #0288d1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: url('images/doctor-hero.png') no-repeat center center;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(79, 195, 247, 0.2) 0%, transparent 50%);
}

.medical-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.1;
}
.medical-service-card {
  margin: 0 auto; /* center horizontally */
  max-width: 700px; /* control width */
}

.medical-info-item {
  text-align: center;
  margin-bottom: 15px;
}

.medical-info-item i {
  font-size: 20px;
  margin-bottom: 5px;
}

.medical-icon-1 {
    top: 20%;
    left: 10%;
}

.medical-icon-2 {
    bottom: 20%;
    right: 10%;
}

.medical-icon svg {
    width: 100%;
    height: 100%;
    fill: #4fc3f7;
}

.doctor-badge {
    position: absolute;
    bottom: 20%;
    left: -30px;
    background: rgba(79, 195, 247, 0.9);
    color: #061b41;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transform: rotate(-5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animation for counter */
@keyframes counter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ANIMATION VISIBILITY HELPERS */
.counter {
  display: inline-block;
  min-width: 40px;
  text-align: center;
}

.counter-animating {
  color: #FF5722; /* Bright orange during animation */
  font-weight: bold;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

.counter-complete {
  color: #4CAF50; /* Green when done */
  font-weight: bold;
}

.debug-counter-box {
  position: fixed;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 10px;
  z-index: 9999;
  border: 2px solid red;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-group {
        flex-direction: column;
    }
}


/* Respiratory Etiquette Section */
.respiratory-etiquette {
    background-color:white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.etiquette-item {
    min-width: 110px;
    text-align: center;
    padding: 0 5px;
}

.circle-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.circle-icon img {
    max-width: 60%;
    height: auto;
}

.h6 {
    font-size: 0.9rem;
}

.xsmall {
    font-size: 0.75rem;
    color: #666;
}

/* Horizontal scroll on mobile */
@media (max-width: 767px) {
    .d-flex {
        justify-content: flex-start !important;
    }
    .etiquette-item {
        min-width: 100px;
    }
}

/* Add to your :root if not present */
:root {
    --light-color-rgb: 248, 249, 250; /* RGB values of light color */
}

/* Doctor Profile Section */
.doctor-profile {
    background-color: white;
}

.divider {
    height: 3px;
    width: 80px;
    background: var(--accent-color);
    margin: 1rem auto;
}

.doctor-portrait-container {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.doctor-portrait {
    width: 100%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.doctor-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: red;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.doctor-info-card {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.doctor-name {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.doctor-specialty {
    font-size: 1.2rem;
    font-weight: 600;
}

.qualification-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.qualification-item:last-child {
    border-bottom: none;
}

.qualification-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tag {
    background: rgba(79, 195, 247, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .doctor-portrait {
        max-width: 250px;
    }
    
    .doctor-info-card {
        padding: 20px;
    }
    
    .expertise-tags {
        justify-content: center;
    }
}
/* Services Section */
/* Services Section - Error Free Version */
.services-section {
    /* background: linear-gradient(rgba(255, 255, 255, 0.95), url('../images/medical-bg-pattern.png'); */
    background-size: cover;
    padding: 80px 0;
}

.services-section h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

/* Expertise Cards */
.expertise-card {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.expertise-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.expertise-content {
    padding: 25px;
}

.expertise-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.expertise-content p {
    color: var(--text-color);
    margin-bottom: 0;
}
/* Mobile Header Image */
.mobile-header-image {
    max-height: 250px;
    width: auto;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 0 auto 15px;
}

@media (min-width: 768px) {
    .mobile-header-image {
        display: none;
    }
}

/* Adjust spacing for mobile */
@media (max-width: 767.98px) {
    .contact-wrapper {
        margin-top: 15px;
    }
    
    .action-buttons {
        margin-top: 20px;
    }
}
/* Procedure Cards */
.procedure-card {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2) !important;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    height: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.procedure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.procedure-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.procedure-icon img {
    max-width: 100%;
    height: auto;
}

.procedure-card h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.procedure-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Divider */
.section-divider {
    height: 3px;
    width: 80px;
    background: var(--accent-color);
    margin: 20px auto 40px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .expertise-img {
        height: 150px;
    }
    
    .expertise-content, .procedure-card {
        padding: 20px;
    }
}
/* Procedure Cards - Minimalist Design */
.procedure-card {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    
    height: 100%;
    position: relative;
    overflow: hidden;
}

.procedure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.procedure-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(0,0,0,0.05);
    position: absolute;
    right: 20px;
    top: 15px;
    line-height: 1;
}

.procedure-card h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.procedure-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Divider */
.divider {
    height: 3px;
    width: 80px;
    background: var(--accent-color);
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .procedure-card {
        padding: 20px 15px;
    }
    
    .procedure-number {
        font-size: 1.2rem;
        right: 15px;
        top: 10px;
    }
}

/* Clinic Section */
.clinic-image {
    box-shadow: var(--box-shadow);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

.feature-list i {
    color: var(--primary-color);
    margin-right: 10px;
}
/* Compact Medical Availability Section */
.medical-availability-section {
    background: #f8fafc;
}

.medical-service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.medical-service-card.compact {
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.card-header-medical {
    background: #2a5298;
    color: white;
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.card-header-medical h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.card-header-medical i {
    font-size: 1rem;
}

.card-body-medical {
    padding: 15px;
    flex-grow: 1;
}

.medical-info-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    text-align: center;
    
  align-items: center;     /* centers icon and text vertically */
  justify-content: flex-start;
 
    
}
.medical-info-item div {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centers h4 and p inside */
}

.medical-info-item i {
    margin-top: 3px;
}

.medical-info-item h4 {
    font-size: 0.95rem;
    color: #1a3c72;
    margin-bottom: 2px;
    font-weight: 600;
}

.medical-info-item p,
.medical-info-item .small {
    font-size: 0.85rem;
    color: #5a6a85;
    margin: 0;
}

.hospital-listing {
    margin-bottom: 10px;
}

.hospital-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #1a3c72;
}

.hospital-item i {
    font-size: 0.8rem;
}

.medical-timings {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.medical-timings li {
    padding: 2px 0;
}

.medical-timings strong {
    color: #1a3c72;
}

.card-footer-medical {
    padding: 10px 15px 15px;
    text-align: center;
}

.btn-primary {
    background: #2a5298;
    border: none;
    padding: 6px 15px;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background: #1a3c72;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .medical-service-card {
        background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
        margin-bottom: 15px;
    }
    
    .card-header-medical {
        padding: 10px 12px;
    }
    
    .card-body-medical {
        padding: 12px;
    }
}
/* Mobile Responsive */
/* Availability Section */
.availability-section {
    background-color: #f8fafc;
}

.service-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-header {
    padding: 1.25rem;
    border-bottom: none;
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    padding: 1rem;
}

.hospital-item {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
}

.hospital-item:last-child {
    border-bottom: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Mobile Optimizations */
@media (max-width: 767.98px) {
    .availability-section {
        padding: 2rem 0;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-header h2 {
        font-size: 1.25rem;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .btn-sm-block {
        display: block;
        width: 100%;
    }
    
    .hospital-item h3,
    .location h3 {
        font-size: 1rem;
    }
    
    .timings h4 {
        font-size: 0.9rem;
    }
}
/* Google Reviews Section - Premium Design */
.google-reviews-section {
 background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  background-image: radial-gradient(circle at 10% 20%, rgba(234, 238, 255, 0.5) 0%, rgba(251, 252, 255, 0.5) 90%);
}

.google-rating-box {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  padding: 20px 90px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.stars {
  color: #ffb400;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.based-on {
  font-size: 0.9rem;
  color: #5f6368;
}

/* Review Card Styles */
.google-review-card {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  border-radius: 12px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #dfe1e5;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.google-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #d2e3fc;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.reviewer-initial {
  width: 40px;
  height: 40px;
  background: #1a73e8;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 15px;
  flex-shrink: 0;
}

.reviewer-name {
  font-size: 1rem;
  font-weight: 600;
  color: #202124;
  margin-bottom: 3px;
}

.review-meta {
  display: flex;
  align-items: center;
}

.review-stars {
  color: #ffb400;
  font-size: 0.9rem;
  margin-right: 10px;
}

.review-date {
  font-size: 0.8rem;
  color: #5f6368;
}

.review-text {
  color: #3c4043;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.review-footer {
  display: flex;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f1f3f4;
  font-size: 0.8rem;
  color: #5f6368;
}

.review-source {
  font-weight: 500;
}

.btn-google {
  background: #1a73e8;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(26, 115, 232, 0.3);
}

.btn-google:hover {
  background: #1765cc;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

/* Slider Styles */
.reviews-slider {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  overflow: hidden;
  padding: 0 40px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  padding-bottom: 20px;
}

.slider-slide {
  min-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Slider Controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--primary-color);
  color: white;
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dot.active {
  background: var(--primary-color);
}

/* Responsive Design */
@media (min-width: 768px) {
  .slider-slide {
    min-width: 50%;
  }
  
  .google-rating-box {
    padding: 20px 60px;
  }
}

@media (min-width: 992px) {
  .slider-slide {
    min-width: 33.33%;
  }
  
  .google-review-card {
    padding: 20px;
  }
}

@media (max-width: 767.98px) {
  .google-rating-box {
    padding: 15px 25px;
  }
  
  .reviews-slider {
    padding: 0 30px;
  }
  
  .slider-prev,
  .slider-next {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .reviews-slider {
    padding: 0 20px;
  }
  
  .slider-slide {
    padding: 0 5px;
  }
  
  .google-review-card {
    padding: 15px;
  }
}

/* Appointment Card */
.appointment-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.form-title {
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.form-title:after {
    content: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}



.form-control, .form-select {
    border: 1px solid rgba(0,0,0,0.1);
    height: calc(3.5rem + 2px);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 1rem;
    }
    
    .appointment-card {
        padding: 1.5rem;
    }
}
/* Conditions Section */
.condition-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.condition-card:hover {
    transform: translateY(-5px);
}

.condition-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.condition-content {
    padding: 1.5rem;
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(52, 152, 219, 0.25);
}

/* Contact Section */
.contact-info {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
}

/* Map Section */
.map-container {
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/* Ultra-Compact Support Section */
.support-section {
    background: linear-gradient(135deg, #1a3c72, #2a5298);
    color: white;
    font-size: 0.95rem;
}

.support-item {
    display: flex;
    align-items: center;
    padding: 10px 5px;
}

.support-item i {
    font-size: 1.1rem;
}

.divider-vertical {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
}

/* Mobile: Keeps single line */
@media (max-width: 767px) {
    .support-section {
        font-size: 0.85rem;
        overflow-x: auto;
        white-space: nowrap;
    }
    .support-item {
        padding: 8px 10px;
        display: inline-flex;
    }
    .divider-vertical {
        display: inline-block;
        vertical-align: middle;
    }
}
/* Footer */
.footer-bg {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    padding: 50px 0 20px;
}

.footer-title {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.1rem;
    color: var(--secondary-color);
    background: var(--light-color);
    border-radius: 50%;
    padding: 8px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.clinic-hours {
    list-style: none;
    padding: 0;
    font-size: 0.95rem;
}

.clinic-hours span {
    font-weight: 600;
    color: var(--secondary-color);
}

.footer-btn {
    display: inline-block;
    margin-top: 10px;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 8px 16px;
    transition: var(--transition);
}

.footer-btn:hover {
    background: var(--accent-color);
}

.footer-divider {
    margin: 30px 0;
    border-color: rgba(0,0,0,0.1);
}

.footer-bottom-links a {
    color: var(--text-color);
    margin-left: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .footer-title {
        font-size: 1.1rem;
    }
    .footer-links li {
        margin-bottom: 5px;
    }
    .footer-bottom-links a {
        margin: 0 8px;
    }
}


hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .footer-bg {
        padding: 2rem 0;
    }
    
    .footer-section h5 {
        margin-top: 1.5rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
   
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }
    
    .appointment-btn {
        display: inline-block;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .footer-bg {
        padding: 2rem 0;
    }
    
    .footer-section h5 {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-features {
        display: inline-block;
        text-align: left;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .doctor-portrait {
        margin-bottom: 2rem;
    }
    
    .clinic-image {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    .btn-pink {
        width: 48%;
        margin: 5px auto;
    }
}
@media (max-width: 767.98px) {
    .top-header-bar .contact-info {
        display: none !important;
    }

    .top-header-bar .action-buttons {
        width: 100%;
    }

    .btn-pink {
        width: 48%;
        margin: 5px auto;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        display: block;
        padding: 0.75rem;
    }
}

/* About Me Page Styles */
#about-me {
    background-color: #f8f9fa;
}

.year-badge {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #7f8c8d;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .timeline-item {
        margin-bottom: 1.5rem;
    }
    
    .timeline-item .row {
        flex-direction: column;
    }
    
    .timeline-item .col-4 {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .timeline-item .col-8 {
        width: 100%;
    }
}
.lc-awareness-slider {
  background: white;
}

.lc-tagline {
  color: #0d6efd;
  font-size: 1.25rem;
  font-weight: 500;
}

/* Topic Sections */
.lc-topic-section {
  margin-bottom: 3rem;
}

.lc-topic-title {
  color: #0d6efd;
  border-left: 4px solid #0d6efd;
  padding-left: 15px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Slider Container */
.lc-topic-slider {
  position: relative;
  padding: 0 40px;
}

.lc-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  margin-bottom: 10px;
}

.lc-slider-track::-webkit-scrollbar {
  height: 8px;
}

.lc-slider-track::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.lc-slider-track::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border-radius: 10px;
}

.lc-slider-track::-webkit-scrollbar-thumb:hover {
  background: #0b5ed7;
}

.lc-slide {
  scroll-snap-align: start;
  flex: 0 0 300px;
}

/* Navigation Arrows */
.lc-slider-prev,
.lc-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  transition: all 0.3s ease;
}

.lc-slider-prev:hover,
.lc-slider-next:hover {
  background: #0d6efd;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.lc-slider-prev {
  left: 0;
}

.lc-slider-next {
  right: 0;
}

/* Card Styles */
.lc-slide-card {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 3px solid #0d6efd;
}

.lc-slide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.lc-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 1.25rem;
}

.lc-card-title {
  color: #333;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.1rem;
}

.lc-card-content {
  color: #555;
  font-size: 0.9rem;
}

.lc-card-content ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.lc-card-content li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.lc-card-content strong {
  color: #333;
}

/* CTA Button */
.lc-cta-btn {
  background: #d63384;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: inline-block;
}

.lc-cta-btn:hover {
  background: #a41e63;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(214, 51, 132, 0.3);
  color: white;
}

/* Color Classes for Icons */
.bg-primary { background: #0d6efd; }
.bg-success { background: #198754; }
.bg-info { background: #0dcaf0; }
.bg-warning { background: #ffc107; color: #333 !important; }
.bg-danger { background: #dc3545; }

/* Responsive Design */
@media (max-width: 768px) {
  .lc-slide {
    flex: 0 0 260px;
  }
  
  .lc-slider-prev,
  .lc-slider-next {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .lc-topic-slider {
    padding: 0 30px;
  }
  
  .lc-slide {
    flex: 0 0 220px;
  }
  
  .lc-slide-card {
    padding: 15px;
  }
  
  .lc-card-title {
    font-size: 1rem;
  }
  
  .lc-card-content {
    font-size: 0.85rem;
  }
}
/*three*Base Styles */
/* Base Styles */
.highlight-sections {
  background-color: #f9fbfd;
}

.highlight-card {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.section-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.section-header h3 {
  margin: 0;
  color: var(--secondary-color);
  flex: 1;
}

.section-icon {
  width: 40px;
  height: 40px;
  background: rgba(79, 195, 247, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.view-all-btn {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  color: var(--accent-color);
}

.content-grid {
  padding: 15px;
  display: grid;
  gap: 20px;
}

/* YouTube Carousel Styles */
.youtube-carousel {
  padding: 15px;
}

.video-row {
  display: flex;
  gap: 15px;
}

.video-col {
  flex: 1;
  min-width: 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobile Carousel */
.youtube-mobile-carousel {
  padding: 15px;
}

.youtube-mobile-carousel .item {
  padding: 0 5px;
}

/* Press & Gallery Styles (same as before) */
.press-item, .gallery-item {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.press-item:hover, .gallery-item:hover {
  transform: translateY(-3px);
}

.image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.paper-cut-effect {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 20px;
  background:linear-gradient(135deg, #e0f7fa, #b2ebf2);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.press-info, .gallery-info {
  padding: 0 5px;
}

.publish-date {
  font-size: 0.8rem;
  color: #666;
  display: block;
  margin-bottom: 5px;
}

.press-item h4, .gallery-item h4 {
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.press-item p, .gallery-item p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.custom-gallery-card {
  padding: 15px;
}

.custom-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.custom-gallery-icon {
  font-size: 24px;
  color: #0d6efd;
}

.custom-gallery-view-all {
  font-weight: 500;
  font-size: 16px;
  color: #0d6efd;
  text-decoration: none;
}

/* Slider */
.custom-gallery-slider {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}

.custom-gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  padding-bottom: 20px;
}

.custom-gallery-slide {
  min-width: 100%;
  padding: 0 10px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.custom-gallery-img {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  overflow: hidden;
  border-radius: 10px;
}

.custom-gallery-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-gallery-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1.5rem;
}

.custom-gallery-img:hover .custom-gallery-overlay {
  opacity: 1;
}

/* Arrows */
.custom-gallery-prev,
.custom-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  color: #0d6efd;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.custom-gallery-prev { left: 0; }
.custom-gallery-next { right: 0; }

/* Dots */
.custom-gallery-dots {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

.custom-gallery-dot {
  width: 10px;
  height: 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-gallery-dot.active {
  background: #0d6efd;
  transform: scale(1.2);
}

/* Grid View for Desktop */
@media (min-width: 992px) {
  .custom-gallery-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    transform: none !important;
  }

  .custom-gallery-slide {
    min-width: auto;
    padding: 0;
  }

  .custom-gallery-prev,
  .custom-gallery-next,
  .custom-gallery-dots {
    display: none;
  }
}


/* Hospital Cards Styling */
.hospital-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hospital-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hospital-card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 20px;
  text-align: center;
}

.hospital-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

.hospital-card-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.hospital-card-body {
  padding: 20px;
  flex-grow: 1;
}

.hospital-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  gap: 12px;
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

.info-item p {
  margin: 0;
  color: #555;
}

.hospital-card-footer {
  padding: 0 20px 20px;
}

/* Press Grid Styling */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.press-item {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.press-item:hover {
  transform: translateY(-5px);
}

.press-info {
  padding: 10px 0;
}

/* Video Grid Styling */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

/* Video Row Styling */
.video-row {
  display: flex;
  gap: 15px;
}

.video-col {
  flex: 1;
  min-width: 0;
}

.video-item {
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: 0.9rem;
  margin: 10px 0 0;
  color: var(--secondary-color);
  text-align: center;
}

/* Gallery Grid Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  padding: 20px;
}

/* Mobile Carousel Styles */
.gallery-mobile-carousel,
.youtube-mobile-carousel {
  padding: 15px;
}

.gallery-mobile-carousel .item,
.youtube-mobile-carousel .item {
  padding: 5px;
}

.gallery-mobile-carousel .owl-nav,
.youtube-mobile-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.gallery-mobile-carousel .owl-nav button,
.youtube-mobile-carousel .owl-nav button {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  margin: 0 5px;
}

.gallery-mobile-carousel .owl-nav button i,
.youtube-mobile-carousel .owl-nav button i {
  color: var(--primary-color);
  font-size: 16px;
}

.gallery-mobile-carousel .owl-dots,
.youtube-mobile-carousel .owl-dots {
  margin-top: 15px;
  text-align: center;
}

.gallery-mobile-carousel .owl-dot span,
.youtube-mobile-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px;
  background: #ddd;
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.gallery-mobile-carousel .owl-dot.active span,
.youtube-mobile-carousel .owl-dot.active span {
  background: var(--primary-color);
}

.youtube-mobile-carousel .owl-stage {
  padding: 10px 0;
}

/* Ensure gallery items in carousel have consistent height */
.gallery-mobile-carousel .image-wrapper {
  height: 200px;
}

.gallery-mobile-carousel .image-wrapper img {
  height: 100%;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .gallery-mobile-carousel .item,
  .youtube-mobile-carousel .item {
    padding: 10px;
  }
  
  .gallery-mobile-carousel .image-wrapper {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .gallery-mobile-carousel .image-wrapper {
    height: 160px;
  }
}

/* Ensure gallery items in carousel have consistent height */
.gallery-mobile-carousel .image-wrapper {
  height: 200px;
}

.gallery-mobile-carousel .image-wrapper img {
  height: 100%;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .gallery-mobile-carousel .item,
  .youtube-mobile-carousel .item {
    padding: 10px;
  }
  
  .gallery-mobile-carousel .image-wrapper {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .gallery-mobile-carousel .image-wrapper {
    height: 160px;
  }
}

/* Ensure gallery items in carousel have consistent height */
.gallery-mobile-carousel .image-wrapper {
  height: 200px;
}

.gallery-mobile-carousel .image-wrapper img {
  height: 100%;
  object-fit: cover;
}

/* Background colors for sections */
.health-talks-section {
  background-color: #f8fafc;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .video-row {
    flex-wrap: wrap;
  }
  .video-col {
    flex: 0 0 calc(50% - 8px);
  }
  .press-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991.98px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .highlight-card {
    height: auto;
  }
  
  .video-col {
    flex: 0 0 100%;
  }
  
  .press-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .section-header {
    padding: 15px;
  }
  
  .section-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .section-header h3 {
    font-size: 1.2rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .press-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .video-row {
    flex-direction: column;
  }
  
  .video-col {
    margin-bottom: 15px;
  }
  
  .hospital-card {
    margin-bottom: 20px;
  }
  
  .youtube-mobile-carousel .item {
    padding: 0 15px;
    margin-bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  .col-md-4 {
    margin-bottom: 30px;
  }
  
  .col-md-4:last-child {
    margin-bottom: 0;
  }
  
  .video-wrapper {
    padding-bottom: 56.25%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.home-second-banner{
    background: linear-gradient(180deg, #bdc3c7, #7f8c8d, #34495e);
     width: 100%;
     height: 100%;
     background-repeat: no-repeat;
     background-size: cover;
     position: relative;
     color: #fff;
     padding: 75px 0px;
}
.home-second-banner h6{
    font-size:20px;
    font-weight: 400;
}
.home-second-banner h1{
    font-size: 45px;
    font-weight: 500;
}
.home-second-banner p{
    font-size: 20px;
    padding: 35px 0px;
    line-height: 35px;
}
.home-second-banner a{
    font-size:20px;
    text-decoration: none;
    color: #fff;
    border-radius: 40px;
    padding: 10px 30px;
}
.second-bnr-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.second-btn1{
  background-color: var(--common-red--);
}
.second-btn2{
    border: 1px solid #fff;
}
.second-banner-img {
    width: 400px;
    position: absolute;
    bottom: 0px;
    right: 11%;
}
/* HOME SECEND BANNER  END*/