/* ========================================
   CONTACT PAGE CSS FIXES
   ======================================== */

/* ===== REMOVE ALL HOVER MOVEMENT EFFECTS ===== */

/* Remove translateY effect on ALL cards and elements */
.contact-hero-floating-card:hover,
.contact-info-card:hover,
.timezone-card:hover,
.contact-method-card:hover,
.method-card:hover,
.location-card:hover,
.office-card:hover,
.globe-container:hover {
  transform: none !important;
}

/* Remove translateX effect on hero label */
.contact-hero-label:hover {
  transform: none !important;
  background: rgba(255, 69, 0, 0.15) !important;
}

/* Keep only scale effect for icons */
.contact-info-card:hover .contact-info-icon,
.contact-hero-card-icon-box:hover {
  transform: scale(1.05) !important;
}

/* Remove translateY effect on submit button */
.btn-submit:hover {
  transform: none !important;
}

/* Remove any other button movement effects */
.contact-cta-btn:hover,
.contact-primary-btn:hover,
.contact-secondary-btn:hover {
  transform: none !important;
}

/* ========================================
   TABLET RESPONSIVE IMPROVEMENTS (768px - 991px)
   ======================================== */

@media (min-width: 768px) and (max-width: 991px) {
  /* Hero Section - Tablet - MOVED UP */
  .contact-professional-hero {
    padding: 50px 0 50px !important;
  }

  .contact-hero-content {
    text-align: center !important;
    margin-bottom: 40px !important;
  }

  .contact-hero-label {
    margin: 0 auto 18px !important;
    font-size: 0.9rem !important;
  }

  .contact-hero-main-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 18px !important;
  }

  .contact-hero-description {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    padding: 0 20px !important;
  }

  /* Hero Visual Section - Tablet - 2 CARDS SIDE BY SIDE */
  .contact-hero-visual-section {
    height: auto !important;
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin-top: 0 !important;
  }

  .contact-hero-floating-card {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 30px 25px !important;
  }

  .contact-hero-card-1,
  .contact-hero-card-3 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-hero-card-icon-box {
    width: 55px !important;
    height: 55px !important;
    margin-bottom: 18px !important;
  }

  .contact-hero-card-icon-box i {
    font-size: 1.6rem !important;
  }

  .contact-hero-floating-card h4 {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
  }

  .contact-hero-floating-card p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  .contact-hero-stats-badge {
    padding: 6px 14px !important;
    margin-top: 10px !important;
  }

  .contact-hero-stats-badge span {
    font-size: 0.8rem !important;
  }

  /* Contact Info Section - Tablet - HIDE ALL 3 CARDS */
  .contact-info-section {
    display: none !important;
  }

  /* Form Section - Tablet */
  .contact-form-section {
    padding: 40px 0 50px !important;
  }

  .contact-form-container {
    padding: 40px 35px !important;
  }

  .contact-form-container h3 {
    font-size: 1.8rem !important;
    margin-bottom: 12px !important;
  }

  .contact-form-container .form-subtitle {
    font-size: 1rem !important;
    margin-bottom: 30px !important;
  }

  .contact-form-container .form-control,
  .contact-form-container .form-select {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
  }

  .btn-submit {
    padding: 14px 35px !important;
    font-size: 1.05rem !important;
  }

  /* Map Section - Tablet */
  .map-section {
    padding: 50px 0 !important;
  }

  .map-container {
    height: 450px !important;
  }
}

/* ========================================
   MOBILE RESPONSIVE IMPROVEMENTS (up to 767px)
   ======================================== */

