
.contact-section {
  position: relative;
  margin-top: -150px;
}

.contact-section .container {
  max-width: 1600px;
}

.contact-wrapper {
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  padding: 42px 32px;
}

.contact-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Loader styles */
.loader-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #FFA64D;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Status message styles */
.status-message-container {
  margin-top: 20px;
}

.status-message {
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  background-color: #4CAF50;
  color: white;
  animation: fadeIn 0.3s ease-in;
}

.status-message.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-heading h1 {
  font-family: "Clash Display", sans-serif;
  font-size: 70px;
  font-weight: 500;
  line-height: 78px;
  letter-spacing: -0.7px;
  margin: 0;
}

.heading-orange {
   background: linear-gradient(180deg, #dd630f 0%, #ffa245 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heading-black {
  color: #000;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 10px;
}

.feature-item {
  background: #ffeddb;
  border: 2px solid #f7b670;
  border-radius: 10px;
  padding: 16px 25px;
  height: 60px;
  display: flex;
  align-items: center;
}

.feature-item p {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #000;
  margin: 0;
}

.project-showcase {
  position: relative;
  height: 267px;
  margin-top: 20px;
}

.blur-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blur-effect svg {
  width: 100%;
  height: 100%;
}

.contact-section .books-container {
  position: relative;
  width: 100%;
  height: 236px;
  padding: 0 46px;
  top: 5px;
}

.contact-section .book-img {
  position: absolute;
  border-radius: 10px;
}

.contact-section .book-main {
  width: 800px;
  height: 336px;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.contact-form-wrappers {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #000;
}

.form-control {
  background: #f2f2f2;
  border: none;
  border-radius: 10px;
  padding: 17.5px 20.5px;
  height: 63px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #000;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  opacity: 0.9;
}

.form-control:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px #ff7415;
}

.contact-section textarea.form-control {
  height: 214px;
  resize: none;
  padding-top: 17.5px;
}

.budget-options {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.budget-btn {
  flex: 0 0 calc(50% - 8.5px);
  height: 50px;
  background: #f2f2f2;
  border: none;
  border-radius: 10px;
  padding: 1px 20.5px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #000;
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.budget-btn.active {
   background: linear-gradient(180deg, #dd630f 0%, #ffa245 100%);
  color: #fff;
  opacity: 1;
}

.submit-btn {
  width: 100%;
  height: 55px;
   background: linear-gradient(180deg, #dd630f 0%, #ffa245 100%);
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


@media (min-width: 1024px) and (max-width: 1450px) {
  .contact-section .container {
    max-width: 1300px;
  }

  .contact-wrapper {
    padding: 35px 28px;
  }

  .contact-heading h1 {
    font-size: 56px;
    line-height: 62px;
  }

  .feature-item {
    height: 55px;
    padding: 14px 20px;
  }

  .feature-item p {
    font-size: 18px;
    line-height: 26px;
  }

  .project-showcase {
    height: 220px;
  }

  .contact-section .book-main {
  width: 630px;
  height: 336px;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}


  .form-group label {
    font-size: 18px;
  }

  .form-control {
    font-size: 18px;
    height: 58px;
  }

  .contact-section .textarea.form-control {
    height: 180px;
  }

  .budget-btn {
    font-size: 18px;
    height: 48px;
  }

  .submit-btn {
    font-size: 18px;
    height: 52px;
  }
}


@media (max-width: 1023px) {
  .contact-section .contact-wrapper {
    padding: 30px 24px;
  }

  .contact-heading h1 {
    font-size: 50px;
    line-height: 56px;
  }

  .project-showcase {
    height: 200px;
  }

  .books-container {
    height: 180px;
    transform: scale(0.8);
    transform-origin: center;
  }

  .form-control {
    font-size: 18px;
  }

  .budget-btn {
    font-size: 18px;
  }
}

@media (max-width: 835px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-section .contact-wrapper {
    flex-direction: column;
    border-radius: 20px;
    padding: 24px 16px;
  }

  .contact-heading h1 {
    font-size: 34px;
    line-height: 40px;
    text-align: center;
  }

  .contact-heading {
    text-align: center;
    margin-bottom: 20px;
  }

  .features-list {
    gap: 14px;
    margin-top: 12px;
  }

  .feature-item {
    height: auto;
    min-height: 48px;
    padding: 10px 16px;
    justify-content: center;
    text-align: center;
  }

  .feature-item p {
    font-size: 15px;
    line-height: 20px;
  }

  .contact-section .project-showcase {
    height: auto;
    margin-top: 20px;
  }

  .contact-section .books-container {
    height: auto;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .contact-section .book-main {
    position: relative;
    /* height: auto; */
    transform: none;
    left: 60px !important;
  }

  .blur-effect svg {
    display: none; 
  }

  .contact-section .contact-form-wrappers {
    margin-top: 40px;
  }

  .contact-section .contact-form-wrappers .contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .contact-form-wrappers .form-group label {
    font-size: 16px;
  }

  .contact-form-wrappers .form-control {
    font-size: 15px;
    height: 48px;
    padding: 12px 16px;
  }

  .contact-section textarea.form-control {
    height: 130px;
  }

  .budget-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .budget-btn {
    width: 100%;
    font-size: 15px;
    height: 45px;
  }

  .submit-btn {
    font-size: 16px;
    height: 50px;
    border-radius: 8px;
  }
}

@media (max-width: 575px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-section .contact-wrapper {
    padding: 20px 14px;
  }

  .contact-heading h1 {
    font-size: 28px;
    line-height: 34px;
  }

    .contact-section .book-main {
    position: relative;
    width: 500px;
    /* max-width: 700px; */
    height: auto;
    transform: none;
    left: 70px !important;
  }

  .feature-item p {
    font-size: 14px;
    line-height: 20px;
  }

 .contact-form-wrappers .contact-form {
    gap: 20px;
  }

  .form-control {
    font-size: 14px;
    height: 46px;
    padding: 10px 14px;
  }

  .contact-section textarea.form-control {
    height: 120px;
  }

  .budget-btn {
    font-size: 14px;
    height: 44px;
  }

  .submit-btn {
    font-size: 15px;
    height: 48px;
  }
}

@media (max-width: 450px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-form-wrappers .contact-wrapper {
    padding: 18px 12px;
  }

  .contact-heading h1 {
    font-size: 24px;
    line-height: 30px;
  }

    .contact-section .book-main {
    position: relative;
    width: 430px;
    height: auto;
    transform: none;
    left: 0;
  }

  .feature-item {
    padding: 8px 12px;
  }

  .feature-item p {
    font-size: 13px;
    line-height: 18px;
  }

  .form-control {
    font-size: 13px;
    height: 44px;
    padding: 8px 12px;
  }

  .contact-section textarea.form-control {
    height: 100px;
  }

  .budget-btn {
    font-size: 13px;
    height: 42px;
  }

  .submit-btn {
    font-size: 14px;
    height: 46px;
  }
}

@media (max-width: 360px) {
  .contact-heading h1 {
    font-size: 22px;
    line-height: 28px;
  }

  .feature-item p {
    font-size: 12.5px;
  }

   .contact-section .book-main {
    position: relative;
    width: 400px;
    /* max-width: 700px; */
    height: auto;
    transform: none;
    left: 0;
  }

  .form-control {
    font-size: 13px;
    height: 42px;
  }

  .contact-section textarea.form-control {
    height: 90px;
  }

  .budget-btn {
    font-size: 12.5px;
    height: 40px;
  }

  .submit-btn {
    font-size: 13px;
    height: 44px;
  }
}

