/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Example: primary font is Raleway, fallback is Varela, then sans-serif */
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
  }
  

/* NAVBAR (DESKTOP & GENERAL) */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: fixed; /* Sticky navbar */
  width: 100%;
  top: 0;
  z-index: 999;

  transition: background 0.3s ease, padding 0.3s ease;
}

/* LOGO */
.logo {
  width: 6.5rem;
  height: auto;
}

.footer_logo {
  width: 10rem;
  height: auto;

}
  .footerlogo{

    justify-content: center;
    align-items:center;
  }


/* HAMBURGER (mobile icon) - hidden on desktop by default */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.bar {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* NAV MENU (DESKTOP) - elliptical glass morph style */
.nav-menu {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);

  border-radius: 9999px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-menu ul li {
  position: relative; /* for dropdown or line hover effect */
}
.nav-menu ul li a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
  transition: color 0.3s ease;
  padding: 5px 0;
}
/* Hover line effect */
.nav-menu ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #b93a36;
  left: 0;
  bottom: -2px;
  transition: width 0.3s ease;
}
.nav-menu ul li a:hover::after {
  width: 70%;
}
.nav-menu ul li a:hover {
  color:  #b93a36;
}

/* CTA BUTTON */
.cta-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-left: 20px;
  position: relative;
  overflow: hidden; /* for ripple effect */
}
.cta-btn:hover {
  background:  #b93a36;;
  transform: scale(1.05);
}
/* Ripple on click */
.cta-btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-btn:active::after {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: width 0.5s ease, height 0.5s ease, opacity 1s ease;
  left: 50%;
  top: 50%;
}

/* NAVBAR SCROLL EFFECT (optional) */
.scrolled {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 40px;
}

/* DROPDOWN PARENT */
.has-dropdown {
  position: relative;
}
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 5px); /* slightly below the elliptical shape */
  left: 0;
  background: #fff; /* simple white sub-menu, matching reference image */
  border-radius: 8px;
  padding: 10px 0;
  display: none; /* hidden by default */
  min-width: 200px; /* ensure enough space for 4 items */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 9999; /* on top of the ellipse */
}
.has-dropdown .dropdown li {
  list-style: none;
}
.has-dropdown .dropdown li a {
  display: block;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}
.has-dropdown .dropdown li a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}
/* Show sub-menu on hover (desktop) */
nav ul li.has-dropdown:hover .dropdown {
  display: block;
}

/* MEDIA QUERIES (Mobile) */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: left 0.6s ease;
    z-index: 1000;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 40px;
  }
  .nav-menu ul li a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
  }
  .cta-btn {
    display: none;
  }

  /* Sub-menu in mobile overlay */
  .nav-menu ul li.has-dropdown .dropdown {
    position: static;
    background: none;
    box-shadow: none;
    display: none;
    padding: 0;
    min-width: auto;
  }
  .nav-menu ul li.has-dropdown:hover .dropdown {
    display: block; /* basic hover approach on mobile */
  }
  .dropdown li a {
    color: #fff !important;
    padding-left: 40px; 
    font-size: 18px;
  }

  .footer_logo {
    width: 7rem;
  
  }

  .logo {
    width: 4.5rem;
    height: auto;
  }
}

/* HAMBURGER OPEN STATE */
.hamburger.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}




/* Loader Container to center it on screen */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff; /* or any dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* On top of everything */
}

/* Loader Animation from Uiverse (modified) */
.loader {
  position: relative;
}

/* The text spans */
.loader span {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  font-size: 38px;
  letter-spacing: 5px;
  font-family: sans-serif;
}

/* First span: transparent fill, colored stroke */
.loader span:nth-child(1) {
  color: transparent;
  /* A subtle stroke in #b93a36 */
  -webkit-text-stroke: 0.4px #b93a36;
}

/* Second span: actual fill color + thicker stroke. 
   Includes the clip-path animation. */
.loader span:nth-child(2) {
  color: #b93a36;
  -webkit-text-stroke: 1px #b93a36;
  animation: twerkClip 3s ease-in-out infinite;
}

/* Clip-path keyframes (originally "uiverse723" renamed) */
@keyframes twerkClip {
  0%, 100% {
    clip-path: polygon(
      0% 45%, 15% 44%, 32% 50%, 
      54% 60%, 70% 61%, 84% 59%, 
      100% 52%, 100% 100%, 0% 100%
    );
  }
  50% {
    clip-path: polygon(
      0% 60%, 16% 65%, 34% 66%, 
      51% 62%, 67% 50%, 84% 45%, 
      100% 46%, 100% 100%, 0% 100%
    );
  }
}




/* Larger hero logo size if desired */
.hero_logo {
  width: 10rem;
  height: auto;
}

