 /* @import url('http://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap'); */

/* Reset default body and html padding/margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent sideways scroll */
}
 
/* Apply box-sizing border-box globally */
*, *::before, *::after {
    box-sizing: border-box;
}

 
.home{
    min-height: 100vh;
    width: 100vw;
    background-image: url(../images/contact/back.webp);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden !important;
}
/* Ensure responsiveness on different screen sizes */
@media (max-width: 1200px) {
    .home {
        background-size: cover; /* Maintain cover size */
        background-position: center center; /* Keep the background centered */
    }
}

@media (max-width: 768px) {
    .home {
        background-size: cover; /* Adjust image to cover the screen on mobile */
        background-position: center center; /* Maintain centering */
    }
}

@media (max-width: 480px) {
    .home {
        margin-top: 0.5rem;
        background-size: cover; /* Keep image covering the full background */
        background-position: center center; /* Center image for smaller screens */
    }
}
.home h1{
    color: #fff;
    font-size: 5.5rem;
}

.home h2{
    color: #fff;
    font-size: 3rem;
    padding: 20px;
}

.home .wave{
    position: absolute;
    bottom: -.5rem;
    left: 0;
    height: 11rem;
    width: 100%;
    background: url(../images/wave.png);
    background-size: 100rem 11rem;
    animation: waves 8s linear infinite;
    background-repeat: repeat-x;
}

.home .wave2{
    animation-direction: reverse;
    animation-duration: 6s;
    opacity: .3;
}

.home .wave3{
    animation-duration: 4s;
    opacity: .5;
}

@keyframes waves{
    0%{
        background-position-x: 0;
    }
    100%{
        background-position-x: 100rem;
    }
}
.section-head-1{
    margin-bottom: 60px;
    background-size: 200%;
    background-position: left;

  }
  .section-head-1 p{
    color:#333;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
  }
  .item1{
    background:#fff;
    text-align: center;
    padding:30px 25px;
    box-shadow: 0 0 25px rgba(0,0,0,0.07);
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.07);
    -webkit-transition:all 0.7s ease 0s;
    transition:all 0.7 ease 0s;
    align-items: left;
    
  }
  .item1:hover{
    background-image: linear-gradient(to bottom right, #66ffcc 0%, #ffccff 100%);
    background-position: right;
    transition: background-position 3s;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
    -webkit-transition:all 0.5s ease 0s;
    transition:all 0.7s ease 0s;
    align-items: left;
  }
  .item1:hover .item1,
  .item1:hover span.icon{
    background:#fff;
    border-radius: 10px;
    -webkit-transition:all 0.5s ease 0s;
    transition:all 0.5s ease 0s;
    align-items: left;
  }
  .item1:hover h6,
  .item1:hover p{
    color:#2b6777;
    -webkit-transition:all 0.5s ease 0s;
    transition:all 0.5s ease 0s;
    align-items: left;
  }
  .item1 .icon{
    font-size:40px;
    margin-bottom: 25px;
    color:yellow;
    width:90px;
    height:90px;
    line-height: 96px;
    border-radius: 50px;
  }
  .item1 .feature_box_col_one{
    background:rgba(247,198,5,0.2);
    color:#52ab98;
  }
  .item1 .feature_box_col_two{
    background: rgba(255, 77, 28, 0.15);
    color:#52ab98;
    
  }
  .item1 .feature_box_col_three{
    background:rgba(0,147,38,0.15);
    color:#52ab98;
  }
  .item1 .feature_box_col_four{
    background:rgba(0,108,255,0.15);
    color:#52ab98;
    
  }
  .item1 .feature_box_col_five{
    background:rgba(146,39,255,0.15);
    color:#52ab98;
  }
  .item1 .feature_box_col_six{
    background:rgba(23,39,246,0.15);
    color:#52ab98;
  }
  .item1 p{
    font-size: 16px;
    font-family: "Varela Round",Arial,"Helvetica Neue",Helvetica,sans-serif;
    line-height: 26px;
  }
  .item1 h6{
    margin-bottom: 20px;
    font-family: "Varela Round",Arial,"Helvetica Neue",Helvetica,sans-serif;
    color:#2f2f2f;
  }


  
/* *
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
} */

/* Background */

.back-contact {
    position: relative;
    text-align: center;
    align-items: center;
    background-image: url(../images/contact/back.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    min-height: 70vh;
    padding: 40px 20px;
}

.back-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.249);  */
    z-index: 1;
}

.back-contact h1,
.back-contact p {
    position: relative;
    z-index: 2; /* Ensure content appears above the overlay */
}
.back-contact h2 {
    margin-top: 16rem;
    font-size: 8rem;
    color: hsl(0, 0%, 100%);
}

