/* Global Styles */
:root {
    /*--primary-color: #0066FF;*/
    /*--secondary-color: #0052CC;*/
    /*--dark-color: #333;*/
    /*--light-color: #f4f4f4;*/
    /*--primary: #0066FF;*/
    /*--primary-dark: #0052CC;*/
    --white: #ffffff;
    /*--dark: #1a1a1a;*/
    --primary-color: #20c997;
    --secondary-color: #0dcaf0;
}

body {
    font-family: "Figtree", sans-serif;
    line-height: 1.6;
}

pre {
    font-family: "Figtree", sans-serif;
    font-size: 1rem;
    overflow-x: auto; /* Enables horizontal scrolling for long lines */
    white-space: pre-wrap; /* Ensures text wraps within container */
    word-wrap: break-word;
    line-height: 1.5;
}

.nav-item .active{
    color:var(--primary-color) !important;   
}
/* Hero Section */
.hero-section {
    /*background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);*/
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    /*background: linear-gradient(135deg, #20c997, #0dcaf0);*/
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-section p {
    opacity: 0.9;
    margin-bottom: 2rem;
    color: white;
}

.hero-section .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Services Section Styles */
.services-section {
    background-color: #f8f9fa;
}

.service-card, .vision-mission-card{
    background: #fff;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover, .vision-mission-card:hover {
    background: #20c997;
    /*background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);*/
    color:white;
}

.service-card:hover .text-info{
    color: white;
}

.service-card:hover .service-icon{
    color:white;
}

.service-card:hover .btn-outline-primary{
    background-color: white;
    border-color: white;
    color: #20c997;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size:40px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 0;
    opacity: 0.9;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card img{
    height: 40vh;
    width:100%;
    object-fit:cover;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-section img {
        margin-top: 40px;
    }

    .contact-info {
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Why Choose Us Section Styles */
.why-choose-us {
    background-color: #fff;
    overflow: hidden;
}

.circle-bg {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #20c997, #0dcaf0);
    overflow: hidden;
}

.circle-bg img {
    position: absolute;
    width: 90%;
    height: 90%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.why-choose-us .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    /*margin-bottom: 2rem;*/
}

.why-choose-us .icon-box {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.why-choose-us .service-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.why-choose-us .service-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .doctor-image-wrapper {
        margin-bottom: 3rem;
    }
    
    .circle-bg {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .why-choose-us .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .icon-box {
        min-width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-content h4 {
        font-size: 1.1rem;
    }
}

/* Facilities Section Styles */
.facilities-section {
    background-color: #f8f9fa;
}

.facilities-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    /*margin-bottom: 1rem;*/
}

.facilities-section .section-description {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.facility-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(32, 201, 151, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #20c997;
    transition: all 0.3s ease;
}

.facility-card:hover .icon-wrapper {
    background: #20c997;
    color: white ! important;
}

.facilities-section .facility-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.facility-card p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .facilities-section .section-title {
        font-size: 2rem;
    }
    
    .facilities-section .facility-card {
        padding: 1.5rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Gallery Section Styles */
.gallery-section {
    position: relative;
    background: #fff; /* Default background */
    padding: 50px 0;
    text-align: center;
}

/* Title Styling */
.section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    /*margin-bottom: 2rem;*/
    position: relative;
    z-index: 1; /* Title ko background ke upar lane ke liye */
}

.section-subtitle{
    
}

.section-description{
    
}

.gallery-section p{
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 201, 151, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #20c997;
    font-size: 1.5rem;
    text-decoration: none;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

.gallery-icon:hover {
    background: #20c997;
    color: #fff;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-body {
    position: relative;
}

.btn-close {
    background-color: #fff;
    opacity: 1;
    z-index: 2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-item img {
        height: 250px;
    }
}


/* Events Section Styles */
.events-section {
    background-color: #f8f9fa;
}

.events-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    /*margin-bottom: 1rem;*/
}

.events-section .section-description {
    color: #6c757d;
    margin: 0 auto;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #20c997;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-content {
    padding: 1.5rem;
}

.event-details {
    margin-bottom: 1rem;
}

.event-details span {
    display: inline-block;
    margin-right: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.event-details i {
    margin-right: 5px;
    color: #20c997;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.event-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.btn-outline-primary {
    color: #20c997;
    border-color: #20c997;
}

.btn-outline-primary:hover, .btn-outline-primary:active {
    background-color: #20c997;
    border-color: #20c997;
    color: #fff;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .event-image {
        height: 180px;
    }
}

/* Footer Styles */
.footer-section {
    background: #f8f9fa;
}

.newsletter-emergency {
    background: linear-gradient(to right, #2b4b80 50%, #20c997 50%);
}

.newsletter-box {
    color: #fff;
    padding: 20px;
}

.newsletter-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
    background: #20c997;
    border-color: #20c997;
}

.emergency-box {
    color: #fff;
    padding: 20px;
}

.emergency-box h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.emergency-phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.emergency-phone i {
    font-size: 2rem;
}

.main-footer {
    background: #fff;
}

.footer-logo {
    height: 100px;
}

.footer-about p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    font-size: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #20c997;
}

.working-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.working-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #6c757d;
}

.copyright {
    background: #f1f1f1;
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .newsletter-emergency {
        background: #2b4b80;
    }
    
    .emergency-box {
        text-align: left;
    }
    
    .emergency-phone {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-section h4 {
        margin-top: 1.5rem;
    }
}
.logo{
    height:50px;
}
.top-bar{
    font-weight:600;
}

.medical-header {
    position: relative;
    background: var(--white);
}

/* Top Bar Styles */
.top-bar {
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-group {
    display: flex;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark);
}

.info-item i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--dark);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

@media (max-width: 991.98px) {
    .info-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar .row {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .info-item {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        padding: 0.5rem 1rem;
    }
}


/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.navbar-brand span {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.section-padding{
    padding: 100px 0;
}

.section-title{
    color: black;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.member-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-content {
    position: absolute;
    bottom: -200px;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: rgba(255,255,255,0.95);
    display: block;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.team-card:hover .member-content {
    bottom: 0;
}

.member-info h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.member-info p {
    color: #17d1d1;
    margin: 0;
    font-weight: 500;
}

.team-social-links {
    display: flex;
    gap: 15px;
}

.team-social-links a {
    width: 35px;
    height: 35px;
    background: rgba(23,209,209,0.1);
    color: #17d1d1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social-links a:hover {
    background: #17d1d1;
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .member-image {
        height: 350px;
    }
    
    .member-content {
        position: relative;
        bottom: 0;
        background: white;
    }
}

.main-event {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.main-event:hover {
    background: #20c997;
    /*background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);*/
    color:white;
    transform: translateY(-5px);
    box-shadow: 3px 5px 8px rgba(0,0,0,0.1);
}

.main-event .card-img-top {
    height: 35vh;
    object-fit: cover;
}

.date-tag {
    top: 0;
    left: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
}

.date-tag i {
    margin-right: 4px; /* Adjust the spacing between the icon and the date */
}

.event-card {
    position: relative;
    width: 100%;
}
.event-image1 {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.event-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.tag {
    background: var(--primary-color);
    /*background: rgba(0, 0, 0, 0.7);*/
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight:bold;
}

.testimonial-section {
    background: #17d1d1;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    padding: 2rem;
}

.client-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 5px solid #fff;
    position: relative;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.client-name {
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1.25rem;
}

.client-location {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating i {
    margin: 0 2px;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: #fff;
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

.contact-section {
    background-color: #fff;
}

.form-control {
    padding: 0.8rem;
    background-color: #f5f5f5;
    border: none;
    border-radius: 8px;
}

.form-control:focus {
    box-shadow: none;
    background-color: #f0f0f0;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color:var(--secondary-color);
    transform: translateY(-2px);
}

.info-card {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-circle i {
    font-size: 2rem;
    color: white;
}

.info-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .info-card {
        margin-bottom: 1rem;
    }
}

textarea{
    resize:none;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-img-lg {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-img-sm {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.stars {
    color: #ffc107;
}

.stars-outline {
    color: white;
}

.testimonial-7 {
    /*background: #2c3e50;*/
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 15px;
}

.navbar-toggler{
    z-index:50;
}
.fas.fa-bars{
    z-index:100;
}

.event-card:hover .text-info{
    color:white !important;
}