/* Remove any margin, padding, or border that could disrupt the alignment */

.hero-area {
     width: 100%;
     position: relative;
     height: 800px;
   
}
.intro-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: 0;
}

 .intro-section {
     height: 100%;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;
     background-position: center center;
     background-size: cover;
}
 .hero-content {
     position: relative;
     z-index: 1;
}


.main-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Optionally set a specific height for the hero if needed */
  height: 75vh;
}

.hero-title {
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 2; /* Ensure it's above the search bar */
}

.hero-link {
    margin: 0 10px; /* Adjust spacing between links */
    color: white;
    text-decoration: none;
    position: relative;
}
.hero-title .hero-link {
            font-family: 'Libre Baskerville', serif;
            font-size: 16px;
        }
.hero-link:hover {
    color: white; /* Change text color on hover */
}

/* .hero-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; 
    width: 100%;
    height: 1px; 
    background-color: transparent; /* Initially transparent */
/*     transition: background-color 0.7s ease; */
/* }  */ 

.hero-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* Adjust the distance based on your design */
    width: 0; /* Start with a width of 0 to be invisible initially */
    height: 1px; /* Adjust the thickness of the underline */
    background-color: white; /* Color of the underline */
    transition: width 0.7s ease; /* Animate the width property */
    /* transition: all 0.3s ease 0s; for a similar timing to your menu items */
}

.hero-link:hover::after, .hero-link.selected::after {
    width: 100%; /* Expand the width to full width on hover or when selected */
}


/* Adjust the hero title margin for spacing */
.hero-title  {
  margin-bottom: 20px; /* Adjusted for clarity */
  font-size: 20px;
  color: white; /* Ensure this is visible against your hero background */
  text-align: ;
  font-weight: 500;
}

.searchinput {
    display: flex;
    width: 750px; /* Adjust based on your layout needs */
    position: relative;
    
}

input.hero-searchbar {
    flex-grow: 1;
    padding: 10px;
    height: 45px; /* Match the button height for seamless appearance */
    border: none;
    border-radius: 5px 0 0 5px; /* Rounded corners on the left side only */
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    outline: none;
    color: #9DBFAF; /* Placeholder text color */
    font-size: 17px;
    border-right: none; /* Remove right border to integrate with button */
}

button.search-btn {
    width: 65px; /* Adjust width as necessary */
    height: 45px; /* Make sure this matches input height */
    border: none;
    background-color: black; /* Example: a blue background for distinction */
    color: white; /* Adjust text/icon color for contrast */
    border-radius: 0 5px 5px 0; /* Rounded corners on the right side only */
    cursor: pointer;
    font-size: 20px; /* Icon size adjustment */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s; /* Smooth background color transition on hover */
}

button.search-btn i.fa {
    font-size: 20px; /* Icon size inside button */
}

button.search-btn:hover {
    background-color: #0056b3; /* Darker blue on hover for interaction feedback */
}
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-title,
    .hero-ss {

  font-size: 14px;
  color: white; /* Ensure this is visible against your hero background */
  text-align: ;
  font-weight: 100;
  margin-bottom: 10px; /* Adjust spacing between sections */
    }

    .hero-link {
        margin: 5px 5px;
    }

 
    .searchinput {
    display: flex;
    width: 400px; /* Adjust based on your layout needs */
    position: relative;
    
}
  input.hero-searchbar {
    flex-grow: 1;
    padding: 10px;
    height: 45px; /* Match the button height for seamless appearance */
    border: none;
    border-radius: 5px 0 0 5px; /* Rounded corners on the left side only */
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    outline: none;
    color: #9DBFAF; /* Placeholder text color */
    font-size: 10px;
    border-right: none; /* Remove right border to integrate with button */
}
  
}