/*********************************************
  GLITCH CONTAINER & LAYERS
*********************************************/
.herologo.glitch {
  position: relative;
  display: inline-block;
  overflow: hidden; /* Required for the clip-path glitch slices */
  text-align: center !important;

}

.herologo.glitch .hero_logo {
  position: relative;
  z-index: 1;
  display: block;
}



/* The container that holds the glitch layers */
.glitch__layers {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Don’t block hover events on the main image */
}

/* Each glitch layer references the same logo image */
.glitch__layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('logo/TQL LOGO 2-01.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease; /* Smooth transition on hover */
}

/* Show layers on hover for a more intense glitch effect */
.herologo.glitch .glitch__layer {
  opacity: 1;
}

/*********************************************
  ANIMATION & KEYFRAMES
*********************************************/
/* Layer 1 */
.glitch__layer:nth-child(1) {
  mix-blend-mode: screen;
  transform: translate(0);
  animation: glitch-anim-1 2s infinite linear alternate;
}

/* Layer 2 */
.glitch__layer:nth-child(2) {
  mix-blend-mode: overlay;
  transform: translate(0);
  animation: glitch-anim-2 2.3s infinite linear alternate;
}

/* Layer 3 */
.glitch__layer:nth-child(3) {
  mix-blend-mode: lighten;
  transform: translate(0);
  animation: glitch-anim-flash 1s infinite linear;
}

/*********************************************
  KEYFRAMES
*********************************************/
@keyframes glitch-anim-1 {
  0% {
    clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
    transform: translate(-2px, -2px);
  }
  20% {
    clip-path: polygon(0 10%, 100% 10%, 100% 13%, 0 13%);
    transform: translate(2px, -2px);
  }
  40% {
    clip-path: polygon(0 20%, 100% 20%, 100% 23%, 0 23%);
    transform: translate(-2px, 2px);
  }
  60% {
    clip-path: polygon(0 30%, 100% 30%, 100% 33%, 0 33%);
    transform: translate(2px, 2px);
  }
  80% {
    clip-path: polygon(0 40%, 100% 40%, 100% 43%, 0 43%);
    transform: translate(-2px, -2px);
  }
  100% {
    clip-path: polygon(0 50%, 100% 50%, 100% 53%, 0 53%);
    transform: translate(0, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip-path: polygon(0 52%, 100% 52%, 100% 55%, 0 55%);
    transform: translate(2px, 2px);
  }
  20% {
    clip-path: polygon(0 62%, 100% 62%, 100% 65%, 0 65%);
    transform: translate(-2px, 2px);
  }
  40% {
    clip-path: polygon(0 72%, 100% 72%, 100% 75%, 0 75%);
    transform: translate(2px, -2px);
  }
  60% {
    clip-path: polygon(0 82%, 100% 82%, 100% 85%, 0 85%);
    transform: translate(-2px, -2px);
  }
  80% {
    clip-path: polygon(0 92%, 100% 92%, 100% 95%, 0 95%);
    transform: translate(2px, 2px);
  }
  100% {
    clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
    transform: translate(0, 0);
  }
}

@keyframes glitch-anim-flash {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

/* Center the logo on larger screens */
@media (min-width: 992px) {
  .herologo.glitch {
    display: inline-block;
    margin: 0 auto 2rem !important; /* 2rem bottom margin for spacing */
  }
}


/******** Registration Section ********/
.registration-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* The background container */
  .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  /* Fallback background image if video fails */
  .bg-image {
    width: 100%;
    height: 100%;
    background: url("twerkqueen/twerkqueen5.jpeg") center center / cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2; /* behind the video */
  }
  
  /* Blurred video overlay */
  #background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
  }
  
  /******** Content Container ********/
  .content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 1300px;
    padding: 40px 0;
    margin-top: 80px;
  
  }
  
  /* Left side text / instructions (centered vertically) */
  .content-text {
    width: 80%;
    color: #fff;
    text-align: left;
  }
  
  .content-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
 
    margin-bottom: 20px;

  }

  .twerk{
    font-family: 'Poiret One', cursive;
    letter-spacing: 8px;
    font-size: 4.5rem;
  }
  
  .content-text p {
    font-size: 1.2rem;
    color: #f7f7f7;
    line-height: 1.6;
  }
  
  /******** Glass Morph Form Container ********/
  .form-container.glass-morph {
    width: 80%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }
  
  /* Form Title */
  .form-container h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 800;
  }
  
  /* Form Groups */
  .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  }
  
  .form-group label {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #eee;
  }
  
  /* Inputs */
  .form-group input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
  }
  .form-group input:focus {
    border-color: #fa583f;
  }
  
  /* Passport photo instructions */
  .instruction-text {
    font-size: 0.85rem;
    color: #ff8080;
    margin-top: 5px;
  }
  
  /* Submit Button */
  .submit-btn {
    background-color: #fa583f;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
    width: 100%;
  }
  .submit-btn:hover {
    background-color: #b93a36;
    transform: scale(1.02);
  }
  
