

  /* ── Reset & Variables ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy:   #1a2e5a;
    --blue:   #2563eb;
    --sky:    #3b82f6;
    --green:  #16a34a;
    --orange: #d97706;
    --gold:   #f59e0b;
    --light:  #f0f4ff;
    --white:  #ffffff;
    --gray:   #64748b;
    --text:   #1e293b;
    --border: rgba(255,255,255,0.6);
    --glass:  linear-gradient(135deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.3) 100%);
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: #f8faff;
    overflow-x: clip;
  }

  /* ── NAVBAR ── */
  

/* 404 page */
.error-404-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; padding: 80px 24px; text-align: center;
}
.error-404-inner { max-width: 520px; }
.error-404-icon { font-size: 56px; color: var(--border); margin-bottom: 20px; }
.error-eyebrow { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.error-404-inner h1 { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.error-desc { font-size: 14.5px; color: var(--mid); line-height: 1.65; margin-bottom: 28px; }
.error-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.error-search p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

@media screen and (max-width:400px) {
  .timeline-grid{
    display:flex;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 992px){
  .arrow-row{
    display: none;
  }
}
.arrow-row{
    display: none  !important;
  }

.step-img-panel{
  display:none !important;
}


/* --- Footer Styling --- */
:root {
    --footer-bg: #0f172a; /* Navy Dark */
    --footer-text: #94a3b8; /* Slate Light */
    --footer-heading: #ffffff;
    /* --accent-gold: #e6910e; */
    --accent-blue: #2563eb;
    --border-color: rgba(255, 255, 255, 0.1);
}
.footer-emails-link{
    display:flex;
    gap:1rem;
    text-decoration: none;
}
.footer-emails-link > div{
    display:flex;
    flex-direction:column;
    text-decoration: none;
    gap:0.5rem;
}
.footer-emails-link > div > p a {
    color: var(--footer-text);
    text-decoration: none;
    /* font-size: 0.95rem; */
    transition: 0.2s ease;
}
.footer-emails-link > div > p a:hover {
    color: gray;
    padding-left: 5px;
}
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 80px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}
.footer-mail-icon{
  margin-bottom: 0px !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Top Section Layout */
.footer-top {
    padding-bottom: 60px;
}

.footer-container:first-child {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 25px;
}

.logo-box {

    color: white;
    padding: 8px 12px;
    font-weight: 800;
    border-radius: 6px;
    font-size: 1.2rem;
}
.logo-sub-header {
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1rem;
}
.logo-sub {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1rem;
    margin-left:1rem;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    text-align: left;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.3s ease;
}

.footer-socials a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}
.footer-logo-container{
  display: flex;
  align-items: center;
  margin-bottom:1rem;
}
/* Headings & Links */
.footer-col h4 {
    color: var(--footer-heading);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    text-align: left;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50%;
    height: 2px;
    background: var(--footer-text);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    text-align: left;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: gray;
    padding-left: 5px;
    cursor:pointer;
}

/* Contact Items */
.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.footer-contact-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 2%;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: white;
}

/* --- Responsive Design --- */

@media (max-width: 1024px) {
    .footer-container:first-child {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .main-footer {
        padding-top: 50px;
    }

    .footer-container:first-child {
        grid-template-columns: 1fr; /* Stack everything on mobile */
        gap: 40px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
    .footer-contact-item p {
    margin: 0;
    font-size: small;
    line-height: 1.5;
  }
} 

/* ── CTA BAND ── */
  .cta-band {
    background: linear-gradient(105deg,#1a2e5a 0%,#1d4ed8 100%);
    text-align: center;
    padding: 80px 5%;
    color: #fff;
  }
  .cta-band h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 8px;
  }
  .cta-band p { font-size: 1.2rem; opacity: .8; margin-bottom: 28px; }
  .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .btn-white { background: #fff; color: var(--navy); font-weight: 700; }
  .btn-white-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
  .btn-white-outline:hover { background: rgba(255,255,255,.1); }
/* --- Buttons UX --- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  border:none;
}


.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  cursor:pointer;
}


/* SECTION */
.process-section {
  padding: 60px 20px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  padding: 3rem 4rem;
      margin-bottom: 3rem;
  margin-top:-3px;

}

.section-title {
  font-size: 36px;
  font-weight: 600;
  /* margin-bottom: 40px; */
  font-family: var(--playfair);
}

/* GRID */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 80px;
  margin-bottom:2rem;
}

/* CARD */
.step-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;

}

/* NUMBER */
.step-number {
  width: 30px;
  height: 30px;
  background: #1f3a63;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

/* CONTENT */
.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: var(--playfair);
}

.step-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* ARROW (optional visual like image) */
.step-card::after {
  content: "›";
  position: absolute;
  right: -54px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f3a63;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 1.4rem;
  font-weight: 600;
}

.germany-map > img{
  width:340px;
}
/* REMOVE ARROW ON RIGHT COLUMN */
.process-grid .step-card:nth-child(2n)::after,.process-section .step-card:last-child::after  {
  display: none;
}
.process-section .step-card:last-child{
}
/* MOBILE */
@media (max-width: 768px) {
  .process-grid {
    display:flex;
    flex-direction: column;
  }
  .germany-map > img{
  width:255px !important;
}
  .step-card::after {
    display: none;
  }

  .section-title {
    font-size: 28px;
  }
  .process-section{
    padding:1rem;
  }
  .btn {
    font-size:small !important;
  }
}



  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .fade-up { opacity: 0; animation: fadeUp .65s forwards; }
  .delay-1 { animation-delay: .1s; }
  .delay-2 { animation-delay: .22s; }
  .delay-3 { animation-delay: .34s; }
  .delay-4 { animation-delay: .46s; }

  /* pulse badge */
  @keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.5); }
    50% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
  }
  .card-direct .fast-track { animation: pulse 2s infinite; }

