/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  color: white;
  overflow-x: hidden;
}

/* Header */
.header {
  background: linear-gradient(to right, #ffffff, #001f3f);
  padding: 15px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  height: 40px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.nav-menu a {
  color: white;
  
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: black;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Home Section */
.home {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

/* Animated Background Waves */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, #001f3f,black, #001f3f);
  background-size: 600% 600%;
  animation: waveAnimation 5s ease infinite;
  z-index: -1;
}

/* Wave Animation */
@keyframes waveAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Home Content */
.home-content {
  display: flex;
  width: 80%;
  justify-content: space-between;
  align-items: center;
}

/* Left Side - Text */
.left {
  width: 50%;
  margin-top: -100px;
}


.left h1 {
  font-size: 50px;
  background: linear-gradient(to right, #0074D9, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.left p{
  font-size: 20px;
  text-align: justify;
  line-height: 1.5;
}

/* Right Side - Event Logo */
.right {
  width: 40%;
  display: flex;
  margin-top:-190px;
  justify-content: center;
}

.right img {
  max-width: 100%;
  height: auto;
  animation: fadeIn 2s ease-in-out, pulse 2s infinite ease-in-out;
}

/* Fade-in Animation (First Load) */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pulse Animation (Infinite Loop) */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); } /* Slightly enlarges */
  100% { transform: scale(1); }
}


/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
      display: none;
      flex-direction: column;
      background: #001f3f;
      position: absolute;
      top: 60px;
      right: 0;
      width: 200px;
      padding: 10px;
      box-shadow: -2px 2px 5px rgba(255, 255, 255, 0.2);
      z-index: 1;

      
  }


  .logo img {
    height: 5px;
  }

  .left , .right{
    margin-top:auto;
  }

  .nav-menu a {
      display: block;
      padding: 6px;
      border-bottom: 1px solid #0074D9;
  }

  .menu-toggle {
      display: block;
  }

  .logo img {
      height: 50px;
  }

  /* Responsive Home Section */
  .home-content {
      flex-direction: column;
      text-align: center;
  }

  .left, .right {
      width: 100%;
  }

  .left h1 {
      font-size: 40px;
  }

  .left p {
      font-size: 18px;
  }
}





/* General Section Styling */
.memories {
  position: relative;
  background: #001f3f;
  max-height: auto;
  padding: 50px 20px;
  text-align: center;
  overflow: hidden;
}

/* Section Title */
.memories h2 {
  font-size: 20px;
  color: #00d9ff;
  z-index: 2;
  margin-bottom: 40px;
}

