* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  
  color: white;
  background-image: url("images/back3\,jpg.jpg");
  background-size :cover;
  background-attachment: fixed;
}
.brain-rotate {
  position: absolute;
  right: 6%;
  top: 55%;
  transform: translateY(-50%);
  width: 200px;
  height: 0px;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
  margin-right: 45px;
}

.brain-rotate img {
  width: auto;
  height: 50vh;
  animation: spinBrain 18s linear infinite;
  filter: drop-shadow(0 0 25px rgba(255,79,216,0.6));
  
  
}

@keyframes spinBrain {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(180deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-12px); }
}
@media (max-width:1070px) {
  .brain-rotate {
    display: none;
  }
}



.hero-heading {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
}

/* Huge faint background word */
.bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  font-weight: 900;
  letter-spacing: 30px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.08);
  z-index: 0;
  user-select: none;
}

/* Main heading */
.hero-heading h1 {
  position: relative;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  z-index: 1;

  color: transparent;
  -webkit-text-stroke: 2px #111;

  transition: all 0.6s ease;
}

/* Hover reveal effect */
.hero-heading:hover h1 {
  color: #111;
  -webkit-text-stroke: 0px;
}


.header-wrapper {
  position: fixed;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 1000;
}


/* Navbar */
.navbar {
  pointer-events: auto;
  background: rgba(33, 22, 22, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid white;
  padding: 10px 28px;
  border-radius: 50px;
  box-shadow: 0px 2px 1px white;
  height: 60px;
  align-items: center;
  
}

.navbar nav {
  display: flex;
  gap: 18px;
  
}

.navbar nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bolder;
}

.navbar nav a:hover {
  background: rgba(255, 79, 216, 0.25);
  color: #ff4fd8;
}


/*logos*/
.side-logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.left-logo {
  left: 40px;
}

.right-logo {
  right: 40px;
}

.side-logo img {
  height: 45px;
  transition: transform 0.3s ease;
}

.side-logo img:hover {
  transform: scale(1.1);
}



/* Hero */
.hero {
  text-align: center;
  padding: 90px 20px;
  height: 100vh;
  line-height: 50px;
  margin-top: 5vh;
}

.hero h1 {
  font-size: 3.8rem;
  text-shadow: 5px 8px 8px rgba(166, 115, 147, 0.4);
  overflow: hidden;
  
}

.hero h2 {
  color: #ff4fd8;
  margin: 10px 0;
  font-size: 2.8rem;
  
}

.hero p {
  margin-bottom: 20px;
}

.btn {
  background: #ff4fd8;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}


/* Sections */
section {
  padding: 70px 10%;
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #ff4fd8;
}

/* About */
.about-card {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 15px;
  max-width: 800px;
  margin: auto;
  text-align: center;
  line-height: 35px;
}
.glow-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  color: white;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 0 15px rgba(106, 17, 203, 0.5);
}

.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(37, 117, 252, 0.8);
}


/* Domains */
.domains-section {
  padding: 120px 8%;
  min-height: 100vh; /* ⬅ makes section big */
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  color: #ff4fd8;
  margin-bottom: 70px;
}

/* Grid */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Domain card */
.domain-name{
  color:whitesmoke;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
}
.domain-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.domain-card:hover {
  transform: translateY(-15px) scale(1.04);
  box-shadow: 0 35px 80px rgba(255,79,216,0.35);
}

/* Main icon */
.domain-icon {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

/* Title */
.domain-card h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

/* Sub icons / tags */
.domain-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.domain-tags span {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 20px;
  background: rgba(255,79,216,0.15);
  color: #ffb3eb;
}


/* Events */
/* Slider Container */
.slider {
  position: relative;        /* ✅ NOT absolute */
  width: 500px;
  height: 500px;
  margin: 0 auto;            /* ✅ center horizontally */
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  border-radius: 20px;
}


.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05); /* subtle focus */
}


/* Image sizing */
.slide img {
    margin-top: 20px;
  width: auto;
  height: auto;
  max-width: 420px;   /* ⬆️ BIGGER */
  height: 420px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); /* depth */
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 14px 18px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.prev { left: 25%; }
.next { right: 25%; }




/* Caption */
.caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 22px;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
  background: rgba(255,79,216,0.8);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.dots span {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
}

.dots span.active {
  background: #ff4fd8;
}

/* Mobile */

