.hero-section .subheading {
    margin-left: 2rem; /* Indent */
    font-size: 1.8rem; /* Slightly smaller than display-4 */
    display: block; /* Ensure it takes a new line */
}

/* Custom styles will go here */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
main {
    flex-grow: 1;
}

/* Header */
.navbar {
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    background-color: #9eacac !important; /* From user: logo color */
}

.navbar-brand .logo {
    height: 70px; /* Increased from 50px */
}

.nav-link {
    font-weight: 500;
    color: #fff !important; /* White text for contrast on colored header */
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #f8f9fa !important; /* Slightly lighter white on hover */
}

.lang-switcher .btn {
    margin-left: 5px;
    border-radius: 0.25rem;
    background-color: #9eacac; /* Inactive: background logo color */
    border-color: #fff; /* Inactive: white border */
    color: #fff; /* Inactive: white text */
}

.lang-switcher .btn.active {
    background-color: #fff; /* Active: white background */
    border-color: #fff; /* Active: white border */
    color: #9eacac; /* Active: text logo color */
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: contain; /* Changed for testing background-position */
    background-repeat: no-repeat; /* Added for testing background-position */
    background-position: right center; /* Align to right, center vertically */
    color: #fff;
    min-height: 80vh; /* Make hero section taller */
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add text shadow for readability */
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(158, 172, 172, 0.6); /* User-provided #9eacac with opacity */
    background-blend-mode: overlay; /* Blends with background-image */
}

.hero-section .container {
    z-index: 1; /* Ensure content is above overlay */
}

.hero-section .display-4 {
    font-size: 3.5rem;
    font-weight: 700;
}

/* General Section Styling */
.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 3px;
    width: 60px;
    background-color: #007bff;
    border-radius: 5px;
}

/* Team Gallery */
.team-members .card {
    border: none;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05);
}

.team-members .card:hover {
    transform: translateY(-5px);
}

.team-members .card-img-top {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 1.5rem;
    border: 3px solid #007bff;
}

.team-members .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
}

.team-members .card-text {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Pricing Section */
.pricing-card-title {
    color: #007bff;
}

.pricing .card {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.pricing .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

/* Review Carousel */
.review-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
    max-width: 800px;
    margin: 0 auto;
}

.review-card p {
    font-style: italic;
    font-size: 1.2rem;
    color: #343a40;
}

.review-card footer {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 1rem;
    display: block;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Make controls less wide */
    color: #007bff;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #007bff;
    border-radius: 50%;
    padding: 15px;
    width: 40px;
    height: 40px;
    background-size: 50%; /* Adjust icon size */
}

/* Footer */
footer {
    background-color: #343a40 !important;
    color: #f8f9fa !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .lang-switcher {
        margin-top: 1rem;
        margin-left: 0 !important;
        text-align: center;
    }

    .lang-switcher .btn {
        margin: 0 5px;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}