.smile-arc {
    display: inline-block;
    width: 28px;
    height: 16px;
    border-bottom: 4px solid #3CADA6;
    border-radius: 0 0 28px 28px;
    margin-right: 10px;
    position: relative;
    top: 4px;
}

/* Navbar link icons */
.nav-link .icon {
    font-size: 14px;
    margin-right: 4px;
}

/* Custom blue button with icon */
.btn-blue-icon {
    background-color: #3CADA6;
    border-color: #3CADA6;
    color: white;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.btn-blue-icon:hover,
.btn-blue-icon:focus {
    background-color: 3CADA6;
    border-color: #3CADA6;
    color: #3CADA6;
}

.btn-blue-icon .icon {
    font-size: 16px;
    color: white;
}

.btn-blue-icon:hover .icon,
.btn-blue-icon:focus .icon {
    color: #068DC4;
}

.btn-blue-icon .icon-container {
    background: white;
    color: #3CADA6;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    width: 28px;
    height: 28px;
}

.btn-blue-icon .icon-container:hover,
.btn-blue-icon .icon-container:focus {
    background-color: #e6f0ff;
    color: #3CADA6;
}

.btn-blue-icon .icon-container svg {
    fill: #3CADA6;
    width: 16px;
    height: 16px;
}

.btn-blue-icon .icon-container:hover svg,
.btn-blue-icon .icon-container:focus svg {
    fill: #3CADA6;
}

/* Button icon */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #068DC4;
    color: white;
    font-size: 16px;
    margin-right: 8px;
}

.btn-icon:hover,
.btn-icon:focus {
    background-color: #e6f0ff;
    color: #068DC4;
}

.btn-icon svg {
    fill: white;
    width: 16px;
    height: 16px;
}

.btn-icon:hover svg,
.btn-icon:focus svg {
    fill: #068DC4;
}

/* Button with icon and text */
.btn-icon-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #068DC4;
    color: white;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-icon-text:hover,
.btn-icon-text:focus {
    background-color: white;
    color: #068DC4;
    border-color: #068DC4;
}

.btn-icon-text .icon {
    font-size: 16px;
    color: white;
}

.btn-icon-text:hover .icon,
.btn-icon-text:focus .icon {
    color: #068DC4;
}

.btn-icon-text .icon-container {
    background: white;
    color: #068DC4;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    width: 28px;
    height: 28px;
}

.btn-icon-text .icon-container:hover,
.btn-icon-text .icon-container:focus {
    background-color: #e6f0ff;
    color: #068DC4;
}

.btn-icon-text .icon-container svg {
    fill: #068DC4;
    width: 16px;
    height: 16px;
}

.btn-icon-text .icon-container:hover svg,
.btn-icon-text .icon-container:focus svg {
    fill: #068DC4;
}

/* Button icon container */
.icon-container {
    background: white;
    color: #068DC4;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    width: 28px;
    height: 28px;
}

