* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
  color: white;
}

nav {
  padding: 0px 100px;
  height: 80px; /* Slightly reduced height for a cleaner look */
  background-color: #371068;
  display: grid;
  grid-template-columns: 1fr 5fr 0.2fr;
  align-items: center;
  align-content: center;
}

.logo {
  width: 80%;
  height: 100%;
}

.nav-links {
  justify-self: end;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 10px;
}

.nav-links a:hover {
  color: rgb(231, 225, 225);
}
.nav-links a.active {
  color: #371068; /* Highlight active page */
}
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease;
}


@media screen and (max-width: 1000px) {

  nav {
    padding: 0px 4%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    position: fixed;
    right: 0px;
    height: 80vh;
    top: 80px;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 20px;
    align-content: flex-start;
    width: 60%;
    transform: translateX(-200%);
    transition: transform 0.5s ease-in;
  }

  .nav-links li {
    margin-top: 50px;
    opacity: 0;
    width: 100%;
  }

  .nav-links #name {
    padding: 0px 10px;
    color: #371068;
    font-weight: 600;
    font-size: 25px;
  }

  .nav-links li a {
    color: black;
  }

  .nav-links a:active {
    color: #371068;
  }

  .hamburger {
    display: block;
    justify-self: flex-end;
  }

  .nav-active {
    transform: translateX(-67%);
  }

  .nav-links li {
    opacity: 1;
    transition: opacity 0.5s ease-in;
  }

  .logo {
    justify-self: flex-start;
  }
}

@media screen and (min-width: 1000px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    width: auto;
  }

  .nav-links li {
    margin: 0 10px;
  }
}

