@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html {
    height: 100%;
}
 
body {
    height: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 32px;
    font-weight: 500;
    min-height: 100%;
    overflow-x: hidden;
    background: #fff4e4;
    color: #252424;
}
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.alfamgmt-preload {
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #fff4e4;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Header */
.alfamgmt-header {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    transition: .3s;
    background: #fff4e4;
}

.alfamgmt-header__logo {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
}

.alfamgmt-header.scroll {
    background: #fff4e4;
    box-shadow: 0px 0px 6px 0px rgba(37, 36, 36, 0.6);
}

.alfamgmt-header__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.alfamgmt-header__nav {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}

.alfamgmt-header__item {
    padding: 4px 14px;
    transition: .3s;
}

.alfamgmt-header__item:hover {
    color: #50a4d7;
}

.alfamgmt-burger {
    display: none;
    position: absolute;
    z-index: 8;
    right: 20px;
    width: 22px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
}

.alfamgmt-burger .alfamgmt-line {
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: #171A1D;
    transition: transform 0.2s ease-out;
}

.toggle .line1 {
    background: #fff4e4;
    transform: scale(0.9) rotateZ(-44deg) translate(-5px, 2.6px);
}

.toggle .line2 {
    display: none;
}

.toggle .line3 {
    background: #fff4e4;
    transform: scale(0.9) rotateZ(45deg) translate(-8.9px, -6px);
}


/* Content */
.alfamgmt-captionline {
    font-size: 48px;
    line-height: 58px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.alfamgmt-title {
    text-transform: uppercase;
    font-size: 34px;
    line-height: 42px;
    margin-bottom: 24px;
    font-weight: 700;
}

.alfamgmt-btn {
    position: relative;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color: #fff4e4;
    margin: 0;
    background: #50a4d7;
    border: 2px solid #50a4d7;
    border-radius: 0;
    padding: 5px;
    box-sizing: border-box;
    max-width: 280px;
    width: 100%;
    height: 62px;
    outline: 0;
    cursor: pointer;
    transition: 0.6s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.alfamgmt-btn:hover {
    transform: scale(1.1);
}

.alfamgmt-banner .alfamgmt-btn {
    margin-top: 24px;
}

/* banner */
.alfamgmt-banner {
    position: relative;
	background-image: url(../images/banner-bg-alfamgmt.jpg);
    background-color: #252424;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    padding: 100px 20px 40px;
	color: #fff4e4;
}

.alfamgmt-banner::after {
    content: '';
    background-color: rgb(37 36 36 / 50%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.alfamgmt-banner__container {
    height: 100%;
    position: relative;
    z-index: 5;
}

.alfamgmt-banner__wrap {
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.alfamgmt-banner__wrap.on {
    animation: slide-in-bottom 0.5s linear both;
}

@keyframes slide-in-bottom {
    0% {
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
}

.alfamgmt-banner__wrap-center {
    justify-content: center;
    height: 100%;
}

.alfamgmt-banner .alfamgmt-text {
    margin-bottom: 24px;
}
/* .alfamgmt-banner .alfamgmt-text::before {
	content: none;
} */
/* .alfamgmt-text {
    display: flex;
    flex-direction: column;
} */
/* .alfamgmt-text::before {
    content: '';
    min-width: 120px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 24px;
} */

/* .alfamgmt-specialty__wrap:nth-child(2) .alfamgmt-text::before {
    background-image: url(../images/icons/specialty-2.svg);
}
.alfamgmt-specialty__wrap:nth-child(3) .alfamgmt-text::before {
    background-image: url(../images/icons/specialty-3.svg);
}
.alfamgmt-specialty__wrap:nth-child(4) .alfamgmt-text::before {
    background-image: url(../images/icons/specialty-4.svg);
} */

.spinner {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(82, 0, 255, 0) 0deg, #454545 360deg);
    animation: spin 2s infinite linear;
    margin-bottom: 150px;
}

.spinner::before {
    content: "";
    border-radius: 50%;
    width: 80%;
    height: 80%;
    background-color: #fff4e4;
}
  
@keyframes spin {
    to {
      transform: rotate(1turn);
    }
}
  

/*  */
.alfamgmt-specialty {
    padding: 0 20px;
}

.alfamgmt-specialty__container {
    display: grid;
    grid-template-columns: 1fr;
}

.alfamgmt-specialty__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 0 -20px;
}

.alfamgmt-specialty__box {
    margin-left: 16%;
    margin-right: 120px;
    padding: 80px 0;
}

.alfamgmt-specialty__wrap:nth-child(2),
.alfamgmt-specialty__wrap:nth-child(4) {
    grid-template-columns: 1fr 1fr;
    background: #50a4d7;
    color: #fff4e4;
}

.alfamgmt-specialty__wrap:nth-child(2) .alfamgmt-specialty__box,
.alfamgmt-specialty__wrap:nth-child(4) .alfamgmt-specialty__box {
    margin-left: 100px;
    margin-right: 16%;
}

/* contacts */
.alfamgmt-contact {
    background: #252424;
    color: #fff4e4;
    padding: 94px 20px;
    font-size: 16px;
    line-height: 26px;
}

.alfamgmt-title__small {
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
}

.alfamgmt-contact__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 120px;
    align-items: flex-start;
}

.alfamgmt-contact__item {
	display: flex;
	align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.alfamgmt-contact__item::before {
    content: '';
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-width: 30px;
    width: 30px;
    height: 38px;
    margin-right: 10px;
}

.alfamgmt-contact__item::before {
    background-image: url(../images/icons/map-pin.svg);
}

.alfamgmt-specialty__pic {
    height: 100%;
}

.alfamgmt-specialty__pic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.alfamgmt-contact .alfamgmt-title {
    color: #fff4e4;
}

.alfamgmt-contact .alfamgmt-text::before {
    content: none;
}

/* Footer */
.alfamgmt-footer {
    padding: 20px 20px;
    background: #252424;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.alfamgmt-footer__text {
	font-size: 16px;
	line-height: 24px;
	text-align: center;
    color: #fff4e4;
}

@media (max-width: 1200px) {
    body {
        font-size: 16px;
        line-height: 26px;
    }
    .alfamgmt-title__small {
        font-size: 20px;
        line-height: 30px;
    }
    .alfamgmt-wisdom__chatting {
        padding-left: 20px;
    }
    .alfamgmt-contact__box {
        grid-gap: 50px;
    }
}

@media (max-width: 980px) {
    .alfamgmt-banner {
        height: auto;
    }
    .alfamgmt-burger {
        display: flex;
    }
    .alfamgmt-header.scroll .alfamgmt-burger .alfamgmt-line {
        background: #000000;
    }
    .alfamgmt-header .alfamgmt-burger.toggle .alfamgmt-line {
        background: #fff4e4;
    }
    .alfamgmt-header__menu {
        display: none;
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: #252424;
        color: #fff4e4;
    }
    .alfamgmt-header__nav {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 66px;
    }
    .alfamgmt-header__item {
        width: 100%;
        padding: 10px 46px;
    }
    .alfamgmt-captionline {
        font-size: 40px;
        line-height: 46px;
        margin-bottom: 20px;
    }
    .alfamgmt-title {
        font-size: 30px;
        line-height: 38px;
        margin-bottom: 20px;
    }
    .alfamgmt-specialty {
        padding: 10px 20px 0;
    }
    .alfamgmt-specialty__container {
        grid-template-columns: 1fr;
    }
    .alfamgmt-specialty__pic {
        display: flex;
        justify-content: center;
    }
    .alfamgmt-specialty__pic img {
        height: 100%;
    }
    .alfamgmt-contact {
        padding: 40px 20px;
        font-size: 14px;
        line-height: 22px;
    }
    .alfamgmt-title__small {
        font-size: 18px;
        line-height: 28px;
    }
    .alfamgmt-specialty__wrap {
        grid-template-columns: 1fr;
    }
    .alfamgmt-specialty__wrap:nth-child(2) {
        grid-template-columns: 1fr;
    }
    .alfamgmt-specialty__wrap:nth-child(2) .alfamgmt-specialty__pic {
        grid-row: 2;
    }
    .alfamgmt-wisdom {
        padding: 48px 20px;
    }
    .alfamgmt-wisdom__wrap {
        grid-template-columns: 1fr;
    }
    .alfamgmt-contact__box {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
    .alfamgmt-header__logo::before {
        width: 260px;
    }
    .alfamgmt-specialty__box {
        margin: 0;
        padding: 30px 20px 30px;
    }
    .alfamgmt-specialty__wrap:nth-child(2) .alfamgmt-specialty__box, 
    .alfamgmt-specialty__wrap:nth-child(4) .alfamgmt-specialty__box {
        margin: 0;
    }
    .alfamgmt-specialty__wrap:nth-child(2), 
    .alfamgmt-specialty__wrap:nth-child(4){
        grid-template-columns: 1fr;
    }

    .alfamgmt-specialty__wrap:nth-child(4) .alfamgmt-specialty__box {
        grid-row: 1;
    }
    .alfamgmt-footer__text {
        font-size: 14px;
        line-height: 22px;
    }
    .alfamgmt-btn {
        height: 52px;
    }
    .alfamgmt-text::before {
        min-width: 80px;
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }
}

@media (max-width: 460px) {
    .alfamgmt-captionline {
        font-size: 24px;
        line-height: 32px;
    }
    .alfamgmt-title {
        font-size: 24px;
        line-height: 32px;
    }
}