/*
Theme Name: Hassle Free Realty
Theme URI: https://github.com/elementor/hello-biz-child/
Description: Hello Biz Child is a child theme of Hello Biz, created by Elementor team
Author: Elementor Team
Template: hello-biz
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.0.0
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-biz-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready, style-variations
*/

/* Add your custom styles here */
/* 1. Base Transitions */

.about-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border: 1px solid #D1D5DB; /* Light gray border */
    border-radius: 50px;       /* Pill shape */
    font-size: 14px;
    font-weight: 500;
    color: #0A192F;            /* Dark text color */
    letter-spacing: 1px;
}

/* This creates the yellow dot */
.about-pill::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #FFC107; /* Yellow dot */
    border-radius: 50%;
    margin-right: 8px;         /* Space between dot and text */
}

./* Transparent pill with white text and white border */
.about-pill-white {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;         /* Slightly wider padding looks great on transparent pills */
    border: 1px solid #FFFFFF; /* White border */
    border-radius: 50px;       /* Perfect pill shape */
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;            /* White text */
    letter-spacing: 1px;
    background-color: transparent; /* Let the background image show through */
}

/* The yellow dot for the white pill */
.about-pill-white::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #FFC107; /* Yellow dot */
    border-radius: 50%;
    margin-right: 8px;         /* Space between dot and text */
}


/* =============================================
   CONTACT FORM 7 — FINAL CSS
   
   USAGE:
   - Dark version: add class "form-dark" to your Elementor container
   - Light version: add class "form-light" to your Elementor container
   
   Paste in: Appearance > Additional CSS
   or your child theme's style.css
   ============================================= */

/* ── Google Font ───────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* ── Suppress CF7 auto line breaks ─────────── */
.cf7-form br {
  display: none;
}

/* ── Form layout ───────────────────────────── */
.cf7-form {
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 3-column grid row */
.cf7-form .cf7-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

/* CF7 span wrappers — stretch to fill grid cells */
.cf7-form .wpcf7-form-control-wrap {
  display: block;
}

/* ── Base input styles (shared) ────────────── */
.cf7-form input[type="text"],
.cf7-form input[type="email"],
.cf7-form input[type="tel"] {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  border-radius: 24px;
  padding: 14px 22px;
  width: 100%;
  display: block;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* ── Acceptance / Checkbox (shared) ─────────── */
.cf7-form .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 0;
}

.cf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  line-height: 1.65;
  padding-left: 10px !important;
}

.cf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #F5D800;
}

/* ── Submit button ─────────────────────────── */
.cf7-form .cf7-submit-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  background-color: #FFD900;
  color: #0d1b2e;
  border: none;
  border-radius: 50px;
  padding: 15px 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: 6px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  width: auto;
}

.cf7-form .cf7-submit-btn:hover {
  background-color: #ffe033;
  transform: translateY(-1px);
}

.cf7-form .cf7-submit-btn img {
  width: 16px;
  height: 15px;
  border-radius: 0px;
}

/* ── Mobile ────────────────────────────────── */
@media (max-width: 600px) {
  .cf7-form .cf7-row-3 {
    grid-template-columns: 1fr;
  }
}


/* ==============================================
   DARK THEME — add class "form-dark" to Elementor container
   ============================================== */

/* Fields — !important needed to override CF7/Elementor defaults */
.form-dark .cf7-form input[type="text"],
.form-dark .cf7-form input[type="email"],
.form-dark .cf7-form input[type="tel"] {
  background-color: #E4E4E42E !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.form-dark .cf7-form input[type="text"]::placeholder,
.form-dark .cf7-form input[type="email"]::placeholder,
.form-dark .cf7-form input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.50) !important;
}

.form-dark .cf7-form input[type="text"]:focus,
.form-dark .cf7-form input[type="email"]:focus,
.form-dark .cf7-form input[type="tel"]:focus {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background-color: rgba(228, 228, 228, 0.25) !important;
}

/* Acceptance text — dark theme */
.wpcf7-acceptance.cf7-consent-text .wpcf7-list-item-label,
.wpcf7-acceptance.cf7-consent-text label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.form-dark .wpcf7-acceptance.cf7-consent-text .wpcf7-list-item-label,
.form-dark .wpcf7-acceptance.cf7-consent-text label {
  color: #ffffff !important;
}

.form-dark .wpcf7-acceptance.cf7-consent-text .wpcf7-list-item-label a,
.form-dark .wpcf7-acceptance.cf7-consent-text label a {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-dark .wpcf7-acceptance.cf7-consent-text .wpcf7-list-item-label a:hover,
.form-dark .wpcf7-acceptance.cf7-consent-text label a:hover {
  color: #F5D800 !important;
}

.form-dark .cf7-form .wpcf7-list-item-label a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-dark .cf7-form .wpcf7-list-item-label a:hover {
  color: #F5D800;
}

/* Validation error tip under each field */
.form-dark .cf7-form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #ffffff;
  padding: 3px 12px 0;
  display: block;
}

