* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  width: 100%;
  height: 100%;
  background-size: cover;
  color: white;
  padding-top: 0px;
  /* Space for fixed nav */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/banner.png);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}

.tab-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid blueviolet;
  position: absolute;
  top: 10px;
  right: 10px;
}

.servicelogo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid blueviolet;
  position: absolute;
  top: 80px;
  right: 20px;
}

/* NAVIGATION BAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  
  color: white;
position: relative;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.fade-in.show { opacity: 1; transform: translateY(0); }
.logo {
  font-weight: bold;
  font-size: larger;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* NAV LINKS DESKTOP */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li {
  padding: 10px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

.nav-links li a:hover {
  background: linear-gradient(90deg, #a915e4, #2109ff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* MENU ICON - HIDDEN BY DEFAULT */
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

h1 {
  display: inline-block;
  margin-left: 10px;
  cursor: pointer;
}

.txt1 {
  text-align: center;
  margin-top: 100px;
}

.txt1 h1 {
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
}

.txt1 h2 {
  padding: 3%;
}

.sum1 {
  position: relative;
  top: -15px;
}

.sum2 {
  position: relative;
  top: 0px;
}

.summary2 {
  position: relative;
  top: 20px;
}

.container1{
  width: 80%;
  height: auto;
  margin: 5% auto;
  background-color: black;
  border: 2px solid blueviolet;
  border-radius: 30px;
  padding-top:5%;
  padding-bottom:5%;
  position:relative;
  background-image:url(../img/n.png);


}
.container2{
  width: 80%;
  height: auto;
  margin: 5% auto;
  background-color: black;
  border: 2px solid blueviolet;
  border-radius: 30px;
  padding: 2%;
  margin: 10%;
  position: relative;
  background-image: url(../img/n.png);
}

.container3{
  width: 80%;
  height:auto;
  margin: 5% auto;
  background-color: black;
  border: 2px solid blueviolet;
  border-radius: 20px;
  padding: 2%;
  margin: 10%;
  position: relative;
  background-image: url(../img/n.png);

}

.content1 {
  width: 50%;
  margin-left: 50%;
  margin-top: 0%;

}

.content1 h3 {
  
  font-size: 2.5rem;
  margin-bottom: 20%;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  justify-content: left;
  margin-left: 10px;
  color: blueviolet;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

.content1 p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  justify-content: left;
  margin-top: -20px;
}

.pic1 {
  border-radius: 30px;
  border: 2px solid blueviolet;
  position: absolute;
  margin-top: 3%;
  margin-left: 10px;
  justify-content: center;
}

.pic3 {

  border-radius: 30px;
  border: 2px solid blueviolet;
  position: absolute;
  margin-top: 5%;
  margin-left: 10px;
  justify-content: center;
}


.content2 {
  width: 50%;
  margin-left: 50%;
  margin-top: 10%;

}

.content2 h4 {
  font-size: 2.5rem;
  margin-bottom: 20%;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  justify-content: left;
  margin-left: 10px;
  color: blueviolet;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

.content2 p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  justify-content: left;
  margin-top: -20px;
}

.pic2 {

  border-radius: 30px;
  border: 2px solid blueviolet;
  position: absolute;
  margin-top: 15%;
  margin-left: 10px;
  justify-content: center;
}

.content3 {
  width: 50%;
  margin-left: 50%;
  margin-top: 10%;
  height: auto;
 

}

.content3 h5 {
  font-size: 2.5rem;
  margin-top: -20%;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  justify-content: left;
  margin-left: 10px;
  color: blueviolet;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

.content3 p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  justify-content: left;
  margin-top: 20%;
  
}


.pic3 {
  width: 400px;
  height: auto;
  border-radius: 30px;
  border: 2px solid blueviolet;
  position: absolute;
  margin-top: 5%;
  margin-left: 10px;
  justify-content: center;
}

.container3:hover {
  transform: translateY(-10px);
  box-shadow: blueviolet;
  border-color: rgba(3, 169, 244, 0.6);
  animation: contentpopup 2s ease-in;
  animation-iteration-count: infinite;
}

.container2:hover {
  transform: translateY(-10px);
  box-shadow: blueviolet;
  border-color: rgba(3, 169, 244, 0.6);
  animation: contentpopup 2s ease-in;
  animation-iteration-count: infinite;
}

.container1:hover {
  transform: translateY(-10px);
  box-shadow: blueviolet;
  border-color: rgba(3, 169, 244, 0.6);
  animation: contentpopup 2s ease-in;
  animation-iteration-count: infinite;
}


@keyframes contentpopup {
  0% {
    box-shadow: 0 0 0 0 blueviolet;
  }

  70% {
    box-shadow: 0 0 0 20px rgba(3, 169, 244, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(3, 169, 244, 0);
  }
}

/*  FINAL social footer styles */
/* social media  icons*/
.social-footer {
  
  border-radius: none;
  padding: 20px 20px;
  text-align: center;
}

.social-footer h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  
  gap: 20px;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

/* section_footer */
footer{
    width: 100%;
    height: 500px;
    text-align: center;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    
}
footer ul {
  list-style: none;
  padding: 0;
}



@media (max-width: 768px) {

  /* Remove default top space */
  body {
    padding-top: 0;
  }

  .servicelogo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid blueviolet;
    display: block;
    position: absolute;
    top: 0px;
    left: 15px;
    z-index: 100;
  }

  .txt1 {
    margin-top: 80px;
    text-align: center;
  }

  /* Navbar layout */
  .navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left:28%;
    z-index: 2;

  }

  .logo h1 {
    font-size: 30px;
    margin-bottom: 5px;
    margin-top:8px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;}

  .servicelogo {
    position: static;
    width: 60px;
    height: 60px;
    margin-top: 5px;
    margin-left: 0;
    display: block;
    align-self: flex-start;
  }

  .menu-icon {
    display: block;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 16px;
    left: 20px;
    z-index: 3;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    background-color: #000;
    padding: 10px 20px;
    display: none;
    z-index: 1;
    width: 100%;
    margin-top:20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 10px 10px;
    text-align: center;
  }

  /* Text block */
  .txt1 {
    margin-top: 20px;
    text-align: center;
  }

  .txt1 h1 {
    font-size: 2rem;
    margin-top: 0;
    padding-top: 0;
  }

  .txt1 h2 {
    font-size: 1rem;
    padding: 10px;
  }

  /* Containers */
  .container1 {
    width: 90%;
    height: auto;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .container2,
  .container3 {
    width: 90%;
    height: auto;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Reorder headings above image */
  .container1 h3 {
    position: absolute;
    top: 10px;
    left:15%;
    
    text-align: center;
    
    font-size:30px;
   
    color: blueviolet;
  }

  .container2 h4 {
    position: absolute;
    top: 10px;
    left:6%;
    order: -1;
    text-align: center;
    font-size:30px;
    margin-bottom: 10px;
    color: blueviolet;
  }

  .container3 h5 {
    position: absolute;
    top: 10px;
    left: 20%;
    order: -1;
    font-size: 30px;
    margin-bottom: 10px;
    color: blueviolet;
  }

  .sum2,
  .sum3 {
    position: static;
    display: block;
    margin-top: 10px;
    font-weight: bold;
    cursor: pointer;
  }

  /* Images inside containers */
  .pic1,
  .pic2 img,
  .pic3 img {
    position: static;
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
  }
  .pic1{
    margin-top: 30px;
  }

  .pic2,
  .pic3 {
    position: static;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .pic3{
    margin-bottom: 0px;
    margin-top: 10%;
  }
  /* Text inside containers */
  .content1,
  .content2,
  .content3 {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .content1 p,
  .content2 p{
    font-size: 1rem;
    position: relative;
    top: 10px;
    line-height: 1.6;
  }
  .content3 h5 {
    margin-top: 0px;
    
  }
  .content3 p {
    margin-top: 10%;
  }
  /* Fix overflow in details */
  .dt1,
  .dt2,
  .dt3,
  .summary1 {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    word-wrap: break-word;
  }

  .summary2,
  .summary3 {
    position: static;
    margin-top: 8px;
    padding: 5px 10px;
    line-height: 1.6;
    text-align: left;
    font-size: 1rem;
  }


  /* Social footer */
  .social-footer h3 {
    font-size: 1.3rem;
  }

  .social-icons {
    gap: 20px;
    flex-wrap: wrap;
  }

  .social-icons a img {
    width: 30px;
    height: 30px;
  }
  footer{
    width: 100%;
    height: auto;
    margin-top: 150px;
    display: grid;
    grid-template-columns:200px 200px;
    grid-template-rows:auto;
    column-gap: 2px;
    row-gap: 20px;
   
   
    
}
}