.hero-bg-icons {
    position: absolute; inset: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-bg-icons span {
    position: absolute;
    font-size: 36px;
    opacity: .10;
  }
  .hero-bg-icons span:nth-child(1)  { top: 8%;  left: 4%;  font-size: 44px; }
  .hero-bg-icons span:nth-child(2)  { top: 6%;  right: 6%; font-size: 40px; }
  .hero-bg-icons span:nth-child(3)  { top: 40%; left: 1%;  font-size: 30px; }
  .hero-bg-icons span:nth-child(4)  { top: 60%; right: 2%; font-size: 34px; }
  .hero-bg-icons span:nth-child(5)  { bottom: 8%; left: 12%; font-size: 28px; }
  .hero-bg-icons span:nth-child(6)  { bottom: 4%; right: 10%; font-size: 32px; }
.opp-bg{
  position:relative;
}


.divider-line{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:10px;margin-bottom:2rem;font-size:2rem;}
.divider-line::before,.divider-line::after{content:'';flex:1;max-width:100px;height:1px;background:#cbd5e1}




/* --- Layout Grid --- */
.form-support-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

/* --- Form Block Styles --- */
.form-block {

  padding:0px 40px;
  border-radius: 20px;
}

.form-header {
  margin-bottom: 30px;
  margin-left:.5rem;
}

.form-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Field Styling --- */
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-field input, 
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
    border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-field input:focus, 
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background-color: #fff;
}

/* --- Inquiry Card Grid (UX Highlight) --- */
.inquiry-label {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--navy-dark);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.inquiry-card {
  position: relative;
  cursor: pointer;
}

.inquiry-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.inquiry-card .card-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  background: #fdfdfd;
}

