﻿/* Color Variables */
:root {
    --primary-color: #00695c; /* Deep Green */
    --secondary-color: #00bcd4; /* Medical Blue */
    --accent-color: #e91e63; /* Pink Highlight */
    --dark-bg: #2d3436;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #444;
}

/* Navigation Overrides */
.navbar-brand img {
    height: 50px;
}

.nav-link {
    font-weight: 600;
    color: #0dcaf0 !important;
    transition: color 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .nav-link::after {
        content: '';
        width: 0;
        height: 2px;
        background: var(--accent-color);
        position: absolute;
        bottom: 0;
        left: 0;
        transition: 0.3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

.btn-contact {
    background-color: #0dcafa;
    color: white !important;
    border-radius: 50px;
    transition: 0.3s;
}

    .btn-contact:hover {
        background-color: var(--secondary-color);
        transform: translateY(-2px);
    }

/* Hero Section */
/* Ensure the Carousel Container has the correct height */
#heroCarousel {
    height: 85vh;
    overflow: hidden;
}

/* Base style for each slide */
.carousel-item {
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Essential for overlay positioning */
}

    /* The Dark Overlay - Fixes the unreadable text in your video */
    .carousel-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* 50% black tint */
        z-index: 1;
    }

    /* Forces text content to stay above the dark overlay */
    .carousel-item .container {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        align-items: center;
    }

/* Remove the static background from the hero class to stop overlapping */
.hero-section {
    color: white;
}

/* Service Card Effects */
.service-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 4px solid transparent;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-bottom: 4px solid var(--secondary-color);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .service-card i {
        transition: 0.3s;
    }

    .service-card:hover i {
        transform: scale(1.2);
        color: var(--secondary-color) !important;
    }

.service-card-1 {
    border-radius: 15px;
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    padding:15px;
}

/* Gallery Styling */
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

    .gallery-img:hover {
        transform: scale(1.05);
        filter: brightness(90%);
    }

/* Contact Section */
.map-container {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 105, 92, 0.15);
}

/* Footer Styling */
.footer {
    background: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 20px;
}

    .footer h5 {
        color: white;
    }

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 8px;
}

    .footer-links a:hover {
        color: var(--secondary-color);
        padding-left: 5px;
    }

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
}

    .social-links a:hover {
        color: var(--secondary-color);
        transform: scale(1.2);
    }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}
    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--secondary-color);
        margin-top: 10px;
        border-radius: 2px;
    }

/* Optional: Center the title if needed */
.text-center .section-title::after {
    margin: 10px auto 0;
}

.lead {
    color: white;
    line-height: 1.8;
}

/* Section Spacing */
.section-padding {
    padding: 80px 0;
}

/* Heading Typography */
h6.text-primary {
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.display-5 {
    color: var(--dark-bg);
    line-height: 1.2;
}

/* Image Styling */
.rounded-4 {
    border-radius: 1.5rem !important;
}

.shadow {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

/* Icon text alignment */
.fs-3 {
    font-size: 1.75rem !important;
}

/* Footer Credit Link */
.footer a.text-info:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline !important;
}

/* Remove the underline decoration for the contact button specifically */
.btn-contact::after {
    display: none !important;
}

/* Ensure no border or text-decoration appears on hover */
.btn-contact:hover {
    text-decoration: none !important;
}

/* Gallery Specific Styles */
.gallery-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item {
    position: relative;
    cursor: pointer;
}

    .gallery-item:hover .gallery-img {
        transform: scale(1.1);
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 105, 92, 0.8); /* Primary color with transparency */
    color: white;
    height: 0;
    overflow: hidden;
    transition: 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    height: 100%;
}

.filter-btn {
    margin: 5px;
    border-radius: 20px;
    padding: 8px 25px;
    border:1px solid #0dcaf0; 
}

    .filter-btn.active {
        background-color: #0dcaf0;
        color: white;
    }

.gradient-text {
    background: linear-gradient(90deg, #0dcaf0, #0a58ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-card-1 {
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}
.service-list li {
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 0;
    color: #212529;
    transition: all 0.3s ease;
}
.service-list li:hover {
    color: #0dcaf0;
}
.service-list .icon {
    color: #0dcaf0;
    font-size: 1.1rem;
    margin-right: 12px;
}
@media (max-width: 768px) {
    .service-list li {
        font-size: 0.95rem;
    }
}
.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}