/* --- Global Theme & Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --navy: #0f172a;
  --navy-dark: #0f172a;
  --blue-primary: #0f172a;
  --blue-soft: #eff6ff;
  --text-slate: #475569;
  --border: #e2e8f0;
  --whatsapp-green: #25d366;
  --white: #ffffff;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 80px 5%;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  margin-top:-2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.hero p {
  font-family: 'Inter', sans-serif;
  color: var(--text-slate);
  max-width: 700px;
  margin: 0 auto 10px;
  line-height: 1.6;
}

.hero-bg-icons {
  position: absolute;
  width: 100%; height: 100%; top: 0; left: 0;
  opacity: 0.05; font-size: 2.5rem; pointer-events: none;
}

.hero-bg-icons span { position: absolute; }
.hero-bg-icons span:nth-child(1) { top: 10%; left: 5%; }
.hero-bg-icons span:nth-child(2) { top: 15%; right: 10%; }
.hero-bg-icons span:nth-child(3) { bottom: 20%; left: 15%; }
.hero-bg-icons span:nth-child(4) { bottom: 10%; right: 5%; }

/* --- Contact Categories --- */
.categories-section { padding: 40px 5%; background: var(--white); }
.section-title {
  text-align: center; font-family: 'Playfair Display', serif;
  font-size: 2.2rem; color: var(--navy-dark); margin-bottom: 50px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; max-width: 1200px; margin: 0 auto;
}

.cat-card {    
  display: flex;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: 0.3s;
    flex-direction: column;
    justify-content: space-between;

}

.cat-card:hover {
  transform: translateY(-8px);
  border-color: var(--navy);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.06);
}

.cat-icon { font-size: 4.5rem; margin-bottom: 20px; }
.cat-title { font-family: 'Playfair', serif; font-size: 1.4rem; color: var(--navy-dark); margin-bottom: 15px; font-weight: 600;}
.cat-desc { font-size: 1.1rem; color: var(--text-slate); margin-bottom: 20px; line-height: 1.5; }
.cat-email { font-weight: 700; color: var(--navy); margin-bottom: 20px; font-size: 0.9rem; }

.cat-btn {
  display: inline-block; padding: 12px 24px;
  border: 1.5px solid var(--navy);
  color: var(--navy); border-radius: 8px;
  text-decoration: none; font-weight: 600;  transition: 0.3s;
}

.cat-btn { background: var(--navy); color: var(--white);    font-size: 1rem;
 }

/* --- Office Locations --- */
.offices-section { padding: 40px 5%; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.offices-grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.office-card {
  background: var(--white); padding: 35px; border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
      /* max-width: 400px; */
    margin: 0 auto;
}

.office-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy-dark); margin-bottom: 20px; }
.office-row { 
  display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-slate);
    font-size: 0.95rem;
    flex-direction: column;
    margin-left:1rem;
    font-size:1rem;
    letter-spacing: 1px;
    line-height: 24px;
    
 }

.map-placeholder {
  height: 200px; background: #eef2f6; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 20px 0; border: 1px dashed #cbd5e1; position: relative;
}

.google-label { position: absolute; bottom: 10px; right: 15px; font-weight: 800; opacity: 0.3; letter-spacing: -1px; }

/* --- Form & Support Layout --- */
.form-section { padding: 40px 5%; }
.form-support-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  max-width: 1200px; margin: 0 auto;
}

.form-block h3, .support-block h3 {
  font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 25px; color: var(--navy-dark);
}

/* Form Styling */
.form-field { margin-bottom: 20px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 16px; border-radius: 10px; border: 1px solid var(--border);
  font-family: 'Inter', sans-serif; font-size: 1rem; transition: 0.3s; background: #fdfdfd;
}

.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);
}

/* Radio UX */
.inquiry-label { display: block; font-weight: 700; margin-bottom: 15px; color: var(--navy-dark); font-size: 0.9rem; }
.inquiry-options { display: flex; flex-direction: column; gap: 10px; }
.inquiry-option {
  display: flex; align-items: center; gap: 10px; font-size: 0.95rem;
  padding: 10px 15px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; transition: 0.2s;
}
.inquiry-option:hover { background: var(--blue-soft); }

.form-btn {
  width: 100%; background: var(--navy); color: var(--white); padding: 18px; margin:1rem 0;
  border-radius: 10px; border: none; font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.3s;
}
.form-btn:hover { background: var(--blue-primary); transform: translateY(-2px); }

/* --- Support Block & WhatsApp --- */
.support-block { padding: 40px; background: var(--blue-soft); border-radius: 24px; align-self: start; }
.whatsapp-btn-inline {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--whatsapp-green); color: var(--white); padding: 18px;
  border-radius: 12px; text-decoration: none; font-weight: 700; margin: 25px 0; transition: 0.3s;
}
.whatsapp-btn-inline:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2); }

.cta-mini { background: var(--white); padding: 30px; border-radius: 16px; margin-top: 40px; }
.cta-mini h4 { font-family: 'Playfair Display', serif; margin-bottom: 10px; }
.cta-mini-buttons { display: flex; gap: 10px; margin-top: 20px; }

.btn-sm-primary { background: var(--blue-primary); color: var(--white); padding: 10px 18px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.btn-sm-outline { border: 1px solid var(--blue-primary); color: var(--blue-primary); padding: 10px 18px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; text-decoration: none; }

/* Floating WhatsApp UX */
.wa-float {
  position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
  background: var(--whatsapp-green); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2); z-index: 999; text-decoration: none;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
  .offices-grid, .form-support-grid { grid-template-columns: 1fr; gap: 40px; }
  .support-block { order: -1; } /* On mobile, move support to the top */
}

@media (max-width: 600px) {
  .hero { padding-top: 60px; }
  .cat-card, .office-card, .support-block { padding: 25px; }
  .cta-mini-buttons { flex-direction: column; }
}


/* --- Variables & Core Setup --- */
:root {
  --navy-dark: #0f172a;
  --blue-primary: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --text-main: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
  --radius: 12px;
}

.form-section {
  padding: 70px 5%;
  background-color: #f8fafc;
  font-family: 'Inter', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- 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 var(--border-color);
  border-radius: var(--radius);
  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-contact-page {
    max-width: 600px;
    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;
}

/* 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-contact-page input[type="text"],
.gcg-modern-form-contact-page input[type="email"],
.gcg-modern-form-contact-page input[type="tel"],
.gcg-modern-form-contact-page 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-contact-page input:focus, 
.gcg-modern-form-contact-page 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: flex;
    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: space-between;
    align-items: center;
}

.upload-btn {
    background: #fff;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* 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);
}

.cta-actions{
      display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.cta-actions a{
  cursor: pointer;
}
.gcg-modern-form{
  max-height: 100% !important;
}