/* From Uiverse.io by Cksunandh */ 
.file-upload-container {
    width: 100%;
    max-width: 500px;

  }
  
  .file-upload {
    position: relative;
    border: 2px dashed #b8bcbf;
    border-radius: 10px;
    padding: 40px;
    text-align: center !important;
    background-color: rgb(255, 255, 255);
    transition: background-color 0.3s ease-in-out;
  }
  
  .file-upload:hover {
    background-color: #e2e6ea;
  }
  
  .file-input {
    display: none;
  }
  
  .file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
  }
  
  .upload-icon {
    font-size: 50px;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .file-upload p {
    margin: 0;
    font-size: 16px;
    color: #6c757d;
  }
  
  .file-upload.dragover {
    background-color: #007bff;
    color: white;
  }
  



  /********** MEDIA QUERIES **********/
  @media (max-width: 992px) {
    .content-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .content-text {
      width: 100%;
      padding-right: 0;
      margin-bottom: 30px;
      text-align: center;
    }
    .form-container.glass-morph {
      width: 100%;
   
    }
    .content-text h1 {
      font-size: 2.5rem;
    }

    .twerk{
  
        letter-spacing: 6px;
        font-size: 3.5rem;
      }
  }
  
  @media (max-width: 576px) {
    .content-text h1 {
      font-size: 2rem;
    }
    .content-text p {
      font-size: 1rem;
    }
    .form-container h2 {
      font-size: 1.6rem;
    }
  }




  


/* FOOTER SECTION */
.footer-section {
    background-color: #000;
    color: #fff;
    padding: 60px 30px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    position: relative;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  
  /* Left Side: Text */
  .footer-left {
    flex: 1 1 50%;
    margin-right: 30px;
  }
  
  .footer-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fa583f; /* Accent color */
  }
  
  .footer-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ddd;
  }
  
  .footer-email {
    font-size: 1.2rem;
    color: #fa583f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .footer-email:hover {
    color: #fff;
  }
  
  /* Right Side: Location & Social Links */
  .footer-right {
    flex: 1 1 50%;
  }
  
  .footer-studio {
    margin-bottom: 20px;
  }
  
  .footer-location-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fa583f;
  }
  
  .footer-location {
    font-size: 1rem;
    color: #ddd;
  }
  
  .footer-social {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
  }
  
  .social-icon {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
  }
  
  .social-icon:hover {
    color: #fa583f;
  }
  
  /* Footer Navigation */
  .footer-nav {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    
  }
  
  .footer-nav-link {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .footer-nav-link:hover {
    color: #fa583f;
  }
  
  /* Footer Copyright */
  .footer-copyright {
    font-size: 0.9rem;
    color: #ddd;
  }
  
  /* RESPONSIVE STYLES */
  @media screen and (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      align-items: center;
    }
  
    .footer-left, .footer-right {
      flex: 1 1 100%;
      text-align: center;
      margin-bottom: 20px;
    }
  
    .footer-nav {
      flex-direction: column;
      align-items: center;
    }
  
    .footer-nav-link {
      margin: 10px 0;
    }
  
    .hidden{
      display: none;
    }
  
    .footer-social {
      /* If you'd like them stacked vertically, use a column layout:
         flex-direction: column; 
         align-items: center; 
      */
  
      /* Or keep them in a row but with bigger spacing: */
      gap: 25px; /* Increase gap on mobile for extra space */
      /* You can also adjust justify-content or wrap them if needed */
    }
  
  }
  
  
  /* From Uiverse.io by ArturCodeCraft */
  
  /* RESET STYLES */
  a {
    text-decoration: none;
  }
  
  /* MAIN STYLE */
  .scroll-up {
    position: fixed;        /* Ensure it's always visible on scroll */
    right: 3rem;
    bottom: -50%;          /* Initially hidden by positioning off-screen */
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: #fa583f; /* Updated color */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: bottom 0.4s, transform 0.4s;
  }
  
  /* Hover effect */
  .scroll-up:hover {
    transform: translateY(-0.25rem);
  }
  
  /* Class to show the button */
  ._show-scroll {
    bottom: 3rem; /* Slide up into view */
  }
  
  /* Media Query for smaller screens */
  @media (max-width: 1199.98px) {
    .scroll-up {
      right: 1rem;
    }
  }