@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Roslindale';
    src: url('./../fonts/roslindale-text-bold.eot');
    src: url('./../fonts/roslindale-text-bold.eot?#iefix') format('embedded-opentype'),
        url('./../fonts/roslindale-text-bold.woff2') format('woff2'),
        url('./../fonts/roslindale-text-bold.woff') format('woff'),
        url('./../fonts/roslindale-text-bold.svg#Roslindale Text Bold') format('svg'); 
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

/* General Styles */
body {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    color: #434343;
}

.container {
    max-width: 1264px;
    margin: 0 auto;
}

h1,
h2 {
    font-family: 'Roslindale';
    color: #111;
}

h1 {
    font-size: 2.5em;
    font-weight: bold;
}

h2 {
    font-size: 40px;
    line-height: 48px;
}

h3 {
    color: #111;
    font-weight: 700;
}

a {
    color: #007bff;
    text-decoration: none;
}

.form-label {
    color: #111;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 16px;
    color: #111;
    padding: 8px 25px;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    text-decoration: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #1F4393;
    font-weight: 700;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #1F4393;
    border-radius: 0;
    font-size: 16px;
    padding: 15px 32px;
    font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #0f265f;
}   

.bg-light {
    background-color: #F6FBFF !important;
}

.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e9e9e9;
    height: 80px;
}

.header-wrapper {
    margin-top: 80px;
}

.header-container,
.sub-header-container,
.how-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-container,
.sub-header-container,
.how-container,
.contact-container {
    padding: 80px 0;
}

.header-container h1 {
    margin-bottom: 20px;
    font-size: 56px;
    font-weight: normal;
}

.header-container .lead {
    margin-bottom: 42px;
}
.lead{
    font-weight: 400;
    letter-spacing: -0.05px;
}
.header-container .video-container {
    width: 100%;
    margin-bottom: 38px; 
    display: flex;
    justify-content: center;
    position: relative;object-fit: cover;
    overflow: hidden;

}
.header-container .video-container video { 
    width: 100%;
  height: 100%;
  object-fit: cover; 
    border: 1px solid #E5E4E4;
    padding: 1px;object-fit: cover;
    overflow: hidden;

}

.header-container .video-container img {
    width: 100%;
}

.header-container .lead {
    max-width: 556px;
}

.sub-header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.what-exq-para {
    padding-right: 64px;
    max-width: 628px;
}

.sub-header-img {
    max-width: 587px;
}

.sub-header-container h2 {
    margin-bottom: 80px;
    font-size: 40px;
    font-weight: normal;
}

.sub-header-container p {
    margin-bottom: 30px;
}

.what-exq-para {
    padding-right: 80px;
    text-align: left;
}

.how-container h2,
.how-container p {
    max-width: 743px;
}

.how-container h2 {
    margin-bottom: 18px;
}

.how-container p {
    margin-bottom: 0 !important;
}

.how-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 56px 0;
}

.how-list-item:last-child {
    padding-bottom: 0;
}

.how-list-item img {
    max-width: 640px;
}

.how-list-item .card-title {
    margin: 20px 0;
    font-size: 36px;
    font-weight: 600;
    color: #111;
}

.how-list-item:nth-child(odd) .card-body {
    padding-right: 76px;
}

.how-list-item:nth-child(even) .card-body {
    padding-left: 76px;
}

.how-list-item:nth-child(even) {
    flex-direction: row-reverse;
}

.how-list-item .badge {
    background-color: #FBC632;
    color: #000;
    border-radius: 0;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contact-text-container {
    max-width: 660px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-container {
    max-width: 400px;
}

.contact-text-container h2 {
    margin-bottom: 16px !important;
}

.contact-text-container h2~p {
    max-width: 550px;
}

.email-container p {
    margin-bottom: 0;
    font-size: 18px;
}
.email-container p,
.contact-form-container p{ 
    font-size: 18px;
}

.contact-text-container h3,
.contact-form-container h3 {
    margin-bottom: 10px;
}

#connectForm {
    margin-top: 28px;
    display: block;
    overflow: hidden;
}

.link-primary {
    color: #0A65DB !important;
}

.form-group {
    margin: 22px 0;
}

.form-label {
    font-size: 16px;
    margin-bottom: 7px;
    display: block;
    overflow: hidden;
}

.form-control {
    padding: 14px;
    border-radius: 0;
    border-color: #D9D9D9;
}
.form-control:focus, .form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #D9D9D9 !important;
    box-shadow: none !important;
    background-image: none !important;
} 
.contact-form-container button {
    margin-top: 24px;
    width: 100%;
}

