/* ========================================
   Global Styles & Variables
   ======================================== */
:root {
  --primary-navy: #3e2723;
  --secondary-gold: #f7941d;
  --primary-orange: #f7941d;
  --secondary-red: #be1e2d;
  --dark-espresso: #3e2723;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #3e2723;
  --border-color: #e0e0e0;
  --error-red: #dc3545;
  --success-green: #28a745;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-espresso);
  background-color: var(--white);
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Improve readability on light backgrounds by default */
h1, h2, h3, h4, h5, h6,
p, li, span, label, small,
.section-title, .section-subtitle {
  color: var(--dark-espresso);
}

/* Keep copy white inside dark hero/overlay sections */
.hero-base,
.hero-base h1,
.hero-base h2,
.hero-base h3,
.hero-base p,
.dark-overlay,
.dark-overlay h1,
.dark-overlay h2,
.dark-overlay h3,
.dark-overlay p,
.hero-contact h1,
.hero-contact p,
.apply-html-hero h1,
.apply-html-hero p {
  color: var(--white);
}

/* ========================================
   Navigation & Header
   ======================================== */
header,
.navbar {
  background-color: var(--dark-espresso);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(247, 148, 29, 0.3);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo:hover {
  color: var(--primary-orange);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  /* Adjust height to fit your navbar height */
  height: 50px; 
  width: auto;
  display: block;
  /* Smooth transition if you add hover effects later */
  transition: opacity 0.3s ease;
}

.logo-img:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a,
.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
  position: relative;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.nav-links a:hover,
.nav-link:hover {
  color: var(--primary-orange);
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-orange);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-links a.active,
.nav-link.active {
  color: var(--primary-orange);
  border-bottom: 2px solid var(--primary-orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger,
.hamburger i {
  color: var(--white);
}

/* mobile nav open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--dark-espresso);
  width: 100%;
  padding: 1rem;
}

/* hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--dark-espresso);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-gold) 100%);
  color: var(--white);
  padding: 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100dvh !important;
  height: auto !important;
}

.hero-overlay::after {
  display: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  width: 400px;
  height: 400px;
  background-color: rgba(10, 26, 26, 0.1);
  border-radius: 50%;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Unified Hero Layout
   ======================================== */
.hero-base {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100dvh !important;
  height: auto !important;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-base::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.hero-base .hero-content {
  position: relative;
  z-index: 1;
}

.hero-base .hero-content h1 {
  margin-top: 0;
}

/* Hero alignment inside 100dvh */
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .hero,
  .hero-base,
  .apply-html-hero {
    background-attachment: scroll !important;
  }
}

/* The 'Reveal' Hero Animation */
@keyframes heroReveal {
    0% {
        opacity: 0;
        letter-spacing: -5px;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        letter-spacing: normal;
        filter: blur(0);
    }
}

/* Apply this class to your Hero H1 */
.hero-animate {
    animation: heroReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ========================================
   Accuracy Notice
   ======================================== */
.accuracy-notice {
  background-color: rgba(26, 26, 26, 0.08);
  border-top: 1px solid rgba(26, 26, 26, 0.35);
  border-bottom: 1px solid rgba(26, 26, 26, 0.25);
  padding: 1.75rem 0;
}

.accuracy-notice .accuracy-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  max-width: 920px;
  margin: 0 auto;
}

.accuracy-notice .accuracy-notice-inner i {
  color: var(--secondary-gold);
  font-size: 1.3rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.accuracy-notice p {
  color: #2b2b2b;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   Image Styling
   ======================================== */
.content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  display: block;
}

.content-image-container {
  text-align: center;
  margin: 2rem 0;
}

/* ========================================
   Process Section Layout
   ======================================== */
.process-header-row {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.process-header-text {
  flex: 1;
}

.process-header-text .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.process-header-text .section-subtitle {
  text-align: left;
  margin-bottom: 0;
}

.process-header-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.process-header-img {
  width: 100%;
  max-width: 500px;
  max-height: 400px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: block;
}

.process-steps-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
  margin-bottom: 3rem;
  border-radius: 8px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 0;
}

.process-download-cta {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.process-download-cta .info-box {
  margin-bottom: 2rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--white);
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--secondary-red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.14);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--secondary-gold);
}

.btn-secondary:hover {
  background-color: var(--secondary-gold);
  color: var(--primary-navy);
}

.btn-success {
  background-color: var(--success-green);
  color: var(--white);
}

.btn-success:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.btn-danger {
  background-color: var(--error-red);
  color: var(--white);
}

.btn-danger:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

.btn-info {
  background-color: #0066cc;
  color: var(--white);
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-info:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ========================================
   3-Step Process
   ======================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  border-left: 4px solid var(--secondary-gold);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-navy);
  color: var(--secondary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step-card h3 {
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--dark-espresso);
  font-size: 0.95rem;
}

/* ========================================
   Disclaimer Section
   ======================================== */
.disclaimer-section {
  background-color: #f5f5f5;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid #e0e0e0;
}

.disclaimer-box {
  background-color: var(--white);
  border-left: 5px solid #ff9800;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.disclaimer-title {
  color: #ff9800;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.disclaimer-text {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}

/* ========================================
   Consent Group Styles
   ======================================== */
.consent-group {
  background-color: rgba(26, 26, 26, 0.05);
  padding: 1rem;
  border-radius: 5px;
  margin: 1.5rem 0;
}

.consent-group .checkbox-item {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
footer {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 4rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--secondary-gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--secondary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(26, 26, 26, 0.3);
  padding-top: 2rem;
  text-align: center;
  color: #ccc;
}

/* ========================================
   Form Styles
   ======================================== */
.form-wrapper {
  background-color: var(--light-gray);
  padding: 3rem;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
  font-weight: 600;
}

.required::after {
  content: ' *';
  color: var(--error-red);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary-gold);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

input[type="file"] {
  padding: 0.5rem;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group,
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.checkbox-item,
.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--secondary-gold);
}

.checkbox-item label,
.radio-item label {
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}

.form-error {
  color: var(--error-red);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

input.error,
select.error,
textarea.error {
  border-color: var(--error-red);
  background-color: rgba(220, 53, 69, 0.05);
}

input.error ~ .form-error,
select.error ~ .form-error,
textarea.error ~ .form-error {
  display: block;
}

.form-success {
  color: var(--success-green);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

input.success ~ .form-success,
select.success ~ .form-success,
textarea.success ~ .form-success {
  display: block;
}

/* ========================================
   Multi-Step Form
   ======================================== */
.form-steps {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.form-step-indicator {
  flex: 1;
  text-align: center;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--border-color);
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 0.5rem;
  transition: var(--transition);
}

.form-step-indicator.active .step-circle {
  background-color: var(--secondary-gold);
  color: var(--primary-navy);
}

.form-step-indicator.completed .step-circle {
  background-color: var(--success-green);
  color: var(--white);
}

.form-step-indicator.completed .step-circle::after {
  content: '✓';
  font-weight: bold;
}

.step-label {
  font-size: 0.85rem;
  color: var(--dark-espresso);
}

.form-step-indicator.active .step-label {
  color: var(--primary-navy);
  font-weight: 600;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step-title {
  color: var(--primary-navy);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-step-subtitle {
  color: var(--dark-espresso);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2rem;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.form-navigation button {
  flex: 1;
}

.hidden {
  display: none;
}

.conditional-field {
  display: none;
  animation: slideDown 0.3s ease;
}

.conditional-field.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Info Boxes
   ======================================== */
.info-box {
  background-color: rgba(230, 81, 0, 0.05);
  border-left: 4px solid var(--primary-navy);
  padding: 1.5rem;
  border-radius: 5px;
  margin-bottom: 2rem;
}

.info-box h4 {
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.info-box p {
  color: var(--dark-espresso);
  font-size: 0.95rem;
}

/* red alert/info box for APS warning */
.alert-box {
  background-color: #f8d7da;
  border-left: 4px solid var(--error-red);
  padding: 1.5rem;
  border-radius: 5px;
  margin-bottom: 2rem;
  color: #721c24;
}

/* toast notification */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,0,0,0.8);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  display: none;
  z-index: 200;
}

/* university selection list */
.university-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 5px;
  background-color: var(--light-gray);
}
.university-item {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.university-item .order-num {
  font-size: 0.9rem;
  color: var(--primary-navy);
  font-weight: bold;
  min-width: 1.2rem;
  text-align: center;
}

.banking-details {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: center;
}

.banking-details h3 {
  margin-bottom: 1.5rem;
  color: var(--secondary-gold);
}

.banking-detail-item {
  margin-bottom: 1.5rem;
}

.banking-detail-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.3rem;
}

.banking-detail-value {
  font-size: 1.3rem;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.copy-btn {
  background-color: var(--secondary-gold);
  color: var(--primary-navy);
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.copy-btn:hover {
  background-color: var(--primary-navy);
  color: var(--white);
  transform: scale(1.05);
}

.copy-btn.copied {
  background-color: var(--success-green);
}

/* ========================================
   Success Page
   ======================================== */
.success-container {
  text-align: center;
  padding: 3rem 0;
}

.success-icon {
  font-size: 4rem;
  color: var(--success-green);
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.success-details {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.success-details h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.success-details ol {
  color: var(--dark-espresso);
  padding-left: 1.5rem;
}

.success-details li {
  margin-bottom: 0.5rem;
}

/* ========================================
   About & Contact Pages
   ======================================== */
.about-content {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.about-content h3 {
  color: var(--primary-navy);
  margin: 1.5rem 0 1rem 0;
}

.about-content p {
  color: var(--dark-espresso);
  margin-bottom: 1rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}

.contact-method:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.contact-method h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.contact-method p {
  color: var(--dark-espresso);
  margin-bottom: 1rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-base {
    padding: 60px 0 !important;
    min-height: auto;
  }
  
  .hero-base .hero-content h1 {
    font-size: 2.5rem;
    margin-top: 0;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
      gap: 0.1rem;
  }

  .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    margin-bottom: 0.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 2rem 0;
  }

  .process-header-row {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .process-header-text .section-title {
    text-align: center;
  }

  .process-header-text .section-subtitle {
    text-align: center;
  }

  .process-steps-section {
    padding: 2rem 0;
    margin-bottom: 2rem;
  }

  .form-wrapper {
    padding: 1.5rem;
  }

  .form-steps {
    flex-direction: column;
    gap: 0.5rem;
  }

  .form-step-indicator {
    border: none;
  }

  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .form-navigation {
    flex-direction: column;
  }

  .form-navigation button {
    width: 100%;
  }

  .checkbox-group,
  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }

  .banking-details {
    padding: 1.5rem;
  }

  .banking-detail-value {
    flex-direction: column;
  }

  footer .container {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-base {
    padding: 50px 0 !important;
    min-height: auto;
    margin-top: 0;
  }
  
  .hero-base .hero-content h1 {
    font-size: 2rem;
    margin-top: 0;
  }

  .process-header-row {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .process-steps-section {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
  }

  .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    margin-bottom: 0.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 1.5rem;
  }

  .form-wrapper {
    padding: 1rem;
  }

  .banking-details {
    padding: 1rem;
  }

  .success-details {
    padding: 1.5rem;
  }

  .disclaimer-box {
    padding: 1.5rem;
  }

  .disclaimer-title {
    font-size: 1.1rem;
  }

  .disclaimer-text {
    font-size: 0.9rem;
  }

  .btn-info {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .consent-group {
    padding: 0.75rem;
  }
}

.apply-html-hero {
  /* Use a direct URL to a high-quality, relevant image */
  background-image: linear-gradient(rgba(105, 54, 26, 0.4), rgba(102, 58, 34, 0.4)), 
  url('Assets/images/22.jpeg'); 
  
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect for depth */
  min-height: 100dvh !important;
  height: auto !important;
  padding: 0; /* Layout padding handled by .hero-base */
  color: white; /* Make text pop on the dark overlay */
}

/* Make the specific text in this hero white */
.apply-html-hero h1, .apply-html-hero p {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* extra contrast */
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-accordion {
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  margin-bottom: 0.75rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background-color: rgba(230, 81, 0, 0.05);
  padding: 1rem 1.25rem;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--primary-navy);
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: var(--light-gray);
}

.faq-answer-inner {
  padding: 0 1.25rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-item.open .faq-answer-inner {
  padding: 1rem 1.25rem 1.25rem;
}

.faq-answer p {
  color: var(--dark-espresso);
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   Video Embed (Responsive iFrame)
   ======================================== */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   Closing Dates List
   ======================================== */
.closing-dates-list {
  list-style: none;
  margin-top: 0.75rem;
}

.closing-dates-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.25);
  color: var(--dark-espresso);
}

.closing-dates-list li:last-child {
  border-bottom: none;
}

/* Contact Page Specific Hero */
.hero-contact {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
  url('Assets/images/Hero3.jpeg');
}

/* Target only the Contact Page Hero text */
.hero-contact h1, 
.hero-contact p {
    color: #ffffff !important;
    text-align: center;
    /* Optional: adds a subtle shadow to make white text pop against the image */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
}


.modern-slideshow {
  position: relative;
  width: 100%;
  /* Increased height for desktop */
  height: 450px; 
  /* Ensures it doesn't get too small on laptops */
  min-height: 50vh; 
  overflow: hidden;
  background: #000;
  border-radius: 8px; /* Optional: matches modern UI trends */
}

.modern-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* This is the most important property for "cutoff" issues */
  object-fit: cover; 
  object-position: center; /* Keeps the middle of the photo in view */
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-slide.active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 1;
}

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
  /* Ensure the container holding the slideshow isn't hidden */
  .process-header-image {
    display: block !important; 
    width: 100%;
    margin-top: 1.5rem;
  }

  .modern-slideshow {
    /* Adjust height for mobile so it doesn't take up the whole screen */
    height: 250px; 
  }
}

.banking-detail-value {
  color: #ffffff; /* Or any light color like your label */
  display: flex;
  align-items: center;
  gap: 10px; /* Gives the 'Copy' button some breathing room */
}

#accountNumber {
  font-weight: bold;
  font-size: 1.1rem;
  color: #ccc;
}

.dates-scroll-container {
    max-height: 450px; /* Adjust this to match the height of your slideshow */
    overflow-y: auto;
    padding-right: 10px;
    border: 1px solid #eee; /* Optional: adds a subtle frame */
    padding: 10px;
    border-radius: 8px;
}

/* Styling the categories */
.category-title {
    font-size: 1rem;
    color: var(--primary-navy);
    margin: 1.5rem 0 0.5rem 0;
    border-bottom: 2px solid var(--primary-navy);
    padding-bottom: 3px;
    font-weight: bold;
}

/* Custom Scrollbar to make it look cleaner */
.dates-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.dates-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.dates-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-navy); 
    border-radius: 10px;
}

/* Target the first span (University Name) in the list */
.closing-dates-list li span:first-child {
    text-align: left;
    flex: 1; /* This pushes the date to the far right if you're using flexbox */
}

/* Ensure the list items themselves don't force centering on mobile */
@media (max-width: 768px) {
    .closing-dates-list li {
        justify-content: space-between;
        display: flex;
        width: 100%;
        text-align: left; /* Forces text alignment for any wrapped text */
    }

    .closing-dates-list li span:first-child {
        padding-right: 10px; /* Prevents the name from touching the date */
    }
}