@font-face {
    font-family: 'TBC Contractica';
    src: url('Fonts/TBCContractica-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TBC Contractica-Medium';
    src: url('Fonts/TBCContractica-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TBC Contractica-Bold';
    src: url('Fonts/TBCContractica-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TBC Contractica Caps-Bold';
    src: url('Fonts/TBCContracticaCAPS-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


header {
    display: flex;
    justify-content: space-between;
    padding: 42px 80px;
    background-color: #FFF7F5;
}



header nav {
    display: flex;
    align-self: center;
    gap: 40px;
}

header a {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: none;
    color: #000000;

}

header a img {
    vertical-align: middle;
}

header a:hover {
    color: #E42237;

}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-link {
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);

    width: 172px;
    background: #f5efef;
    border: 2px solid #555;
    border-radius: 11px;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 18px 5px;
    text-align: center;
    text-decoration: none;
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    border-bottom: 1px solid #777;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

main {
    background-color: #FFF7F5;
}

div.hero {
    border-top: solid black;
    background-image: url(main_pics/main_pic.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #2a2a2a;
    box-shadow: 630px 0px 120px 104px #00000066 inset;

}


h1.hero {
    color: #FFF7F5;
    width: 34%;
    padding: 202px 0px 0px 80px;

    font-family: TBC Contractica Caps-Bold;
    font-weight: 700;
    font-style: Bold;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: 0%;

}

p.hero {
    color: #FFF7F5;
    width: 34%;
    padding: 40px 0px 202px 80px;
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;

}

h2 {
    color: black;
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
}

.partners h2 {
    margin: 40px 0px 0px 80px;
}

div.all {
    padding: 36px 80px 0px 80px;
}

.all p {
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;

}

h2.about {
    margin-bottom: 20px;
}

p.about {
    margin-bottom: 40px;
}

h2.why {
    margin-bottom: 20px;
}

p.why {
    margin-bottom: 32px;
}

div.service {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

div.box {
    border: 2px solid #353339;
    border-radius: 11px;
    padding: 0px 20px 20px 20px;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.box img {
    vertical-align: middle;
}

.box p.name {
    display: inline-block;
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;


}

.box p.text {
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    display: inline;


}

.box a {
    display: flex;
    align-items: center;
    gap: 11px;
    white-space: nowrap;
    color: #FFF7F5;
    font-family: TBC Contractica;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
    background-color: #E42237;
    padding: 8px 93.5px;
    border-radius: 12px;
    text-decoration: none;
}

div.title-flex {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: auto;
}


div.whyb {
    display: flex;
    gap: 36px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

div.whybox {
    border: 1px solid #353339;
    border-radius: 12px;
    padding: 0px 20px 20px 20px;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.whybox img {
    vertical-align: middle;
}

.whybox p.name {
    display: inline-block;
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;


}

.whybox p.text {
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
    display: inline;


}

div.title-flex {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: auto;
}




footer {
    background-color: #353339;
    display: flex;
    margin-top: 50px;
    flex-wrap: wrap;
}

footer img {
    margin: 44px 0px 67px 126px;
}

h3 {
    display: inline-block;
    font-family: TBC Contractica-Medium;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #FFF7F5;
    margin-bottom: 40px;


}

footer a {

    color: #FFF7F599;
    font-family: TBC Contractica;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;

}

div.flex-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

div.nav {
    margin: 40px 0px 0px 223px;

}

div.socials-foot {
    display: flex;
}

div.socials-links {
    display: flex;
    height: 5px;
    align-content: center;
    gap: 10px;

}

.socials-links a {
    width: 40px;
}





.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: auto;
    /* important */
}

.logo-slider {
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 74px;
    /* exact gap */

    width: max-content;
    animation: scroll 25s linear infinite;
}

#partners {
    margin-bottom: 26px;
}


.logo {
    flex: 0 0 auto;
    width: auto;
    height: 80px;
    /* choose whatever fits your design */

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 37px));
    }
}

footer img {
    margin: 44px 0px 67px clamp(20px, 8vw, 126px);
}

div.nav {
    margin: 40px 0px 0px clamp(10px, 14vw, 223px);
}

header {
    padding: 42px clamp(20px, 5vw, 80px);
}

div.all {
    padding: 36px clamp(20px, 5vw, 80px) 0px clamp(20px, 5vw, 80px);
}