/* ===== Apply Form Styles (custom.css) ===== */
.apply-section {
  padding: 48px 20px;
  background: #f4f4f4;
}

.apply-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 48px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(8, 8, 20, 0.09);
  box-sizing: border-box;
}

.apply-header {
  margin-bottom: 22px;
  text-align: left;
}

.apply-header h2 {
  color: #1D2261;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
  text-align: left;
  letter-spacing: -0.2px;
}

.apply-header h4 {
  color: #9c0914;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  text-align: left;
}

.apply-desc {
  color: #000;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: left;
  max-width: 760px;
}

/* Optional: refine spacing for better layout harmony */
.apply-container *:not(label):not(input):not(select):not(textarea) {
  letter-spacing: 0.1px;
}


/* base form layout */
.apply-form { display:block; width:100%; text-align:left; }
.form-group { margin-bottom:14px; }
.form-group label { display:block; font-weight:600; color:#222; margin-bottom:6px; font-size:14px; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group input[type="number"], .form-group select, .form-group textarea {
  width:100%; padding:11px 12px; border:1px solid #e2e6ef; border-radius:8px; font-size:14px; box-sizing:border-box; background:#fff;
}
.form-group textarea { min-height:100px; resize:vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline:none; border-color:#1D2261; box-shadow:0 6px 18px rgba(29,34,97,0.06); }

/* compact two-column grid for larger screens */
@media(min-width:961px) {
  .two-col { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
  .two-col .form-group { margin-bottom:0; }
}

/* checkbox group */
.checkbox-group { background:#fbfdfe; border:1px solid #eef2f7; padding:12px 14px; border-radius:8px; }
.checkbox-group label { display:block; font-weight:500; margin-bottom:8px; color:#333; }

/* submit button */
.form-submit { margin-top:18px; }
.btn-submit { background:#1D2261; color:#fff; padding:10px 26px; border-radius:8px; border:none; cursor:pointer; font-weight:700; box-shadow:0 6px 18px rgba(29,34,97,0.12); }
.btn-submit:hover { transform:translateY(-2px); box-shadow:0 12px 30px rgba(29,34,97,0.16); }

/* success modal */
.success-modal { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:99999; align-items:center; justify-content:center; }
.success-modal .modal-inner { background:#fff; padding:28px; border-radius:12px; text-align:center; max-width:520px; margin:auto; box-shadow:0 14px 40px rgba(0,0,0,0.18); }
.success-modal h3 { color:#1D2261; margin-bottom:8px; }
.success-modal p { color:#333; font-size:15px; line-height:1.4; }

/* small helpers */
.req { color:#d9534f; }

/* WhatsApp Button */
.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 12px;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.25);
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-whatsapp:hover {
  background: #20b85b;
  transform: translateY(-2px);
}







.google-map iframe {
  width: 100% !important;
  height: 400px !important;
  border: none;
  border-radius: 8px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .google-map iframe {
    height: 300px !important;
  }
}




/* Make testimonial text neat and justified across all devices */
.card-testimonial-grid p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    word-spacing: 1px;
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
}

/* For mobile readability */
@media (max-width: 768px) {
    .card-testimonial-grid p {
        text-align: left; /* justified text can look uneven on small screens */
        font-size: 15px;
        line-height: 1.7;
    }
}


.inline-cta {
  display: inline-block;
  background: #9B1C2E;
  color: #fff !important;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 24px;
}

.inline-cta::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 20%;
  width: 60%;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s ease;
}

.inline-cta:hover {
  background: #141862;
  color: #fff !important;
}

.inline-cta:hover::after {
  width: 100%;
  left: 0;
}







.footer-logo {
  max-width: 220px;
  height: auto;
}

@media (max-width: 768px) {
  .footer-logo {
    max-width: 205px;
  }
}







.footer-intro {
    background: transparent; /* no background */
    color: #fff; /* text color white */
}

.footer-intro h2 {
    max-width: 300px;
    margin: 0 auto;
    font-size: 1.8rem;
    line-height: 1.6;
    font-weight: 700;
}

.btn-footer-cta {
    background-color: #141862;
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-footer-cta:hover {
    background-color: #9c0914;
    color: #fff;
    transform: translateY(-2px);
}

.footer-divider {
    width: 80%;
    margin: 2.5rem auto 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
}






/* Remove extra space from empty paragraphs and redundant  */
p:empty,
p:has(br:only-child),
p:has(&nbsp;) {
  display: none !important;
}

/* Reduce space between consecutive sections */
section + section {
  margin-top: 10px !important; /* adjust to your taste (default may be 100px) */
}

/* Optional: Tighten shortcode section gaps */
.shortcode-section {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}


/* ✅ Force desktop menu to right */
@media (min-width: 992px) {
  ul.custom-menu {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    margin-left: auto !important;
  }

  header ul.custom-menu,
  .main-header ul.custom-menu,
  nav ul.custom-menu {
    float: right !important;
    text-align: right !important;
  }

  ul.custom-menu li {
    margin-left: 22px;
    list-style: none;
  }
}








/* Define your primary / secondary colors (change these once here) */
:root {
  --site-primary: #141862;   /* default primary (button normal) */
  --site-secondary: #9c0914; /* default hover / accent color */
}

/* Strong button styles for .btn-submit (high specificity + !important to override theme) */
.form-submit .btn-submit,
.btn-submit {
  background-color: var(--site-primary) !important;
  color: #ffffff !important;
  padding: 12px 28px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease !important;
  display: inline-block !important;
  text-align: center !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
  position: relative !important;
}

/* Hover / focus — use secondary color */
.form-submit .btn-submit:hover,
.btn-submit:hover,
.form-submit .btn-submit:focus,
.btn-submit:focus {
  background-color: var(--site-secondary) !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(156,9,20,0.18) !important;
  outline: none !important;
}

/* Disabled state (e.g. when submitting) */
.form-submit .btn-submit[disabled],
.btn-submit[disabled] {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Small helper to center the button container */
.form-submit {
  text-align: center;
  margin-top: 18px;
}




/* ===== Make Google Map shortcode full width ===== */
.shortcode[data-shortcode="google-map"],
.shortcode[data-shortcode="google-map"] iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 550px !important;
  margin: 0 auto !important;
  border: none;
  border-radius: 8px;
}

/* Optional: remove side paddings in container (for full edge view) */
.section-google-map,
.shortcode-wrapper:has([data-shortcode="google-map"]) {
  padding: 0 !important;
  margin: 0 !important;
}








/* Page layout */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
}

/* Info boxes (top section) */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.info-box {
  flex: 1 1 30%;
  background: #fff;
  padding: 25px;
  margin: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-radius: 12px;
  text-align: center;
}

.info-box i {
  font-size: 28px;
  color: #6a00f4;
  margin-bottom: 10px;
  display: inline-block;
}

.info-box h4 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.info-box p {
  margin: 0;
  font-size: 15px;
  color: #555;
}

/* Image + form section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.contact-image {
  flex: 1 1 45%;
}

.contact-image img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form-box {
  flex: 1 1 45%;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-form-box h3 {
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

.form-group {
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

input:focus, textarea:focus {
  border-color: #6a00f4;
}

/* Gradient button */
.submit-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(90deg, #141862, #141862);
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: linear-gradient(90deg, #9c0914, #9c0914);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-image, .contact-form-box {
    flex: 1 1 100%;
  }
}








/* Checkbox alignment styling */
.checkbox-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
}

.checkbox-group > label:first-child {
  font-weight: 600;
  margin-bottom: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: #333;
  margin-bottom: 6px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #007bff; /* blue highlight */
  cursor: pointer;
}






/* ===== Fix top menu spacing and wrapping ===== */
.header .main-menu,
.navbar,
.menu {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 20px; /* adjust if you want more or less space between items */
}

.header .main-menu li a,
.navbar .menu li a {
    white-space: nowrap !important;
    font-size: 15px;
}