/* Response output box (error / success message) */
.form-dark .wpcf7-response-output {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 12px 18px;
  margin-top: 4px;
}

.form-dark span.wpcf7-list-item-label {
    color: #ffffff !important;
}

/* ==============================================
   LIGHT THEME — add class "form-light" to Elementor container
   ============================================== */

/* Fields */
.form-light .cf7-form input[type="text"],
.form-light .cf7-form input[type="email"],
.form-light .cf7-form input[type="tel"] {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #1a1a2e;
}

.form-light .cf7-form input[type="text"]::placeholder,
.form-light .cf7-form input[type="email"]::placeholder,
.form-light .cf7-form input[type="tel"]::placeholder {
  color: rgba(20, 30, 60, 0.45);
}

.form-light .cf7-form input[type="text"]:focus,
.form-light .cf7-form input[type="email"]:focus,
.form-light .cf7-form input[type="tel"]:focus {
  border-color: rgba(0, 0, 0, 0.30);
}

/* Acceptance text */
.form-light .cf7-form .wpcf7-list-item-label {
  color: rgba(20, 30, 60, 0.70);
}

.form-light .cf7-form .wpcf7-list-item-label a {
  color: #1a1a2e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-light .cf7-form .wpcf7-list-item-label a:hover {
  color: #c9a800;
}

/* Validation error tip under each field */
.form-light .cf7-form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #cc0000;
  padding: 3px 12px 0;
  display: block;
}

/* Response output box (error / success message) */
.form-light .wpcf7-response-output {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: #1a1a2e;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.20);
  border-radius: 12px;
  padding: 12px 18px;
  margin-top: 4px;
}


/* =============================================
   CONTACT FORM 7 — INLINE EMAIL FORM CSS
   Add to child theme style.css
   ============================================= */

/* ── Reset ─────────────────────────────────── */
.cf7-inline-wrapper,
.cf7-inline-wrapper * {
  box-sizing: border-box;
}

.cf7-inline-wrapper br {
  display: none !important;
}

.cf7-inline-wrapper p {
  margin: 0 !important;
  padding: 0 !important;
  display: contents !important;
}

/* ── The pill container ────────────────────── */
.cf7-inline-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  background-color: rgba(228, 228, 228, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 50px !important;
  padding: 6px 6px 6px 24px !important;
  gap: 0 !important;
  width: 100% !important;
}

/* ── Control wrap ──────────────────────────── */
.cf7-inline-wrapper .wpcf7-form-control-wrap {
  flex: 1 1 auto !important;
  display: block !important;
  min-width: 0 !important;
}

/* ── Hide LastPass icon injected div ───────── */
.cf7-inline-wrapper [data-lastpass-icon-root] {
  display: none !important;
}

/* ── Email input ───────────────────────────── */
.cf7-inline-wrapper input[type="email"] {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 10px 12px 10px 0 !important;
  width: 100% !important;
  display: block !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  height: auto !important;
}