.back-contact h1 {
    margin-top: 0rem;
    font-size: 2rem;
    color: hsl(202, 90%, 62%);
}

.back-contact p {
    font-size: 2rem;
}

/* Locations */
.locations-container {
    font-family: 'Poppins', sans-serif;
    text-align: left;
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
}

.locations-container h1 {
    font-weight: 600;
    font-size: 5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    cursor: pointer;
}

.tab {
    font-weight: 400;
    color: #666;
    padding: 10px;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #FF5722;
    border-bottom: 2px solid #FF5722;
}

.location-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.location {
    background: #8bacf44e;
    padding: 15px;
    border-radius: 8px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.location h2 {
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.location p {
    margin: 5px 0;
    font-size: 16px;
    color: #555;
}

.view-map {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    color: #FF5722;
    text-decoration: none;
}

.view-map:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .location-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .location-section {
        grid-template-columns: 1fr;
    }
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.checkbox-option {
    display: flex;
    align-items: left;
}

.checkbox-option input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    align-items: left;
    text-align: left;
}

.checkbox-option label {
    font-size: 16px;
    color: #333;
    align-items: left;
    text-align: left;
}

/* Label styling for the "What are you looking for" section */
.inputBox.w50 label {
    font-size: 16px;
    color: #0f3959;
    margin-bottom: 10px;
    display: block;
    align-items: left;
    text-align: left;
}

.inputBox.w50 {
    width: 47%;
    margin-bottom: 35px;
    align-items: left;
    text-align: left;
}

/* Container contact form */
.container-contact {
    position: relative;
    width: 100%; /* Full width */
    max-width: 1200px; /* Optional max-width for larger screens */
    min-height: 550px;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    flex-wrap: wrap; /* Allow wrapping of items in smaller screens */
    z-index: 2;
    border-radius: 22px;
    background-color: #fff;
    margin-top: 20px;
    /* padding: 20px; */
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Info Section */
.container-contact .contactInfo {
    position: relative;
    width: 700px;
    min-height: 350px; /* Ensure a minimum height */
    background: #092856;
    z-index: 1;
    padding: 40px;
    display: flex;
    margin: 20px 20px 20px 20px;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    border-radius: 22px;

}

@media screen and (max-width: 768px) {
    .container-contact .contactInfo {
        width: 90%;
        min-height: auto;
        padding: 20px;
        margin: 20px ;
        flex-direction: column;
        /* text-align: center; */
    }
}

@media screen and (max-width: 480px) { /* Small phones */
    .container-contact .contactInfo {
        width: 95%; /* Make it almost full width */
        padding: 15px; /* Reduce padding for compact layout */
        font-size: 14px; /* Adjust font size for readability */
    }
}

@media screen and (max-width: 360px) { /* Mini phones */
    .container-contact .contactInfo {
        width: 98%; /* Maximize space usage */
        padding: 12px; /* Further reduce padding */
        font-size: 13px; /* Slightly smaller text for mini screens */
    }
}



/* Heading in Contact Info */
.container-contact .contactInfo h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
    align-items: center;

}

/* List Styles for Info Section */
.container-contact .contactInfo ul.info {
    margin: 20px 0;
    align-items: center;
}

.container-contact .contactInfo ul.info li {
    display: flex;
    margin: 20px 0;
    cursor: pointer;
    align-items: flex-start;
    font-size: 1.6rem;
    
}

.container-contact .contactInfo ul.info li span:nth-child(1) {
    width: 30px;
    min-width: 30px;
}

.container-contact .contactInfo ul.info li span a {
    color: #fff;
    text-decoration: none;
    width: 30px;
    font-size: 1.6rem;
    min-width: 30px;
}

.container-contact .contactInfo ul.info li span:nth-child(1) img {
    max-width: 100%;
    filter: invert(1);
}

.container-contact .contactInfo ul.info li span:nth-child(2) {
    color: #fff;
    margin-left: 10px;
    font-weight: 300;
}

/* Social Icons */
.container-contact .contactInfo ul.sci {
    display: flex;
}

.container-contact .contactInfo ul.sci li {
    margin-right: 15px;
}

.container-contact .contactInfo ul.sci li a {
    text-decoration: none;
}

.container-contact .contactInfo ul.sci li a img {
    filter: invert(1);
}
.container-contact .contactForm .btn-primary{
   font-size:  2rem;
}
/* Contact Form Section */
.container-contact .contactForm {
    width: calc(100% - 70px); /* Ensure the form takes up remaining space */
    margin-top: 70px;
    font-size: 1.6rem;
    margin: 20px;
    /* padding: 70px 50px; */
    background: #fff;
    border-radius: 22px;
    position: relative;
    margin-left: 20px; /* Space between form and contact info */
}
.container-contact .contactForm h2 {
    color: #0f3959;
    font-size: 24px;
    font-weight: 500;
    
}

/* Form Box Layout */
.container-contact .contactForm .formBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 30px;
}

