/* -------------------------
   Global Reset & Base
-------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f5f8fb;
  color: #1e293b;
  line-height: 1.6;
}

/* -------------------------
   Header
-------------------------- */
header {
  background-color: #ffffff;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .brand img.logo {
  max-height: 50px;
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #1f3b63;
  transition: color 0.3s ease;
}

header nav a.active {
  font-weight: 600;
}

header nav a:hover {
  color: #162c4d;
}

/* -------------------------
   Page Title & Form Section
-------------------------- */
.study {
  padding: 60px 20px;
  
}

.study::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      rgba(248, 251, 255, 0.85),
      rgba(248, 251, 255, 0.85)
    ),
    url("../img/bg-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
}



/* -------------------------
   Visa Form
-------------------------- */
.visa-guide-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.visa-guide-group {
  display: flex;
  flex-direction: column;
}

.visa-guide-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f3b63;
  font-size: 0.95rem;
}

.visa-guide-group input,
.visa-guide-group select {
  padding: 0.75rem 1rem;
  border: 1px solid #d6e2ee;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.visa-guide-group input:focus,
.visa-guide-group select:focus {
  border-color: #1f3b63;
  box-shadow: 0 0 0 3px rgba(31,59,99,0.15);
  outline: none;
}

/* Submit Button */
.visa-guide-btn {
  background-color: #1f3b63;
  color: #ffffff;
  font-weight: 600;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  justify-self: start;
}

.visa-guide-btn:hover {
  background-color: #162c4d;
  transform: translateY(-1px);
}

/* -------------------------
   Footer
-------------------------- */
footer {
  background-color: #ffffff;
  padding: 15px 20px;
  text-align: center;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

footer a {
  margin: 0 10px;
  text-decoration: none;
  font-size: 0.95rem;
  color: #1f3b63;
  font-weight: 500;
}

footer a:hover {
  color: #162c4d;
}

/* -------------------------
   Responsive Layout
-------------------------- */
@media (min-width: 768px) {
  .visa-guide-form {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }

  .visa-guide-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  header nav a {
    margin: 10px 10px 0 0;
  }
}


.visa-success {
    background: #e6ffed;
    color: #0f5132;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.visa-error {
    background: #ffe6e6;
    color: #842029;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}