/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
  background: #f5f5f5;
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Navbar */
.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #003366;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-nav .logo img {
  width: 60px;
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ffcc00;
}

.social-icons a {
  color: #fff;
  margin-left: 10px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffcc00;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 0 5%;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: 0 15px;
}

.hero-content h1 {
  font-size: 2rem;
}

.hero-content span {
  color: #ffcc00;
}

.btn-primary {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #ffcc00;
  color: #003366;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #e6b800;
}

/* Search Box */
.search-box {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  justify-content: center;
}

.search-box select,
.search-box input {
  flex: 1 1 150px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.btn-search {
  padding: 10px 20px;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-search:hover {
  background: #002244;
}


/* Visa Application Section */
#visa-application {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0d1b2a;
  padding: 40px 5%;
  flex-direction: column;
  text-align: center;
}

#visa-application h2 {
  color: #fff;
  margin-bottom: 25px;
  animation: fadeInDown 1s ease;
}

/* Visa Form */
.visa-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 550px;
  margin: auto;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transform: scale(0.9);
  opacity: 0;
  animation: fadeInScale 1s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visa-form:hover {
  transform: scale(0.95);
  box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

/* Labels & Inputs */
.visa-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
  color: #fff;
}

.visa-form input,
.visa-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Fix dropdown background and text color for Visa Application selects */
#visa-application select {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #1e90ff;
}

/* Ensure dropdown options also appear with dark background */
#visa-application select option {
  background-color: #000;
  color: #fff;
}

#visa-application select:focus {
  background-color: #111;
  border: 1px solid #00bfff;
  box-shadow: 0 0 8px #00bfff;
}


.visa-form input:focus,
.visa-form select:focus {
  background: rgba(255,255,255,0.25);
  transform: scale(1.02);
}

/* File upload */
.visa-form input[type="file"] {
  border: 2px dashed #1e90ff;
  padding: 12px;
  background: rgba(30,144,255,0.1);
  cursor: pointer;
}

.visa-form input[type="file"]:hover {
  background: rgba(30,144,255,0.2);
}

/* Progress Bar */
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  position: relative;
}

.progress {
  position: absolute;
  top: 15px;
  left: 0;
  height: 4px;
  width: 0%;
  background: #1e90ff;
  transition: width 0.4s ease;
}

.step {
  z-index: 1;
  width: 30px;
  height: 30px;
  background: #555;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: background 0.3s ease;
}

.step.active,
.step.completed {
  background: #1e90ff;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeUp 0.6s ease;
}

.form-step.active {
  display: block;
}

/* Buttons */
.next-btn,
.prev-btn {
  background: #1e90ff;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  margin-top: 10px;
}

.next-btn:hover,
.prev-btn:hover {
  transform: scale(1.05);
  background: #0d6efd;
}

.btn-submit {
  background: #ffcc00;
  color: #003366;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  margin-top: 15px;
}

.btn-submit:hover {
  background: #e6b800;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(0.9); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.site-footer {
  background: #003366;
  color: #fff;
  padding: 40px 5%;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 200px;
}

.footer-about h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #ffcc00;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffcc00;
}

.footer-contact p,
.footer-social .social-icons a {
  margin-bottom: 6px;
}

.footer-social .social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.1rem;
  color: #fff;
  transition: 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ffcc00;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
  .nav-links {
    flex-direction: column;
    gap: 8px;
  }
  .search-box {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 1.6rem; }
  .btn-primary, .btn-submit, .next-btn, .prev-btn { width: 100%; max-width: 250px; }
  .visa-form { padding: 20px; max-width: 100%; }
}

@media (max-width: 480px) {
  .hero { height: 60vh; }
  .hero-content h1 { font-size: 1.4rem; }
  .visa-form input, .visa-form select, .visa-form input[type="file"] { font-size: 14px; }
  .btn-primary, .btn-submit { font-size: 0.9rem; padding: 10px 16px; }
}

#course-registration {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

#course-registration h2 {
  color: #004aad;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

.course-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.course-form label {
  display: block;
  font-weight: bold;
  margin-top: 15px;
  text-align: left;
}

.course-form input,
.course-form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.course-form button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #004aad;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.course-form button:hover {
  background: #0066cc;
}
