/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  height: 100%;
  width: 100%;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 245, 245, 0.95);
  padding: 10px 50px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 50px;
}

.nav-links a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  font-size: 18px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #003b79;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown when hovering */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Dropdown links */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Optional: Style on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}


.login-btn {
  background-color: #003b79;
  color: white;
  border: none;
  font-size: 18px;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.login-btn:hover {
  background-color: #254e77;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  z-index: 0; /* Background is on the bottom */
  opacity: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* Text is above the background */
  text-align: center;
  color: white;
  background: rgba(0, 51, 102, 0.7);
  padding: 20px;
  border-radius: 20px;
  font-size: 30px; 
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #003366;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1px 15px;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1; /* Arrows above the background, but below the text */
  font-weight: bold;
  user-select: none;
  transition: background-color 0.3s;
}

.arrow:hover {
  background-color: rgba(0, 59, 121, 0.8);
  color: white;
}

.arrow-left {
  left: 25px;
}

.arrow-right {
  right: 25px;
}

/* Skills Section */
.skills-section {
  display: flex;
  justify-content: space-between;
  padding: 60px 50px;
}

.skills-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skills-left img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.skills-right {
  width: 50%;
}

.skills-right h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #003366;
}

.skills-right p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Events Section */
.events-section {
  background-color: #eef4f7;
  padding: 60px 50px;
  color: #003366;
  font-size: 25px;
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Event Container */
.event {
  display: flex;
  gap: 20px;
  background-color: #fff; /* White background for the event box */
  padding: 20px;
  border-radius: 10px; /* Rounded corners for the box */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for the box */
  width: 100%;
  max-width: 1200px; /* Limit the width to make it more contained */
  margin: 0 auto; /* Center align the box */
  align-items: center; /* Vertically center content */
}

/* Left part of event (Image) */
.event-left {
  width: 40%;  /* Fixed width for image */
}

.event-left img {
  width: 100%;
  height: 250px;  /* Adjusted image height */
  object-fit: cover;
  border-radius: 8px;
}

/* Right part of event (Content) */
.event-right {
  width: 60%;  /* Right side takes up 60% of the width */
}

.event-right h3 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #003366;
}

.event-right p {
  font-size: 24px;
  margin-bottom: 35px;
  color: #111010;
}

.event-right a {
  text-decoration: none;
  color: #003b79;
  font-size: 20px;
  font-weight: 600;
}

.date {
  font-size: 18px;
  font-weight: 700;
  color: #003b79;
  margin-bottom: 10px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .event {
    flex-direction: column;  /* Stack elements vertically */
    align-items: center;
    padding: 15px;
  }

  .event-left, .event-right {
    width: 100%; /* Full width on smaller screens */
    text-align: center;
  }

  .event-left img {
    height: 200px; /* Adjust image height */
  }

  .event-right h3 {
    font-size: 28px;
  }

  .event-right p {
    font-size: 22px;
  }
}


/* Get Started Section */
.get-started {
  display: flex;
  justify-content: space-between;
  padding: 60px 50px;
  background-color: #f0f4f8;
}

.get-started-left {
  width: 50%;
}

.get-started-left h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #003366;
}

.get-started-left p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
}

.get-started-left a {
  text-decoration: none;
  background-color:#003b79;
  color: white;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 5px;
}

.get-started-right {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-btn {
  background-color: #003b79;
  border-radius: 50%;
  padding: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.play-btn:hover {
  background-color: #003b79;
}

.get-started-right p {
  margin-top: 10px;
  font-size: 18px;
  color: #003b79;
}

.connect-section {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.connect-left {
  flex: 1;
  min-width: 300px;
}

.connect-left h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.connect-left h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.connect-left p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.form-box {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 600px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input, form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form textarea {
  resize: vertical;
  height: 100px;
}

form button {
  padding: 12px;
  background-color: #3f51b5;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #2c3e90;
}

/* Footer */
footer {
  background-color: #000000;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 40px 50px;
}

footer h2,
footer h3 {
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  text-decoration: none;
  color: #ddd;
  transition: 0.3s;
}

footer a:hover {
  color: #000000;
}