/* Input Box */
.container-contact .contactForm .formBox .inputBox {
    margin-bottom: 35px;
    position: relative;
    width: 47%;
}

.container-contact .contactForm .formBox .inputBox.w100 {
    width: 100%;
}


/* Css for the submit button */
.container-contact .contactForm .formBox .inputBox input[type="submit"]         
{
    position: relative;
    cursor: pointer;
    background: #0f3959;
    border-radius: 20px;
    color: #fff;
    border: none;
    max-width: 150px;
    padding: 12px;

}

.container-contact .contactForm .formBox .inputBox input[type="submit"]:hover{
    background: #0d3e94;
}


/* Input and Textarea Fields */
.container-contact .contactForm .formBox .inputBox input,
.container-contact .contactForm .formBox .inputBox textarea {
    width: 100%;
    resize: none;
    padding: 5px 0;
    font-size: 18px;
    font-weight: 300;
    color: #333;
    border: none;
    outline: none;
    border-bottom: 1px solid #777;
}


.container-contact .contactForm .formBox .inputBox textarea 
{
    height: 120px;
}

.container-contact .contactForm .formBox .inputBox span 
{
    position: absolute;
    left: 0;
    padding: 5px 0;
    pointer-events: none;
    font-size: 18px;
    font-weight: 300;
    transition: 0.3s;
}

.container-contact .contactForm .formBox .inputBox input:focus ~ span,
.container-contact .contactForm .formBox .inputBox input:valid ~ span,
.container-contact .contactForm .formBox .inputBox textarea:focus ~ span, 
.container-contact .contactForm .formBox .inputBox textarea:valid ~ span
{
    transform: translateY(-20px);
    font-size:  16px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #09295a;
    font-weight: 500;
} 



/* Responsive Design for screens smaller than 1200px */
@media screen and (max-width: 1200px) {
    .container-contact {
        flex-direction: column;
        align-items: center;
    }

  

    .container-contact .contactForm {
        width: 100%;
        margin-left: 0;
        padding: 50px;
    }

    .container-contact .contactForm .formBox .inputBox {
        width: 48%;
    }
}

/* Responsive Design for screens smaller than 1000px */
@media screen and (max-width: 1000px) {
    .container-contact {
        padding: 10px;
    }

   
    .container-contact .contactForm {
        width: 100%;
        margin-left: 0;
        padding: 30px;
    }

    .container-contact .contactForm h2 {
        font-size: 20px;
    }

    .container-contact .contactForm .formBox .inputBox {
        width: 100%;
    }

    .container-contact .contactForm .formBox .inputBox input,
    .container-contact .contactForm .formBox .inputBox textarea {
        padding: 8px;
    }
}

/* Responsive Design for screens smaller than 600px */
@media screen and (max-width: 600px) {
    .container-contact {
        padding: 5px;
    }

  

    .container-contact .contactForm {
        width: 100%;
        margin-left: 0;
        padding: 20px;
    }

    .container-contact .contactForm .formBox .inputBox {
        width: 100%;
    }

    .container-contact .contactForm .formBox .inputBox input,
    .container-contact .contactForm .formBox .inputBox textarea {
        padding: 8px;
        font-size: 16px;
    }
}


/* Responsive Design */

/* For mobile devices */
@media (max-width: 768px) {
    .container-contact .contactForm .formBox .inputBox.w50 {
        width: 100%; /* Full width for the form on mobile */
        text-align: left;
        align-items: left;
    }

    /* Align checkbox group to the left */
    .checkbox-group {
        flex-direction: column; /* Stack checkboxes vertically */
        gap: 10px; /* Reduced gap between checkboxes */
        text-align: left;
        align-items: left;
    }

    .checkbox-option {
        width: 100%; /* Each checkbox occupies full width */
        margin-bottom: 10px; /* Add margin for spacing */
        text-align: left;
        align-items: left;
        
    }

    .checkbox-option label {
        font-size: 16px; /* Smaller font size on mobile */
        text-align: left;
        align-items: left;
    }
}

/* For smaller mobile screens */
@media (max-width: 480px) {
    .checkbox-option input {
        width: 18px; /* Smaller checkboxes */
        height: 18px;
        text-align: left;
        align-items: left;
    }

    .checkbox-option label {
        font-size: 16px; /* Further reduce font size */
        text-align: left;
        align-items: left;
    }


}