@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


html {
    overflow-x: hidden;
    width: 100%;
}
body {
    margin: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 0px;
    overflow-x: hidden;
    width: 100%;
  }
  
  main {
    background-color: 	#0C2340;
    padding-top: 0px;
    padding-bottom: 10px;
  }

/* CSS for header */

header {
    margin: 0px;
    padding: 0px;
}

/*scroll css */

.header {
    opacity: 1;
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease;
    top: 0;
    width: 100%;
    position: fixed;
    display: flex;
    flex-wrap:wrap;
    padding-top: 0px;
    padding-left: 15px;
    padding-right: 0px;
    padding-bottom: 0px;
    justify-content: center;
    align-items: center;
    background-color: rgb(237, 242, 245);
    margin: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  }

  .header.fixed {
    position: fixed;
    top: 0;
    opacity: 0;
    pointer-events: none;
}

.header.slide-down {
    opacity: 1;
    transform: translateY(0);
}

  .header.scrolled {
    background-color: rgba(237, 242, 245,); 
    transition: background-color 0.3s ease;
  }

  .header.hidden {
    top: -120px; 
    opacity: 0;
    pointer-events: none;
  }

  .header.fade-in {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header.slide-up {
    transform: translateY(50px);
    opacity: 0;
    pointer-events: none;
  }

  /* logo */
  
  .header .logo {
    font-size: 25px;
    font-family: 'Sriracha', cursive;
    color: #000;
    text-decoration: none;
    margin-left: 30px;
    padding: 0px;
  }

  .header-left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
  }

  .title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    padding-bottom: 0px;
  }

  .sa-title {
    font-family: 'Cinzel';
    font-size: 32.64px;
    font-weight: 550;
    color: #0C2340;
    padding-left: 10px;
    padding-right: 30px;
    padding-bottom: 0px;
    margin-bottom: 0;
  }

  .sa-title-s {
    font-size: 43px;
  }

  .sa-title-a {
    font-size: 43px;
  }

  /* Vincit Qui Se Vincit */
  .sa-motto {
    font-size: 19px;
    font-family: 'Cinzel', serif;
    color: #0C2340;
    margin: 0;
    padding-top: 0px;
  }

  .sa-motto-2 {
    font-size: 10px;
    font-family: 'Cinzel', serif;
    color: #0C2340;
    margin: 0;
    padding-top: 0px;
    padding-bottom: 5px;
  }

  nav-items {
    margin: 0px;
    padding: 0px;
  }
  
  .nav-items {
    font-size: 14.4px;
    font-family: 'Raleway';
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(237, 242, 245);
    margin-right: 30px;
    margin-top: 0px;
    padding-bottom: 0px;
  }
  
  .nav-items a {
    text-decoration: none;
    color: #000;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .nav-items a:hover {
    background: rgb(237, 242, 245);
    color: #0C2340;
    font-weight: bold;
  }
  
  nav a.active {
    font-weight: bold;  
    color: 05134f;
    text-decoration: none;
  }

  .nav-items a.active {
    padding-left: 30px;
    padding-right: 0px;
  }

  .separator {
    margin-left: 10px;
    width: 1px;
    height: 20px;
    background-color: #ccc; 
  }



  /* Dropdown container */
  .dropdown {
    margin-top: 0px;
    position: relative;
    margin-left: 20px;
  }

  /* Menu button with icon */
  .menu-btn {
    margin-top: 0px;
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .menu-btn span {
    margin-top: 0px;
    margin-right: 0px;
  }

  /* Down arrow icon */
  .menu-btn::after {
    content: "▼"; 
    font-size: 10px;
    margin-left: 0px;
  }

  /* Dropdown menu content */
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(237, 242, 245);
    color: black;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
  }

  .dropdown-menu a:hover {
    background-color: white;
  }

  /* Show dropdown on hover */
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Log In */

  .login-btn {
    font-size: 14.4px;
    font-weight: 500;
    font-family: 'Raleway';
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-right: 10px;
    margin-top: 0px;
    padding-bottom: 0px;
    border-radius: 5px;

  }

  .login-btn a {
    color: #000;
    text-decoration: none;
    padding: 10px;
  }

  /* Sign Up */

  .signup-btn {
    font-size: 14.4px;
    font-weight: 500;
    font-family: 'Raleway';
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0C2340;
    margin-right: 0px;
    margin-top: 0px;
    padding-bottom: 0px;
    border-radius: 5px;
  }

  .signup-btn a {
    color: #ae9142;
    text-decoration: none;
    padding: 10px;
  }

  

  /* Body Section */

  /* First section: Text right, image left */

  .image-text-container {
    align-items: center;
    display: flex;
    align-items: center; 
    gap: 20px;            
    margin-top: 182px;
    padding-bottom: 50px;
    padding-right: 50px;
    padding-left: 100px;
  }
  
  .image-morocco1 {
    max-height: 500px; 
    width: auto;
    border-radius: 10px;
    
  }

  .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text h1 {
    color: #0C2340;
    margin: 16px auto; 
    font-family: 'Cinzel';
    font-size: 32.64px;
    font-weight: 500;
    border-bottom: 3px solid #ae9142;
    max-width: 700px;
    margin: 16px 0px;
    margin-right: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
  }

  .text p {
    margin: auto;
    margin-right: 85px;
    margin-left: 85px;
    font-size: 20px;
    font-family: 'Raleway';
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
    will-change: transform, opacity;
  }
  
  .animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
  }
  

  
  
  

  /* Second section: Text left, image right */

  body {
    margin: 0;
    box-sizing: border-box;
    padding-top: 0px;
    display: block; 
  }

  .image-text-container2 {
    align-items: center;
    display: flex;
    align-items: center; 
    gap: 20px;            
    margin-top: 182px;
    margin-bottom: 50px;
    padding-right: 100px;
    padding-left: 50px;
  }

  .image-morocco2 {
    max-height: 500px; 
    width: auto;
    border-radius: 10px;
  }

  .text2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text2 h1 {
    color: #0C2340;
    margin: 16px auto; 
    font-family: 'Cinzel';
    font-size: 32.64px;
    font-weight: 500;
    border-bottom: 3px solid #ae9142;
    max-width: 700px;
    margin: 16px 0px;
    margin-right: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
  }
  
  .text2 p {
    margin: auto;
    margin-right: 85px;
    margin-left: 85px;
    font-size: 20px;
    font-family: 'Raleway';
  }

  /* pattern */

  .pattern-section {
    background-image: url('scholasticusbackground'); 
    background-repeat: repeat;       
    background-size: cover;            
    padding-top: 20px;
    padding-bottom: 45px;
    color: white;   
    text-align: center;
  }

  .pattern-section h1 {
    color: #FFFFFF;
    font-family: 'Cinzel';
    font-size: 32.64px;
    font-weight: 500;
    border-bottom: 3px solid #ae9142;
    max-width: 700px;
    margin: 16px auto; 
    padding-bottom: 8px;
  }

  /* Our Mission Buttons */

  .button-container {
    display: flex;
    justify-content: center;  
    gap: 20px;               
    flex-wrap: wrap;         
    margin-top: 30px;
    margin-bottom: 30px;
  }


  .buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  /* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button base styles */
