body{
    background-color: transparent;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    padding-top: 80px; /* Add padding to account for fixed navbar */
}

html {
    overflow-x: hidden;
}
.blue {
    color: #046582;;
}

section.top {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    z-index: 1;
    background-color: transparent;
}

section.top.reveal {
    opacity: 1;
    transform: translateY(0);
}

.vid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.shadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Only cover viewport height, not full page */
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.firstTxt {
    position: relative;
    z-index: 2;
    color: antiquewhite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 3rem;
    padding: 30px;
    background-color: #20303000;
    border-radius: 10px;
    text-align: center;
}

#Services {
    color: #046582;
    padding: 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    border-radius: 10px;
    margin: 20px;
}

/* ============= HERO RESPONSIVE ============= */
@media (max-width: 900px) {
  .firstTxt {
    font-size: 2.4rem;
    padding: 20px;
  }

  .firstTxt p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .firstTxt {
    font-size: 2rem;
    padding: 18px;
  }

  .firstTxt p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .firstTxt {
    font-size: 1.6rem;
    padding: 15px;
  }

  .firstTxt p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .firstTxt {
    font-size: 1.4rem;
    padding: 12px;
  }

  .firstTxt p {
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .firstTxt {
    font-size: 1.2rem;
    padding: 10px;
  }

  .firstTxt p {
    font-size: 0.8rem;
  }
}
@media (max-width: 700px) {
  #Services {
    font-size: 1.6rem;
    margin: 10px;
  }
}

/* Services Carousel Section Styles */
.services-carousel-section {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    background-color: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.services-text {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.services-text h2 {
    color: #046582;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.services-text p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.services-slider-wrapper {
    position: relative;
    padding: 20px;
}

.services-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #046582 #f1f1f1;
}

.services-slider-container::-webkit-scrollbar {
    height: 8px;
}

.services-slider-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.services-slider-container::-webkit-scrollbar-thumb {
    background: #046582;
    border-radius: 10px;
}

.service-slide {
    flex: 0 0 auto;
    width: 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-slide:hover {
    transform: translateY(-5px);
}

.service-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-caption {
    padding: 15px;
}

.service-caption h3 {
    color: #046582;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-caption p {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #046582;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slide-arrow:hover {
    background-color: #034a5f;
}

#services-slide-arrow-prev {
    left: 10px;
}

#services-slide-arrow-next {
    right: 10px;
}

/* Mobile Responsiveness for Services Carousel */
@media (max-width: 900px) {
    .services-text h2 {
        font-size: 1.6rem;
    }

    .services-text p {
        font-size: 0.9rem;
    }

    .service-slide {
        width: 250px;
    }
}

@media (max-width: 600px) {
    .services-carousel-section {
        padding: 20px 15px;
        margin: 10px;
    }

    .services-text h2 {
        font-size: 1.4rem;
    }

    .service-slide {
        width: 220px;
    }

    .slide-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Services Section Styles */
.services-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 40px 20px;
    background-color: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.services-text {
    flex: 1;
    padding: 20px;
    margin-right: 20px;
}

.services-text h2 {
    color: #046582;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.services-text p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.services-images {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-item {
    display: flex;
    flex-direction: column;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item img:hover {
    transform: scale(1.05);
}

.service-item h3 {
    padding: 10px;
    margin: 0;
    background-color: #f8f9fa;
    color: #333;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* Mobile Responsiveness for Services */
@media (max-width: 900px) {
    .services-section {
        flex-direction: column;
    }

    .services-text {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .services-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-text h2 {
        font-size: 1.6rem;
    }

    .services-text p {
        font-size: 0.9rem;
    }

    .services-images {
        grid-template-columns: 1fr;
    }

    .services-section {
        padding: 20px 15px;
        margin: 10px;
    }
}

/* Map Section Styles */
.map-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 40px 20px;
    background-color: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.map-container {
    flex: 1;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.map-text {
    flex: 1;
    padding: 20px;
}

.map-text h2 {
    color: #046582;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.map-text p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

/* About Us Section */
.about-us {
    padding: 40px 20px;
    background-color: #f8f9fa;
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-us h2 {
    color: #046582;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-us p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Why Choose Us Section */
.why-choose-us {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 40px 20px;
    background-color: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.choose-text {
    flex: 1;
    padding: 20px;
    margin-right: 20px;
}

.choose-text h2 {
    color: #046582;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.choose-text p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.image-placeholders {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.placeholder-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.placeholder-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.placeholder-item img:hover {
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .map-section, .why-choose-us {
        flex-direction: column;
    }

    .map-container, .choose-text {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .image-placeholders {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .map-text h2, .choose-text h2, .about-us h2 {
        font-size: 1.6rem;
    }

    .map-text p, .choose-text p {
        font-size: 0.9rem;
    }

    .image-placeholders {
        grid-template-columns: 1fr;
    }

    .map-section, .why-choose-us, .about-us {
        padding: 20px 15px;
        margin: 10px;
    }
}

/* Reveal on Scroll Effect */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.reveal {
    opacity: 1;
    transform: translateY(0);
}
