/* In your custom CSS file, e.g., web/css/site.css or within MainAsset */

.main-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); /* Soft shadow for depth */
    background-color: #1f93c9; /* Clean background */
    padding: 0.5rem 0; /* A bit of vertical padding */
    transition: background-color 0.3s ease-in-out; /* Smooth transition on scroll if you add sticky effects */
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
}

.navbar-logo {
    height: 50px; /* Adjust as needed */
    border-radius: 50%;
    width: auto;
    margin-right: 10px; /* Space between logo and text */
}

.brand-text {
    display: none; /* Hidden by default, show on larger screens or remove if you only want the image */
    color: #333; /* Color for your brand text */
    /* Add font styling to match your brand */
}

/* Media query to show brand text on larger screens */
@media (min-width: 768px) {
    .brand-text {
        display: inline-block;
    }
}


.navbar-nav .nav-link {
    font-weight: 500;
    color: #555;
    padding: 0.75rem 1.2rem; /* More generous padding */
    position: relative; /* For underline effect */
    transition: color 0.3s ease, transform 0.2s ease; /* Smooth hover effects */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff; /* Highlight color for hover/active */
    transform: translateY(-2px); /* Subtle lift on hover */
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px; /* Adjust position */
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #007bff; /* Underline color */
    transition: width 0.3s ease-out, left 0.3s ease-out;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 2.4rem); /* Adjust based on padding */
    left: 50%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); /* Custom toggler icon if default isn't appealing */
}

.btn-primary {
    background-color: #007bff; /* Brand primary color */
    border-color: #007bff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px; /* Pill-shaped button */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}
/* --- Hero Section Styles --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    overflow: hidden; /* Hide overflowing parts of images */
    color: #fff; /* Default text color for the section */
}
#heroCarousel {
    position: absolute; /* Take the carousel out of the normal flow */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Place it at the bottom layer */
}

.carousel-inner {
    width: 100%;
    height: 100%; /* Ensure inner carousel container also fills height */
}

.carousel-item {
    height: 100%; /* Important: Each carousel item must fill its parent's height */
    width: 100%; /* Ensure each carousel item fills its parent's width */
    background-position: center center; /* For background-image if you switch */
    background-size: cover; /* For background-image if you switch */
}

.hero-bg-image { /* This targets the actual <img> tag */
    position: absolute; /* Position the image relative to its .carousel-item parent */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the entire area without distortion */
    filter: brightness(0.6); /* Slightly dim images for better text contrast */
    /* z-index is handled by its parent .carousel-item inside #heroCarousel's z-index */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.9) 100%);
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1; /* Ensure overlay is above images but below content */
}

.hero-content-wrapper {
    position: relative;
    z-index: 2; /* Ensure content is above overlay */
    max-width: 900px; /* Limit content width for better readability */
    padding: 20px;
     text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive font size */
    text-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Subtle text shadow for depth */
}

.hero-content p.lead {
    font-size: clamp(1rem, 2vw, 1.35rem); /* Responsive font size for lead text */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Custom Button Styles (match your brand) */
.custom-btn-primary {
    background-color: #ff6f00; /* Example: A vibrant orange */
    border-color: #ff6f00;
    padding: 0.8rem 2.2rem;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4);
}

.custom-btn-primary:hover {
    background-color: #e66000;
    border-color: #e66000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.6);
}

.custom-btn-outline {
    border-color: #fff;
    color: #fff;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.custom-btn-outline:hover {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateY(-3px);
}