/* Secondary outlined button */
.btn-outline-blue {
    background-color: #3CADA6;
    border-color: #3CADA6;
    color: white;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.btn-outline-blue:hover,
.btn-outline-blue:focus {
    background-color: transparent;
    border-color:  #3CADA6;
    color: #3CADA6;
}

.dropdown-menu {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 8px 32px rgba(6, 141, 196, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 0;
    min-width: 180px;
    border: none;
    margin-top: 0.5rem;
    animation: dropdown-fade-in 0.25s cubic-bezier(0.4, 0.2, 0.2, 1);
}

/* Ensure dropdown shows on hover for desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@keyframes dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: #3CADA6;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #2C3D4D;
    color: #3CADA6;
}

.dropdown-item.active,
.dropdown-item.active:focus,
.dropdown-item.active:hover {
    background-color: #3CADA6;
    color: #3CADA6;
}

#servicesDropdownMenu {
    min-width: 200px;
}

.dropdown-toggle:empty::after {
    margin-left: 0.5rem;
}

/* Hero background with subtle triangular pattern */
.hero-section {
    background-color: #f7fbff;
    background-image: repeating-radial-gradient(circle at center, #dbe7ff 0, #dbe7ff 1px, transparent 1px, transparent 16px), repeating-radial-gradient(circle at center, #eaf2ff 0, #eaf2ff 1px, transparent 1px, transparent 16px);
    border-radius: 1.25rem;
    padding: -1rem 1.5rem 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Hero text alignment and spacing */
.hero-text {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-text h1 {
    font-weight: 700;
    font-size: 2.75rem;
    line-height: 1.1;
    color: black;
}

.hero-text h1 .highlight-blue {
    color: #3CADA6;
}

.hero-text p {
    font-size: 1rem;
    color: black;
    margin: 1rem auto 2rem auto;
    font-weight: 500;
    max-width: 480px;
}

.cards-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Cards */
.card-custom {
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 1.4rem 1.6rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
    font-weight: 600;
    transition: box-shadow 0.3s ease;
    width: 240px;
    margin-bottom: 20px;
}

.card-custom:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Right arrow inside a blue rounded square on the top right corner */
.card-icon-container {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 36px;
    height: 36px;
    background-color: #3CADA6;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-icon-container:hover {
    background-color: #2C3D4D;
}

.card-icon-container svg {
    fill: white;
    width: 16px;
    height: 16px;
}

/* Card text */
.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    font-weight: 500;
    font-size: 0.875rem;
    color: #666;
}

/* The doctor image container positioned above the cards row */
.doctor-image-container {
    position: relative;
    width: 300px;
    height: 350px;
    margin: 0 20px;
    z-index: 10;
    user-select: none;
    pointer-events: none;
}

.doctor-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .doctor-image-container {
        width: 220px;
        height: 320px;
    }

    .cards-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .doctor-image-container {
        order: -1;
        margin-bottom: 20px;
        width: 180px;
        height: 240px;
    }
}

/* Section titles */
.section-title {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Icon boxes */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background-color: rgba(55, 125, 255, 0.1);
}

/* Service Card  */
.service-card-v2 {
    position: relative;
    background: #3CADA6;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(55, 125, 255, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0.2, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
    min-width: 280px;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.service-card-v2:hover {
    box-shadow: 0 16px 48px rgba(55, 125, 255, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px) scale(1.03);
}

.btn-outline-primary {
    border-color: #3CADA6;
    color: #3CADA6;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #2C3D4D;
    border-color: #2C3D4D;
    color: #3CADA6;
}

.service-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    overflow: hidden;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(55, 125, 255, 0.10) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.service-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.2rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    text-align: center;
    padding: 0 1.5rem;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.01em;
}

.service-content {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    background: #fff;
    color: #444;
    font-size: 1rem;
    font-weight: 500;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    min-height: 120px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background 0.3s;
}

.service-card-v2:hover .service-content {
    background: #f7fbff;
}

@media (max-width: 767.98px) {
    .service-card-v2 {
        max-width: 100%;
    }

    .service-image {
        height: 150px;
    }

    .service-title {
        font-size: 1.1rem;
        bottom: 0.8rem;
    }

    .service-content {
        padding: 1rem 1rem 1.5rem 1rem;
        font-size: 0.97rem;
    }
}

/* Icon Box */
.icon-box {
    background-color: #3CADA6;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-box i {
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .service-image {
        height: 250px;
    }

    .service-title {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }

    .service-content {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .service-image {
        height: 220px;
    }

    .service-title {
        font-size: 1.2rem;
        margin-top: 1rem;
    }
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Accordion styles */
.accordion-button {
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    color: #3CADA6;
    background-color: rgba(55, 125, 255, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(55, 125, 255, 0.25);
}

/* Contact form */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #068DC4;
}

.form-control:focus {
    border-color: #377dff;
    box-shadow: 0 0 0 0.25rem rgba(55, 125, 255, 0.25);
}

/* Footer links */
footer {
    background: linear-gradient(135deg, #2C3D4D 0%, #3CADA6 100%);
    padding: 2rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    color: #ffffff;
}

footer p {
    margin: 0 0 0.5rem;
    color: #ffffff;
}

footer img {
    max-width: 280px;
    height: auto;
    margin-bottom: 1rem;
}

footer a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #3CADA6 !important;
}
/* Container styling */
.mb-4 {
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Logo image styling */
.mb-4 img {
  height: auto;
  display: block;
  margin-bottom: 1rem; /* removed auto-centering */
}

/* Paragraph styling */
.mb-3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
}

.footer-social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: #3CADA6;
}

.contact-info {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.6;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    footer {
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .footer-social-icons a {
        font-size: 1.3rem;
    }

    .contact-info {
        text-align: center;
    }
}


/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}

/* About Page Specific Styles */
.about-hero-section {
    background-color: #f7fbff;
    background-image: repeating-radial-gradient(circle at center, #dbe7ff 0, #dbe7ff 1px, transparent 1px, transparent 16px), repeating-radial-gradient(circle at center, #eaf2ff 0, #eaf2ff 1px, transparent 1px, transparent 16px);
    padding: 6rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.about-hero-text h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.about-hero-text .lead {
    font-size: 1.25rem;
    color: #666;
}

/* Counter Boxes */
.counter-box {
    background-color: rgba(55, 125, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
}

.counter-box h3 {
    font-weight: 700;
    font-size: 1.75rem;
}

/* Mission Cards */
.mission-card {
    transition:
        transform 0.3s cubic-bezier(0.4, 0.2, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
    background: linear-gradient(135deg, #f7fbff 0%, #eaf2ff 100%);
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(55, 125, 255, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.04);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    border: none;
    font-weight: 600;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mission-card:hover {
    transform: translateY(-16px) scale(1.04);
    box-shadow: 0 8px 32px rgba(55, 125, 255, 0.18), 0 4px 16px rgba(0, 0, 0, 0.10);
    z-index: 2;
}

.mission-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3CADA6;
    margin-bottom: 0.75rem;
    margin-top: 0;
    letter-spacing: 0.01em;
}

.mission-card p {
    font-size: 1rem;
    color: #3CADA6;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Team Cards */
.team-card {
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img-container {
    height: 280px;
    overflow: hidden;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-container img {
    transform: scale(1.05);
}

.team-content {
    background-color: white;
}

.team-social {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(55, 125, 255, 0.1);
    color: #3CADA6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social:hover {
    background-color: #2C3D4D;
    color: #3CADA6;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .about-hero-text h1 {
        font-size: 2.25rem;
    }

    .about-hero-text .lead {
        font-size: 1.1rem;
    }

    .team-img-container {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .about-hero-section {
        padding: 4rem 0 2rem 0;
    }
}

/* Services Page Specific Styles */
.services-hero-section {
    background-color: var(--bs-light);
    background-image: repeating-radial-gradient(circle at center, #dbe7ff 0, #dbe7ff 1px, transparent 1px, transparent 16px), repeating-radial-gradient(circle at center, #eaf2ff 0, #eaf2ff 1px, transparent 1px, transparent 16px);
    padding: 6rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.services-hero-text h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.services-hero-text .lead {
    font-size: 1.25rem;
    color: #666;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-features li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #3CADA6;
    border-radius: 50%;
}

/* Approach Cards */
.approach-card {
    background: linear-gradient(135deg, #f7fbff 0%, #eaf2ff 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(55, 125, 255, 0.10), 0 1.5px 6px rgba(0, 0, 0, 0.06);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    border: none;
    font-weight: 600;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition:
        transform 0.3s cubic-bezier(0.4, 0.2, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0.2, 0.2, 1),
        background 0.3s;
}

.approach-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 32px rgba(55, 125, 255, 0.18), 0 4px 16px rgba(0, 0, 0, 0.10);
    background: linear-gradient(135deg, #eaf2ff 0%, #dbe7ff 100%);
    z-index: 2;
}

.approach-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3CADA6;
    margin-bottom: 0.75rem;
    margin-top: 0;
    letter-spacing: 0.01em;
}

.approach-card p {
    font-size: 1rem;
    color: #444;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .approach-card {
        padding: 1.25rem 1rem;
        min-height: 140px;
    }

    .approach-card h4 {
        font-size: 1.1rem;
    }

    .approach-card p {
        font-size: 0.97rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .services-hero-text h1 {
        font-size: 2.25rem;
    }

    .services-hero-text .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .services-hero-section {
        padding: 4rem 0 2rem 0;
    }
}

/* Contact Page Specific Styles */
.contact-hero-section {
    background-color: #f7fbff;
    background-image: repeating-radial-gradient(circle at center, #dbe7ff 0, #dbe7ff 1px, transparent 1px, transparent 16px), repeating-radial-gradient(circle at center, #eaf2ff 0, #eaf2ff 1px, transparent 1px, transparent 16px);
    padding: 6rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-text h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-hero-text .lead {
    font-size: 1.25rem;
    color: #666;
}

/* Contact Method Cards */
.contact-method-card {
    transition: transform 0.3s ease;
    background-color: white;
    height: 100%;
}

.contact-method-card:hover {
    transform: translateY(-5px);
}

.contact-method-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-method-card p {
    color: #666;
}

/* Emergency Contacts */
.emergency-contact {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    padding: 1rem;
}

.emergency-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Form Styles */
.form-label {
    color: #3CADA6;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #3CADA6;
}

.form-control:focus,
.form-select:focus {
    border-color: #3CADA6;
    box-shadow: 0 0 0 0.25rem rgba(55, 125, 255, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .contact-hero-text h1 {
        font-size: 2.25rem;
    }

    .contact-hero-text .lead {
        font-size: 1.1rem;
    }

    .contact-method-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .contact-hero-section {
        padding: 4rem 0 2rem 0;
    }

    .map-container {
        height: 350px;
    }
}

/* Cta */
.cta-section {
    background-color: whitesmoke;
    color: #3CADA6;
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 0.75rem;
    margin-top: 2rem;
    /* Add a subtle background pattern */
    background-image: repeating-radial-gradient(circle at center, #dbe7ff 0, #dbe7ff 1px, transparent 1px, transparent 18px), repeating-radial-gradient(circle at center, #eaf2ff 0, #eaf2ff 1px, transparent 1px, transparent 24px);
}

.text-primary {
    color: #3CADA6 !important;
}

/* Services Page  */
.service-hero-section {
    padding: 6rem 0;
  background: 
    linear-gradient(to bottom, rgba(229, 208, 172, 0.85) 0%, rgba(163, 29, 29, 0.85) 80%),
    url('https://hips.hearstapps.com/hmg-prod/images/types-of-doctors-1600114658.jpg') center center / cover no-repeat;
  color: white;
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    position: relative;
    color: black;
}

.service-hero-section::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 1;
}

.service-hero-text {
    position: relative;
    z-index: 2;
}

.service-hero-text h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.service-hero-text .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #377dff;
    text-decoration: none;
}

.breadcrumb span {
    color: #666;
}

/* Symptom Cards */
.symptom-card {
    transition: transform 0.3s ease;
    background-color: white;
    height: 100%;
}

.symptom-card:hover {
    transform: translateY(-5px);
}

.symptom-list {
    list-style: none;
    padding-left: 0;
}

.symptom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.symptom-list li:before {
    content: "•";
    color: #3CADA6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Treatment Cards */
.treatment-card {
    transition: transform 0.3s ease;
    background-color: white;
    height: 100%;
}

.treatment-card:hover {
    transform: translateY(-5px);
}

.treatment-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.treatment-features li {
    background-color: rgba(55, 125, 255, 0.1);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: #377dff;
}

/* Specialist Cards */
.specialist-card {
    transition: transform 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-5px);
}

.specialist-img-container {
    height: 250px;
    overflow: hidden;
}

.specialist-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.specialist-card:hover .specialist-img-container img {
    transform: scale(1.05);
}

.specialist-content {
    background-color: white;
    padding: 1.5rem;
}

.specialist-social {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(55, 125, 255, 0.1);
    color: #377dff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.specialist-social:hover {
    background-color: #377dff;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .service-hero-text h1 {
        font-size: 2.25rem;
    }

    .service-hero-text .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .service-hero-section {
        padding: 4rem 0 2rem 0;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-text h1,
    .about-hero-text h1,
    .services-hero-text h1,
    .contact-hero-text h1 {
        font-size: 2.5rem;
    }

    .doctor-image-container {
        width: 280px;
        height: 380px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .hero-text h1,
    .about-hero-text h1,
    .services-hero-text h1,
    .contact-hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text p,
    .about-hero-text .lead,
    .services-hero-text .lead,
    .contact-hero-text .lead {
        font-size: 0.95rem;
    }

    .doctor-image-container {
        width: 240px;
        height: 320px;
        margin: 0 auto 20px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .mission-card {
        min-height: 200px;
        padding: 1.5rem 1rem;
    }

    .card-custom {
        width: 200px;
        padding: 1.2rem 1.4rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .hero-section,
    .about-hero-section,
    .services-hero-section,
    .contact-hero-section {
        padding: 2rem 1rem;
        border-radius: 1rem;
    }

    .hero-text h1,
    .about-hero-text h1,
    .services-hero-text h1,
    .contact-hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .card-custom {
        width: 100%;
        max-width: 300px;
    }

    .doctor-image-container {
        width: 200px;
        height: 280px;
        order: -1;
    }

    .mission-card {
        min-height: auto;
        margin-bottom: 15px;
    }

    .service-card-v2 {
        min-width: auto;
        width: 100%;
    }

    .cta-section {
        padding: 2rem 1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-text h1,
    .about-hero-text h1,
    .services-hero-text h1,
    .contact-hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p,
    .about-hero-text .lead,
    .services-hero-text .lead,
    .contact-hero-text .lead {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn-blue-icon,
    .btn-outline-blue,
    .btn-outline-primary {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .doctor-image-container {
        width: 180px;
        height: 240px;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .card-custom {
        padding: 1rem;
    }

    .mission-card h4 {
        font-size: 1.1rem;
    }

    .mission-card p {
        font-size: 0.9rem;
    }
}

/* Very small devices (small phones) */
@media (max-width: 375px) {
    .hero-text h1,
    .about-hero-text h1,
    .services-hero-text h1,
    .contact-hero-text h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .btn-blue-icon,
    .btn-outline-blue,
    .btn-outline-primary {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .card-custom {
        padding: 0.8rem;
    }

    .doctor-image-container {
        width: 160px;
        height: 220px;
    }
}

.btn-primary {
    background-color: #3CADA6;
    color: #3CADA6;
    border-color: #3CADA6;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #3CADA6;
    color: #3CADA6;
}

.form-check-input {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-check-label {
    margin-left: 0.5rem;
    font-weight: 500;
}

.form-check {
    margin-bottom: 1rem;
}

.form-check-inline {
    margin-right: 1rem;
}

.form-check-inline:last-child {
    margin-right: 0;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem #3CADA6;
}

.form-check-input:checked {
    background-color: #3CADA6;
    border-color: #3CADA6;
}

/* Companies Carousel Styles */
.companies-section {
    background-color: #f8f9fa;
    overflow: hidden; /* Prevent horizontal scroll */
}

.scrolling-banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scrolling-banner {
    display: flex;
    width: max-content; /* Allow the banner to expand beyond container */
    animation: scroll 30s linear infinite;
    padding: 10px 0;
}

.company-logo {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 0 15px;
    border: 1px solid #eee;
    flex-shrink: 0; /* Prevent logos from shrinking */
}

.company-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.8;
}

.company-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #3CADA6;
}

.company-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move by half the width of the banner */
    }
}

@media (max-width: 767.98px) {
    .company-logo {
        margin: 0 10px;
    }

    .company-logo img {
        max-height: 50px;
    }
}

.breadcrumb a {
    color: #3CADA6;
    text-decoration: none;
}

.breadcrumb span {
    color: #666;
}
.insurance-hero-section{
   background-color: #f7fbff;
    background-image: repeating-radial-gradient(circle at center, #dbe7ff 0, #dbe7ff 1px, transparent 1px, transparent 16px), repeating-radial-gradient(circle at center, #eaf2ff 0, #eaf2ff 1px, transparent 1px, transparent 16px);
    padding: 6rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.insurance-hero-text h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.insurance-hero-text .lead {
    font-size: 1.25rem;
    color: #666;
}

 /* Team Page Specific Styles */
    .team-hero-section {
padding: 6rem 0;
  background: 
    linear-gradient(to bottom, #2C3D4D 0%, #3CADA6 80%),
    url('https://i.pinimg.com/1200x/2e/40/d1/2e40d12226110be75f4a9dbaf16de2b9.jpg') center center / cover no-repeat;
  color: white;
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    position: relative;
    color: black;
}

.team-hero-section::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 1;
}

.team-hero-text {
    position: relative;
    z-index: 2;
}

.team-hero-text h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.team-hero-text .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}


    /* Team Grid Section */
    .team-grid-section {
      padding: 80px 0;
    }

    .section-title-team {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .section-title-team span {
      color: #3CADA6;
    }

    .section-subtitle {
      font-size: 1.25rem;
      color: #6c757d;
      text-align: center;
      margin-bottom: 3rem;
    }

    /* Team Member Cards */
    .team-member-card {
      border: none;
      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;
      margin-bottom: 30px;
      height: 100%;
    }

    .team-member-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .team-member-img {
      height: 300px;
      overflow: hidden;
    }

    .team-member-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .team-member-card:hover .team-member-img img {
      transform: scale(1.05);
    }

    .team-member-content {
      padding: 25px;
      background: white;
    }

    .team-member-name {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: #212529;
    }

    .team-member-title {
      color: #3CADA6;
      font-weight: 600;
      margin-bottom: 1rem;
      font-size: 1.1rem;
    }

    .team-member-bio {
      color: #6c757d;
      margin-bottom: 1.5rem;
    }

    .team-member-specialties {
      margin-bottom: 1.5rem;
    }

    .specialty-badge {
      display: inline-block;
      background-color: #f8f9fa;
      color: #495057;
      padding: 5px 10px;
      border-radius: 20px;
      font-size: 0.8rem;
      margin-right: 8px;
      margin-bottom: 8px;
      border: 1px solid #dee2e6;
    }

    .team-social-links {
      display: flex;
      gap: 15px;
    }

    .team-social-link {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: #f8f9fa;
      color: #3CADA6;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .team-social-link:hover {
      background-color: #3CADA6;
      color: white;
      transform: translateY(-3px);
    }

    /* Certifications Section */
    .certifications-item {
      background: white;
      border-radius: 10px;
      padding: 25px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      margin-bottom: 20px;
      transition: transform 0.3s ease;
    }

    .certifications-item:hover {
      transform: translateY(-5px);
    }

    .certification-icon {
      font-size: 2.5rem;
      color: #3CADA6;
      margin-bottom: 15px;
    }

    .certification-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 10px;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .team-hero-text h1 {
        font-size: 2.5rem;
      }
      
      .team-member-img {
        height: 250px;
      }
      
      .section-title-team {
        font-size: 2rem;
      }
    }
    .mb-0{
    margin-bottom: 0 !important;
    color: #333;
    }
    .mb-1{
    margin-bottom: 0.25rem !important;
    color: #333;
    }
    