/* Circuit Line Animation */
.circuit-line {
  position: absolute;
  width: 2px;
  height: 100vh;
  background: linear-gradient(to bottom, #001f3f, #00d9ff);
  opacity: 0.7;
  animation: moveLines 5s linear infinite;
  z-index: 0;
}

/* Circuit Lines Placement */
.circuit-line:nth-child(1) { left: 5%; animation-duration: 4s; }
.circuit-line:nth-child(2) { left: 15%; animation-duration: 5s; }
.circuit-line:nth-child(3) { left: 25%; animation-duration: 6s; }
.circuit-line:nth-child(4) { left: 35%; animation-duration: 4.5s; }
.circuit-line:nth-child(5) { left: 45%; animation-duration: 5.5s; }
.circuit-line:nth-child(6) { left: 55%; animation-duration: 4.2s; }
.circuit-line:nth-child(7) { left: 65%; animation-duration: 5.8s; }
.circuit-line:nth-child(8) { left: 75%; animation-duration: 4.9s; }
.circuit-line:nth-child(9) { left: 85%; animation-duration: 6.1s; }
.circuit-line:nth-child(10) { left: 95%; animation-duration: 4.3s; }

/* Animation for Circuit Lines */
@keyframes moveLines {
  0% { transform: translateY(-100vh); opacity: 0.6; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Gallery Section */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 90%;
  margin: auto;
  padding-top: 20px;
}

/* Gallery Items */
.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  z-index: 1;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

/* Hover Effects */
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .memories h2 {
    font-size: 30px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}


/* About School Section */
.aboutschool {
  position: relative;
  background: url('campus.png') no-repeat center center/cover; /* Replace with your actual image */
  backdrop-filter: blur(100px);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* Overlay to make text readable */
.aboutschool .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 0;
}

/* Content Styling */
.about-content {
  position: relative;
  max-width: 800px;
  padding: 20px;

}

/* Heading */
.about-content h1 {
 color:white;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Paragraph */
.about-content p {
  font-size: 18px;
  line-height: 1.6;
  color:black;
  text-shadow: 0 0 5px rgb(255, 255, 255);
  text-align: justify;

}

/* Responsive */
@media (max-width: 768px) {
  .aboutschool {
      height: auto;
  }
  
  .about-content h2 {
      font-size: 30px;
  }

  .about-content p {
      font-size: 16px;
      color:black;
  }
}

.heading{
    font-size: 50px;
    margin-bottom: -30px;
    padding-bottom: 30px;

  color:white;
  text-shadow: 2px 2px 10px #001f3f;


  
}

.text {
  color: white;
  font-size: 20px;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.7); /* Soft shadow for better readability */
  text-align: justify;
  margin-left: 40px;
  margin-right: 40px;
}




.dean-message {
  display: flex;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #001f3f, #000000); /* Dark Blue to Black */
  padding: 30px 10%;
  gap: 40px;
  color: white;
  flex-wrap: wrap; /* Makes it responsive */
}

.dean-image img {
  width: 300px; /* Adjust size */
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}

/* Pulse Animation */
@keyframes pulse {
  from {
      transform: scale(1);
     
  }
  to {
      transform: scale(1.05);
   
  }
}

.dean-text {
  max-width: 600px;
  font-size: 20px;
  text-align: left;
}

/* Heading Styling */
.dean-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dean-message {
      flex-direction: column;
      text-align: center;
  }

  .dean-text {
      text-align: center;
  }
}



.sponsors {
  text-align: center;
  padding: 60px 10%;
  background: linear-gradient(to right, #000000, #001f3f); /* Black to Dark Blue */
  color: white;
}

.sponsors h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* Sponsor Grid */
.sponsor-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 sponsors per row */
  gap: 30px;
  justify-content: center;
}

/* Sponsor Images */
.sponsor img {
    width: 100%;
    /*max-width: 200px;*/
    height: auto;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
    .sponsor img:hover {
  transform: scale(1.1);
  box-shadow: 0px 0px 20px rgba(0, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sponsor-container {
      grid-template-columns: repeat(2, 1fr); /* 2 sponsors per row on mobile */
      gap: 20px;
  }
}



/* Event Section Styling */
.event-timeline, .event-tracks {
  position: relative;
  text-align: center;
  padding: 60px 10%;

  background: linear-gradient(to right, #000000, #001f3f); /* Black to Dark Blue */
  color: white;
  overflow: hidden;
}

/* Headings */
.event-timeline h2, .event-tracks h2, .headings {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 255, 255, 0.7);
}

/* Circuit Line Animation */
.circuit-line {
  position: absolute;
  width: 2px;
  height: 100vh;
  background: linear-gradient(to bottom, #001f3f, #00d9ff);
  opacity: 0.7;
  animation: moveLines 5s linear infinite;
  z-index: 0;
}

/* Circuit Line Animation */
.circuit-line {
  position: absolute;
  width: 2px;
  height: 100vh;
  background: linear-gradient(to bottom, #001f3f, #00d9ff);
  opacity: 0.7;
  animation: moveLines 5s linear infinite;
  z-index: 0;
}

/* Ensure Circuit Lines Cover Both Sides Evenly */
.circuit-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}



/* Animation */
@keyframes moveLines {
  0% { transform: translateY(-100%); opacity: 0.4; }
  100% { transform: translateY(100%); opacity: 0.9; }
}

/* Responsive Fix */
@media (max-width: 768px) {
  .circuit-line {
      height: 50vh;
      opacity: 0.5;
  }
}


/* General Panel Styling */
.panel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.panel {
  background: rgba(0, 31, 63, 0.85); /* Dark Blue Transparent */
  border: 2px solid #00d9ff; /* Neon Blue Border */
  padding: 20px;
  border-radius: 10px;
  width: 50%;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 0 10px #00d9ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #00d9ff;
}

/* Special Styling for Grand Prize */
.grand-prize {
  background: rgba(0, 50, 100, 0.95); /* Slightly Brighter for Focus */
  border: 3px solid #ffcc00; /* Gold Border */
  font-size: 1.2em;
  box-shadow: 0 0 20px #ffcc00;
}

/* Highlight Date */
.highlight-panel {
  background: rgba(0, 50, 100, 0.9);
  border: 2px solid #00ffcc;
  font-size: 1.1em;
  box-shadow: 0 0 15px #00ffcc;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .panel {
      width: 90%;
  }
}




/* Meet Our Team Section */
.meet-our-team {
  text-align: center;
  padding: 60px 10%;
  background: linear-gradient(to right,  #001f3f,#000000); /* Black to Dark Blue */
  color: white;
}

/* Heading */
.meet-our-team h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 10px rgba(0, 255, 255, 0.7);
}

/* Team Container */
.team-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Team Member Cards */
.team-member {
  background: rgba(0, 31, 63, 0.85);
  border: 2px solid #00d9ff;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  text-align: center;
  box-shadow: 0 0 10px #00d9ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #00d9ff;
}

/* Team Member Images */
.team-member img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid #00d9ff;
  box-shadow: 0 0 10px #00d9ff;
  transition: transform 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.05);
}

/* Member Name */
.team-member h3 {
  margin-top: 15px;
  font-size: 22px;
  color: #00d9ff;
}

/* Member Description */
.team-member p {
  font-size: 16px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }
  
  .team-member {
    width: 90%;
  }
}