@media (max-width: 767px) {
  /* Body Padding - Mobile */
  body.contact-page-body {
    padding-top: 80px !important;
  }

  /* Hero Section - Mobile */
  .contact-professional-hero {
    padding: 40px 0 40px !important;
    margin-top: 0 !important;
  }

  .contact-hero-content {
    text-align: center !important;
    margin-bottom: 40px !important;
    padding: 0 15px !important;
  }

  .contact-hero-label {
    font-size: 0.85rem !important;
    padding: 7px 16px !important;
    margin: 0 auto 18px !important;
  }

  .contact-hero-main-title {
    font-size: 2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }

  .contact-hero-description {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    padding: 0 10px !important;
  }

  /* Hero Visual Section - Mobile */
  .contact-hero-visual-section {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 15px !important;
    margin-top: 0 !important;
  }

  .contact-hero-floating-card {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 25px 20px !important;
  }

  .contact-hero-card-1,
  .contact-hero-card-3 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-hero-card-icon-box {
    width: 55px !important;
    height: 55px !important;
    margin-bottom: 18px !important;
  }

  .contact-hero-card-icon-box i {
    font-size: 1.6rem !important;
  }

  .contact-hero-floating-card h4 {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
  }

  .contact-hero-floating-card p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }

  .contact-hero-stats-badge {
    padding: 6px 14px !important;
    margin-top: 8px !important;
  }

  .contact-hero-stats-badge span {
    font-size: 0.8rem !important;
  }

  /* Contact Info Section - Mobile */
  .contact-info-section {
    padding: 40px 0 !important;
    margin-top: -20px !important;
  }

  .contact-info-section .container {
    padding: 0 20px !important;
  }

  .contact-info-section .row {
    gap: 20px !important;
  }

  .contact-info-card {
    padding: 30px 20px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .contact-info-icon {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 18px !important;
    flex-shrink: 0 !important;
  }

  .contact-info-icon i {
    font-size: 1.7rem !important;
  }

  .contact-info-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  .contact-info-card p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
  }

  .contact-info-card a {
    font-size: 0.9rem !important;
    text-align: center !important;
    word-break: break-word !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* Form Section - Mobile */
  .contact-form-section {
    padding: 30px 0 40px !important;
  }

  .contact-form-section .container {
    padding: 0 20px !important;
  }

  .contact-form-container {
    padding: 30px 20px !important;
    border-radius: 20px !important;
  }

  .contact-form-container h3 {
    font-size: 1.6rem !important;
    margin-bottom: 10px !important;
  }

  .contact-form-container .form-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 25px !important;
  }

  .contact-form-container .form-label {
    font-size: 0.9rem !important;
    margin-bottom: 6px !important;
  }

  .contact-form-container .form-control,
  .contact-form-container .form-select {
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
  }

  .contact-form-container textarea.form-control {
    min-height: 130px !important;
  }

  .contact-form-container .row.g-4 {
    gap: 1rem !important;
  }

  .btn-submit {
    padding: 14px 30px !important;
    font-size: 1rem !important;
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
  }

  /* Map Section - Mobile */
  .map-section {
    padding: 40px 0 !important;
  }

  .map-section .container {
    padding: 0 20px !important;
  }

  .map-section .row.text-center.mb-5 {
    margin-bottom: 2rem !important;
  }

  .map-section h2 {
    font-size: 1.8rem !important;
  }

  .map-section p {
    font-size: 0.95rem !important;
  }

  .map-container {
    height: 350px !important;
    border-radius: 16px !important;
  }

  /* Section Badges - Mobile */
  .section-badge {
    font-size: 0.85rem !important;
    padding: 6px 16px !important;
  }
}

/* ========================================
   SMALL MOBILE IMPROVEMENTS (up to 480px)
   ======================================== */

@media (max-width: 480px) {
  /* Hero Section - Small Mobile */
  .contact-professional-hero {
    padding: 35px 0 35px !important;
  }

  .contact-hero-content {
    padding: 0 10px !important;
  }

  .contact-hero-label {
    font-size: 0.8rem !important;
    padding: 6px 14px !important;
  }

  .contact-hero-main-title {
    font-size: 1.75rem !important;
    margin-bottom: 15px !important;
  }

  .contact-hero-description {
    font-size: 0.9rem !important;
    padding: 0 5px !important;
  }

  /* Hero Cards - Small Mobile */
  .contact-hero-visual-section {
    padding: 0 10px !important;
    gap: 15px !important;
  }

  .contact-hero-floating-card {
    padding: 20px 18px !important;
  }

  .contact-hero-card-icon-box {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 15px !important;
  }

  .contact-hero-card-icon-box i {
    font-size: 1.4rem !important;
  }

  .contact-hero-floating-card h4 {
    font-size: 1.15rem !important;
  }

  .contact-hero-floating-card p {
    font-size: 0.85rem !important;
  }

  /* Contact Info - Small Mobile */
  .contact-info-section {
    padding: 35px 0 !important;
  }

  .contact-info-section .container {
    padding: 0 15px !important;
  }

  .contact-info-card {
    padding: 25px 18px !important;
  }

  .contact-info-icon {
    width: 55px !important;
    height: 55px !important;
  }

  .contact-info-icon i {
    font-size: 1.5rem !important;
  }

  .contact-info-card h3 {
    font-size: 1.15rem !important;
  }

  .contact-info-card p {
    font-size: 0.85rem !important;
  }

  .contact-info-card a {
    font-size: 0.85rem !important;
  }

  /* Form - Small Mobile */
  .contact-form-section {
    padding: 25px 0 35px !important;
  }

  .contact-form-section .container {
    padding: 0 15px !important;
  }

  .contact-form-container {
    padding: 25px 18px !important;
  }

  .contact-form-container h3 {
    font-size: 1.4rem !important;
  }

  .contact-form-container .form-subtitle {
    font-size: 0.9rem !important;
  }

  .contact-form-container .form-control,
  .contact-form-container .form-select {
    padding: 11px 12px !important;
    font-size: 0.85rem !important;
  }

  .btn-submit {
    padding: 12px 25px !important;
    font-size: 0.95rem !important;
  }

  /* Map - Small Mobile */
  .map-section {
    padding: 35px 0 !important;
  }

  .map-section .container {
    padding: 0 15px !important;
  }

  .map-section h2 {
    font-size: 1.6rem !important;
  }

  .map-section p {
    font-size: 0.9rem !important;
  }

  .map-container {
    height: 300px !important;
  }
}


