:root {
    --tobin-light-black: #181717;
    --tobin-dark-blue: #0036BF;
    --tobin-orange: #FF501F;
    --tobin-main-blue: #0047FF;
    --tobin-green: #2DECC0;
    --tobin-purple: #A15CEC;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}
body {
    font-family: "Inter", sans-serif;
    min-width: 330px;
}

p, span, div {
    font-family: "Inter", sans-serif;
}
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

p, ul {
    margin: 0;
    padding: 0;
}

/* button */
.tobin-button {
    padding: 8px 32px;
    gap: 10px;
    background: var(--tobin-orange);
    border-radius: 32px;
    outline: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    letter-spacing: 0.01em;
    text-transform: capitalize;
    border: 1px solid var(--tobin-orange);
}

.tobin-button:hover {
    background: #fff;
    color: var(--tobin-orange);
}

.phone-text {
    display: flex;
    color: var(--tobin-light-black);
    cursor: pointer;
}

.phone-text:hover {
    color: var(--tobin-orange);
}

/* links */
.tobin-link {
    text-decoration: none;
}

/* forms */
.form-label {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
}

.form-label.required::after {
    content: " *";
    color: #fff;
}

textarea.form-control {
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    border: none;
    border-bottom: 1px solid #BBBBBB;
    border-radius: 0;
    padding: 0px 6px 6px;
    resize: none;
}

textarea.form-control:focus {
    box-shadow: none;
    border-color: #BBBBBB;
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

input.form-control {
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    border: none;
    border-bottom: 1px solid #BBBBBB;
    border-radius: 0;
    padding: 0px 6px 6px;
}

input.form-control:focus {
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    box-shadow: none;
    border-color: #BBBBBB;
}

.form-select {
    appearance: none;
    background-image: url("../assets/svgs/arrow-down.svg");
    background-size: 34px 24px;
    background-position: right 0px;
    background-repeat: no-repeat;
    background-color: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    border: none;
    border-bottom: 1px solid #BBBBBB;
    border-radius: 0;
    padding: 0px 0px 6px 6px;
}

.form-select:focus {
    box-shadow: none;
    border-color: #BBBBBB;
}

.was-validated .form-control:valid,
.was-validated .form-control:valid:focus {
    background-image: none;
    border-color: #BBBBBB;
    box-shadow: none;
}

.was-validated .form-select:valid,
.was-validated .form-select:valid:focus {
    border-color: #BBBBBB;
    box-shadow: none;
}

.was-validated .form-control:invalid,
.was-validated .form-control:invalid:focus {
    box-shadow: none;
    background-image: none;
}

.was-validated .form-select:invalid,
.was-validated .form-select:invalid:focus {
    box-shadow: none;
}

/* header */
.tobin-header {
    background-color: var(--tobin-light-black);
    color: #fff;
    border-bottom: 6px solid;
    border-image-source: linear-gradient(270deg, var(--tobin-green) 19.01%, var(--tobin-green) 42.65%, #56CAFF 54.7%, #0037AF 78.92%);
    border-image-slice: 1;
    display: flex;
    align-items: center;
    padding: 4px 5%;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tobin-header object {
    width: 100px;
}

/* Navigation */
.tobin-navigation {
    position: sticky;
    top: 47px; 
    background: #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 5%;
}
.tobin-navigation .full-height{
    height: 100%;
    align-items: center;
}
.tobin-navigation .tobin-menu {
    display: none;
}

.tobin-navigation .tobin-logo {
    max-height: 70px;
    margin-right: 24px;
}

.tobin-navigation .navbar-nav .nav-link {
    color: #000;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    vertical-align: middle;
    /* line-height: 74px; */
    white-space: nowrap;
}
.tobin-navigation .dropdown-toggle {
    position: relative;
    padding-right: 20px;
}

.tobin-navigation .dropdown {
    position: relative !important;
}

.tobin-navigation .navbar-nav .menu-item {
    position: relative;
    height: 90px;
}

.tobin-navigation .dropdown-submenu .menu-item {
    height: auto;
    .nav-link {
        line-height: normal;
    }
}


.tobin-navigation .dropdown-submenu {
    position: absolute !important;
    top: 100px;
    left: 0;
    z-index: 1000;
    padding: 0 20px 0 0;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    max-height: 280px;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    transform: translateY(-10px);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    .menu-item{
        margin-top: 20px;
        margin-right: 20px;
    }
}

.dropdown-mega-wrapper.show ~ .dropdown-submenu,
.tobin-navigation .menu-item-has-children:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.15s; 
}

.dropdown-mega-wrapper.hide ~ .dropdown-submenu,
.tobin-navigation .menu-item-has-children:not(:hover) .dropdown-submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition-delay: 0s; 
}

.tobin-navigation .dropdown-toggle::after {
    width: 0.5em;
    height: 0.5em;
    border: solid var(--tobin-light-black);
    border-width: 0 2px 2px 0; 
    transform: rotate(45deg); 
    margin-left: 8px; 
    position: absolute;
    top: 50%;
    right: 0px;
    margin-top: -6px;
}

.tobin-navigation .menu-item-has-children:hover .dropdown-toggle::after {
    transform: rotate(-135deg); 
    margin-top: -2px;
}

.dropdown-mega-wrapper {
    position: absolute;
    width: 100vw;
    height: 0;
    left: 0;
    background: #fff;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    border-top: 1px solid #e5e5e5;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    pointer-events: none; 
    margin-left: 0;
}

.dropdown-mega-wrapper.show {
    height: 360px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto; 
}

.dropdown-mega-wrapper.hide {
    height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; 
}
.menu-item-has-children .dropdown-mega-wrapper.show ~ .dropdown-submenu,
.tobin-navigation .menu-item-has-children:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.menu-item-has-children .dropdown-mega-wrapper.hide ~ .dropdown-submenu,
.tobin-navigation .menu-item-has-children:not(:hover) .dropdown-submenu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition-delay: 0s;
}
.menu-item-background {
    height: 4px;
    background: var(--tobin-orange);;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
    flex-shrink: 0;
    width: 100%;
}
.menu-item-inner {
    height: 100%;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.tobin-navigation .menu-item:hover > .menu-item-inner > .menu-item-background {
    opacity: 1;
    visibility: visible;
}
.tobin-navigation .current-menu-item > .menu-item-inner > .menu-item-background {
    opacity: 1;
    visibility: visible;
}
.tobin-navigation .current-menu-parent > .menu-item-inner > .menu-item-background {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.tobin-footer-infos {
    min-height: 336px;
    background-color: var(--tobin-dark-blue);
    padding: 0 5%;
}

.tobin-footer-infos a {
    color: #fff;
    white-space: nowrap;
}

.tobin-footer-infos .tobin-footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding-top: 60px;
    padding-bottom: 80px;
}

.tobin-footer-infos .tobin-footer-links .tobin-footer-links-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    .tobin-link {
        flex: 0 0 auto;
        width: fit-content;
        margin: 3% 0;
    }
}

.tobin-footer-infos .tobin-footer-links .tobin-logo-wakefield {
    height: 32px;
    margin-right: 2%;
}

.tobin-footer-infos .tobin-footer-links .tobin-logo-wakefield-mobile {
    display: none;
}


.tobin-footer-infos .tobin-footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 48px;
    align-items: flex-start;
}

