/* Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #1a2a44, #2c3e50);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-size: 1.1rem;
    transition: color 0.3s;
    color: #fff; /* White for contrast */
}

.nav-link:hover {
    color: #00ddeb !important;
}

.navbar-brand img {
    height: 50px; /* Adjust logo size */
}
/* Slider Section */
#home .carousel {
    height: 100vh;
}

#home .carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

/*#home .carousel-item::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100px;*/
/*    background: linear-gradient(to top, rgba(0, 105, 148, 0.3), transparent);*/
/*    animation: wave 10s ease-in-out infinite;*/
/*}*/

@keyframes wave {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

#home .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
}

#home .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.carousel-caption .lead {
    font-size: 1.5rem;
    font-style: italic;
}

.btn-primary {
    background: linear-gradient(90deg, #00ddeb, #007bff);
    border: none;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: scale(1.1);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 1.5rem;
    color: #fff; /* White for contrast on testimonial background */
}

.section-title::after {
    content: '';
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #00ddeb, #007bff);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Small Heading */
.small-heading {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #00ddeb;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* About Section */
#about {
    background: #ffffff;
}

#about .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
    z-index: 0;
}

#about img {
    transition: transform 0.3s;
}

#about img:hover {
    transform: scale(1.05);
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/1600x900/?harbor,water');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    padding-bottom: 150px; /* Extra padding to accommodate overlapping carousel */
}

#testimonials .lead {
    color: #ddd;
    max-width: 600px;
    margin: 0 auto 30px;
}

#testimonials .carousel {
    position: relative;
    top: 30px; /* Push carousel down to overlap into next section */
    z-index: 10;
}

#testimonials .carousel-item {
    height: auto;
    padding: 20px 0;
}

#testimonials .card {
    border: none;
    background: rgba(255, 255, 255, 0.95); /* Slightly transparent white for contrast */
    transition: transform 0.3s;
    margin: 0 10px;
    border-radius: 10px;
}

#testimonials .card:hover {
    transform: translateY(-10px);
}

#testimonials .carousel-control-prev,
#testimonials .carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.5);
}

#testimonials .carousel-control-prev-icon,
#testimonials .carousel-control-next-icon {
    filter: invert(1);
}

.star-rating i {
    font-size: 1.2rem;
    margin-right: 5px;
}

#testimonials .card img {
    object-fit: cover;
}

/* map-overview section */
.map-container {
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.map-overlay .btn {
    background: linear-gradient(90deg, #00ddeb, #007bff);
    border: none;
}

/* Features Section */
#features {
    padding-top: 150px; /* Extra padding to accommodate overlapping carousel */
}

#features i {
    transition: color 0.3s;
}

#features i:hover {
    color: #00ddeb;
}

.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #555;
    font-size: 0.9rem;
}

.feature-card:hover .feature-details {
    max-height: 100px;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1a2a44, #2c3e50);
}

footer a:hover {
    color: #00ddeb !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px; /* Smaller logo on mobile */
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption .lead {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .small-heading {
        font-size: 1rem;
    }

    #testimonials .carousel-item .row {
        flex-direction: column;
        align-items: center;
    }

    #testimonials .card {
        margin-bottom: 20px;
        /* max-width: 80%; */
    }

    #testimonials .carousel {
        top: 50px; /* Less overlap on mobile */
    }

    #features {
        padding-top: 100px; /* Adjust padding for mobile */
    }
}

@media (max-width: 576px) {
    #home .carousel-caption {
        /*top: unset;*/
        /*transform: unset;*/
        /*height:auto !important;*/
    }
    
    .carousel-caption h1 {
        font-size: 1.72rem;
    }
}