/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-carousel .carousel-item {
    height: 100vh;
}

.hero-carousel .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content-inner {
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #0056b3;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-btn:hover {
    background-color: #004494;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Navbar Styles */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: rgba(0, 0, 0, 0.2);
}

.navbar-scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-scrolled .navbar-brand {
    color: #333 !important;
}

.navbar-scrolled .nav-link {
    color: #555 !important;
    text-shadow: none;
}

.navbar-scrolled .nav-link:hover {
    color: #0056b3 !important;
}

.navbar-scrolled .nav-link::after {
    background-color: #0056b3;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    padding: 0;
}

/* Hamburger menu styles */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 1) !important;
    border-width: 2px;
    padding: 6px 10px;
    border-radius: 4px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em;
    height: 1.5em;
}

.navbar-scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.navbar-scrolled .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(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Logo in navbar */
.navbar-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)); /* Makes the logo white with shadow */
    transition: all 0.3s ease;
}

/* Media queries for logo responsiveness */
@media (max-width: 991px) {
    .navbar-logo {
        height: 70px;
    }
}

@media (max-width: 767px) {
    .navbar-logo {
        height: 50px;
    }
}

@media (max-width: 575px) {
    .navbar-logo {
        height: 45px;
    }
}

.nav-link {
    color: #ffffff;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Responsiveness for hero content positioning */
@media (max-width: 991px) {
    .hero-content {
        padding-top: 0;
    }
    
    .hero-content-inner {
        transform: none;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding-top: 0;
    }
    
    .hero-content-inner {
        transform: none;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 575px) {
    .hero-content {
        padding-top: 0;
        padding: 0 15px;
    }
    
    .hero-content-inner {
        transform: none;
        width: 100%;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .hero-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