.button-container .buttons {
  opacity: 0;
  transform: translateY(20px);
  transition: none;
}

/* Animated state */
.button-container .buttons.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* Add staggered delay for each */
.button-container .buttons:nth-child(1).visible {
  animation-delay: 0s;
}

.button-container .buttons:nth-child(2).visible {
  animation-delay: 0.3s;
}

.button-container .buttons:nth-child(3).visible {
  animation-delay: 0.6s;
}

  




  .buttons {
    background-color: rgb(237, 242, 245);
    border-radius: 5px;
    padding: 20px;
    width: 280px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 70px;
  }
  

  .buttons h1 {
    color: #0C2340;
    font-size: 16px;
    font-family: 'Cinzel';
    margin: 0;
    border-bottom: none;
  }

  /* Post pattern Section */

  .image-text-container3 {
    align-items: center;
    display: flex;
    align-items: center; 
    gap: 20px;           
    margin-top: 80px;
    margin-bottom: 80px;
    padding-right: 50px;
    padding-left: 100px;
  }
  
  .image-library-desk {
    max-height: 500px; 
    width: auto;
    border-radius: 10px;
    
  }

  .text3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text3 h1 {
    color: #0C2340;
    margin: 16px auto; 
    font-family: 'Cinzel';
    font-size: 32.64px;
    font-weight: 500;
    border-bottom: 3px solid #ae9142;
    max-width: 700px;
    margin: 16px 0px;
    margin-right: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
  }

  .text3 p {
    margin: auto;
    margin-right: 85px;
    margin-left: 85px;
    font-size: 20px;
    font-family: 'Raleway';
  }

  /* Wait List */

  .join-wl-btn {
    background-color: #0C2340;
    font-size: 14.4px;
    font-weight: 500;
    font-family: 'Raleway';
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-right: 0px;
    margin-top: 10px;
    padding-bottom: 0px;
    border-radius: 5px;
  }
  

  .join-wl-btn a {
    color: #ae9142;
    text-decoration: none;
    padding: 10px;
  }

  
  /* footer section */
  .footer {
    background-color: #0C2340;
    color: white;
    text-align: center;
    padding: 20px 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    position: relative;
    width: 100%;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ae9142;
    text-decoration: none;
    margin: 0 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    color: #fff;
}






/* Website under construction button */



.wup {
  text-align: center;
  align-items: center;
  font-family: 'Raleway';
  padding-top: 150px;
  text-decoration: underline #ae9142;
  color: #0C2340;
}
.custom-btn {
  background-color: #0C2340;
  color: #ae9142;
  font-family: 'Cinzel';
  font-size: 24px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  align-items: center;
  padding: 15px 30px;
  
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 160px;
}