.tobin-footer-infos .tobin-footer-copyright-mobile {
    display: none;
}


.tobin-footer-infos .tobin-footer-copyright-texts {
    display: flex;
    flex-direction: row;
    font-size: 14px;
    line-height: 21px;
    color: #fff;
    gap: 100px;
    margin-right: 10px;
}

.tobin-footer-infos .tobin-footer-copyright-texts p {
    max-width: 530px;
}

.tobin-footer-logos {
    min-height: 144px;
    background-color: var(--tobin-light-black);
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.tobin-footer-logos .footer-partners-separator {
    font-size: 34px;
    vertical-align: middle;
    margin: 0;
    color: #fff;
    font-weight: 100;
}

.tobin-footer-logos .tobin-footer-logos-items {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 0;
    margin: 0 auto;
}

.tobin-footer-logos .tobin-logo-group {
    height: 70px;
}

.tobin-footer-logos .tobin-logo-image {
    height: 39px;
}

.tobin-footer-logos .tobin-logo-repository {
    height: 62px;
}

.tobin-footer-logos .tobin-logo {
    height: 75px;
    margin: 0 10px;
}
.tobin-footer-logos .tobin-footer-additional-logos-items{
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tobin-footer-logos .tobin-footer-additional-logos-items a {
    display: inline-block;
}
.tobin-footer-logos .tobin-footer-additional-logos-items .tobin-logo{
    height: 30px;
    width: auto;
    object-fit: contain;
}
.tobin-footer-logos .tobin-logo-wakefield {
    height: 45px;
}

.tobin-footer-logos .tobin-logo-arms {
    height: 62.72px;
}