body {
    font-family: 'Instrument Sans', sans-serif;

    /* Applied globally */
}

.top-bar {
    background-color: #f8f9fa;
    padding: 10px 0;
}

.logo img {
}

.social-links a {
    color: #333;
    margin-left: 15px;
    font-size: 18px;
    text-decoration: none;
}

.social-links a:hover {
    color: #007bff;
}

.contact-number {
    color: #333;
    font-weight: 500;
}

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F7F6;

    /* Base color from Template 2 scheme */
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

.hero-text {
    flex: 1 1 50%;
    padding: 40px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 36.2px;

    /* Teal from Template 2 scheme */
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #1A3C34;

    /* Dark text */
}

.hero-cta {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1rem;
    text-decoration: none;
    background-color: #2B847C;

    /* Teal */
    color: #FFFFFF;

    /* White */
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-cta:hover {
    background-color: #FF6F61;

    /* Coral on hover */
}

.hero-image {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.navbar {
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    /* Subtle shadow for depth */
}

.navbar-light .navbar-nav .nav-link {
    color: #333;

    /* Dark text for light background */
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 20px;

    /* Increased padding for spacing */
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #007bff;

    /* Matches your primary color */
}

.navbar-light .navbar-toggler {
    border: none;

    /* Removes default border */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;

        /* Centers links when collapsed */
        padding: 10px 0;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;

        /* Spacing between items in mobile view */
    }
}

.services {
    background-color: #f8f9fa;

    /* Light gray background */
}

.service-card {
    padding: 20px;
    background-color: #fff;

    /* White card background */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    /* Subtle shadow */
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    /* Slight lift on hover */
}

.service-card img {
    max-width: 150px;

    /* Consistent image size */
    height: auto;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-desc {
    font-size: 1rem;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .service-card {
        margin-bottom: 20px;

        /* Extra spacing on smaller screens */
    }
}

/* testimonial section */
.testimonials {
    background-color: #f1f3f5;

    /* Slightly different light background */
}

.testimonial-card {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);

    /* Slight lift on hover */
}

.testimonial-card img {
    width: 100px;

    /* Fixed size for circular images */
    height: 100px;
    object-fit: cover;

    /* Ensures image fills circle */
}

.testimonial-text {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .testimonial-card {
        margin-bottom: 20px;

        /* Extra spacing on smaller screens */
    }
}

/* Gallery section */
.gallery {
    background-color: #212529;

    /* Matches .bg-dark from hero */
}

.gallery-item {
    overflow: hidden;

    /* Ensures image doesn’t spill out on hover */
    border-radius: 8px;

    /* Rounded corners */
}

.gallery-item img {
    transition: transform 0.3s ease;

    /* Smooth grow effect */
}

.gallery-item:hover img {
    transform: scale(1.1);

    /* Grows 10% on hover */
}

/* Responsive adjustments */
@media (max-width: 575px) {
    .gallery-item {
        margin-bottom: 15px;

        /* Extra spacing on small screens */
    }
}

.contact {
    background-color: #003087;

    /* Deep blue for contrast */
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;

    /* Light text for readability */
    margin-bottom: 15px;
}

.contact-text {
    font-size: 1rem;
    color: #ddd;

    /* Slightly lighter gray for contrast */
    margin-bottom: 15px;
}

.contact .btn-outline-light {
    border-color: #fff;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact .btn-outline-light:hover {
    background-color: #fff;
    color: #003087;

    /* Matches background for contrast */
}

/* Modal-specific styles (unchanged) */
.modal-content {
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .contact .col-md-4 {
        margin-bottom: 20px;
    }
}

.promo-strip {
    background-color: #6c757d;

    /* Bootstrap bg-secondary, muted gray for contrast */
}

.promo-text {
    font-size: 0.9rem;
    color: #fff;
}

.promo-strip {
    background-color: #6c757d;

    /* Unchanged */
}

.promo-text {
    font-size: 0.9rem;
    color: #fff;
    display: inline-flex;

    /* Ensures text and button align nicely */
    align-items: center;
    flex-wrap: wrap;

    /* Allows wrapping on small screens */
    gap: 10px;

    /* Spacing between elements */
}

.promo-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.promo-link:hover {
    color: #cce5ff;
    text-decoration: underline;
}

.promo-strip .btn-primary {
    background-color: #007bff;

    /* Matches your contact button */
    border: none;
    padding: 5px 15px;

    /* Smaller padding for slim strip */
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.promo-strip .btn-primary:hover {
    background-color: #0056b3;

    /* Darker shade on hover */
}

/* Responsive adjustments */
@media (max-width: 575px) {
    .promo-text {
        display: block;

        /* Stacks text and button on small screens */
    }

    .promo-strip .btn-primary {
        margin-top: 10px;

        /* Adds spacing when stacked */
    }
}

.promo-strip {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h2 {
    color: #7db3c9;
    font-family: 'Alexandria', sans-serif;
    font-size: 1.8em;
    text-transform: capitalize;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

h2::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 28px;

    /* Adjust size as needed */
    height: 28px;
    margin-right: 10px;

    /* Space between image and text */
    background-image: url('/assets/media/hands.png');

    /* Replace with your image path */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pale-blue-bg {
    background: linear-gradient(135deg, rgb(229, 240, 244) 0%, rgb(115, 173, 206) 100%);
}

.pale-green-bg {
    background: linear-gradient(135deg, #eaf6ef 0%, #a3c9ad 100%);
}

.logo-img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.social-links a {
    margin: 0 8px;
    color: #333;
    font-size: 1.2rem;
}

@media (max-width: 767.98px) {
    .logo-img {
        max-width: 90px;
    }

    .social-links {
        margin-top: 10px;
    }

    .container .row > div {
        margin-bottom: 8px;
    }
}

.card-title {
    font-family: 'Alexandria', sans-serif;
    font-size: 1.2em !important;
    color: #1fa0c5;
}

h1 {
    font-family: 'Alexandria', sans-serif;
    font-size: 2em;
}

/* CSS for the Gallery Polish */
.gallery-item {
    position: relative;
    overflow: hidden;

    /* Keeps the image inside the rounded corners when zooming */
    border-radius: 15px;

    /* Softer look for care sites */
    height: 250px;

    /* Forces all containers to be the same height */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* This crops the image to fill the square without stretching */
    transition: transform 0.4s ease;

    /* Smooth zoom animation */
}

.gallery-item:hover img {
    transform: scale(1.1);

    /* Zoom in slightly on hover */
}

.gallery-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(0,0,0,0.3);

    /* Darkens image slightly on hover */
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 2rem;
}

/* Make the main logo pop */
.logo-img {
    height: 110px !important;

    /* Increase from 90 */
    width: auto !important;
    transition: transform 0.3s ease;
}

/* De-emphasize the accreditations so they look like badges */
.col-4 img:not(.logo-img) {
    height: 45px !important;

    /* Shrink them slightly */
    filter: grayscale(20%);

    /* Softens the colors so they don't clash */
    opacity: 0.7;
}

/* Improve the contact links */
.top-bar a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.top-bar a:hover {
    color: #007bff;

    /* Or your primary brand color */
}