@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 */
 }
 
 .home .content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff; /* Darker text for readability */
    opacity: 1;
    transform: none;
    margin-top: 8rem;
  }
  
 
 .home .content .title {
   font-size: 4rem;
   color: var(--white);
   text-transform: uppercase;
 }
 
 .home .content .details{
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 5rem;
   font-size: 2.5rem;
 }
 
 .home .content .details div strong{
   display: flex;
   align-items: center;
   gap: 1rem;
 }
 
 .home .content .details img{
   width: 30px;
 }
 
 
 .home .content p {
   font-size: 2.5rem;
   padding: 2rem 0;
   line-height: 2;
   font-weight: bold;
 }
 .home .content .links{
   margin-top: 4rem;
   display: grid;
   grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
   gap: 2rem;
 }
 
 .home .content .btn {
   position: relative;
   padding: 1.5rem 3rem;
   color: var(--white);
   font-size: 1.6rem;
   border: 2px solid var(--white);
   text-align: center;
   text-transform: uppercase;
   overflow: hidden;
   background-color: transparent;
   text-align: center;
   display: inline-block;
   font-weight: bold;
 }
 
 .home .content .btn::before {
   content: "";
   position: absolute;
   top: -100%;
   left: -100%;
   width: 300%;
   height: 300%;
   transition: all 0.5s ease;
   z-index: 0;
 }
 
 .home .content .btn:hover::before {
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
 }
 
 .home .content .btn:hover {
   color: white;
   border-color: var(--web-hover); /* Optional: change border color on hover */
 }
 
 .home .content .btn span {
   position: relative;
   z-index: 1; /* Ensures the text stays above the background */
 }
 
 
 .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-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    place-items: center; /* Centers items both horizontally and vertically */
    gap: 2rem; 
    align-items: center; 
    padding: 1rem; 
  }

  .about-image {
    position: relative;
    aspect-ratio: 16 / 9; 
    overflow: hidden; 
    border-radius: 0.5rem; 
  }
  
  .about-image img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
  }
  
  .about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.2)
    );
    border-radius: inherit; 
    pointer-events: none; 
  }

  .about .Title{
    font-size: 3rem;
  }

  .about .header{
    font-size: 1.6rem;
    color: var(--light-color);
    font-weight: 300;
    line-height: 1.8;
  }

  .about-mission{
    text-align: center;
    background: 
      linear-gradient(145deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), 
      var(--web-hover);     
      padding: 2rem;
    color: white;
  }

  .about-mission h1{
    font-weight: normal;
    margin-bottom: 2rem;
  }

  .about-mission p{
    font-size: 1.5rem;
    line-height: normal;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .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;
  }

  .gallery {
    padding: 5rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collage-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
    width: 100%;
}

.collage-container.flipped {
    grid-template-columns: 1fr 2fr;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.collage-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: filter 0.3s ease;
    cursor: pointer;
}

.collage-item:hover img {
    filter: blur(5px);
}

.hover-text {
    position: absolute;
    bottom: 0;
    left: 0;
    background: white;
    color: black;
    padding: 2.3rem;
    font-size: 18px;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collage-item:hover .hover-text {
    opacity: 1;
}

.small-container {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 768px) {
    .collage-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .collage-container.flipped {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

.slideshow-container {
    position: relative;
    max-width: 100%;
}
.slide {
    display: none;
}
.slide img {
    width: 100%;
    border-radius: 15px;
}
.fade {
    animation: fadeEffect 1.5s;
}
@keyframes fadeEffect {
    from { opacity: 0.4; } 
    to { opacity: 1; }
}



  .faq-container {
    padding: 1rem 2rem;
    color: #333;
  }
  
  .faq-section h1 {
    font-size: 3rem;
    color: var(--text-dark);
    text-align: center;
  }
  
  .faq {
    border-bottom: 1px solid #e6e6e6;
    padding: 20px 0;
    transition: background-color 0.3s ease;
  }
  
  .faq:last-child {
    border-bottom: none;
  }
  
  .faq:hover {
    background-color: #f9fbfd;
  }

  .faq-question {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    cursor: pointer;
    color: var(--text-dark);
  }
  
  .faq-question h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 300;
    transition: color 0.3s ease;
  }
  
  .faq-question:hover h2 {
    color: #005bb5;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-top: 10px;
  }
  
  .faq-answer p {
    margin: 0;
    color: #555;
    font-size: 1.4rem;
    line-height: 1.6em;
  }

  .faq-icon {
    font-size: 2rem;
    color: #0074d9;
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  
  .faq.open .faq-answer {
    max-height: 300px;
    opacity: 1;
  }

  .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: #ffffff;
      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;
    }

    .btns{
        display: none;
      }
  
    .hamburger {
      display: block;
    }

    .about-container{
      grid-template-columns: repeat(1, 1fr);  
    }

    .attend{
      grid-template-columns: repeat(1,1fr);
    }
    
  .attend-box:nth-child(5) {
    grid-column: span 1; /* Place the item in the second column, which is 1.5fr wide */
}
.footer{
  padding: 5rem 2%;
}
.footer_container{
  grid-template-columns: repeat(1,1fr);
}
}

@media (max-width:768px){
.home .content .details{
    flex-direction: column;
  }
}
  
@media  (max-width:450px){
  html{
    font-size: 50%;
  }
}

@media  (max-width:330px){
  html{
    font-size: 45%;
  }
}
  
  