/* --- Basic Reset and Typography --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  /* Light background for the whole page */
  color: #333;
}

h1,
h2 {
  margin-top: 0;
}

/* --- Header Styles (Sticky Navigation) --- */
header {
  width: 100%;
  background: white;
  padding: 8px 25px;
  /* Use percentage for responsiveness */
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* color: white; - REMOVED: Links should be visible */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
}

.logo img {
  height: 60px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: rgb(26, 1, 1);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  /* Added bold to match HTML */
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0f9d58;
}

/* Gooey Button Base (Shared Styles) */
.gooey {
  position: relative;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  isolation: isolate;
}

/* Enquiry Button */
.btn-enquiry {
  background: #0056d2;
  /* ocean blue */
  color: white;
}

.btn-enquiry::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: white;
  border-radius: 40%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.6s ease;
  z-index: -1;
}

.btn-enquiry:hover {
  color: #0056d2;
  border: 2px solid ;
}

.btn-enquiry:hover::before {
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

/* Login Button */
.btn-login {
  background: white;
  color: #0056d2;
  border: 2px solid #0056d2;
}

.btn-login::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: #0056d2;
  border-radius: 40%;
  transform: translateX(-50%) scale(0);
  transition: transform 1s ease;
  z-index: -1;
}

.btn-login:hover {
  color: rgb(255, 255, 255);
}

.btn-login:hover::before {
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

/* --- HERO SECTION STYLES (Two-Column Layout) --- */
.hero-section {
  position: relative;
  height: 100vh;
  /* Background Image and Overlay */
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(4, 9, 30, 0.7)),
    url(./img/students-use-laptops.jpg);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  min-height: 500px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  line-height: 1.2
  
  
  /* Ensure a decent height */
}

/* Left Column: Content */
.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero-content .subtitle {
  font-size: 1.2em;
  font-weight: bold;
  font-family:sans-serif; 
  color: #a5d6a7;
  /* Light green accent color */
  margin-bottom: 20px;
}

/* Call to Action Button */
.cta-button {
  display: inline-block;
  background-color: #00bcd4;
  /* Cyan/Teal accent color */
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 11px;
  font-weight: bold;
  
  margin-top: 25px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #026169;
}

/* --- RIGHT COLUMN WRAPPER (Groups Form and Stay Tuned) --- */
.hero-form-container {
  background-color: white;
  color: #333;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 350px;
  max-width: 350px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;   /* Center children horizontally */
}

.hero-form-container .bottom-text {
  margin-top: auto;       /* Push to bottom */
  text-align: center;     /* Center text */
  width: 100%;            /* Take full width of container */
}



/* Form Styling */
.contact-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  /* Rounded corners for inputs */
  box-sizing: border-box;
  margin-top: 10px;
}

.submit-button {
  width: 100%;
  background-color: #ff9800;
  /* Orange color for the main form button */
  color: white;
  padding: 12px;
  border: none;
  border-radius: 80px;
  /* Pill-shaped button */
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.submit-button:hover {
  background-color: #f57c00;
}

/* --- ANIMATION STYLES (Fixed) --- */
.stay-tuned {
  text-align:

}

.stay-tuned{
  position: absolute;        /* Stick it relative to the parent container */
  bottom: 80px;              /* Distance from bottom */
  left: 45%;                 /* Move to center horizontally */
  transform: translateX(-50%); /* Adjust for perfect centering */
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-align: center;
}

/* The wrapper for the cycling words */
.stay-tuned h1 span {
  display: inline-block;
  color: #ff8800;
  /* The orange accent color */
  height: 1.25em;
  vertical-align: bottom;
  overflow: hidden;
  /* CRUCIAL: Hides the non-visible words */
  margin-left: 1px;
}

/* Each individual word to be animated */
.stay-tuned h1 span span {
  display: block;
  animation: animateWords 4s infinite ease-in-out;
  /* 4s cycle for 3 words */
}

/* Keyframes for 3 cycling words (0, -100%, -200%, back to 0) */
@keyframes animateWords {

  0%,
  10% {
    transform: translateY(0%);
  }

  /* First word (LAUNCHING SOON) visible */
  33%,
  43% {
    transform: translateY(-100%);
  }

  /* Second word (TO JOIN) visible */
  66%,
  76% {
    transform: translateY(-200%);
  }

  /* Third word (TO LEARN) visible */
  100% {
    transform: translateY(0%);
  }

  /* Reset for loop */
}

/* --- RESPONSIVE DESIGN (For Mobile Devices) --- */
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    /* Stack the columns vertically on smaller screens */
    padding: 40px 5%;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 30px;
  }

  /* Center the button on mobile */
  .hero-content .cta-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-right-column {
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  /* Ensure header links are stacked/smaller on very small screens if needed */
  header {
    flex-direction: column;
    gap: 10px;
  }

  nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
}