* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Wrap Styling */
.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

/* General Resets for Navigation */
.nav-items {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  transition: transform 0.3s ease;
}

.nav-item {
  margin: 0 1rem;
}

.nav-link {
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  display: inline-block;
  position: relative;
  color: #EA7924; 
  text-decoration: none;
}

@media (min-width: 993px) {
  .navbar-toggler {
      display: none;
  }
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px #EA7924; 
}

.navbar-expand-lg .navbar-collapse {
  flex-direction: row-reverse;
  z-index: 1030;
}

.navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
  padding-left: 0px;
  z-index: 1030;
}

.nav-link::before {
  content: "";
  width: 100%;
  height: 0.05rem;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 150ms;
}

.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}
/* Styling for Boxicons not included as it depends on external library */

.section {
  position: fixed;
  width: 100%;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  padding-bottom: 50px;
}

.item {
  width: 200px;
  height: 300px;
  list-style-type: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transform: translateX(120px);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

.item:nth-child(1), .item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.item:nth-child(3) { left: 50%; }
.item:nth-child(4) { left: calc(50% + 220px); }
.item:nth-child(5) { left: calc(50% + 440px); }
.item:nth-child(6) { left: calc(50% + 660px); opacity: 0; }

/* Content */

/* Keep the original content styling */
.content {
  /* width: min(30vw, 400px); */
  width: min(25vw, 333px);
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  font: 400 0.85rem Helvetica, sans-serif;
  color: white;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8); 
  opacity: 0;
  padding: 2rem; 
  background: url('assets/pictures/melibushirepics/Fade1.png') no-repeat center center;
  background-size: cover; 
  /* background: radial-gradient(
    circle,
    rgba(234, 121, 36, 1) 20%,  
    rgba(234, 121, 36, 0.1) 60%      
  ); */
  border: hidden !important;
  border-radius: 50%;
  /* box-shadow: 
    0 0 20px rgba(234, 121, 36, 1),   
    0 0 40px rgba(234, 121, 36, 0.9), 
    0 0 60px rgba(234, 121, 36, 0.8), 
    5px 5px 15px rgba(0, 0, 0, 0.8);  
  transition: transform 0.3s ease, box-shadow 0.3s ease; */
  /* border: 0 !important; */
  
  /* background: radial-gradient(
    circle,
    rgba(234, 121, 36, 1) 20%,  
    rgba(234, 121, 36, 0.1) 60%, 
    rgba(0, 0, 0, 1) 100%        
  ); */
  /* border-radius: 20px; 
  box-shadow: 
    0 0 20px rgba(234, 121, 36, 1),   
    0 0 40px rgba(234, 121, 36, 0.9), 
    0 0 60px rgba(234, 121, 36, 0.8), 
    5px 5px 15px rgba(0, 0, 0, 0.8);  
  transition: transform 0.3s ease, box-shadow 0.3s ease; */
  /* background: radial-gradient(
    circle,
    rgba(234, 121, 36, 1) 40%,  
    rgba(234, 121, 36, 0) 100%   
  );*/
} 

/* Title styling remains the same */
.content .title {
  padding: 15px;
  font-family: 'Arial Black', sans-serif;
  text-transform: uppercase;
  color: white; /* Keep text white */
  /* text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),   
    0 0 10px rgba(234, 121, 36, 0.7);  */
    text-align: center;
}

/* Description styling remains the same */
.content .description {
  padding: 5px 15px 15px;
  line-height: 1.7;
  font-size: 0.8rem;
  color: white; /* Keep text white */
  /* text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),   
    0 0 8px rgba(234, 121, 36, 0.6);  */
}

/* Button styling */
.content button {
  padding: 5px 15px;
  width: fit-content;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  border: 2px solid white;
  border-radius: 0.25rem;
  cursor: pointer;
  /* box-shadow: 
    0 0 10px rgba(234, 121, 36, 0.8),
    0 0 20px rgba(234, 121, 36, 0.6); 
  transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.content button:hover {
  transform: scale(1.1); /* Slight zoom on hover */
  /* box-shadow: 
    0 0 20px rgba(234, 121, 36, 1), 
    0 0 30px rgba(234, 121, 36, 0.8);  */
}

/* .item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
} */

