* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", "san-serif";
  /* max-width: 100%; */
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
}

body {
  width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  /* Enable vertical scrolling */
}

html {
  font-size: 62.5%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-y: hidden;
  /* Prevent unintended vertical overflow for headers */
}

/* Sticky Header Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  /* Stick the header to the top of the viewport */
  background-color: white;
  /* Ensure it's visible on all backgrounds */
  z-index: 1000;
  /* Keeps the header above other content */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  /* Adds a subtle shadow for visibility */
}

section {
  min-height: 100vh;
}

#section1 {
  background-color: pink;
}

/* Logo */
.logo {
  flex: 0 0 auto;
  /* Prevent the logo from growing or shrinking */
}

.logo img {
  margin-top: 1rem;
  margin-left: 1rem;
  margin-bottom: 1rem;
  width: 9rem;
  height: auto;
}

nav {
  margin-right: 5rem;
}

/* Navigation Links (Desktop View) */
.nav-links {
  display: flex;
  justify-content: flex-end;
  /* Align links to the right */
  flex: 1;
  /* Allow the nav to grow and fill available space */
  gap: 3rem;
  /* Add spacing between links */
}

.nav-links ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3rem;
  /* Add margin between links */
}

.nav-links ul li a {
  font-size: 1.6rem;
  color: black;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* .nav-links ul li a:hover {
  color: #007bff;
  background-color: #f44336;

} */

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}



/* Hamburger Icon (Default Hidden) */
.hamburger-icon {
  display: none;
  cursor: pointer;
}

/*(1) Section1  (Start)*/

.text-box {
  width: 90%;
  color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 1rem;
}

.text-box h1 {
  font-size: 48px;
  line-height: 50px;
  padding-bottom: 20px;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 14px;
  color: black;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: black;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}

nav .fa {
  display: none;
}




.section-container {
  padding: 2rem;
}



#section4 {
  background-color: lightsalmon;
  height: 100vh;
}

#section5 {
  background-color: lightslategray;
  height: 100vh;
}

#section6 {
  background-color: lightskyblue;

}




/* footer */

.footer {
  width: 100%;
  text-align: center;
  padding: 30px 10px;

  min-height: 200px;
  height: 200px;
}

.footer-content {
  width: 90vw;
}

.footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}

.icons .fa {
  color: #f44336;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}

.fa-heart-o {
  color: #f44336;
}



.bfa-wrapper h1 {
  color: white;
  text-align: center;
  font-family: "Roboto", sans-serif;
  margin-bottom: 0;
}

.bfa-wrapper .line {
  width: 100px;
  height: 1px;
  margin: 20px auto 40px auto;
  border-bottom: 1px solid white;
}

.bfa-wrapper img {
  width: 100%;
  display: block;
}

.bfa-wrapper .container {
  width: 50%;
  display: block;
  margin: 30px auto;
}

.bfa-wrapper #before-after-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 3px solid white;
}

.bfa-wrapper #after-image {
  display: block;
}

.bfa-wrapper #before-image {
  position: absolute;
  height: 100%;
  width: 50%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 2;
}

.bfa-wrapper #resizer {
  position: absolute;
  display: flex;
  align-items: center;
  z-index: 5;
  top: 0;
  left: 50%;
  height: 100%;
  width: 4px;
  background: white;
  /*Stop vertical scrolling on touch*/
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  overflow-x: visible;
}

.bfa-wrapper #resizer:after {
  background: linear-gradient(62deg, #c93072 5%, #3365c0);
  font-family: "Font Awesome 5 Free";
  content: "\f337";
  font-weight: 900;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: absolute;
  margin: 0 0 0 -22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
}





@media (max-width: 767px) {
  .bfa-wrapper .container {
    width: 100%;
    padding: 0 20px;
  }

  .bfa-wrapper #before-after-slider {
    width: 90vw;
  }

}