/* Base & Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

#heroCarousel img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Semi-transparent overlay to ensure text contrast and readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Content - Vertically and horizontally centered */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 1rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.hero-content p.lead {
    font-size: 1.25rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.25rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.hero-content .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-content .btn {
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Carousel fade animation */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .carousel-item-left.active,
.carousel-fade .carousel-item-right.active {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-left,
.carousel-fade .carousel-item.active.carousel-item-prev {
    transform: translateX(0);
    opacity: 0;
}

/* Carousel indicators */
.carousel-indicators {
    z-index: 3;
    margin-bottom: 1.5rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* Section styling */
.section {
    padding: 80px 0;
}

/* About image */
.about-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.about-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

.contact-info i {
    margin-right: 10px;
    color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - 56px);
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p.lead {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-content .btn {
        padding: 11px 24px;
        font-size: 0.95rem;
    }
}