/* ============================================
   CONTACT FORM — MODERN REDESIGN (cfm-*)
   ============================================ */

.cfm-section {
  padding: 70px 0 80px;
  background: #f8f4f1;
}

/* Header */
.cfm-header {
  margin-bottom: 44px;
}

.cfm-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  background: rgba(255,69,0,0.08);
  color: #FF4500;
  border: 1.5px solid rgba(255,69,0,0.18);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.cfm-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.cfm-highlight {
  background: linear-gradient(135deg, #FF4500, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cfm-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Main card wrapper */
.cfm-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}

/* ---- LEFT DARK PANEL ---- */
.cfm-left {
  background: #1e1e2e;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.cfm-left-blob {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,69,0,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cfm-left-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #FF4500, #FF6347);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(255,69,0,0.3);
}

.cfm-left-icon i { font-size: 1.5rem; color: #fff; }

.cfm-left-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.cfm-left-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Perks list */
.cfm-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.cfm-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cfm-perks li:last-child { border-bottom: none; }

.cfm-perk-dot {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #FF4500, #FF8C00);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Contact items */
.cfm-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.cfm-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cfm-contact-item:hover {
  background: rgba(255,69,0,0.12);
  border-color: rgba(255,69,0,0.25);
}

.cfm-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,69,0,0.15);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cfm-contact-icon i { font-size: 0.95rem; color: #FF6347; }

.cfm-contact-label {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.cfm-contact-val {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 600;
}

/* Trust row */
.cfm-trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.cfm-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.cfm-trust-item i { color: #FF6347; font-size: 0.8rem; }

/* ---- RIGHT FORM PANEL ---- */
.cfm-right {
  background: #ffffff;
  padding: 48px 44px;
}

/* Form grid */
.cfm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.cfm-field-full {
  grid-column: span 2;
}

/* Labels */
.cfm-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cfm-req { color: #FF4500; }

/* Input wrapper */
.cfm-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cfm-input-wrap > i {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  color: #9ca3af;
  pointer-events: none;
  z-index: 1;
}

.cfm-input-wrap input,
.cfm-input-wrap select,
.cfm-input-wrap textarea {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.93rem;
  color: #1f2937;
  background: #fafafa;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.cfm-input-wrap input:focus,
.cfm-input-wrap select:focus,
.cfm-input-wrap textarea:focus {
  border-color: #FF4500;
  box-shadow: 0 0 0 4px rgba(255,69,0,0.08);
  background: #ffffff;
}

.cfm-input-wrap input::placeholder,
.cfm-input-wrap textarea::placeholder {
  color: #c4c9d4;
}

/* Select arrow */
.cfm-select-wrap::after {
  content: '\F282';
  font-family: 'bootstrap-icons';
  position: absolute;
  right: 14px;
  font-size: 0.85rem;
  color: #9ca3af;
  pointer-events: none;
}

/* Textarea */
.cfm-textarea-wrap { align-items: flex-start; }
.cfm-textarea-wrap > i { top: 14px; }
.cfm-textarea-wrap textarea { resize: vertical; min-height: 110px; }

/* Submit button */
.cfm-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FF4500, #FF6347);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255,69,0,0.3);
  position: relative;
  overflow: hidden;
}

.cfm-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cfm-submit:hover::before { left: 100%; }

.cfm-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,69,0,0.4);
}

/* Responsive */
@media (max-width: 1100px) {
  .cfm-card { grid-template-columns: 320px 1fr; }
}

@media (max-width: 900px) {
  .cfm-card { grid-template-columns: 1fr; }
  .cfm-left { padding: 36px 28px; }
  .cfm-right { padding: 36px 28px; }
  .cfm-trust { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .cfm-form-grid { grid-template-columns: 1fr; }
  .cfm-field-full { grid-column: span 1; }
  .cfm-right { padding: 28px 20px; }
  .cfm-left { padding: 28px 20px; }
  .cfm-submit { width: 100%; justify-content: center; }
}
