/* CONTACT SECTION (#section6) */
#section6 {
  padding: 40px 20px;
  min-height: 100vh;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#section6 .fp-section,
#section6 .fp-slide,
#section6 .fp-tableCell {
  height: auto !important;
  min-height: 100vh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* MAIN CONTENT */
#section6 .section-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  padding: 20px 0;
}

/* HEADING */
#section6 .section-content h1 {
  font-family: 'Century Gothic', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

/* CONTACT LAYOUT WRAPPER */
#section6 .contact-layout-wrapper {
  display: flex;
  gap: 40px;
  width: 100%;
  align-items: flex-start;
  align-items: stretch;
  position: relative;
  padding-bottom: 50px;
}

/* LEFT COLUMN - MAP AND CONTACT INFO (LARGER) */
#section6 .left-column {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* INFO BOXES - DESKTOP (SIDE BY SIDE) */
#section6 .info-boxes {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
  width: 100%;
}

#section6 .info-box {
  flex: 1;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#section6 .info-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#section6 .info-box img {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
}

#section6 .info-box .Address {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  color: var(--primary-color);
}

/* MAP CONTAINER - LARGER */
#section6 .map-container {
  width: 100%;
  margin-bottom: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
}

#section6 .map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* REGISTERED ADDRESS */
#section6 .registered-address {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  color: #666;
  width: auto;
  white-space: nowrap;
  margin-top: 0;
}

#section6 .registered-address strong {
  color: var(--secondary-color);
  font-weight: 600;
}

/* RIGHT COLUMN - CONTACT FORM (COMPACT) */
#section6 .form-container {
  flex: 1;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 0;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

#section6 .form-container h2 {
  font-family: 'Century Gothic', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* FORM STYLES - COMPACT */
#section6 .contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#section6 .form-group:last-of-type {
  margin-top: auto;
}

#section6 .form-group {
  margin-bottom: 15px;
}

#section6 .form-group input,
#section6 .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #b0b0b0 !important;
  border-radius: 5px;
  background: #fff;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--primary-color);
  box-sizing: border-box;
  transition: all 0.3s ease;
  background-color: transparent !important;
}

#section6 .form-group textarea {
  resize: none;
  height: 100px;
}

#section6 .form-group input:focus,
#section6 .form-group textarea:focus {
  border: 1px solid var(--secondary-color) !important;
  box-shadow: 0 0 5px rgba(253, 147, 82, 0.3) !important;
  outline: none !important;
}

#section6 .form-group input::placeholder,
#section6 .form-group textarea::placeholder {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--primary-color);
  opacity: 0.7;
}

#section6 .form-group button {
  width: 100%;
  padding: 12px 15px;
  background: linear-gradient(180deg, #FD9352 0%, #BD540F 100%);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  transition: all 0.3s ease;
  margin-top: 5px;
}

#section6 .form-group button:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* CONTACT FORM VALIDATION STYLES */
#section6 .form-group {
  position: relative;
  margin-bottom: 20px;
}

#section6 .error-message {
  color: #dc3545;
  font-size: 12px;
  font-weight: 500;
  margin-top: 5px;
  display: none;
  font-family: 'Open Sans', sans-serif;
}

#section6 .input-error {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

#section6 .input-success {
  border-color: #28a745 !important;
  background-color: #f8fff9 !important;
}

#section6 .form-group input,
#section6 .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--primary-color);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#section6 .form-group input:focus,
#section6 .form-group textarea:focus {
  border: 1px solid var(--secondary-color) !important;
  box-shadow: 0 0 5px rgba(253, 147, 82, 0.3) !important;
  outline: none !important;
}

/* ========================================
   MOBILE RESPONSIVE FIXES FOR FULLPAGE.JS
   ======================================== */
