.elementor-2235 .elementor-element.elementor-element-af0d184{--display:flex;--margin-top:-30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}/* Start custom CSS for html, class: .elementor-element-5c28055 *//* =========================================
   1. BASE STYLING & UI ELEMENTS
   ========================================= */
.modern-form-wrapper { width: 100%; background-color: transparent; font-family: 'Inter', 'Roboto', sans-serif; box-sizing: border-box; }
.custom-gform-container { width: 100%; margin: 0 auto; background: #ffffff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); overflow: hidden; position: relative; border: 1px solid rgba(0,0,0,0.04); }

.form-header-banner { width: 100%; background: #0f172a; -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); }
.form-header-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.form-header-text h2 { font-weight: 700; color: #0f172a; margin: 0 0 10px 0; letter-spacing: -0.5px; }
.form-header-text p { color: #475569; line-height: 1.6; margin: 0; }
.required-note, .required { color: #d93025 !important; }
.required-note { font-size: 13px !important; font-weight: 500; margin-top: 16px !important; margin-bottom: 24px; }

.form-group label { font-weight: 600; color: #1e293b; display: block; margin-bottom: 12px; }
.form-group input[type="text"], .form-group input[type="tel"] { width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; color: #0f172a; outline: none; transition: all 0.3s ease; box-sizing: border-box; }
.form-group input[type="text"]:focus, .form-group input[type="tel"]:focus { background: #ffffff; border-color: #d93025; box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.1); }

.radio-group { display: flex; flex-direction: column; gap: 12px; }
.radio-group label { display: flex; align-items: center; font-weight: 500; color: #334155; margin: 0; cursor: pointer; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 18px; transition: all 0.2s ease; background: #ffffff; }
.radio-group label:hover { background: #f8fafc; border-color: #cbd5e1; }
.radio-group input[type="radio"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 2px solid #cbd5e1; border-radius: 50%; margin: 0 14px 0 0; position: relative; cursor: pointer; outline: none; flex-shrink: 0; }
.radio-group input[type="radio"]:checked { border-color: #d93025; }
.radio-group input[type="radio"]:checked::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background-color: #d93025; border-radius: 50%; }
.radio-group label:has(input[type="radio"]:checked) { border-color: #d93025; background: #fdf2f1; color: #d93025; }

button[type="submit"] { width: 100%; background-color: #d93025; color: #ffffff; border: none; border-radius: 10px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
button[type="submit"]:hover { background-color: #b3271e; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(217, 48, 37, 0.3); }
button[type="submit"].loading { opacity: 0.7; cursor: not-allowed; }

/* ERROR VALIDATION STATES */
.error-msg { display: none; color: #d93025; font-size: 13px; font-weight: 500; margin-top: 8px; }
.form-group.has-error .error-msg { display: block; }
.form-group.has-error input[type="text"], .form-group.has-error input[type="tel"] { border-color: #d93025; background: #fef2f2; }
.form-group.has-error .radio-group { padding: 10px; border: 1px dashed #d93025; border-radius: 12px; background: #fef2f2; }

/* SUCCESS MODAL */
.custom-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 1; transition: opacity 0.3s ease; }
.custom-modal.hidden { opacity: 0; pointer-events: none; visibility: hidden; }
.modal-content { background: #ffffff; padding: 40px; border-radius: 16px; max-width: 400px; width: 90%; text-align: center; }
.modal-icon { width: 60px; height: 60px; background: #fdf2f1; color: #d93025; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; }
.modal-icon svg { width: 30px; height: 30px; }
.modal-content h3 { color: #0f172a; margin-bottom: 10px; font-weight: 700;}
.close-btn { background-color: #f1f5f9; color: #0f172a; border: none; padding: 12px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; width: 100%; transition: 0.2s;}
.close-btn:hover { background: #e2e8f0; }

/* =========================================
   2. PC / DESKTOP VERSION (min-width: 769px)
   ========================================= */
@media (min-width: 769px) {
  .custom-gform-container { max-width: 1100px; } 
  .form-header-banner { height: 280px; }
  .form-content-area { padding: 0 80px 70px 80px; margin-top: -100px; position: relative; z-index: 2; }
  .form-header-text h2 { font-size: 36px; }
  .form-header-text p { font-size: 16px; max-width: 80%; }
  .form-group input[type="text"], .form-group input[type="tel"] { padding: 16px 20px; font-size: 16px; }
  
  /* Modern Grid Layout */
  .form-grid-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    column-gap: 60px; 
    row-gap: 32px; 
    align-items: start; 
  }
  
  /* Left Column Placements */
  .item-date { grid-column: 1; grid-row: 1; }
  .item-education { grid-column: 1; grid-row: 2; }
  
  /* Right Column Placements (Fixes the vertical gap) */
  .desktop-right-group { 
    grid-column: 2; 
    grid-row: 1; 
    display: flex; 
    flex-direction: column; 
    gap: 32px; /* Keeps Name and Mobile neatly together */
  }
  
  /* Submit Button Placement */
  .form-footer { 
    grid-column: 2; 
    grid-row: 2; 
    align-self: end; /* Snaps to the bottom alongside the Education block */
    margin-top: auto; 
    padding-top: 10px;
  }
  
  button[type="submit"] { padding: 18px 30px; font-size: 18px; }

  /* Side-by-Side Education Radios */
  #group-education .radio-group { flex-direction: row; flex-wrap: wrap; }
  #group-education .radio-group label { flex: 1 1 calc(33.33% - 12px); justify-content: center; padding: 12px 10px; text-align: center; }
}

/* =========================================
   3. MOBILE / PHONE VERSION (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
  .custom-gform-container { max-width: 100%; border-radius: 0; border: none; box-shadow: none; }
  .form-header-banner { height: 180px; }
  .form-content-area { padding: 0 20px 100px 20px; margin-top: -50px; position: relative; z-index: 2; }
  .form-header-text h2 { font-size: 26px; }
  .form-header-text p { font-size: 14px; }
  .form-group input[type="text"], .form-group input[type="tel"] { padding: 14px 16px; font-size: 15px; }
  
  /* Flattened Mobile Layout */
  .form-grid-layout, .desktop-right-group { display: flex; flex-direction: column; gap: 24px; }
  .radio-group label { font-size: 15px; }
  
  /* Sticky Glowing Submit Button */
  .form-footer {
    position: fixed; bottom: 20px; left: 0; right: 0; padding: 0 20px;
    background: transparent; box-shadow: none; border-top: none; z-index: 100; pointer-events: none; 
  }
  
  button[type="submit"] {
    pointer-events: auto; padding: 16px 20px; font-size: 16px; border-radius: 50px; 
    box-shadow: 0 0 12px rgba(217, 48, 37, 0.6); animation: pulse-glow 2s infinite ease-in-out;
  }
  
  @keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(217, 48, 37, 0.4); }
    50% { box-shadow: 0 0 24px rgba(217, 48, 37, 0.8); }
    100% { box-shadow: 0 0 10px rgba(217, 48, 37, 0.4); }
  }
}

/* Hide WoodMart Scroll Button */
.scrollToTop, .wd-scroll-top, .wd-backtop, .woodmart-scroll-top { display: none !important; }/* End custom CSS */
/* Start custom CSS *//* Hide WoodMart Scroll to Top button on this page only */
.scrollToTop, 
.wd-scroll-top, 
.wd-backtop,
.woodmart-scroll-top {
    display: none !important;
}/* End custom CSS */