@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');
* {
  padding: 0;
  margin: 0;
}

body {
    font-family: 'Poppins';
    background-color: #f4f7ff;
    overflow-x: hidden;
}

/* NAV BAR */

.header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  /* Remove opacity: 0; here, let the animation handle visibility */
  animation: navDrop 0.8s ease forwards;
}

@keyframes navDrop {
    0% { transform: translateY(-40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.nav {
  width: 100%;
  background-color: #0056b3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  box-sizing: border-box;
}

.nav_brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav_logo {
  height: 40px;
  width: auto;
}

.nav_brand span {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  font-weight: 300;
}

h2 {
  font-weight: 700;
}

h3 {
  font-weight: 600;
}

/* Hero - Heading */
.hero {
  background-image: url(Images/bg2.png);
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; 
  position: relative;
  overflow: hidden;
  animation: navDrop 0.8s ease forwards;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero h1 {
  font-size: 3em;
  color: #ffc107; 
  margin-bottom: 0.4em;
  font-weight: 700;
  line-height: 1.1;
  animation: navDrop 1s ease forwards;
}

.sub-text {
  color: #ffffff;
  animation: navDrop 1.2ss ease forwards;
}

.hero p {
  font-size: 1.15em;
  color: #ffffff; 
  line-height: 1.4;
  margin-bottom: 0.4em;
}

@media screen and (max-width: 768px) {
  .hero-section {
    min-height: 50vh; 
    padding: 40px 15px;
  }

  .hero h1 {
  font-size: 1.9em;
  color: #ffde59; 
  margin-bottom: 0.4em;
  font-weight: 700;
  line-height: 1.1;
}
  .hero p {
    font-size: 1.1em;
    color: #ffffff; 
    line-height: 1.4;
    margin-bottom: 0.4em;
  }
}

@media screen and (max-width: 768px) {
  .hero p {
    font-size: 0.9em;
  }
}

.btn-primary {
  display: inline-block; 
  text-decoration: none; 
  margin-top: 25px;  
  padding: 12px 30px; 
  border-radius: 10px; 
  background-color: #001270; 
  color: #fff; 
  border: 1px solid #001270; 
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.5px; 
  transition: all 1s;
}

.btn-primary:hover{
  background-color: transparent;
  border-color: #001270;
  cursor: pointer; 

}

.btn-primary:focus {
  background-color: transparent;
  border-color: #001270;
  cursor: pointer; 
}

.btn-primary2 {
  display: inline-block; 
  text-decoration: none; 
  margin-top: 25px;  
  padding: 12px 30px; 
  border-radius: 10px; 
  background-color: #001270; 
  color: #fff; 
  border: 1px solid #001270; 
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.5px; 
  transition: all 1s;
}

.btn-primary2:hover{
  background-color: transparent;
  border-color: #001270;
  cursor: pointer;
  color: #000000; 

}

.btn-primary2:focus {
  background-color: transparent;
  border-color: #001270;
  cursor: pointer; 
}
/* Overview Section */
.overview {
    /* Layout */
    display: flex;
    flex-direction: column; /* Stacks items vertically on small screens */
    align-items: center;
    padding: 60px 5%; /* Generous padding on top/bottom, 5% on sides */
    margin: 40px auto;
    max-width: 1100px; /* Constrains width on large screens for readability */
    background-color: #ffffff; /* White background for the main content area */
    border-radius: 19px; /* Subtle rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
}

/* --- Heading Styling --- */
.overview h2 {
    font-size: 2em; 
    color: #001270; 
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px; /* Space for the underline */
}


/* --- Image Styling --- */
.overview img {
    width: 100%; /* Full width within the section container */
    max-width: 500px; /* Constrain max size for balance */
    height: auto;
    margin: 30px 0;
    border-radius: 8px; /* Matches section's border-radius */
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Slight shadow to lift the image */
}

/* --- Paragraph Styling --- */
.overview p {
    font-size: 1.1em;
    color: #000000; /* Slightly softer text color than the heading */
    text-align: justify; /* Centers the text for an engaging section */
    margin-bottom: 20px;
    max-width: 800px; /* Optimal line length for reading */
}

/* --- Media Query for Larger Screens (Optional: If you want text next to image) --- */
@media (min-width: 900px) {
    .overview {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns: Image | Text */
        gap: 40px;
        align-items: start;
        text-align: left; /* Align text left in the grid */
    }

    .overview h2 {
        grid-column: 1 / -1; /* Make the heading span both columns */
        text-align: center;
    }
    
    .overview h2::after {
        left: 50%;
    }

    .overview img {
        margin: 0;
        grid-column: 1 / 2; /* Place image in the first column */
    }

    .overview p {
        text-align: justify; /* Align text left in the second column */
        margin: 0;
        grid-column: 2 / 3; /* Place text in the second column */
        max-width: 100%;
        font-size: 1.1em;
    }
}

/* About Section */
.about {
  background-color: #000000;
}

.about h2 {
  font-size: 2em;
  padding-top: 10%;
  margin-bottom: 0%;
  text-align: center;
  color: #ffffff;
}

.about p {
  font-size: 1.1em;
  color: #ffffff;
  line-height: 1.6;
  padding: 4%;
  padding-top: 1%;
  text-align: justify;
  padding-bottom: 7%;
}

.sub-text2 {
  color: #ffc107;
}

/* Eligibility Section */
.eligibility h2 {
  font-size: 2em;
  padding-top: 10%;
  margin-bottom: 0%;
  text-align: center;
  color: #001270;
}

.description {
  font-size: 0.85rem;
  color: #000000;
  padding-top: 0;
  text-align: center;
  padding-bottom: 1.5%;
}

.box-container {
  max-width: 800px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box {
  width: 100%;
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px #05031d;
  overflow: hidden;
}

.box-header {
  background-color: #001270;
  color: #fff;
  padding: 15px;
  text-align: center;
}

.box-header h3 {
  margin: 0;
  font-size: 1.2em;
  color: #fff;
  padding: 15px;
  text-align: center;
}

.box-body {
  color: #000000;
  padding: 20px;
  line-height: 1.6;
  text-align: center;
}

/* Criteria Section */
.criteria h2 {
  font-size: 2em;
  padding-top: 10%;
  margin-bottom: 0;
  text-align: center;
  color: #001270;
}

.shape {
  width: 90%;
  padding-bottom: 15px;
  margin: auto;
  background: #001270;
  color: #ffffff;
  border: 3px solid #dae6ff;
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);

}

/* Timeline Section */
.timeline-head h2 {
  font-size: 2em;
  padding-top: 10%;
  margin-bottom: 0;
  text-align: center;
  color: #001270;
}

.timeline {
  width: min(90%, 900px);
  margin: 40px auto;
  position: relative;
  padding-top: 0%;
}

.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 25px; 
  position: relative;
  margin: clamp(30px, 5vw, 50px) 0;
}

.timeline-row.right {
  justify-content: flex-start;
  padding-left: 50%;
}

.timeline-row.left {
  justify-content: flex-end;
  padding-right: 50%;
}

.card {
  width: clamp(240px, 35vw, 330px);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.card h3 {
  margin: 0;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  color: #111827;
}

.card p {
  margin-top: 6px;
  font-size: 1.1em;
  color: #4b5563;
}

.dot {
  width: clamp(16px, 2vw, 20px);
  height: clamp(16px, 2vw, 20px);
  border-radius: 50%;
  margin-top: 10px; 
  flex-shrink: 0; 
}

.blue { background: #1e9cff; }
.orange { background: #ff6145; }
.green { background: #7dc540; }
.purple { background: #7e5fff; }

@media (max-width: 700px) {
  .timeline-row.right {
    padding-left: 40%
  }

  .timeline-row.left {
    padding-right: 40%
  }

  .card {
    width: 100%
  }

  .dot {
    margin-top: 10px
  }
}

/* Prizes Section */
.prizes-section {
    padding-top: 10%;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.prizes-title {
    font-size: 2.5em;
    color: #001270;
    margin-bottom: 40px;
}

.prize-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}


.prize-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: left;
    display: flex; 
    flex-direction: column;
}

.prize-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: #001270; 
    font-size: 1.8em;
    margin-top: 0;
}

.prize-description {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}

.prize-features {
    list-style: none; 
    padding: 0;
    margin-bottom: auto; 
}

.prize-features li {
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
    color: #444;
}

.prize-features li::before {
    content: "✅"; 
    margin-right: 10px;
}

.register-button {
    display: block; 
    margin-top: 25px;
    padding: 12px 20px;
    background-color: #28a745; 
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    text-align: center;
}

.register-button:hover {
    background-color: transparent;
    color: #000000;
    border: 1px solid #000000;
}

.bonus-text {
    font-size: 1.1em;
    color: #555;
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
}

.bonus-text strong {
    color: #dc3545; 
    font-size: 1.1em;
}


.grand-winner {
    border: 3px solid #ffc107; 
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.2);
}

.grand-winner .card-title {
    color: #ffc107;
}

/* ----- FAQ Section ----- */
.faq-container {
    width: 100%;
    margin: 0%;
    padding-bottom: 10%;
}

.faq h2 {
    color: #001270;
    font-size: 1.8rem;
    margin-bottom: 3%;
    text-align: center;
}

.faq-question {
    width: 100%;
    padding: 15px;
    background: #001270;
    color: #ffffff;
    border: 1px solid #fff;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.faq-answer p {
    padding: 15px;
    font-size: 1.1em;
    margin: 0;
    color: #001270;
}

.faq-question.active .arrow {
    transform: rotate(45deg);
}

/* ----- Footer Section ----- */
.footer {
  background-color: #0b0b14;
  padding-left: 3%;
  margin: 0%;
  margin-top: 3%;
}

.footer h2 {
  padding-top: 50px;
  padding-left: 1.5%;
  padding-bottom: 1%;
  color: #FFD700;
  font-size: 1.4rem;
}

.quick-links a {
  color: #eee;
  text-decoration: none;
  padding: 1px 1.5%;
  font-size: 1.2rem;
}

ul {
  list-style: none;
}

i {
  color: #ffffff;
  text-decoration: none;
  padding-left: 1.5%;
  padding-right: 1.3px;
  padding-bottom: 5px;
  font-size: 1.2rem;
}

span {
  color: #ffffff;
}

hr {
  width: 95%;
  margin: auto;
}

.foot {
  color: white;
  text-align: center;
  padding-top: 2%;
  padding-bottom: 2%;
}