/* Hamburger button */
.menu-toggle {
  display: none;       /* hidden by default */
  font-size: 24px;
  color: white;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
  align-self: flex-end;
}


  @media screen and (max-width: 768px) {
  .navbar {
    background: linear-gradient(
      180deg,
      rgba(20, 10, 40, 0.92),
      rgba(35, 15, 70, 0.92)
    );
    border: 1px solid rgba(255, 79, 216, 0.4);
    box-shadow: 0 15px 40px rgba(255, 79, 216, 0.25);
  }

  .navbar nav {
    display: none;                /* hide nav initially */
    flex-direction: column;
    gap: 10px;
    width: 100%; 
               /* take full width */
  }

  .navbar nav.active {
    
    display: flex;
   background: linear-gradient(
      180deg,
      rgba(15, 5, 35, 0.95),
      rgba(30, 10, 60, 0.95)
    );
    padding: 14px 0;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    border: 1px solid white;
    padding: 10px 28px;
    border-radius: 50px;
    box-shadow: 0px 2px 1px white;
    
    border-radius: 20px;  
    z-index: 1000;
    padding: 10px 10px;             /* show nav when active */
  }

  .menu-toggle {
    display: block;               /* show hamburger */
    margin-bottom: 10px;
     
  }
  .hero{
    line-height: 50px;
  }
  .hero h1{
    font-size: 2.2rem;
  }
  .hero h2{
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .slides {
    height: 250px;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 10%;
  background: rgba(0,0,0,0.4);
}

.socials a {
  margin: 0 10px;
  font-size: 22px;
  text-decoration: none;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  
  .navbar nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .slider {
    height: 500px;
    width:80%;
  }

  .slide img {
    max-width: 85vw;
    max-height: 75vh;
  }

  .prev { left: 10px; }
  .next { right: 10px; }
}

@media (max-width: 768px) {
  .side-logo img {
    height: 35px;
  }

  .left-logo {
    left: 15px;
  }

  .right-logo {
    right: 15px;
  }

  .navbar nav a {
    font-size: 12px;
    padding: 5px 9px;
  }
}

@media (max-width: 768px) {
  .domains-section {
    padding: 90px 6%;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .domain-card {
    padding: 35px 25px;
  }
}




/* animations */
/*pverall smoothness of page*/
html {
  scroll-behavior: smooth;
}

* {
  transition: all 0.3s ease-in-out;
}
/*hero section*/
.hero h1,
.hero h2,
.hero p,
.hero .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.hero h2 { animation-delay: 0.2s; }
.hero p { animation-delay: 0.4s; }
.hero .btn { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*buttons*/
.btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(255,79,216,0.5);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255,79,216,0.7);
}

.btn::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 10%, transparent 40%);
  top: -50%;
  left: -50%;
  opacity: 0;
}

.btn:hover::after {
  opacity: 1;
}

/*navbar*/
.navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar:hover {
  background: rgba(0,0,0,0.45);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/*scroller*/
section {
  opacity: 0;
  transform: translateY(40px);
}

section.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}




/*registration page*/

.register-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.register-box {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  border-radius: 22px;
  padding: 35px 30px;
  text-align: center;
  animation: slideUp 1s ease;
}

.register-box h2 {
  margin-bottom: 10px;
}

.register-box p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 25px;
}


.input-group {
  position: relative;
  margin-bottom: 22px;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 12px 10px;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.5);
  color: black;
  font-weight: bolder;
  outline: none;
  font-size: 1rem;
  
}

.input-group label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.3s;
  opacity: 0.7;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label {
  top: -8px;
  font-size: 0.75rem;
  opacity: 1;
}

textarea {
  resize: none;
}

.full {
  width: 100%;
  margin-top: 10px;
}


.back-link {
  display: block;
  margin-top: 18px;
  color: #ff9ad5;
  text-decoration: none;
  font-size: 0.85rem;
}

/* ANIMATION (registration)*/
@keyframes slideUp {
  from {opacity: 0; transform: translateY(40px);}
  to {opacity: 1; transform: translateY(0);}
}
/*Success Box*/
.success-box {
  max-height: 0;
  overflow: hidden;
  background: #e6fffa;
  color: #065f46;
  border: 1px solid #34d399;
  padding: 0 20px;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: 600;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.success-box.show {
  max-height: 100px;
  padding: 15px 20px;
}
/*Error Box*/
.error-box {
 max-height: 0;
  overflow: hidden;
  background: red;
  color: white;
  border: 1px solid white;
  padding: 0 20px;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: 600;
  transition: max-height 0.5s ease, padding 0.5s ease;
}
.error-box.show {
  max-height: 100px;
  padding: 15px 20px;
}
