@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
--primary1: rgba(0, 0, 0, 0.945);
--secondary2: rgba(0, 0, 0, 0.7);
--black: #111;
--white: #fff;
--light-color: #666;
--web: #1c75bc;
--extra:#70cfe1;
--web-hover: #0056b3;
--borde-color:#748D3A;
--text-dark: #0c0a09;
--text-light: #e4e0de;
--light-bg: #eee;
--box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
--border: 0.1rem solid rgba(0, 0, 0, 0.3);
}

* {
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
outline: none;
border: none;
text-decoration: none;
transition: all 0.2s linear;
-webkit-transition: all 0.2s linear;
list-style: none;
}

html {
font-size: 60%;
overflow-x: hidden;
scroll-behavior: smooth;
scroll-padding-top: 7rem;
}

html::-webkit-scrollbar {
width: .5rem;
}

html::-webkit-scrollbar-track {
background: transparent;
}

html::-webkit-scrollbar-thumb {
background: var(--web-hover);
}

section {
    padding: 5rem 10%;
  }
  

  header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s ease;
  }
  
  header.sticky {
   background: rgba(255, 255, 255, 0.8); /* White with 60% opacity */
   color: black;
   box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
 }
 
  header.sticky, 
  header.sticky * {
    color: black !important;
  }
  
  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
  }
  
  .logo img {
    width: 16rem;
    padding: 1rem 0;
    transition: transform 0.5s ease-in-out;
  }
  
  .logo:hover {
    transform: scale(1.1);
  }
  
  nav {
    display: flex;
    align-items: center;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    position: relative;
    transition: color 0.3s, transform 0.3s;
    letter-spacing: .1rem;
  }
  
 .nav-links li a::after {
   content: "";
   position: absolute;
   left: 50%;
   bottom: -4px;
   width: 0;
   height: 2px;
   background: var(--white);
   transition: all 0.3s ease;
 }
 
 .nav-links li a:hover::after {
   width: 100%;
   left: 0;
 }
 
  .nav-links li a:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease, color 0.3s ease;
  }
 
  .toast
 {
     width: 200px;
     background:  var(--web);
     font-weight: 500;
     box-shadow: var(--box-shadow);
     display: flex;
     align-items: center;
     position: relative;
     padding: 1rem 0;
     border-radius: 0.5rem;
     font-size: 1.4rem;
     padding-left: 1rem;
     height: 50px;
     color: white;
 }
 
 .toast img
 {
     margin: 0 10px;
     width: 15px;
 }
 
 .toast::after
 {
     content: '';
     position: absolute;
     left: 0;
     bottom: 0;
     width: 100%;
     height: 4px;
     background: lightgray;
     animation: anim 2s linear forwards;
 }
 
 @keyframes anim
 {
     100%
     {
         width: 0;
     }
 }
 
 .toastBox {
   position: fixed !important;
   bottom: -5px !important;
   right: 10px !important;
   display: flex;
   align-items: flex-end;
   flex-direction: column;
   justify-content: flex-end; /* Ensure toasts stack from the bottom */
   overflow: hidden;
   margin: 0;
   max-width: 90vw;
 }
 
 
 
  .btns{
     display: flex;
     align-items: center;
     gap: 1rem;
     margin-top: -1rem;
   }
   
   .btns button{
       padding: 1rem 1.5rem;
       outline: none;
       background-color: var(--web);
       font-size: 1.4rem;
       cursor: pointer;
       border: none;
       letter-spacing: .1rem;
       border-radius:.3rem;
       color:white !important;
       transition: color 0.3s;
       align-items: center;
       display: flex;
       align-items: center;
       gap: .5rem;
   }
   
   .btns button img{
     width: 15px;
   }
 
   .btns button:hover{
     background-color: var(--web-hover);
     box-shadow: var(--box-shadow);
   }
   
   .btns button:active{
       transform: scale(0.9);
   }
  
  .hamburger {
    display: none;
    cursor: pointer;
    position: relative;
    width: 24px;
    height: 18px;
    border: none;
    background: none;
    outline: none;
    z-index: 1001;
  }
  
  .hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s;
    transition: background-color 0.3s ease; 
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    top: 8px;
  }
  
  .hamburger span:nth-child(3) {
    top: 16px;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }
  
  #menu.scrolled span {
    background-color: black; 
  }
  .home {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
  }
  
  .home .section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
  }
  
  .home .section.active {
    opacity: 1;
    z-index: 1;
  }
  
  .home .section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.808), rgba(0, 0, 0, 0.61)); /* Dark gradient */
    z-index: 1; /* Gradient is above the image but below the content */
  }
  
  .home .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0; /* Ensure the image is behind both the content and the gradient */
  }
  
  
  .content {
    text-align: left; 
    position: relative;
    width: 100%;
    z-index: 1;
    line-height: 4;
    color: white;
  }

  .content .title{
    font-size: 4rem;
    font-weight: 600;
    line-height: normal;
  }
  
  .content .subtitle{
    line-height: 0;
  }
   
  
  .content .subtitle h2{
    font-size: 2.5rem;
    line-height: 2;
  }
  
  .content .details{
    display: flex;
    gap: 5rem;
    font-size: 2.5rem;
  }
  
  .content .details div strong{
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .content .details img{
    width: 30px;
  }
  
  
  .content .btn{
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
  }
  
  .content .btn a button{
    border: 2px solid var(--white);
    background: none;
    padding: 1.3rem 3rem;
    outline: none;
    font-size: 1.7rem;
    font-weight: 600;
    border-radius: .3rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .7rem;
    box-shadow: var(--box-shadow);
    transition: all 1s ease;
  }
  
  .content .btn a button:active{
    transform: scale(0.9);
  }
  
  .content .btn a button:hover{
    border: 1px solid var(--web);
  }
  
  .home .content .nav-buttons{
    padding: 2rem 0;
  }
  
  .home .content .prev-btn,
  .home .content .next-btn{
    cursor: pointer;
  }
  
  .home .content p,
  .home .content .btn,
  .home .content .prev-btn,
  .home .content .next-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: revealFromTop 1s forwards;
  }
  
  .home .content .btn {
    margin-top: 1rem;
  }
  
  @keyframes revealFromTop {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .home .content .nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
 
  /* Navigation buttons */
 .prev-btn, .next-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background-color: rgba(0, 0, 0, 0.5);
     color: white;
     border: none;
     font-size: 2rem;
     padding: 1rem 1.5rem;
     cursor: pointer;
     z-index: 10;
     transition: background 0.3s ease;
   }
   
   .prev-btn:hover, .next-btn:hover {
     background-color: rgba(0, 0, 0, 0.8);
   }
   
   /* Positioning */
   .prev-btn {
     left: 20px;
   }
   
   .next-btn {
     right: 20px;
   }

   .about{
    color: black;
  }

  .about .Title{
    font-size: 3rem;
    line-height: 1.6;
  }

  .about .header{
    font-size: 1.6rem;
    color: var(--light-color);
    font-weight: 300;
    line-height: 1.8;
  }

  .attend{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
    padding: 2rem 0;
  }

  .attend .attend_content{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
    align-self: flex-start;
  }

  .attend .attend_content p{
    color: var(--light-color);
    font-weight: 300;
    line-height: 2;
  }

  .attend_grid{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .attend-box{
    background:#f6f7fb;
    border-radius: .5rem;
    padding: 2rem;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    -o-border-radius: .5rem;
}

  .attend-box h1{
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 2;
  }

  .attend-box p{
    font-size: 1.5rem;
    color: var(--light-color);
    font-weight: 300;
  } 


.footer {
  padding: 5rem 10%;
  background: #00174e;
  color: white;
}

.footer h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.footer_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer_items{
  line-height: 2;
}

.footer_items h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.footer_items p,
.footer_items ul li a {
  font-size: 1.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer_items ul li a:hover {
  padding-left: 1rem;
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.socials a {
  border:1px solid gray;
  border-radius: 100%;
  color: var(--extra);
  padding: 1rem 1rem;
  font-size: 2.2rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  color: var(--primary-color);
}

.copy {
  padding: 1rem 0;
  background: #00174e;
  text-align: center;
  color: white;
}

.copy p {
  font-size: 1.5rem;
}

.copy p span {
  font-weight: 600;
  color: var(--extra);
  text-transform: uppercase;
}


/*media queries*/

@media (max-width: 991px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    padding: 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    transition: opacity 0.4s ease-in-out;
  }

  .nav-links li a{
    color: #0c0a09;
  }

  .nav-links li{
    padding: 1rem 0;
    border-bottom: 1px solid #757575;
  }

  .nav-links li:last-child{
    border-bottom: none;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
  }

  .hamburger {
    display: block;
  }
  .agenda__container{
    grid-template-columns: repeat(1,1fr);
  }
  .awards_container {
    grid-template-columns: repeat(1,1fr);
}
  .footer{
    padding: 5rem 2%;
  }
  .footer_container{
    grid-template-columns: repeat(1,1fr);
  }
  .btns{
    display: none;
  }
  .content .details{
    display: flex;
    flex-direction: column;
    margin: 5rem 0 5rem 0;
    line-height: normal;
    gap: 2rem;
  }

  .content {
    margin-top: 10rem;
  }

  .content .btn{
    flex-direction: column;
  }

  .attend{
    grid-template-columns: repeat(1,1fr);
  }
}

@media  (max-width:450px){
  html{
    font-size: 50%;
  }
  .countdown div span {
    font-size: 2em;
  }
  .content .title{
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--web-hove);
    line-height: normal;
  }
}

@media  (max-width:330px){
  html{
    font-size: 45%;
  }
}