.item:nth-of-type(2) .content {
  display: ruby;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0% {
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.nav {
  position: absolute;
  margin-bottom: 10px;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; /* Align buttons horizontally */
  gap: 1rem; /* Space between buttons */
  overflow-x: auto; 
  white-space: nowrap; 
  scroll-behavior: smooth; 
  align-items: center; 
  justify-content: start;
}

.nav .btn {
  background-color: rgba(255, 255, 255, 0.5);
  color: white;
  border: 2px solid white;
  /* margin: 63px 0.25rem; */
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
}

.nav .btn:hover {
  background-color: rgba(255,255,255,0.3);
}

/* Adjust icon size if necessary */
.nav .btn ion-icon {
  --ionicon-stroke-width: 32px; /* Adjust icon stroke width */
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .item {
    width: 160px;
    height: 270px;
  }

  .item:nth-child(4), .item:nth-child(5), .item:nth-child(6) {
    opacity: 0; 
  }
}

@media (max-width: 650px) {
  .item {
    width: 130px;
    height: 220px;
  }

  .item:nth-child(3), .item:nth-child(4) {
    opacity: 0;
  }

  .content {
    width: 80%; 
    left: 10%; 
  }
}

.footer{
  color: #EA7924;
  background: #EA7924;
  padding-top: 1em;
  text-align: center;
  width: 100%;
  line-height: normal;
  z-index: 99;
  margin-top: auto;
  text-align: center;
  box-shadow: 0 -4px 5px -5px rgba(0, 0, 0, 0.75);
  z-index: 99;
}

.footer ul li {
	margin: 0 .4em;
	font-family: Lato, sans-serif;
	letter-spacing: 0.5em;
}

/* 
	Button Links,
	Button Hover
*/

.navbuttonss {
    margin: -4.3em 0em 0em 0em;
    padding: 0;
    background-color: #270505;
    text-align: center;
    justify-content: center;
}

.buttonlinkh {
	display: transparent;
	width: 17.063em;
	color: white;
	text-align:  center;
	padding: 2.6em;
	text-decoration: none;
	text-transform: uppercase;
}

.buttonlink {
	float: center;
	font-family: Lato, sans-serif;
	letter-spacing: .03em;
	width: 100%;
	text-align: center;
	color: white;
	padding: .1em -7em;
	 background-image: linear-gradient(to right, rgba(234,0,0,0), #ea7924);
	font-size: 2.2em;
	text-decoration: none;
	transition: .3s;
	font-weight: 400;
	float: right;
	border-radius: .4em;
}

.buttonlinkk {
	float: center;
	font-family: Lato, sans-serif;
	letter-spacing: .03em;
	width: 100%;
	text-align: center;
	color: white;
	padding: .1em -7em;
	 background-image: linear-gradient(to right, rgba(234,0,0,0), #ea7924);
	font-size: 2.2em;
	text-decoration: none;
	transition: .3s;
	font-weight: 400;
	float: right;
	    margin-bottom: 0.5em;
	    border-radius: .4em;
}
.buttonlinkhactive {
	display: transparent;
	text-decoration: bold;
	width: 9.375em;
	color: white;
	background-color: #EA7924;
	text-align:  center;
	padding: 2.6em;
	text-decoration: none;
	text-transform: uppercase;
}

.buttonlinkin {
	float: center;
	font-family: Lato, sans-serif;
	letter-spacing: .03em;
	width: 50%;
	background-color: #EA7924;
	color: white;
	padding: .9em -7em;
	font-size: .9em;
	text-decoration: none;
	transition: .3s;
	font-weight: 400;
}

.buttonlinkqu {
	float: center;
	font-family: Lato, sans-serif;
	letter-spacing: .03em;
	width: 50%;
	background-color: #EA7924;
	color: white;
	padding: .9em -7em;
	font-size: .9em;
	text-decoration: none;
	transition: .3s;
	font-weight: 400;
}
.buttonlinkkkk {
	float: center;
	font-family: Lato, sans-serif;
	letter-spacing: .03em;
	width: 50%;
	background-color: #EA7924;
	color: white;
	padding: .1em -7em;
	border: .9em solid #EA7924;
	font-size: .9em;
	text-decoration: none;
	transition: .3s;
	font-weight: 400;
}

.buttonlinkt {
	float: center;
	font-family: Lato, sans-serif;
	letter-spacing: .03em;
	width: 50%;
	background-color: #EA7924;
	color: white;
	padding: .9em -7em;
	font-size: .9em;
	text-decoration: none;
	transition: .3s;
	font-weight: 400;
}

.buttonli {
	display: inline;
	float: left;
	font-size: 1.063em;
	font-family: Lato,sans-serif;
	letter-spacing: .03em;
	margin: 6em 20em;
}

.buttonlink:hover {
	background: #EA7924;
	color: #fff;
}

.buttonlinkk:hover {
	background: #EA7924;
	color: #fff;
}

.buttonlinkh:hover {
	background-color: #EA7924;
}

.buttonlinkhactive:hover {
	background-color: #EA7924;
}

.buttonlinkactive:hover {
	background-color: #EA7924;
}

#footer-links{
  width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-top: var(--bs-gutter-y);
}

.popup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0, 0.4); /* Black with opacity */
  /* display: flex; */
  align-items: center;
  justify-content: center;
}

.popup-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* Adjusted for better responsiveness */
  max-width: 450px; /* Keeps the popup from being too wide on larger screens */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow for better aesthetics */
}

.close-btn {
  color: #aaa;
  float: right;
  /* padding-top: inherit; */
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#contactFormPopup {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0, 0.4); /* Black with opacity */
   display: flex; 
  align-items: center;
  justify-content: center;
}

.form-gorup {
  border: 0.1em solid #796E24;
} 

.formPopup-content {
  padding: 30px 20px;
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* Adjusted for better responsiveness */
  max-width: 450px; /* Keeps the popup from being too wide on larger screens */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow for better aesthetics */
}

.sendFormButton {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #EA7924;
  color: #fff;
  padding: 0.9em 2.5em;
  border: 0.2em solid #EA7924;
  border-radius: 0.4em;
  font-size: 100%;
  text-transform: uppercase;
  font-weight: normal;
}

.bus-icon {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: auto;
  animation: driveBus 2s linear infinite;
  display: none;
}

.sending .bus-icon {
  display: block;
  animation: driveBus 2s linear infinite;
}

@keyframes driveBus {
  0% {
    left: -40px;
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}




.form-control{
  border: 1px solid #EA7924;
}

.form-control:focus:required {
  outline: 2px solid #EA7924;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1100 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  padding-top: 250px;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  z-index: 1100 !important;
  padding: 20px;
  border: 1px solid #888;
  max-width: 450px;
  position: relative;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.spinner {
  border: 4px solid rgba(0, 0, 0, .1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #09f;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}