.background{
    justify-content: center;
  padding: 80px 80px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
@media screen and (max-width: 1200px) {
  .background{
    padding: 10px 40px;
  }
  
  .contact-main-container {
    padding: 40px 30px;
  }
  
  .contact-content-wrapper {
    gap: 40px;
  }
}
@media screen and (max-width: 968px) {
  .background{
    padding: 10px 30px;
  }
  
  .contact-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-container {
    padding-right: 0;
  }
  
  .contact-hero-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }
  
  .contact-doctor-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0px !important;
  }
}
@media screen and (max-width: 768px) {
  .background{
    padding: 10px 15px;
  }
  
  .contact-main-container {
    padding: 25px 15px;
    margin: 20px 10px;
    border-radius: 16px;
  }
  
  .contact-main-title {
    font-size: 28px;
  }
  
  .contact-form-group {
    margin-bottom: 20px;
  }
  
  .contact-input-field {
    padding: 12px 16px;
  }
  
  .contact-submit-button {
    padding: 14px 20px;
  }
  
  .contact-content-wrapper {
    gap: 30px;
  }
}
@media screen and (max-width: 480px) {
  .background{
    padding: 10px 10px;
  }
  
  .contact-main-container {
    padding: 20px 12px;
    margin: 15px 8px;
    border-radius: 12px;
  }
  
  .contact-main-title {
    font-size: 24px;
  }
  
  .contact-input-field {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .contact-submit-button {
    padding: 12px 18px;
    font-size: 14px;
  }
  
  .contact-hero-image {
    aspect-ratio: 3/2;
  }
  
  .contact-experts-section {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .contact-avatar-group {
    justify-content: center;
  }
  
  .contact-experts-text {
    text-align: center;
  }
  
  .contact-content-wrapper {
    gap: 20px;
  }
}
@media screen and (max-width: 360px) {
  .background{
    padding: 10px 5px;
  }
  
  .contact-main-container {
    padding: 15px 10px;
    margin: 10px 5px;
    border-radius: 10px;
  }
  
  .contact-main-title {
    font-size: 22px;
  }
  
  .contact-input-field {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .contact-submit-button {
    padding: 10px 16px;
    font-size: 13px;
  }
}


/* contact form */
.contact-main-container {
    max-width: 1400px;
    margin: 0px auto;
    padding: 0px 50px 50px 50px;
    background: white;
    border-radius: 24px;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-top: 0px;
    font-family: "Lexend", sans-serif;
    margin-bottom: 40px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.contact-section-header {
    margin-bottom: 20px;
}

.contact-main-title {
    font-size: 30px;
    font-weight: 700;
    color: #22919A;
    margin-bottom: 8px;
    font-family: "Lexend", sans-serif;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-form-container {
    width: 100%;
    padding-right: 0px;
    box-sizing: border-box;
}

.contact-form-group {
    margin-bottom: 32px;
}

.contact-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-family: "Lexend", sans-serif;
}

.contact-input-field {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #334155;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    font-family: "Lexend", sans-serif;
    box-sizing: border-box;
}

.contact-input-field:focus {
    outline: none;
    border-color: #0891b2;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.contact-input-field::placeholder {
    color: #94a3b8;
    font-size: 14px;
    font-family: "Lexend", sans-serif;
}

.contact-textarea-field {
    min-height: 150px;
    resize: vertical;
    width: 100%;
    box-sizing: border-box;
}

.contact-submit-button {
    width: 100%;
    color: white;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    background: linear-gradient(90deg, #22919A 0%, #3398A0 50%, #06A7DC 100%);
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    box-sizing: border-box;
}

.contact-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.3);
}

.contact-submit-button:active {
    transform: translateY(0);
}

.contact-button-icon {
    font-size: 20px;
}

.contact-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.contact-hero-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.contact-doctor-photo {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    object-fit: contain;
}

.contact-doctor-illustration {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 85%;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-doctor-figures {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.contact-doctor-person {
    width: 120px;
    height: 200px;
    position: relative;
}

.contact-doctor-coat {
    width: 100%;
    height: 160px;
    background: white;
    border-radius: 8px 8px 20px 20px;
    position: absolute;
    bottom: 0;
    border: 3px solid #e2e8f0;
}

.contact-doctor-head {
    width: 60px;
    height: 60px;
    background: #fbbf24;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid white;
}

.contact-doctor-stethoscope {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 3px solid #0891b2;
    border-radius: 50%;
    background: transparent;
}

.contact-doctor-stethoscope::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 20px;
    background: #0891b2;
}

.contact-doctor-person:first-child .contact-doctor-head {
    background: #f59e0b;
}

.contact-doctor-person:last-child .contact-doctor-head {
    background: #8b5cf6;
}

.contact-experts-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.contact-avatar-group {
    display: flex;
}

.contact-expert-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-expert-avatar:first-child {
    margin-left: 0;
}

.contact-avatar-1 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.contact-avatar-2 {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.contact-avatar-3 {
    background: linear-gradient(135deg, #10b981, #059669);
}

.contact-experts-text {
    font-size: 15px;
    color: #334155;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-content-wrapper {
        gap: 60px;
    }

    .contact-main-container {
        padding: 10px 20px;
    }
}

@media (max-width: 968px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-main-title {
        font-size: 42px;
    }

    .contact-hero-image {
        max-width: 400px;
        height: 300px;
    }

    .contact-doctor-person {
        width: 100px;
        height: 180px;
    }

    .contact-doctor-head {
        width: 50px;
        height: 50px;
    }

    .contact-doctor-coat {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .contact-main-container {
        padding: 40px 16px;
        margin: 0px auto;
        border-radius: 16px;
    }

    .contact-main-title {
        font-size: 36px;
    }

    .contact-form-group {
        margin-bottom: 24px;
    }

    .contact-input-field {
        padding: 14px 16px;
        font-size: 15px;
    }

    .contact-submit-button {
        font-size: 16px;
        padding: 16px 20px;
    }

    .contact-hero-image {
        height: 280px;
    }

    .contact-section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .contact-main-container {
      padding: 10px 16px 32px 16px;        margin: 0px auto;    }

    .contact-main-title {
        font-size: 32px;
    }

    .contact-input-field {
        padding: 12px 14px;
        font-size: 14px;
    }

    .contact-submit-button {
        font-size: 15px;
        padding: 14px 18px;
    }

    .contact-hero-image {
        height: 240px;
        max-width: 100%;
    }

    .contact-doctor-person {
        width: 80px;
        height: 150px;
    }

    .contact-doctor-head {
        width: 40px;
        height: 40px;
    }

    .contact-doctor-coat {
        height: 120px;
    }

    .contact-doctor-stethoscope {
        width: 30px;
        height: 30px;
        top: 70px;
    }

    .contact-expert-avatar {
        width: 40px;
        height: 40px;
    }

    .contact-experts-text {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .contact-main-title {
        font-size: 28px;
    }

    .contact-input-field {
        padding: 10px 12px;
    }

    .contact-submit-button {
        padding: 12px 16px;
    }

    .contact-hero-image {
        height: 200px;
    }
}
/* contact form */