/* Wrapper to ensure full-screen behavior */
.cta-container-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 80px 0;
  background: linear-gradient(225deg, rgba(0,121,192,1) 0%, rgba(29,190,226,1) 50% );
}

/* Main Container */
.cta-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin:0 auto;
  gap:60px;
}

/* Content Section */
.cta-content {
  color: #f4f7f9;
  text-align: left;
}
.cta-image{
  flex-basis: 57%;
}
.cta-content h1 {
  font-size: 38px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
  max-width: 307px;
    line-height: 35px;
}

.cta-content p {
  font-size: 26px;
  margin-bottom: 36px;
}

.cta-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-content ul li {
  font-size: 26px;
  margin: 0;
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
  padding-left: 42px;
}

.cta-content ul li::before {
  content: '•';
    font-size: 28px;
    color: #102a34;
    margin-right: 0px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Button */
.cta-button {
  display: inline-block;
  margin-top: 10px;
  padding: 15px 45px;
  background-color: #102d36;
  font-size: 26px;
  color: #fff;
  text-decoration: none !important;
  border-radius: 10px;
  text-align: center;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.cta-button:hover {
  background-color: #00446d;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .cta-container {
    flex-direction: column;
    height: auto;
    padding: 0 20px;
    align-items: flex-start;
    gap:30px;
  }
  .cta-container-wrapper{
    padding: 40px 0;
  }
  .cta-image img {
    max-width: 70%;
  }

  .cta-content h1 {
    font-size: 24px;
  }

  .cta-content ul li {
    font-size: 16px;
    margin-bottom: 16px;
    padding-left: 28px;
}
  .cta-content ul li::before {
    width: 16px;
    height: 16px;
    border-width: 16px 16px 16px 0;
    border-radius: 2px;
    top: -4px;
    left: -8px;
  }
  .cta-button {
    margin: 15px auto;
  }
}

/*Expertise form Section CSS START*/

.expertise-hero-form.expertise-top.row {
    margin: 96px 0;
}
section.page-hero.no-padding.bg-dark-gray.expertise-hero-form-section {
    min-height: 274px;
    text-align: center;
}
.expertise-hero-form-section .gform_legacy_markup_wrapper form,
.expertise-hero-form-section .gform_wrapper h3.gform_title {
    text-align: center !important;
}

.expertise-hero-form-section .gform_wrapper h3.gform_title {
    font-weight: 400;
    font-size: 35px;
}

.expertise-hero-form-section li#field_submit {
    display: inline-block;
    vertical-align: top;
    float: none;
    margin-top: 27px;
    padding: 0.5rem !important;
    width: 25%;
}

.expertise-hero-form-section .gform_wrapper .gfield_error .ginput_container.ginput_container_text {
    margin-top: 0px !important;
}

.expertise-hero-form-section .gform_wrapper li.gfield.gfield_error {
    background: transparent;
    border: none;
    padding-bottom: 6px;
}

.expertise-hero-form-section input.gform-button {
    border: 1px solid #00bbdc;
    background: #00bbdc;
    color: white;
    padding: 0.5rem !important;
    width: 100%;
    transition: background 0.3s, border 0.3s;
}

.expertise-hero-form-section input.gform-button:hover {
    background: #00a0bd;
    border: 1px solid #008fa9;
}

.expertise-hero-form-section .gform_wrapper .ginput_container input[type=text],.expertise-hero-form-section .gform_wrapper .ginput_container input[type=email] {
    background: transparent !important;
    border: 1px solid #fff !important;
    text-align: center;
    color: white;
}

.expertise-hero-form-section .gform_legacy_markup_wrapper li.gfield.gfield_error.gfield_contains_required {
    padding-right: 0px;
}

.expertise-hero-form-section .gform_legacy_markup_wrapper div.validation_error {
    border: none !important;
    padding: unset !important;
}

.expertise-hero-form-section .gform_wrapper .gfield_error .ginput_container input[type=text],.expertise-hero-form-section .gform_wrapper .gfield_error .ginput_container input[type=email] {
    border: 1px solid red !important;
}

.expertise-hero-form-section .gform_wrapper h2.gform_submission_error.hide_summary,
.expertise-hero-form-section .gform_wrapper .validation_message {
    color: red;
}

.expertise-hero-form-section .gform_wrapper .ginput_container input[type=text]::placeholder,.expertise-hero-form-section .gform_wrapper .ginput_container input[type=email]::placeholder {
    color: white;
}
.expertise-hero-form-section div.gform_anchor {
    display: none;
}
.expertise-hero-form-section .gform_legacy_markup_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container{
    margin-top: 0px !important;
}
@media (min-width: 992px) and (max-width: 1200px) {
    .single-expertise {
        margin-top: 0px !important;
    }
}

@media (max-width: 992px) {
    .expertise-hero-form-section li#field_submit {
        width: 50%;
    }
    
    .expertise-hero-form-section .gform_wrapper h3.gform_title {
        font-size: 28px;
    }
}

@media (min-width: 768px) {
    .expertise-hero-form-section.page-hero {
        height: auto;
    }
}

@media (min-width: 641px) and (max-width: 992px) {
    .expertise-hero-form-section .gform_wrapper .top_label li.gfield.gf_first_quarter:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm) {
        width: 33.33%;
    }
}

@media (min-width: 641px) {
    .expertise-hero-form-section .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
        padding-right: 16px;
    }
}

@media (min-width: 992px) {
    .expertise-hero-form-section ul.gform_fields {
        display: flex;
    }
}

@media (min-width: 1200px) {
    .expertise-hero-form-section {
        margin-top: -8rem;
    }
    
    .single-expertise .expertise-hero-form .expertise-top-image {
        min-height: unset;
        margin-top: 0rem;
    }
}


/*Expertise form Section CSS END*/

@media (max-width: 768px) {
  .cta-image img {
    max-width: 100%;
  }
  .cta-button {
    padding: 10px 15px;
    font-size: 14px;
  }
  .cta-content p {
    font-size: 20px;
    margin-bottom: 18px;
  }
  
}

@media (max-width: 480px) {
  .cta-button {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  .cta-content h1 {
    font-size: 16px;
  }

  .cta-content ul li {
    font-size: 10px;
  }

  .cta-button {
    padding: 6px 10px;
    font-size: 10px;
  }
}