@media screen and (max-width: 450px) {
  .nav-links li a {
    font-size: 14px;
  }
}


 /* Section 1 */
 #section_1::before {
   content: "";
   background: url('Images/istockphoto-1336906460-170667a.jpg') no-repeat center center;
   /* Position absolute */
   position: absolute;
   top: 80px;
   left: 0px;
   /* Position absolute is set */
   width: 100%;
   height: 575.8px;
   background-size: cover;
   z-index: -1;
    /* Darken and blur the background image */
   background-color: rgba(0, 0, 0, 0.7);
   filter: blur(5px);
 }

 #section_1 {
   height: 575.8px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   grid-gap: 2rem;
 }

 #section_1 p {
    width: 70%;
    text-align: center;
    font-size: 70px;
    color: white;
    /* Add some shadow to the text for better visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  #section_1 a {
    text-decoration: none;
    font-size: 28px;
    display: inline-block;
    margin-top: 50px; /* Add some space between the text and button */
    padding: 18px 50px;
    color: black;
    background-color: cyan;
    border-radius: 35px;
    /* Add box shadow for a button-like appearance */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all ease-in-out 0.3s;
  }
 #section_1 a:hover {
   color: white;
   background-color: #371068;
   transition: all ease-in-out 0.3s;
 }

 @media (max-width: 1000px) {
   #section_1 p {
     font-size: 60px;
   }
 }

 @media (max-width: 750px) {
   #section_1 p {
     font-size: 50px;
   }
 }

 @media (max-width: 600px) {
   #section_1 p {
     font-size: 40px;
   }

 }

 @media (max-width: 500px) {
   #section_1 p {
      width: 80%;
      font-size: 35px;
   }
   
   #section_1 a {
    font-size: 25px;
    margin-top: 30px; /* Add some space between the text and button */
    padding: 15px 30px;
  }
 }


 /* Section 2 */
 #section_2 {
   padding: 100px;
   display: grid;
   grid-template-columns: 1fr;
   grid-gap: 5rem;
 }

 #section_2 span {
   color: red;
 }

 #section_2 .first,
 #section_2 .second {
   display: grid;
   grid-template-columns: 1fr 1fr;
 }

 #section_2 .text h1 {
   color: black;
 }

 #section_2 .text p {
   color: black;
 }

 #section_2 .first img,
 #section_2 .second img {
   width: 520px;
   height: 350px;
   border-radius: 20px;
   box-shadow: 5px 5px 10px #371068;
 }

 #section_2 .first .text h1,
 #section_2 .second .text h1 {
   font-size: 35px;
   margin-bottom: 20px;
 }

 #section_2 .second .text {
   width: 80%;
 }

 #section_2 .first .text p {
   font-size: 20px;
 }

 #section_2 .second .text ul li {
   color: black;
   font-size: 25px;
   list-style: none;
   font-weight: bold;
 }

 #section_2 .second .text ul li::before {
   color: black;
   content: '✓';
   margin-right: 22px;
 }

 #section_2 .second .text ul p {
   margin-left: 40px;
   font-size: 20px;
 }


 #section_2 .first img,
 #section_2 .second .text {
   position: relative;
   left: -1000px;
   animation-name: left;
   animation-duration: 2s;
   animation-timing-function: ease-in-out;
   animation-delay: 0s;
   animation-iteration-count: 1;
   animation-direction: normal;
   animation-fill-mode: forwards;
 }

 @keyframes left {
   0% {
     left: -1000px;
   }

   100% {
     left: 0px;
   }
 }

 #section_2 .second img,
 #section_2 .first .text {
   position: relative;
   right: -1000px;
   animation-name: right;
   animation-duration: 2s;
   animation-timing-function: ease-in-out;
   animation-delay: 0s;
   animation-iteration-count: 1;
   animation-direction: normal;
   animation-fill-mode: forwards;
 }

 @keyframes right {
   0% {
     right: -1000px;
   }

   100% {
     right: 0px;
   }
 }

 @media (max-width:1300px) {

   #section_2 .first img,
   #section_2 .second img {
     width: 450px;
     height: 310px;
   }
 }

 @media (max-width: 1150px) {

   #section_2 .first img,
   #section_2 .second img {
     width: 380px;
     height: 300px;
   }

   #section_2 .first .text h1,
   #section_2 .second .text h1 {
     font-size: 30px;
   }

   #section_2 .second .text {
     width: 90%;
   }

   #section_2 .first .text p {
     font-size: 18px;
   }
 }

 @media (max-width: 1050px) {
   #section_2 {
     padding: 100px 50px;
   }

   #section_2 .second .text {
     width: 100%;
   }
 }

 @media (max-width: 900px) {

   #section_2 .first img,
   #section_2 .second img {
     width: 300px;
     height: 250px;
   }
 }

 @media (max-width: 770px) {
   #section_2 .first {
     display: flex;
     flex-direction: column;
     grid-gap: 2rem;
     justify-items: center;
   }

   #section_2 .second {
     display: flex;
     flex-direction: column-reverse;
     grid-gap: 2rem;
     justify-items: center;
   }

   #section_2 .first img,
   #section_2 .second img {
     width: 400px;
     height: 270px;
   }

   #section_2 .first .text h1,
   #section_2 .second .text h1 {
     font-size: 25px;
   }

 }

 @media (max-width: 500px) {

   #section_2 .first img,
   #section_2 .second img {
     width: 300px;
     height: 230px;
   }

   #section_2 .first .text h1,
   #section_2 .second .text h1 {
     font-size: 25px;
   }

   #section_2 .second .text ul li {
     font-size: 18px;
   }

   #section_2 .second .text ul li::before {
     margin-right: 10px;
   }

   #section_2 .first .text p,
   #section_2 .second .text ul p {
     font-size: 16px;
   }

   #section_2 .second .text ul p {
     margin-left: 25px;
   }
 }


 /* Section 3 */
 #section_3 {
   padding: 50px 100px;
   display: flex;
   align-items: center;
   justify-content: space-between;
 }

 #section_3 img {
   width: 10%;
   height: 10%;
 }

 @media (max-width: 800px) {
   #section_3 {
     padding: 50px;
   }
 }

 @media (max-width: 600px) {
   #section_3 {
     display: grid;
     grid-template-columns: 1fr 1fr 1fr 1fr;
     grid-gap: 1rem;
   }

   #section_3 img {
     width: 100%;
     height: 100%;
   }
 }

 /* Section 4 */

 #section_4 {
   padding: 50px 100px;
   display: grid;
   grid-template-columns: 1fr;
   grid-gap: 5rem;
   justify-items: center;
 }

 #section_4 span {
   color: red;
 }

 #section_4 .text {
   width: 80vw;
 }

 #section_4 .text h1 {
   color: black;
 }

 #section_4 .text p {
   color: black;
 }

 #section_4 .first .text h1 {
   font-size: 35px;
   margin-bottom: 20px;
 }

 #section_4 .first .text p {
   font-size: 20px;
 }

 #section_4 hr {
   width: 80vw;
   height: 3px;
   background-color: #371068;
   color: #371068;
 }

 #section_4 img {
   width: 350px;
   height: 280px;
   border-radius: 20px;
 }

 .slideshow-container {
   position: relative;
   max-width: 80vw;
   overflow: hidden;
   margin: auto;
 }

 .slides-container {
   display: flex;
   justify-content: space-between;
   overflow: hidden;
 }

 .slide {
   flex: 0 0 calc(33.33% - 20px);
   margin-right: 20px;
   transition: transform 0.5s ease-in-out;
 }


 .slide:last-child {
   margin-right: 0;
 }

 .prev,
 .next {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   cursor: pointer;
   font-size: 20px;
   font-weight: bold;
   padding: 16px;
   z-index: 1;
 }

 .prev {
   left: 0;
 }

 .next {
   right: 0;
 }

 @media (max-width: 700px) {
   #section_4 {
     padding: 100px 50px;
   }

   #section_4 img {
     width: 280px;
     height: 240px;
   }
 }

 @media (max-width: 700px) {
   .slideshow-container {
     max-width: 76vw;
   }
 }

 /* Footer */
 footer {
	height: 228px;
	background-color: #371068;
	padding: 0px 100px;
	display: grid;
	grid-template-columns: 2fr 2fr 1fr;
  }
  
  footer .box {
	display: grid;
	grid-template-columns: 1fr;
  }
  
  footer .box h1,
  footer .box span,
  footer .box a {
	color: white;
  }
  
  footer #left .logo img {
	width: 174px;
	height: 80px;
  }
  
  footer #left .payment img {
	height: 40px;
	width: 60px;
  }
  
  footer #mid .options {
	margin-top: 20px;
  }
  
  footer #mid h1 {
	padding: 20px 0px;
  }
  
  footer #mid .option {
	display: flex;
	align-items: center;
  }
  
  footer #mid .option img {
	height: 60px;
	width: 60px;
  }
  
  footer #mid .option span {
	font-size: 20px;
	margin-left: 15px;
  }
  
  footer #mid .option a {
	text-decoration: none;
	font-size: 20px;
	margin-left: 15px;
  }
  
  @media (max-width: 800px) {
	footer {
	  padding: 0px 50px;
	  grid-template-columns: 1fr 1fr;
	}
	footer #mid h1 {
	  padding: 23px 0px;
	}
  }
  
  @media (max-width: 550px) {
	footer #left .logo img {
	  width: 140px;
	  height: 60px;
	}
	footer #left .payment {
	  padding: 0px 10px;
	}
	footer #left .payment img {
	  height: 30px;
	  width: 40px;
	}
	footer #mid .option img {
	  height: 40px;
	  width: 40px;
	}
	footer #mid h1 {
	  font-size: 30px;
	  padding: 15px 0px;
	}
  }
  
  @media (max-width: 550px) {
	footer {
	  padding: 30px 30px;
	}
	footer #left .logo img {
	  width: 110px;
	  height: 40px;
	}
	footer #left .payment img {
	  height: 25px;
	  width: 30px;
	}
	footer #mid .option img {
	  height: 30px;
	  width: 30px;
	}
	footer #mid h1 {
	  font-size: 25px;
	  padding: 8px 0px;
	}
	footer #mid .option span {
	  font-size: 17px;
	}
	footer #mid .option a {
	  font-size: 17px;
	}
  }
  