@media (max-width: 768px) {
  #section6 {
    padding: 0;
    min-height: 100vh;
    height: 100vh !important;
    overflow: hidden !important;
  }

  #section6 .fp-section,
  #section6 .fp-slide,
  #section6 .fp-tableCell {
    height: 100vh !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 60px !important;
    padding-bottom: 80px !important;
    box-sizing: border-box !important;
  }

  #section6 .section-content {
    max-width: 100%;
    padding: 0 20px;
    height: calc(100vh - 140px) !important;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto !important;
  }

  #section6 .section-content h1 {
    font-size: 24px;
    margin-bottom: 25px;
    margin-top: 0;
  }

  #section6 .contact-layout-wrapper {
    flex-direction: column;
    gap: 40px;
    height: auto;
    width: 100%;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 60px;
    position: relative;
  }

  #section6 .left-column {
    flex: none;
    gap: 25px;
    width: 100%;
  }

  /* FIX FORM CONTAINER - MAKE IT VISIBLE */
  #section6 .form-container {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 25px !important;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
  }

  #section6 .form-container h2 {
    font-size: 22px;
    margin-bottom: 25px;
    display: block;
  }

  /* MOBILE: INFO BOXES */
  #section6 .info-boxes {
    flex-direction: column;
    gap: 15px;
  }

  #section6 .info-box {
    padding: 20px;
    width: 100%;
  }

  #section6 .info-box .Address {
    font-size: 14px;
  }

  /* MOBILE: MAP - FULL WIDTH */
  #section6 .map-container {
    width: 100%;
    margin: 0;
    flex: none;
  }

  #section6 .map-container iframe {
    height: 300px;
    width: 100%;
  }

  /* MOBILE: FORM ELEMENTS - FIX FLEX */
  #section6 .contact-form {
    flex: none;
  }

  #section6 .form-group:last-of-type {
    margin-top: 0;
  }

  #section6 .form-group {
    margin-bottom: 20px;
  }

  #section6 .form-group input,
  #section6 .form-group textarea {
    padding: 15px;
    font-size: 16px;
    width: 100%;
    border: 1px solid #ddd !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  #section6 .form-group textarea {
    height: 120px;
  }

  #section6 .form-group input::placeholder,
  #section6 .form-group textarea::placeholder {
    font-size: 14px;
  }

  #section6 .form-group button {
    padding: 15px;
    font-size: 16px;
    width: 100%;
    margin-top: 0;
  }

  /* FIX MOBILE: REGISTERED ADDRESS POSITIONING */
  #section6 .registered-address {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 13px;
    margin-top: 0;
    white-space: normal;
  }
}

/* ========================================
   TABLET (769px-1024px)
   ======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  #section6 .section-content {
    max-width: 850px;
  }

  #section6 .section-content h1 {
    font-size: 26px;
  }

  #section6 .contact-layout-wrapper {
    gap: 30px;
  }

  #section6 .map-container iframe {
    height: 280px;
  }
}

/* Ultra-small screens (≤360px) */
@media (max-width: 360px) {
  #section6 .section-content {
    padding: 0 15px;
    height: calc(100vh - 140px) !important;
  }

  #section6 .section-content h1 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  #section6 .contact-layout-wrapper {
    gap: 30px;
  }

  #section6 .left-column {
    gap: 20px;
  }

  #section6 .info-box {
    padding: 15px;
  }

  #section6 .info-box .Address {
    font-size: 13px;
  }

  #section6 .map-container iframe {
    height: 250px;
  }

  #section6 .form-container h2 {
    font-size: 20px;
  }

  #section6 .form-group input,
  #section6 .form-group textarea {
    padding: 12px;
    font-size: 14px;
  }
}

/* HIDE MOBILE ELEMENTS */
#section6 .mobile-header,
#section6 .mobile-menu,
#section6 .mobLogo,
#section6 .hamburger-icon {
  display: none;
}

/* SHOW DESKTOP ELEMENTS */
#section6 .fixed-logo,
#section6 .left-circle-menu,
#section6 .half-ApplicationCircle-image {
  display: block;
}