#connect {}

.connect-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 65px;
  padding-bottom: 20px;
}

.connect {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.connect .title {
  font-size: 34px;
  font-family: var(---nexa);
  color: var(---main-title-color);
  font-weight: bold;
}

.connect .sub {
  font-family: var(---gilroy);
  font-size: 18px;
  color: var(---main-title-color);
  margin-top: 10px;
}

.connect-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.connect-button button {
  background-color: #2079c2;
  color: white;
  font-family: var(---nexa);
  font-size: var(---font-size);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.connect-button button:hover {
  background-color: var(---main-color);
}

.connect-button button:active {
  transform: translateY(0);
}

.connect-button button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.enquiry-btn {
  background-color: var(---main-title-color) !important;
  color: white !important;
}

.enquiry-btn:hover {
  background-color: var(---main-color) !important;
}

.form_content {
  text-align: start;
}

.btn-close {
  background-color: transparent !important;
}


/* Smaller Screen */
@media (max-width: 479px) {
  .connect .title {
    font-size: 24px;
    text-align: center;
  }

  .connect .sub {
    font-size: 16px;
    text-align: center;
  }

  .connect-button button {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }
}

/* Medium Screen */
@media (min-width: 480px) and (max-width: 767px) {
  .connect .title {
    font-size: 28px;
    text-align: center;
  }

  .connect .sub {
    font-size: 16px;
    text-align: center;
  }

  .connect-button button {
    width: auto;
    padding: 14px 25px;
    font-size: 18px;
  }
}

/* Smaller Laptop and Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .connect .title {
    font-size: 32px;
  }

  .connect .sub {
    font-size: 18px;
  }

  .connect-button button {
    padding: 14px 28px;
    font-size: 20px;
  }
}

/* Small Desktops */
@media (min-width: 1024px) and (max-width: 1280px) {
  .connect .title {
    font-size: 34px;
  }

  .connect .sub {
    font-size: 18px;
  }

  .connect-button button {
    padding: 15px 30px;
    font-size: 20px;
  }
}

/* Larger Desktop */
@media (min-width: 1280px) {
  .connect .title {
    font-size: 34px;
  }

  .connect .sub {
    font-size: 18px;
  }

  .connect-button button {
    padding: 15px 30px;
    font-size: var(---font-size);
  }
}