footer {
    font-size: 16px;
    color: #111;
    padding: 24px 0;
    ;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1F4393;
}
.text-underline{
    text-decoration: underline;
}

@media (min-width: 768px) {
    .offcanvas {
        display: none;
    }

    .what-exq-para p:last-child {
        margin-bottom: 0;
    }

    .contact-form-container {
        min-width: 400px;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact-text-container {
        padding-right: 60px;
    }

    .how-list {
        margin-top: 32px;
    }

    .how-list-item .card-body {
        width: calc(50% - 36px);
    }

    .how-list-img {
        width: calc(50% + 36px);
    }

}

@media (min-width: 1366px) {    
    .header-container .video-container video {
        height: calc(100vh - 460px);
        max-height: 640px !important;
        width: calc((100vh - 460px) * (770.106 / 433.187)); 
        aspect-ratio: 770.106 / 433.187; /* match video aspect ratio */
        object-fit: cover; /* or contain, depending on design */
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        max-width: 100%;
        padding: 0 16px;
    }

    .header-container,
    .sub-header-container,
    .how-container,
    .contact-container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 34px !important;
    }

    h3 {
        font-size: 24px;
        line-height: 32px;
    }
    .header-container h1{
        font-size: 36px;
    }
    .sub-header-container h2{
        font-size: 28px;
    }

    .navbar-collapse {
        display: none;
    }

    .header-wrapper {
        margin-top: 57px;
    }

    .header-container .lead {
        font-size: 16px;
        max-width: 100%;
    }

    .sub-header-container p {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .what-exq-para {
        padding-right: 0;
        text-align: left;
    }

    .how-container h2 {
        margin-bottom: 22px !important;
    }

    .how-list-item {
        flex-direction: column !important;
        padding: 36px 0;
        text-align: left;
        font-size: 14px;
    }
    .how-list-img{
        width: 100%;
    }

    .how-list-item img {
        max-width: 100%;
    }

    .how-list-item .badge {
        font-size: 12px;
        padding: 10px 10px;
    }

    .how-list-item .card-title {
        font-size: 24px;
        margin: 20px 0;
    }

    .how-list-item .card-body {
        padding: 0 0 22px !important;
    }

    .how-list-item:last-child {
        padding-bottom: 0;
    }

    .contact-container {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .sub-header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-text-container,
    .contact-form-container {
        max-width: 100%;
    }

    .navbar {
        height: 56px;
        padding: 10px 8px !important;
    }

    .navbar-brand {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .navbar-brand img {
        width: 43px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 12px 0;
        font-size: 16px;
        text-align: right;
        border-bottom: 1px solid #C7C7C7;
    }

    .navbar-toggler,
    .navbar-toggle:focus,
    .navbar-toggle:focus-visible,
    .navbar-toggler[aria-expanded="true"],
    .navbar-toggler.collapsed {

        padding: 0;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        transition: all 0.05s ease-in;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        border: 0;
        outline: 0;
        background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="%231F4393" stroke-width="2" stroke-linecap="round" d="M8 8L22 22M22 8L8 22"/%3E%3C/svg%3E');
        /* background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="%231F4393" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E'); */
    }

    .form-group  {
        margin: 20px 0;
    }

    .offcanvas.offcanvas-end {
        top: 56px;
        width: 298px;
        border: 0;
    }

    .offcanvas-backdrop {
        top: 56px;
    }

    .offcanvas-body {
        padding: 12px 24px;
    }
 
}

.play-button {
      position: absolute;
      top: 50%;
      left: 50%;  
      background-color: #1F4393;
      border-radius: 50%;
      width: 80px;
      height: 80px;
      cursor: pointer;
      border: none;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .play-button:before{
        margin-left: 4px;
  box-sizing: border-box;
        content: ""; 
  width: 32px;
  height: 32px;
  border-style: solid; 
  border-width: 16px 0px 16px 32px;
  border-color: transparent transparent transparent #fff;
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    }

    .play-button:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }