@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  background: url('/assets/A7405849.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 100px 150px;
  background: transparent;
  z-index: 10;
}

.navbar__container {
  display: flex;
  justify-content: space-between;  /* logo left, nav right */
  align-items: center;
  width: 100%;
}

.navbar__text {
  font-size: 48px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.navbar__menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Navbar links */
.navbar__links {
  font-size: 36px;
  color: white;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color 0.5s ease;
}

/* Underline on hover */
.navbar__links::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: #ffffff;
  transition: width 0.5s ease;
}

.navbar__links:hover::after {
  width: 100%;
}

.navbar__links:hover {
  color: #ffffff;
}

.hero {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
color: white;
padding: 0 20px;
}

.hero__text-box {
  background-color: rgba(0, 0, 0, 0.4); /* black with 40% opacity */
  padding: 20px 40px;
  border-radius: 20px;
  display: inline-block; /* shrink to fit content */
  max-width: 90vw; /* responsive width */
  text-align: center; /* keep text centered */
}


.hero__title {
  font-size: 4rem;
  margin-bottom: 0.2rem;
}

.hero__subtitle {
  font-size: 2.5rem;
  max-width: 1000px;
}

/*Responsive Mobile CSS*/

@media screen and (max-width: 768px) {
  /* Show hamburger */
  .navbar__toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 20;
  }

  .bar {
    height: 4px;
    width: 30px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
  }

  /* Override layout for small screens */
  .navbar__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Stack menu vertically and hide it by default */
  .navbar__menu {
    position: fixed;
    top: 0; /* or match your actual .navbar height */
    left: 0;    /* stretch full width */
    width: 100%;
    background-color: #4A4A4A;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 80px 0 60px;
    display: none;
    z-index: 999;
  }

  /* Show menu when active */
  .navbar__menu.active {
    display: flex;
  }

  /* Adjust link size for mobile only */
  .navbar__links {
    font-size: 44px;
  }
}

/*Sections 2*/

/* Target the hero section's background specifically */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* full viewport height */
  text-align: center;
  color: white;
  padding: 0 20px;
  background: url('/assets/A7405849.jpg') no-repeat center center;
  background-size: cover;
  /* Removed 'fixed' so background scrolls with section */
}

.services {
  height: 100vh; /* full viewport height */
  padding: 50px 20px;
  color: white;
  background-color: #333333; /* fallback color */
  background-image: url('');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}


/*Footer CSS*/

.footer {
  background-color: #4A4A4A;
  color: white;
  padding: 40px 150px;
}

.footer__container {
  display: flex;
  justify-content: space-between; /* 3 parts spaced across */
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Left: Copyright aligned left */
.footer__copyright {
  flex: 1;
  text-align: left;
  font-size: 16px;
}

/* Center: Nav links centered */
.footer__nav {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Right: Social icons aligned right */
.footer__socials {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

/* Nav links style */
.footer__link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #cccccc;
}

/* Social icons style */
.footer__icon img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
  display: block;
}

.footer__icon:hover img {
  filter: brightness(0) invert(0.7); /* Slightly dim on hover */
}


/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .footer {
    padding: 20px;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer__copyright,
  .footer__nav,
  .footer__socials {
    flex: unset;
    text-align: center !important;
    justify-content: center !important;
    margin-bottom: 15px;
  }
}

/*Back to Top Button*/

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#backToTop:hover {
  opacity: 1;
}

#backToTop img {
  width: 24px;  /* adjust size as needed */
  height: 24px;
  display: block;
  margin: auto;
  padding: 0;
  filter: invert(1); /* if your SVG is black and you want white */
}