.contact-section {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: url('../images/back-img-1.png') center center/cover no-repeat;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}


.contact-section h2 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700;
    font-size: 40px;
}

.contact-section p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0E1849B2;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}


/*section 3*/
/* Section wrapper */
.contact-section3 {
  padding: 60px 0;
  width: 100%;
  position: relative;
}

/* Form container */
.Form {
  max-width: 700px;
  margin: 0 auto;
}

/* Heading */
.Form h1 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700;
  color: #6101D1;
  margin-bottom: 30px;
}

/* Gravity form wrapper */
.gform_wrapper {
  text-align: left;
}

/* Make the fields row flexible */
.gform_wrapper form .gform_body .gform_fields {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Half-width fields (Name & Phone) */
.gform_wrapper form .gform_body .gfield#field_2_1,
.gform_wrapper form .gform_body .gfield#field_2_5 {
  flex: 1 1 calc(50% - 10px);

}

input#input_2_1,
input#input_2_6,
textarea#input_2_7{
  background-color: #F6F4FF;
  
}
input#input_2_5 {
  background-color: #F6F4FF;

}

input#input_2_1:hover,
input#input_2_6:hover,
textarea#input_2_7:hover,
input#input_2_5:hover{
  border: 1px solid #6101D1;
  pointer:cursor;


}


.image-left{
    position:absolute;
    z-index: -1;
    top: 5%;
    left: 0;
    margin-left: 0;
    padding-left: 0;
}

.image-right{
    position:absolute;
    z-index: -1;
    top: 5%;
    right: 0;
    margin-right: 0;
    padding-right: 0;
}


/* Full-width fields (Email & Message) */
.gform_wrapper form .gform_body .gfield#field_2_6,
.gform_wrapper form .gform_body .gfield#field_2_7 {
  flex: 1 1 100%;

}



textarea#input_2_7{
  height: 10rem;
}

/* Input & textarea styling */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea,
input#input_2_5 {
  width: 100% !important;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus {
  border-color: #6c3fb5;
  box-shadow: 0 0 8px rgba(108, 63, 181, 0.3);
  outline: none;
}

/* Submit button */
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button {
  background-color: #6101D1;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 40px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;

}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer button:hover {
  background-color: #532c91;
}

/* Responsive */
@media (max-width: 768px) {
  .gform_wrapper form .gform_body .gform_fields {
    flex-direction: column;
  }
  .gform_wrapper form .gform_body .gfield#field_2_1,
  .gform_wrapper form .gform_body .gfield#field_2_5 {
    flex: 1 1 100%;
  }
}





/* section 4 cards */
.contact-section4 {
    background-color: #D6D3F0;
    overflow: hidden;
}

.contact-section4 h1{
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 40px;
    color: #6101D1;

}

.contact-card {
    height: 12rem;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    border: 1px solid #5c2ed2;
    border-radius: 12px;
    padding: 15px;
    color: white;
    background-color: #1B2A70;
    transition: 0.3s;

}

.contact-card a {
    text-decoration: none;
    color: white;
        font-family: 'Poppins', sans-serif !important;
        font-size: 17px;
}
.contact-card a:hover{
    color: #5c2ed2;
}

.contact-card:hover {
    cursor: pointer;
    transform: scale(1.04);
    box-shadow: 3px 5px 5px rgba(1, 1, 1, 0.3);
    transition: 0.2s ease-in-out;

}

.card2 {
    width: 10rem;
}

.info-icon {
    font-size: 25px;
    color: #ffffff;
}

.ellipse {
    background-color: #6101d1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    height: 2.5rem;
    width: 2.5rem;
}