.inquiry-card .icon {
  font-size: 1.4rem;
}
.icon{
  display:block;
  font-size:1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.inquiry-card .text {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Checked State for Cards */
.inquiry-card input[type="radio"]:checked + .card-content {
  border-color: var(--blue-primary);
  background-color: var(--blue-light);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.inquiry-card input[type="radio"]:checked + .card-content .text {
  color: var(--blue-primary);
}

/* --- Button Styling --- */
.form-footer {
  margin-top: 30px;
}

.form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  background: var(--navy-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-btn:hover {
  background: var(--blue-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* --- Sidebar Support Blocks --- */
.support-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.support-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.whatsapp-highlight {
  border-left: 5px solid var(--whatsapp);
}

.whatsapp-btn-modern {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: var(--whatsapp);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
}

.whatsapp-btn-modern:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.cta-mini-card {
  background: var(--navy-dark);
  color: var(--white);
  padding: 30px;
  border-radius: 20px;
}

.btn-primary-glow {
  display: inline-block;
  padding: 12px 25px;
  background: white;
  color: var(--navy);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  margin-right: 15px;
  text-align: center;
}

.btn-text-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
}

/* --- Error & Success States --- */
.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 40px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
  .form-support-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .support-sidebar {
    order: -1; /* Puts Quick Support above the form on mobile */
  }
}

@media (max-width: 768px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .form-block {
    padding: 0px !important;
  }
  .form-header h3 {
    font-size: 1.8rem;
  }
  .role-grid{
    display:block !important;
  }
}

@media (max-width: 480px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

.support-info > h4{
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cta-header > h4{
  margin: 0.4rem 0;
    font-size: 1.4rem;
}

.cta-header > p{
        margin: 0.4rem 0 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: var(--light);

}

/* Container Styling */
/* .gcg-modern-form {
    max-width: 700px;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    overflow-y: auto;
    max-height: 90vh;
    -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.gcg-modern-form::-webkit-scrollbar {
  display: none;
} */

/* Container Styling */
.gcg-modern-form {
    max-width: 700px;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    overflow-y: auto;
    max-height: 90vh;
    overscroll-behavior: contain;

    /* 1. Fix for Firefox: Replaces 'none' with colors */
    scrollbar-width: thin;
    scrollbar-color: #001f3f #f1f5f9; /* Navy thumb | Light gray track */
}

/* 2. Fix for Chrome, Edge, and Safari */
.gcg-modern-form::-webkit-scrollbar {
    width: 8px; /* Changed from display: none */
    display: block;
}

.gcg-modern-form::-webkit-scrollbar-track {
    background: #f1f5f9; /* Light track so the navy stands out */
    border-radius: 10px;
}

.gcg-modern-form::-webkit-scrollbar-thumb {
    background-color: #001f3f; /* Dark Navy */
    border-radius: 10px;
    border: 2px solid #f1f5f9; /* Creates a nice padding effect */
}

.gcg-modern-form::-webkit-scrollbar-thumb:hover {
    background-color: #003366; /* Slightly lighter navy on hover */
}
/* Form Groups */
.form-field {
    margin-bottom: 20px;
}

.section-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
    text-align: left;
}

/* Labels & Icons */
.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Inputs & Selects */
.gcg-modern-form input[type="text"],
.gcg-modern-form input[type="email"],
.gcg-modern-form input[type="tel"],
.gcg-modern-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.gcg-modern-form input:focus, 
.gcg-modern-form select:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Phone Input Group */
.phone-input-group {
  display:grid;
  grid-auto-flow: column;
  gap:10px;
}


/* Role Selection Grid (Nurse/Physio) */
.role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.role-card {
    cursor: pointer;
}

.role-card input[type="radio"] {
    display: none;
}

.role-card .card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #fff;
}

.role-card input[type="radio"]:checked + .card-content {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.role-icon {
    font-size: 1.5rem;
}

/* Resume Upload Zone */
.upload-zone {
    border: 2px dashed #cbd5e1;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.upload-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    color: #2563eb;
}

.sub-text {
    font-size: 0.85rem;
    color: #64748b;
}

/* Language Certification Card */
.cert-card {
    display: block;
    cursor: pointer;
}

.cert-card input[type="checkbox"] {
    display: none;
}

.cert-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
}

.cert-card input:checked + .cert-content {
    border-color: #2563eb;
    background: #eff6ff;
}

/* Conditional Upload Box */
.conditional-field {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-btn {
    background: #fff;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: var(--navy);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}


/* Layout Grid for Phone/Qualification and Dates */
.form-row {
  display: block;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.form-row .form-field {
  flex: 1;
}

/* Passport Radio Buttons */
.passport-radio-group {
  display: flex;
  gap: 30px;
  margin-top: 8px;
}
.radio-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}
.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e0;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
  position: relative;
}
input[type="radio"]:checked + .custom-radio {
  border-color: #2b6cb0;
  background: #2b6cb0;
  box-shadow: inset 0 0 0 3px white;
}

/* Certificate Options */
.cert-option {
  display: flex;
  align-items: center;
  background: white;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
  cursor: pointer;
}
.cert-text {
  font-size: 13px;
  margin-left: 10px;
}

/* Specific B3 Upload Bar */
.upload-bar-b3 {
  background: #f0f7ff;
  border: 1px solid #c3dafe;
  padding: 10px 15px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}
.bar-info { display: flex; align-items: center; gap: 10px; }
.upload-btn-blue {
  background: var(--navy);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

/* Submit Button Gradient */
.submit-btn-gradient {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #3182ce 0%, #2c5282 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
}

/* Container for Yes/No */
.passport-radio-group {
  display: flex;
  gap: 30px;
  margin-top: 10px;
  padding-left: 5px;
}

.radio-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Hide default radio */
.radio-item input[type="radio"] {
  display: none;
}

/* Custom Radio Circle */
.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e0;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  background: #fff;
}

/* Checked State: Blue border and white dot */
.radio-item input[type="radio"]:checked + .custom-radio {
  border-color: #2b6cb0;
  background: #2b6cb0;
  box-shadow: inset 0 0 0 3px #fff; /* Creates the inner white ring effect */
}

/* Hover effect */
.radio-item:hover .custom-radio {
  border-color: #2b6cb0;
}

/* 1. Hide the default browser radio button */
.cert-option input[type="radio"] {
  display: none; /* This hides the default button entirely */
}

/* 2. Style your custom-radio span (The empty circle) */
.custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e0; /* Light gray border from b3.jpg */
  border-radius: 50%;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  background: #fff;
  transition: all 0.2s ease;
}

/* 3. Style the "Checked" state (The blue circle with white dot) */
.cert-option input[type="radio"]:checked + .custom-radio {
  border-color: #2b6cb0; /* Primary blue from b3.jpg */
  background: #2b6cb0;
  /* This creates the inner white ring effect seen in the images */
  box-shadow: inset 0 0 0 3px #fff; 
}

/* 4. Optional: Style the label container to look like the b3.jpg list */
.cert-option {
  display: flex;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  gap: 12px;
}

.cert-text {
  font-size: 14px;
  color: #2d3748;
}

/*Navbar*/

  .logo { display: flex; align-items: center; gap: 8px; text-decoration: none; max-width:100px}
  .logo-box {
    background: var(--navy);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: .5px;
  }
  .logo-light{width:100%; border-radius: 4px;}
  .logo-sub { font-size: .65rem; line-height: 1.2; }
  .nav-links { display: flex; gap: 0; list-style: none; }
  .nav-links a {
    display: block;
    padding: 8px 18px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: 6px;
    transition: background .2s;
  }
  .nav-links a:hover { background: var(--light); color: var(--navy); }
  .nav-links a.active {
    border: 1.5px solid var(--navy);
    color: var(--navy);
    font-weight: 600;
  }

  /* ── RESPONSIVE MENU STYLES ── */

/* Hamburger Button Styling */
.menu-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--navy);
  transition: all 0.3s ease;
}

/* Mobile Query (Tablets and Phones) */
@media screen and (max-width: 992px) {
  .menu-toggle {
    display: flex;
    z-index: 1001; /* Keep button above the menu overlay */
  }
  .phone-input-group{
    display: flex;
    flex-wrap: wrap;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    right: -100%; /* Fully off-screen */
    flex-direction: column;
    background: #fff;
    width: 100%;
    height: calc(100vh - 64px);
    transition: 0.4s ease-in-out;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.05);
    padding: 40px 0;
    gap: 20px;
    z-index: 1000;
  }

  /* Use .open to match your JS */
  .nav-links.open {
    right: 0; 
  }

  /* Hamburger to 'X' Animation - using .open */
  .menu-toggle.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* 1. Prevent the page from shaking/scrolling sideways when the menu is hidden */
html, body {
  overflow-x: hidden;
  width: 100%;
}
header {
  position:sticky;
  top:0;
  width: 100%;
}
/* 2. The Header */
nav {
  /* position: sticky;  */
  /* top: 0;  */
  /* z-index: 9999; Higher z-index to stay on top */
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 0 4%;
  height: 64px;
  background: #fff;
  box-shadow: 0 1px 12px rgba(0,0,0,.08);
}

/* 3. The Mobile Menu (Hidden by default) */
@media screen and (max-width: 992px) {
  .nav-links {
    position: absolute !important; /* Force it out of the layout flow */
    top: 64px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 20px;
    
    /* Move it 100% to the right (hidden) */
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  /* When the 'open' class is added by JS, slide it back to 0 */
  .nav-links.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex !important;
  }
}

header {
    position: sticky;
    top: 0;
    z-index: 999; /* Crucial so it stays above page content */
    background: #fff; /* Move background here to prevent gaps */
    width: 100%;
}

nav {
    /* Remove position: sticky and top: 0 from here */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    height: 64px;
    box-shadow: 0 1px 12px rgba(0, 0, 0, .08);
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: #f8faff;
    /* If you still need overflow-x hidden, apply it to a wrapper div 
       inside the body instead of the body itself, or use 'clip' */
    overflow-x: clip; 
}



/* Modal Overlay */
.modal-overlay {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

/* Modal Box */
.modal-content {
      /* background-color: #fff; */
    margin: 3% auto;
    /* padding: 30px; */
    border-radius: 15px;
    width: 90%;
    max-width: 696px;
    position: relative;
    /* box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3); */
    /* max-height: 90vh;
    overflow-y: auto; */
}

/* Close Button */
.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
}

.close-modal:hover { color: #000; }

.form-header{
  margin:1rem 0;
}

.upload-box-small{
  display:flex;
  gap:1rem;
}

/* Hide the default CF7 Spinner if it's annoying */
.wpcf7-spinner {
        position: absolute;
    /* right: 50%; */
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    margin:0;
}

/* Fix the Submit Button Layout */




/* Checked States */
.role-card input:checked + .card-content,
.cert-card input:checked + .cert-content {
    border-color: #007bff;
    background-color: #f0f7ff;
}


.wpcf7 input[type="file"] {
    cursor: pointer;
    display: none;
}

.role-grid-items {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
}

.role-grid-items:has(input[type="radio"]:checked),
.role-grid-items:has(input[type="checkbox"]:checked)
{
    border-color: #2563eb;
    background-color: #eff6ff;
}

.role-grid-items input[type="radio"],
.role-grid-items input[type="checkbox"] {
    display: none;
}
.wpcf7-list-item{
  font-size:1.1rem;
}


.selected-file-name {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #555;
    font-style: italic;
}

.submit-wrapper{
  position:relative;
}

/* 
.wpcf7 form .wpcf7-response-output {
    position: absolute;
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
    top: 0%;
    background: white;
    height: 10%;
    display: flex;
    align-items: center;
    width: 82%;
} */


.wpcf7 form .wpcf7-response-output {
    position: absolute; /* Floats over content */
    top: 20px;
    right: 20px;
    margin: 0;
    padding: 15px 25px;
    background: white;
    width: auto; /* Let it wrap the text */
    max-width: 300px;
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
}

/* CF7 adds this class when the message is ready to show */
.wpcf7 form .wpcf7-response-output:not([style*="display: none"]) {
    opacity: 1;
    visibility: visible;
}


.upload-zone-certificate{
  display: none;
}

.b1-b2-container{
  padding:0;
}
.b1-b2-container labeL{
  padding:1rem;
  cursor: pointer;
}

.wpcf7-list-item-label{
  user-select: none;
}