:root {
    --main-orange: #ff6600;
}

html {
    scroll-behavior: smooth;
}

body{
    font-family: 'Nunito', sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
}

.navbar {
    z-index: 1050; /* Make sure the navbar is on top of other elements */
}
.navbar-brand {
    font-weight: bold;
    color: var(--main-orange) !important;
}

.nav-link {
    color: white !important;
    margin-left: 15px;
}

.nav-link:hover {
    color: var(--main-orange) !important;
}

.hero-overlay {
    width: 100%;
    height: 100%;    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* dark overlay for contrast */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    width: 100%;
    padding: 0 15px;
}

.hero-overlay {
    pointer-events: none;
  }
  
  .hero-overlay h1,
  .hero-overlay form {
    pointer-events: auto;
  }
  
.hero-form .form-control {
    min-width: 200px;
}

.carousel-item img {
    height: 100vh;
    object-fit: cover;
}

.carousel-inner {
    position: relative;
  }

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
  
.hero-form .form-control {
    width: 250px;
    border-radius: 2;
    height: 50px;
}

.hero-form button {
  width: auto;
  padding: 0 20px;
  border-radius: 2;
  height: 50px;
  border: 2px solid #ff6600;
  color: white;
  white-space: nowrap; /* ensures text stays in one line */
}


.hero-form button:hover {
    background-color: #ff6600;
}

.carousel-item {
    position: relative;
}

.navbar {
    z-index: 10;
}

.carousel-item {
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* dark overlay */
    z-index: 1;
}

.carousel-item img {
    height: 100vh;
    object-fit: cover;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
    position: relative;
    z-index: 0;
}

/* Indicators (progress bars) */
.carousel-indicators-custom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-indicators-custom div {
    width: 60px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s ease;
}

.carousel-indicators-custom .active {
    background-color: #ffffff;
}

/* Section two */
.text-orange {
    color: var(--main-orange) !important;
}

.card a {
    /* border: 2px solid #ff6600; */
    background-color: #ff6600;
    color: rgb(255, 255, 255);
    white-space: nowrap; /* ensures text stays in one line */
  }

.card a:hover {
    border: 2px solid #ff6600;
    color: rgb(30, 29, 29);
}



/* Responsive adjustments for hero section */
@media (max-width: 991px) {
    .navbar {
        backdrop-filter: blur(5px); /* Applies a blur effect to the background */
        background-color: rgba(0, 0, 0, 0.6); /* Add a dark translucent background to the navbar */
        z-index: 1050;
    }

    /* Optionally, adjust the navbar links for better contrast */
    .nav-link {
        color: white !important;
    }

    .navbar-toggler {
        z-index: 1060; /* Make sure the hamburger icon is clickable */
    }

    .navbar-nav {
        z-index: 1060; /* Ensure navbar items appear above the background */
    }

    .hero-form button {
        background-color: var(--main-orange);
        border: none;
        color: white;
        height: 40px;
        font-size: 0.9rem;
        padding: 0 15px;
      }
    
      .hero-form button:hover {
        background-color: var(--main-orange);
      }    

  
    .hero-overlay {
        height: 100vh;
        padding: 20px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
  
    .hero-overlay h1 {
      font-size: 2rem;
      margin-bottom: 1.5rem;
    }
  
    .hero-form {
      flex-direction: column;
      gap: 10px;
      width: 100%;
      max-width: 350px;
    }
  
    .hero-form .form-control {
      width: 100%;
      height: 45px;
    }
  
    .hero-form button {
      width: 100%;
      height: 45px;
    }
}

#welcome {
    position: relative;
    overflow: hidden;
  }
  
  #welcome .carousel-item {
    min-height: 400px;
    overflow: hidden;
  }
  
  #welcome .carousel-item img {
    object-fit: cover;
    height: 65vh;
    filter: brightness(70%);
  }
  
  #welcome .carousel-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  #welcomeCarousel .carousel-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
  
  #welcome .icon-bar i {
    transition: transform 0.3s;
  }
  
  #welcome .icon-bar i:hover {
    transform: scale(1.2);
    color: #FFD700 !important;
  }
  

/* Even smaller devices */
@media (max-width: 576px) {
    .hero-form button {
        width: 35%;
        font-size: 0.85rem;
        padding: 0 12px;
        }

    .hero-overlay h1 {
        font-size: 1.8rem;
    }

    .carousel-indicators-custom {
        bottom: 10px;
        gap: 5px;
    }

    .carousel-indicators-custom div {
        width: 40px;
        height: 3px;
    }
}
  