/* Main Body */

* {
  margin: 0;
  padding: 0;
  justify-content: center;
  box-sizing: border-box;
}

body {
  background-color: rgb(0, 0, 33);
  color: white;
  font-family: "Poppins", sans-serif;
}

/* Navigation Menu */

header {
  padding: 8px 0;
}


nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 7rem;
  background: linear-gradient(to right, #00093c, #2b0b00);
}

nav img {
  height: 4rem;
  width: 10rem;
  margin-top: 0;
  margin-right: 4rem;
}

nav ul {
  display: flex;
  justify-content: center;
}

nav ul li {
  list-style: none;
  margin: 0px 23px;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: white;
}

nav ul li a:hover {
  color: #35a29f;
}

nav ul li:hover::after {
  content: '';
  /* Create a pseudo-element */
  position: absolute;
  /* Position it absolutely */
  left: 0;
  /* Start from the left edge */
  bottom: -3px;
  /* Adjust this value to control the thickness of the underline */
  width: 100%;
  /* Make it the full width of the anchor */
  height: 2px;
  /* Set the height to create the underline effect */
  background-color: #35a29f;
  /* Color of the underline */
  transition: width 0.3s ease;
  /* Add transition for smooth effect */
}

.sticky {
  position: fixed;
  background-color: #837964;
  font-size: bold;
  transition-delay: 2s;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Sub Menu */

.sub-menu {
  margin-top: 1rem;
  background-color: #555;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  border-left: 2px solid;
  border-radius: 5px;
  /* Add vertical line */
}

.has-dropdown>a::after {
  content: '\25BE';
  /* Unicode character for dropdown arrow */
  margin-left: 5px;
  /* Add space between text and arrow */
}

.has-dropdown:hover .sub-menu {
  display: block;
}

.sub-menu ul {
  list-style: none;
  padding: 0;
  margin: 10px;
  /* Remove default margin */
}

.sub-menu ul li {
  padding: 10px;
  display: block;
}

.sub-menu ul li:hover {
  background-color: transparent;
}

.nav-menu.active {
  display: block !important;
}


.menu-toggle {
  display: none;
  /* Hide by default */
}

@media only screen and (max-width: 768px) {
  .nav-menu {
    display: none;
    /* Hide regular menu on small screens */
  }

  .menu-toggle {
    display: block;
    /* Display menu toggle button on small screens */
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }

  .right {
    position: relative;
  }

  .nav-menu,
  .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #555;
    width: 10rem;
    text-align: center;
  }

  .nav-menu li {
    display: block;
    margin: 15px 0;
  }

  .nav-menu li a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
  }
}

/* Navbar styling */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 7rem;
  background-color: transparent;
  /* Change background color */
  padding: 0 2rem;
  /* Add padding for better spacing */
}

nav img {
  height: 4rem;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: white;
  padding: 1rem;
  /* Add padding for better spacing */
}

nav ul li:hover>.sub-menu {
  display: block;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #555;
  /* Change background color */
  z-index: 1000;
}

.sub-menu ul {
  display: flex;
  flex-direction: column;
  /* Display sub-menu items vertically */
  padding: 0;
  margin: 0;
}

.sub-menu ul li {
  padding: 0.5rem 1rem;
  /* Adjust padding for better spacing */
}





/* Inspiration */

.inspo {
  align-items: center;
}

.inspo .container-img {
  width: 10rem;
  height: 15rem;
  align-items: center;
}

.container {
  max-width: 70rem;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container p {
  text-align: justify;
}

.container:hover {
  background-color: #35a29f;
  max-width: 80rem;
  border-radius: 0;
  text-decoration: #fff;
}

.inspo h1 {
  color: #35a29f;
  text-align: center;
  font-size: xx-larger;
  margin-top: 3rem;
}

h2 {
  color: black;
}

.inspo p {
  color: black;
  line-height: 1.6;
  margin-bottom: 20px;
}



/* footer */
footer {
  width: 100%;
  background: linear-gradient(to right, #00093c, #2b0b00);
  color: #fff;
  padding: 70px 0 30px;
  font-size: 13px;
  line-height: 20px;
}

.row {
  width: 95%;
  padding: 10px;
  margin: auto;
  padding-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.col {
  flex-basis: 20%;
  padding: 3px;
}

.company-logo {
  width: 80%;
  margin-bottom: 30px;
}

.col h3 {
  margin-bottom: 20px;
  position: relative;
}

.email {
  border-bottom: 1px solid #ccc;
  margin: 20px 0;
}

/* Services list styling */
.footer-services {
  list-style-type: none;
  padding-left: 0;
}

.footer-services li {
  margin-bottom: 10px;
}

.footer-services li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-services li a:hover {
  color: #0a66c2;
}


/* Social media section centered */
.social {
  text-align: center;
  margin-top: 2rem;
}

.social h3 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  text-decoration: none;
}

.social-icons .fa-brands,
.social-icons .fa-solid {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  font-size: 1.6rem;
  background-color: #fff;
  color: #000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons .fa-brands:hover,
.social-icons .fa-solid:hover {
  background-color: #0a66c2;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  footer {
    bottom: unset;
  }

  .col {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  .social-icons {
    justify-content: center;
  }
}

footer .copyright {
  text-align: center;
  padding-top: 20px;
}

/* footer */
@media only screen and (max-width: 600px) {
  .footer {
    position: static;
  }
}

@media (max-width:700px) {
  footer {
    bottom: unset;
  }

  .col {
    flex-basis: 100%;
  }

  .col:nth-child(2) .col:nth-child(3) {
    flex-basis: 100%;
  }

}


/* Reveal Element */
.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 1s ease;
}

.reveal.active {
  transform: translateY(0px);
  opacity: 1;
}