@charset "UTF-8";
/*
  Template Name: Global Connet Servey HTML Template
  Author Name: Global theme
  Version: 1.0.0

  ----------------------------
  [Table of contents CSS] 
  ----------------------------

    1. Contact page css
*/

/*
  1. Base CSS
*/

:root {
    --red: #8B1A1A;
    --red-light: #B52626;
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --dark: #1A1A2E;
    --cream: #FDF6EC;
    --cream-dark: #F5E9D0;
    --white: #FFFFFF;
    --text: #2D2D2D;
    --text-muted: #777;
    --border: #DDD0B8;
    --success: #2E7D32;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    background: #F0EAE0;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    min-height: 100vh;
  }

  /* HERO BANNER */
  .hero {
    background: var(--dark);
    background-image: 
      radial-gradient(ellipse at 20% 50%, rgba(139,26,26,0.4) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.2) 0%, transparent 50%);
    padding: 56px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
      repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(201,168,76,0.03) 40px,
        rgba(201,168,76,0.03) 41px
      );
  }

  .hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold-light);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 2px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .hero h1 span { color: var(--gold); }

  .hero-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: rgba(255,255,255,0.65);
    font-style: italic;
    margin-bottom: 28px;
  }

  .hero-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 28px;
  }

  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat-num {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
  }

  .hero-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
  }

  /* MAIN CONTAINER */
  .container {
    /*max-width: 780px;*/
    max-width: 90%;
    margin: 0 auto;
    padding: 0 16px 80px;
  }

  /* INTRO CARD */
  .intro-card {
    background: var(--red);
    color: white;
    padding: 28px 36px;
    margin: 0 0 32px;
    position: relative;
  }

  .intro-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: var(--gold);
  }

  .intro-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 12px;
  }

  .intro-card p {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
  }

  /* FORM SECTIONS */
  .form-section {
    background: var(--white);
    border-radius: 0;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #E8DCC8;
    box-shadow: 0 2px 12px rgba(26,26,46,0.06);
  }

  .section-header {
    background: var(--cream-dark);
    border-left: 5px solid var(--gold);
    padding: 20px 28px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .section-num {
    background: var(--red);
    color: white;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .section-title {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.5px;
  }

  .section-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
    font-style: italic;
  }

  .section-body {
    padding: 28px 28px 20px;
  }

  /* FORM ELEMENTS */
  .field-group {
    margin-bottom: 22px;
  }

  .field-group:last-child { margin-bottom: 0; }

  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  @media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

  label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
  }

  label .req {
    color: var(--red);
    margin-left: 3px;
  }

  label .hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
    margin-left: 6px;
  }

  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="url"],
  select,
  textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--cream);
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    appearance: none;
  }

  input:focus,
  select:focus,
  textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  }

  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
  }

  textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
  }

  /* RADIO / CHECKBOX */
  .radio-group, .check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
  }

  .radio-item, .check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 9px 16px;
    border: 1.5px solid var(--border);
    background: var(--cream);
    transition: all 0.2s;
    font-size: 13.5px;
    user-select: none;
  }

  .radio-item:hover, .check-item:hover {
    border-color: var(--gold);
    background: var(--cream-dark);
  }

  /*.radio-item input, .check-item input { display: none; }*/
  .radio-item input { display: none; }

  .radio-item .dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }

  .check-item .box {
    width: 16px; height: 16px;
    border: 2px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }

  .radio-item.selected, .check-item.selected {
    border-color: var(--red);
    background: #FFF5F5;
  }

  .radio-item.selected .dot {
    border-color: var(--red);
    background: var(--red);
    box-shadow: inset 0 0 0 3px white;
  }

  .check-item.selected .box {
    border-color: var(--red);
    background: var(--red);
  }

  .check-item.selected .box::after {
    content: '✓';
    color: white;
    font-size: 11px;
    font-weight: 700;
  }

  /* SCALE */
  .scale-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 6px;
  }

  .scale-label {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 90px;
  }

  .scale-label.right { text-align: right; }

  .scale-buttons {
    display: flex;
    flex: 1;
    gap: 6px;
    justify-content: center;
    margin: 0 12px;
  }

  .scale-btn {
    width: 40px; height: 40px;
    border: 1.5px solid var(--border);
    background: var(--cream);
    font-size: 13px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.15s;
    border-radius: 0;
    color: var(--text-muted);
  }

  .scale-btn:hover { border-color: var(--gold); color: var(--dark); }
  .scale-btn.active { background: var(--red); border-color: var(--red); color: white; }

  /* TIER SELECTOR */
  .tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 8px;
  }

  .tier-card {
    border: 2px solid var(--border);
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--cream);
  }

  .tier-card:hover { border-color: var(--gold); }
  .tier-card.selected { border-color: var(--red); background: #FFF5F5; }

  .tier-icon { font-size: 24px; margin-bottom: 6px; }
  .tier-name { font-family: 'Cinzel', serif; font-size: 12px; font-weight: 600; color: var(--dark); }
  .tier-range { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

  /* PROGRESS BAR */
  .progress-bar-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dark);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .progress-label {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
  }

  .progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red), var(--gold));
    border-radius: 2px;
    transition: width 0.5s ease;
  }

  .progress-pct {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    min-width: 36px;
    text-align: right;
  }

  /* DIVIDER */
  .field-divider {
    border: none;
    border-top: 1px dashed var(--border);
    margin: 20px 0;
  }

  /* INFO BOX */
  .info-box {
    background: var(--cream-dark);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    font-size: 13px;
    color: #5C4A1E;
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
  }

  /* SUBMIT */
  .submit-section {
    background: var(--white);
    border: 1px solid #E8DCC8;
    padding: 36px 28px;
    text-align: center;
    margin-top: 24px;
    box-shadow: 0 2px 12px rgba(26,26,46,0.06);
  }

  .submit-section p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
  }

  .btn-submit {
    background: var(--red);
    color: white;
    border: none;
    padding: 16px 52px;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
  }

  .btn-submit::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
  }

  .btn-submit:hover { background: #6E1414; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(139,26,26,0.3); }

  .thank-you {
    display: none;
    animation: fadeIn 0.5s ease;
  }

  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

  .thank-you .check {
    width: 60px; height: 60px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 20px;
  }

  .thank-you h3 {
    font-family: 'Cinzel', serif;
    color: var(--red);
    font-size: 20px;
    margin-bottom: 10px;
  }

  .thank-you p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 0;
  }

  /* FOOTER */
  footer {
    background: var(--dark);
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 20px;
    font-size: 12px;
  }

  footer span { color: var(--gold); }

   /* Message */
  .message-box {
      max-width: 1400px;
      margin: 0 auto 20px;
      padding: 16px 18px;
      border-radius: 12px;
      font-size: 0.97rem;
      line-height: 1.5;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .alert-success {
      background: #edf7ed;
      color: #1f4d2a;
      border: 1px solid #b7dfb5;
    }

    .alert-danger {
      background: #fde7e7;
      color: #7a1919;
      border: 1px solid #f2b8b8;
    }

    .error{
        color: #7a1919;
        font-size: 0.9rem;
        margin-top: 4px;
    }
/* HERO NAVIGATION */
.hero-nav {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
}

.hero-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold-light);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.2s ease;
    
}

.hero-home-link:hover {
    background: rgba(201,168,76,0.25);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-1px);
}

.home-icon {
    font-size: 14px;
    opacity: 0.8;
}

.home-text {
    opacity: 0.9;
}


.field-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

@media (max-width: 768px) { 
  .field-row-3 { 
    grid-template-columns: 1fr; 
  } 
}

/* Select2 match existing form design */
.select2-container {
  width: 100% !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

.select2-container .select2-selection--single {
  height: auto;
  min-height: 44px;
  padding: 11px 38px 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 0;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.2;
  padding-left: 0;
  color: var(--text);
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--text-muted);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--gold) transparent transparent transparent;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.select2-dropdown {
  border: 1.5px solid var(--border);
  border-radius: 0;
  background: var(--white);
}

.select2-search--dropdown .select2-search__field {
  border: 1.5px solid var(--border);
  border-radius: 0;
  padding: 8px 10px;
  font-family: 'DM Sans', sans-serif;
}

.select2-results__option--highlighted[aria-selected] {
  background-color: #f5efe0 !important;
  color: var(--text) !important;
}