* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: -webkit-fill-available;
}

  
@font-face {
  font-family: 'Amiri Quran';
  src: url('./fonts/AmiriQuran-Regular.woff2') format('woff2'),
      url('./fonts/AmiriQuran-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif';
  src: url('./fonts/NotoSerif-Regular.woff2') format('woff2'),
      url('./fonts/NotoSerif-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



body {
  
  background-color: #0B1017;
  color: #EBF0FF;
  width: 100%;
  font-family: "Amiri Quran", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2vh;
  display: flex;
  flex-direction: column;
  align-items: center;

}

header {
  display: flex;
  justify-content: space-between;
  width: 80%;
  position: fixed;
  top: 0;
  background-color: #0B1017;
  border-color: #EBF0FF;
  border-width: .3vh;
  border-style:solid;
  border-left-width: 0;
  border-right-width: 0;
  border-top-width: 0;
  z-index: 1000;
}

header a {
  margin-left: 3vw;
  margin-right: 3vw;
  text-decoration: none;
  color: inherit; 
  text-decoration: none; 
  
  cursor: pointer; 
}
.header-wrapper {
  display: flex;
  
}
  
  .container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;

  }

  .navigation {
    display: flex;
    justify-content: center;
    padding-bottom: 2.5vh;
    border-width: 0;
    border-bottom-width: .3vh;
    border-style: solid;
    
  }
  
  .navigation ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    width: 75vw;  
    z-index: 10;
  }
  
  .navigation li {
    margin: 0;
    
  }
  
  .navigation button {
    background: none;
    border: none;
    color: #fff;
    font-family: "Inter", light;
    font-weight: 300;
    font-size: 1.5vh;
    cursor: pointer;
    padding: 10px 15px;
  
    transition: transform 0.3s ease;
    
  }
  
  .navigation button:hover {
    transform: scale(1.7);
  }

  .navigation button.active {
    transform: scale(1.7); 

  }

  #nextButton {
    position: fixed;
    bottom: 10vh;
    right: 10vh;
    background: none;
    border: none;
    color: #fff;
    font-size: 5vh;
    cursor: pointer;
    padding: 10px 15px;
    transition: transform 0.3s ease;
  }

  #nextButton:hover {
    transform: scale(1.5);
    transform: translateX(2);
  }
  
  .content {
    margin-top: 7vh;
    width: 80%;
    color: #111;
    border-radius: 2vh;
    
  }
  
  .section {
    background-color: #ffffff;
    opacity: 0; /* Initially invisible */
    transform: translateY(10vh); /* Start position for animation */
    transition: transform 0.5s ease, opacity 0.5s ease; /* Transition for smooth animation */
    visibility: hidden; /* Make it not interactive while hidden */
    border-radius: 2vh;
    padding: 2vh;
    position: absolute;
    top: 32vh;
    left: 20%;
    width: 60%;
}

.section.active {
    opacity: 1; /* Make visible */
    transform: translateY(0); /* Move into view */
    visibility: visible; /* Make it interactive */
}
  
  img {
    width: 100%;
    height: auto;
    object-fit:cover;
  }
  

  .line-container {
    position: absolute;
    width: 100%;
    height: 10%;
    top: 15vh;
  }
  
  .line {
    position: absolute;
    top: 80%;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transform: translateY(-50%);
  }
  
  .cursor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #ffffff;
    transform: translateY(-15px); /* Adjusts the triangle above the line */
    pointer-events: none; /* Prevents the cursor from interfering with mouse events */
    transition: left  0.3s ease;
  }
  

.proof-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-style: solid;
  border-width: 0;
  border-bottom-width: .2vh;
  background-color: #ffffff;
  padding: 2vh;
  padding-left: 5vw;
  padding-right: 5vw;
  margin-bottom: 2vh;
}

.proof-card h2 {
  font-size: 4vh;
}

.title {
  display: flex;
  justify-content: space-between;
  gap: 30vw;
  margin-top: 8vh;
  align-items: center;
}

.title h1 {
  font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: italic;
    font-size: 6vh;
    padding: 2vh;
}

.title a {
  text-decoration: none;
  color: white;
  padding: 2vh;
  font-family: "Inter", light;
  font-weight: 300;
  font-style: normal;
  font-size: 2vh;
  max-height: fit-content;
  border-radius: 4vh;
  background: #3148DB;
}
.button-container {
  text-align: center;
}

.open-modal-btn {
  padding: 2vh 3vh;
  max-height: fit-content;
  font-size: 16px;
  color: #fff;
  font-family: "Inter", light;
  font-weight: 300;
  background: #3148DB;
  border: none;
  border-radius: 10vh;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.open-modal-btn:hover {
  background-color: #0056b3;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  margin-top: 80vh;
  border-radius: 10px;
  width: 80%;
  position: relative;
}

.close-modal-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.close-modal-btn:hover {
  color: #ff0000;
}


/* General modal styles */
.open-image-button {
  padding: 2vh 3vh;
  max-height: fit-content;
  font-size: 16px;
  color: #fff;
  font-family: "Inter", light;
  font-weight: 300;
  background: #3148DB;
  border: none;
  border-radius: 10vh;
  cursor: pointer;
  margin-top: 2vh;
}
.open-link-button {
  padding: 2vh 3vh;
  max-height: fit-content;
  font-size: 16px;
  color: #fff;
  font-family: "Inter", light;
  font-weight: 300;
  background: #3148DB;
  border: none;
  border-radius: 10vh;
  cursor: pointer;
  margin-top: 4vh;
}


.image-modal {
    display: none; 
    position: fixed; 
    z-index: 999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.2); /* Darker background for images */
    justify-content: center; 
    align-items: center;
}

.image-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    width: 30%;
    max-width: 40%;
    top: 10vh;
    text-align: center;
    animation: scaleIn 0.4s ease forwards; /* Animation for scaling in */
}

#popup-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close-image-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-image-modal-btn:hover {
    color: #ff4c4c;
}

/* Fade in and scale animation */
@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