.cf7-inline-wrapper input[type="email"]::placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* ── Hide CF7 spinner ──────────────────────── */
.cf7-inline-wrapper .wpcf7-spinner {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Hide default CF7 submit (we use custom button) ── */
.cf7-inline-wrapper input[type="submit"] {
  display: none !important;
}

/* ── Custom submit button ──────────────────── */
.cf7-inline-wrapper .cf7-inline-submit {
  background-color: #FFD900 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  padding: 0 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.25s ease, transform 0.15s ease !important;
  box-shadow: none !important;
}

.cf7-inline-wrapper .cf7-inline-submit img {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  border-radius: 0px !important;
}

.cf7-inline-wrapper .cf7-inline-submit:hover {
  background-color: #ffe033 !important;
  transform: scale(1.05) !important;
}

/* ── Validation ────────────────────────────── */
.cf7-inline-wrapper .wpcf7-not-valid-tip {
  font-size: 14px !important;
  color: #ff6b6b !important;
  padding: 6px 24px 0 !important;
  display: block !important;
}

.cf7-inline-wrapper .wpcf7-response-output {
  font-size: 14px !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  margin-top: 8px !important;
  border: none !important;
}

.cf7-inline-wrapper .wpcf7-response-output {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ── Mobile ────────────────────────────────── */
@media (max-width: 480px) {
  .cf7-inline-wrapper {
    padding: 5px 5px 5px 18px !important;
  }
}

/* ── Hide default CF7 submit ───────────────── */
.cf7-custom-wrapper input[type="submit"] {
  display: none !important;
}

/* ── Custom submit button ──────────────────── */
.cf7-custom-wrapper .cf7-submit-btn {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0d1b2e !important;
  background-color: #FFD900 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 16px 40px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 8px auto 0 !important;
  transition: background-color 0.25s ease, transform 0.15s ease !important;
}

.cf7-custom-wrapper .cf7-submit-btn img {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  border-radius: 0px !important;
}

.cf7-custom-wrapper .cf7-submit-btn:hover {
  background-color: #F5D800 !important;
  transform: translateY(-1px) !important;
}

/* Normal state */
.header_primary {
  transition: all 0.3s ease !important;
}
/* Scrolled/sticky state */
.header_primary.elementor-sticky--active {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background-color: rgba(13, 27, 46, 0.85) !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
/* Shrink logo when sticky */
.header_primary.elementor-sticky--active .elementor-widget-image img {
  max-width: 70% !important;
  transition: max-width 0.3s ease !important;
}
/* Shrink nav font when sticky */
.header_primary.elementor-sticky--active .elementor-nav-menu a {
  font-size: 13px !important;
}
/* Shrink button when sticky */
.header_primary.elementor-sticky--active .elementor-button {
  padding: 10px 20px !important;
  font-size: 13px !important;
}
/* ── Sticky header ─────────────────────────── */
.header_primary {
  transition: background-color 0.3s ease, 
              backdrop-filter 0.3s ease,
              padding 0.3s ease !important;
}
.header_primary.elementor-sticky--active {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background-color: rgba(13, 27, 46, 0.85) !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* ── Sticky header INNER PAGES ─────────────────────────── */

/* Normal state */
.header_inner_pages {
  transition: all 0.3s ease !important;
}
/* Scrolled/sticky state */
.header_inner_pages.elementor-sticky--active {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background-color: #FFFAF2 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  width: 100% !important;
  margin: 0px !important;
  border-radius: 0px !important;
  inset-inline-start: 0px !important;
}
/* Shrink logo when sticky */
.header_inner_pages.elementor-sticky--active .elementor-widget-image img {
  max-width: 70% !important;
  transition: max-width 0.3s ease !important;
}
/* Shrink nav font when sticky */
.header_inner_pages.elementor-sticky--active .elementor-nav-menu a {
  font-size: 13px !important;
}
/* Shrink button when sticky */
.header_inner_pages.elementor-sticky--active .elementor-button {
  padding: 10px 20px !important;
  font-size: 13px !important;
}
/* ── Sticky header ─────────────────────────── */
.header_inner_pages {
  transition: background-color 0.3s ease, 
              backdrop-filter 0.3s ease,
              padding 0.3s ease !important;
}

/* =============================================
   JOB FORM — ADDITIONAL CSS
   Append this to your existing cf7-final.css
   ============================================= */

/* ── Radio group ───────────────────────────── */
.cf7-form .cf7-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf7-form .cf7-radio-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.cf7-form .cf7-radio-group .wpcf7-radio {
  display: flex;
  gap: 24px;
}

.cf7-form .cf7-radio-group .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.cf7-form .cf7-radio-group .wpcf7-list-item input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #F5D800;
  cursor: pointer;
  margin: 0;
}

.cf7-form .cf7-radio-group .wpcf7-list-item label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  cursor: pointer;
}

/* ── File upload group ─────────────────────── */
.cf7-form .cf7-file-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cf7-form .cf7-file-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.cf7-form .cf7-file-hint {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
}

.cf7-form .cf7-file-group input[type="file"] {
  display: none;
}

/* ── Light theme overrides for new elements ── */
.form-light .cf7-form .cf7-radio-label,
.form-light .cf7-form .cf7-radio-group .wpcf7-list-item label,
.form-light .cf7-form .cf7-file-hint {
  color: #1a1a2e;
}

.form-light .cf7-form .cf7-file-label {
  color: #1a1a2e;
}

/* ── Dark theme overrides for new elements ─── */
.form-dark .cf7-form .cf7-radio-label,
.form-dark .cf7-form .cf7-radio-group .wpcf7-list-item label,
.form-dark .cf7-form .cf7-file-hint {
  color: #ffffff;
}

.form-dark .cf7-form .cf7-file-label {
  color: #ffffff;
}

/* Fix radio vertical alignment */
.cf7-form .cf7-radio-group .wpcf7-list-item input[type="radio"] {
  vertical-align: middle;
  position: static;
  margin: 0;
}

.cf7-form .cf7-radio-group .wpcf7-list-item label {
  vertical-align: middle;
  line-height: 1;
}

.cf7-form .cf7-file-group input[type="file"] {
  display: inline-block !important;
}

/* Remove underline from Upload CV label */
.cf7-form .cf7-file-label {
  text-decoration: none;
  font-weight: 600;
}

/* Fix popup close button being blocked by container */
.elementor-popup-modal .dialog-close-button {
  z-index: 99999;
  pointer-events: all;
}

.elementor-popup-modal .e-con-inner {
  pointer-events: none;
}

.elementor-popup-modal .e-con-inner * {
  pointer-events: all;
}

.elementor-element-78bbc201 {
  pointer-events: none;
}

.elementor-element-78bbc201 * {
  pointer-events: all;
}

