/* contact Banner css */
.contact-banner-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.contact-banner-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#ct-banner {
    background-image: url("../img/ct-banner.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 460px;
    position: relative;
    display: flex;
    align-items: center;
}

.contact-banner h1 {
    font-size: 50px;
    line-height: 2.81;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    text-transform: capitalize;
    font-weight: 200;
}

/* banner end */



/* contact form */

.contact-form {
    padding: 70px 0;
}

.contact-card {
    padding: 48px 100px;
    background-color: #232323;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.ct-form,
.ct-address {
    flex: 1 1 45%;
    min-width: 300px;
}

.form-label {
    font-size: 20px;
    color: #fff;
    font-weight: 200;
}

.form-control {
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #2f2f2f;
    background-color: rgba(47, 47, 47, 0.12);
    color: white;
}

.form-control::placeholder {
    color: #eee;
    opacity: 0.5;
}

.btn-primary {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 10px 25px;
    margin-top: 10px;
}

.ct-address h3 {
    font-size: 20px;
    color: #fff;
    margin-top: 40px;
    font-weight: 200;
}

.ct-address p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    font-weight: 100;
}

.ct-address a {
    font-size: 14px;
    color: #e5403e;
    text-decoration: none;
}

.social-icons a {
    color: white;
    margin-right: 0px;
    font-size: 16px;
    border-radius: 30px;
    /* border: solid 1px rgba(0, 0, 0, 0.12); */
    padding: 15px;
}

.social-icons a i {
    margin-top: 20px;
}

.social-icons a.facebook i {
    color: #1877F2;
}

.social-icons a.twitter i {
    color: #ffffff;
}

.social-icons a.instagram i {
    color: #c13584;
}

.social-icons a.linkedin i {
    color: #0077B5;
}

.social-icons a.youtube i {
    color: #FF0000;
}

.ct-form-btn {
    position: relative;
    display: inline-block;
    padding: 10px 35px;
    font-size: 18px;
    color: #000;
    background: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 15px);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-radius: 6px;
    margin-top: 40px;
    font-weight: 300;
}

.ct-form-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -10px;
    width: 22px;
    height: 22px;
    background-color: white;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.ct-form-btn span {
    position: relative;
    z-index: 2;
}

.ct-form-btn:hover {
    background: white;
    color: black;
}


.error-msg {
    color: red;
    font-size: 14px;
    margin-top: 15px;
    display: none;
}

.form-control.is-invalid {
    border: 1px solid red;
}

.form-control.is-valid {
    border: 1px solid green;
}

 .social-icons a:first-child {
        padding-left: 0px;
        padding-right: 10px;
    }


.form-check{
    padding-left: 0px;
}
.custom-radio input[type="radio"] {
  display: none;
}

.custom-radio label {
  position: relative;
  padding-left: 17px;
  cursor: pointer;
  color: #fff;
}

.custom-radio label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #666;
  border-radius: 50%;
  background: transparent;
}

.custom-radio label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #666;
  transition: all 0.3s;
}

#radio1:checked + label {
  color: #fff;
}
#radio1:checked + label::before {
  border-color: #e5403e;
}
#radio1:checked + label::after {
  background: #e5403e;
}

#radio2:checked + label {
  color: #fff;
}
#radio2:checked + label::before {
  border-color: #e5403e;
}
#radio2:checked + label::after {
  background: #e5403e;
}

#radio3:checked + label {
  color: #fff;
}
#radio3:checked + label::before {
  border-color: #e5403e;
}
#radio3:checked + label::after {
  background: #e5403e;
}

.ct-social{
    display: flex;
    justify-content: space-between;
}


@media (max-width: 768px) {
    .ct-social{
        display: block;
    }
    .ct-address h3{
        margin-top: 20px;
    }

    .ct-form,
    .ct-address {
        flex: 1 1 45%;
        min-width: 200px;
    }

    .contact-banner h1 {
        font-size: 32px;
    }

    .contact-form {
        padding: 40px 0;
    }


    #ct-banner {
        background-image: url("../img/ct-mb-banner.webp");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 450px;
        position: relative;
        display: flex;
        align-items: center;
    }

    .contact-banner-section {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        overflow: hidden;
    }

    .form-label {
        font-size: 18px;
    }

    .contact-card {
        padding: 0px 20px;
        background-color: transparent;
        display: block;
    }

    .form-control {
        padding: 10px;
    }

    input::placeholder {
        font-size: 16px;
    }

    .social-icons a {
        margin-right: 0px;
        border-radius: 0px;
        border: 0px;
        padding: 0px 15px 0px 15px;
    }

    .social-icons a:first-child {
        padding-left: 0px;
        padding-right: 10px;
    }

    .ct-address h3 {
        font-size: 18px;
    }

    .ct-form {
        background: #232323;
        padding: 20px;
        margin-bottom: 20px;
    }

    .ct-form-btn {
        font-size: 14px;
        margin-top: 20px;
        font-weight: 300;
    }
    .social-icons{
        margin-top: -10px;
    }
}