/* Brochure Section */
.brochure-section {
  text-align: center;
  padding: 60px 10%;
  background: linear-gradient(to right, #000000, #001f3f); /* Black to Dark Blue */
  color: white;
}

/* Section Heading */
.brochure-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 255, 255, 0.7);
}

/* Brochure Container */
.brochure-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Brochure Images */
.brochure-container img {
  width: 100%;
  max-width: 900px; /* Ensures full visibility */
  height: auto;
  border-radius: 10px;
  border: 3px solid #00d9ff;
  box-shadow: 0 0 15px #00d9ff;
  transition: transform 0.3s ease;
}

.brochure-container img:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .brochure-container {
    flex-direction: column;
    align-items: center;
  }
  
  .brochure-container img {
    width: 100%;
  }
}



/* FAQ Section */
.faq-section {
  text-align: center;
  padding: 60px 10%;
  background: linear-gradient(to left, #000000, #001f3f);
  color: white;
}

/* Section Heading */
.faq-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 255, 255, 0.7);
}

/* FAQ Container */
.faq-container {
  max-width: 800px;
  margin: auto;
}

/* FAQ Item */
.faq-item {
  background: rgba(0, 31, 63, 0.85);
  border: 2px solid #00d9ff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 0 10px #00d9ff;
  overflow: hidden;
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: rgba(0, 217, 255, 0.3);
}

/* FAQ Answer (Hidden by Default) */
.faq-answer {
  display: none;
  padding: 15px;
  border-top: 1px solid #00d9ff;
  text-align: left;
}

/* FAQ Active State */
.faq-item.active .faq-answer {
  display: block;
}




/* Contact Section */
.contact-section {
  background: linear-gradient(to right, #000000, #001f3f);
  color: white;
  padding: 50px 10%;
  text-align: left;
}

/* Contact Container */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Left & Right Sections */
.contact-left, .contact-right {
  width: 45%;
  min-width: 280px;
}

/* Section Headings */
.contact-left h2, .contact-right h2 {
  font-size: 24px;
  color: #00d9ff;
  margin-bottom: 10px;
}

/* Contact Details */
.contact-left p, .contact-right p {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Phone Links */
.contact-left a {
  color: #00d9ff;
  text-decoration: none;
  font-weight: bold;
}

.contact-left a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  background: #000000;
  color: white;
  padding: 15px 0;
  margin-top: 20px;
  font-size: 16px;
  border-top: 2px solid #00d9ff;
}
 


/* Register Button Container */
.register-container {
  text-align: center;
  margin: 40px 0;
z-index: 1;
}

/* Stylish Glowing Button */
.register-button {
  display: inline-block;
  background: linear-gradient(45deg, #00d9ff, #001f3f);
  color: white;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 15px #00d9ff;
  transition: all 0.3s ease-in-out;
  border: 2px solid #00d9ff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Button Hover Effect */
.register-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #00d9ff;
  background: linear-gradient(45deg, #001f3f, #00d9ff);
}

/* Animated Glow Effect */
@keyframes glow {
  0% { box-shadow: 0 0 10px #00d9ff; }
  50% { box-shadow: 0 0 20px #00d9ff; }
  100% { box-shadow: 0 0 10px #00d9ff; }
}

.register-button {
  animation: glow 2s infinite alternate;
}



/* Register Button Container */
.register-container {
  text-align: center;
  margin: 40px 0;
}

/* Stylish Glowing Button */
.register-button {
  display: inline-block;
  background: linear-gradient(45deg, #00d9ff, #001f3f);
  color: white;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 15px #00d9ff;
  transition: all 0.3s ease-in-out;
  border: 2px solid #00d9ff;
  position: relative;
  overflow: hidden;
}

/* Button Hover Effect */
.register-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #00d9ff;
  background: linear-gradient(45deg, #001f3f, #00d9ff);
}

/* Animated Glow Effect */
@keyframes glow {
  0% { box-shadow: 0 0 10px #00d9ff; }
  50% { box-shadow: 0 0 20px #00d9ff; }
  100% { box-shadow: 0 0 10px #00d9ff; }
}

.register-button {
  animation: glow 2s infinite alternate;
}

.registerr{
  background-color:black;
  padding:10px;
  border-radius: 20px;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #00d9ff, #0074D9); /* Smooth gradient */
  color: rgb(0, 0, 0);
  padding: 15px 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border: none;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hover Effect */
#back-to-top:hover {
  background: linear-gradient(135deg, #0074D9, #00d9ff);
  box-shadow: 0 0 20px rgba(0, 217, 255, 1);
  transform: scale(1.1);
}

/* Smooth Pop-up Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Apply Animation */
#back-to-top {
  animation: fadeIn 0.5s ease-in-out;
}
