body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.logo-img {
    height: 50px;
    width: 100px;
}

.search-group input::placeholder {
    color: #999;
}

.search-group .form-control {
    border-radius: 0;
}

.search-group .btn {
    border-radius: 0;
}

.nav .nav-link {
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease;
}

.nav .nav-link:hover {
    color: #0dcaf0;
    text-decoration: underline;
}

.bg-primary {
    background-color: #007bff !important;
}

.object-fit-cover {
    object-fit: cover;
    height: 100%;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}

.about-section {
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.subheading {
    color: #007bff;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.main-heading {
    font-size: 48px;
    color: #003366;
    font-weight: 700;
    margin-bottom: 40px;
}

.appointment .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #007bff;
}

.appointment-card img {
    object-fit: cover;
    height: 100%;
}

.appointment .form-label {
    font-weight: 500;
}

.appointment .form-control,
.appointment .form-select {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.appointment .form-control:focus,
.appointment .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}

.appointment .btn-primary {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    background-color: #007bff;
    border-color: #007bff;
}

.appointment .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

@media (max-width: 768px) {
    .appointment .text-end {
        text-align: center !important;
    }
    .appointment-card {
        border-radius: 0;
    }
}

.specialities .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

.specialities .section-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.speciality-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.speciality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.speciality-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.speciality-card p {
    font-size: 0.95rem;
    color: #666;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    background: #00cfff;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-view-all:hover {
    background: #009bb3;
}

.bg-blue {
    background-color: #3db3e3;
}

.bg-teal {
    background-color: #2bd1c8;
}

.bg-sky {
    background-color: #4fa8b5;
}

.info-box {
    padding: 30px 20px;
    height: 100%;
}

.box-inner {
    display: flex;
    align-items: center;
}

.icon-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px dotted rgba(255, 255, 255, 0.5);
    padding-right: 15px;
}

.icon-area img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
    /* makes icon white */
}

.divider {
    height: 30px;
    border-right: 1px dotted rgba(255, 255, 255, 0.5);
    display: block;
}

.btn-outline-white {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-outline-white:hover {
    background: #fff;
    color: #000;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
}

.news-card {
    background: #fff;
    padding-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.news-img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.rated-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: auto;
}

.news-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 10px;
}

.news-content p {
    color: #555;
    font-size: 0.95rem;
}

.btn-read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #00cfff;
    color: #00cfff;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-read-more:hover {
    background: #00cfff;
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

.section-subtitle {
    color: #555;
    font-size: 1rem;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: #007bff;
    margin-top: 8px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: #007bff;
    margin-top: 10px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.image-container {
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 123, 255, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 0.5rem 0.5rem 0 0;
}

.news-card:hover .img-overlay {
    opacity: 1;
}

.ribbon-star {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #007bff;
    color: white;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 4px 0 0 4px;
    z-index: 2;
}

.news-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

.title-underline {
    width: 50px;
    height: 2px;
    background-color: #007bff;
    margin-top: 6px;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 0.95rem;
    color: #555;
}

.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background: #007bff;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.read-more-btn span {
    font-size: 18px;
    margin-left: 6px;
}

.read-more-btn:hover {
    background-color: #0056b3;
}

.health-banner {
    height: 400px;
    overflow: hidden;
}

.banner-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.5);
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    padding: 20px;
}

.banner-icon {
    width: 60px;
    height: auto;
}

.health-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.health-banner h5 {
    font-size: 1.1rem;
    color: #e0e0e0;
}

.btn-ghost-lg {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-ghost-lg:hover {
    background-color: #fff;
    color: #007bff;
}

.gallery-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
}

.gallery-divider {
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 20px auto;
}

.gallery-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    position: relative;
    width: calc(25% - 15px);
    min-width: 220px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: white;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 170, 255, 0.6);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px;
    border-radius: 10px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item i {
    display: block;
    font-size: 1.3rem;
    margin-top: 5px;
}

@media (max-width: 991px) {
    .gallery-item {
        width: calc(33.33% - 15px);
    }
}

@media (max-width: 767px) {
    .gallery-item {
        width: calc(50% - 15px);
    }
}

@media (max-width: 575px) {
    .gallery-item {
        width: 100%;
    }
}

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-wrapper img {
    transition: transform 0.3s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 183, 255, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.image-wrapper:hover .img-overlay {
    opacity: 1;
}

.icon-overlay {
    width: 50px;
    bottom: 10px;
    left: 10px;
    z-index: 2;
}

.slider-container {
    width: 100%;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.logo-slider {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: slide 10s linear infinite;
}

.logo-slide {
    flex: 0 0 auto;
}

.logo-slide img {
    height: 220px;
    width: 320px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-slide img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

@keyframes slide {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer ul li {
    margin-bottom: 5px;
}

.footer hr {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}