/* Index */

.index-heading {
    margin: 100px 0px 50px 0px;
    font-size: 26px;
    text-align: center;
}

.item {
    width: 300px;
    height: 50px;
    background-color: grey;
    border-radius: 5px;
    text-align: center;
    margin: auto;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item:hover {
    background-color: blue;
}

.item a {
    color: white;
    text-decoration: none;
}

/* Code lại giao diện Scholars */

:root {
    --heading-font: "PT Sans", sans-serif;
    --black: #000;
    --white: #fff;
    --primary: #b80257;
    --secondary: #783df0;
}

* {
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {
    font-size: 1.5rem;
    font-family: "Source Sans 3", sans-serif;
    line-height: 1.3;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}
a {
    color: inherit;
}
button {
    padding: 0;
    border: none;
    background: transparent;
}
input,
button,
textarea,
select {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
}
.page-hero__container,
.breadcrumb__container,
.contact__container,
.footer__container {
    width: 1170px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Start header wrapper */

.page-hero {
    display: flex;
    width: 100%;
    min-height: 496px;
    background-image: url(../images/bg-banner-7.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.page-hero__inner {
    display: flex;
    justify-content: center;
    width: 100%;
    background: rgb(0, 0, 0, 0.6);
}
.page-hero__container {
    display: flex;
    flex-direction: column;
}
.page-hero__header {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    align-items: center;
}
.page-hero__breadcrumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-grow: 1;
    color: var(--white);
}
.header__nav {
    display: flex;
}
.header__nav li {
    position: relative;
}
.header__nav > li > a {
    display: inline-block;
    padding: 20px 25px;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 1.1px;
}
.sub-menu {
    position: absolute;
    top: 50px;
    left: 0;

    min-width: 220px;
    background: var(--white);

    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top center;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
}
.sub-menu a {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 25px;
    text-decoration: none;
    color: #0009;
}

.sub-menu a:hover {
    background: var(--primary);
    color: var(--white);
    transition: all 0.5s ease-in-out;
}
.header__nav li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}
.header__action {
    display: flex;
    gap: 20px;
}
.header__action-btn {
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}
.breadcrumb__title {
    font-size: 3.2rem;
}
.breadcrumb__list {
    display: flex;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: #fffc;
}
.breadcrumb__link {
    text-decoration: none;
    color: inherit;
}
.breadcrumb__item + .breadcrumb__item::before {
    content: "/";
    padding: 0 6px;
}
/* End header wrapper */

.contact__inner {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 110px;
}
.contact__top {
    width: 100%;
    display: flex;
}
.contact__media {
    width: 700px;
    padding: 0 15px;
}
.contact__img {
    width: 100%;
}
.contact__address {
    height: 601px;
    flex: 1;
    padding: 0 15px;
}
.contact__details {
    height: 100%;
    background: url(../images/bg-4.jpg) no-repeat center;
    background-size: cover;
}
.contact__opacity {
    height: 100%;
    padding: 60px 0 92px 70px;
    background: rgba(119, 60, 238, 0.85);
}
.contact__heading {
    font-size: 30px;
    font-weight: normal;
    color: var(--white);
    margin-bottom: 90px;
    position: relative;
    padding-bottom: 18px;
}
.contact__heading::before {
    content: " ";
    width: 100px;
    height: 2px;
    background: #f2b604;
    position: absolute;
    left: 0;
    bottom: 0;
}
.contact__info-item {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: var(--white);
    padding-left: 70px;
    margin-bottom: 60px;
    position: relative;
}
.contact__info-item i {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 30px;
}
.contact__info-text a {
    text-decoration: none;
}
.contact__form {
    padding: 0 15px;
    margin: 100px auto;
}
.contact__field-group {
    display: flex;
    justify-content: space-between;
}
.contact__input {
    width: calc((100% - 30px) / 2);
    padding: 0 20px;
    height: 70px;
    border: 1px solid #f3f0fa;
    background: #f3f0fa;
    margin-bottom: 30px;
}
.contact__textarea {
    width: 100%;
    max-width: 100%;
    height: 400px;
    max-height: 400px;
    resize: none;
    padding: 30px;
    border: 1px solid #f3f0fa;
    background: #f3f0fa;
    outline: none;
    margin-bottom: 30px;
}
.contact__button {
    width: 150px;
    letter-spacing: 1.5px;
    line-height: 45px;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--white);
    display: block;
    background: var(--secondary);
    transition: all 0.3s ease-in-out;
    padding: 0;
    border: none;
    outline: none;
    cursor: pointer;
}
.contact__button:hover {
    background: var(--primary);
}
.contact-map__container {
    height: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.contact-map__container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* End main */

/* Start footer */
.footer {
    background: #151515;
    padding: 80px 0 160px 0;
    margin-top: 100px;
}
.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer__col {
    flex-shrink: 0; /* Không cho tự co chiều rộng */
}
.footer__col--logo {
    max-width: 300px;
    padding: 0 15px;
}
.footer__description {
    margin: 20px 0;
}
.footer__description,
.footer__copyright {
    font-size: 1.4rem;
    line-height: 22px;
}
.footer__social-list {
    display: flex;
    margin-top: 30px;
    gap: 20px;
    align-items: center;
}
.footer__col--company,
.footer__col--product,
.footer__col--support {
    min-width: calc((100% - (300px * 2)) / 3);
    padding: 0 15px;
}
.footer__heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 8px 0 25px 0;
}
.footer__link,
.footer__description,
.footer__copyright {
    color: #fff9;
}
.footer__link {
    line-height: 30px;
    text-decoration: none;
}
.footer__link:hover {
    color: var(--primary);
}
.footer__col--subscribe {
    max-width: 300px;
    padding: 0 15px;
}
.footer__text {
    line-height: 24px;
}
.footer__input {
    width: 100%;
    height: 40px;
    background: #272727;
    border: none;
    border-radius: 20px;
    padding: 0 20px;
    margin: 25px 0 10px 0;
    color: #fff9;
}
.footer__input:focus::placeholder {
    opacity: 0;
    transition: color 0.2s ease;
}
.footer__button {
    position: relative;
    overflow: hidden;
    z-index: 0;

    width: 95px;
    line-height: 40px;
    border-radius: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--primary);

    transition: all 0.3s ease-in-out;
}
.footer__button::after {
    content: " ";
    position: absolute;
    inset: 0;
    background: var(--white);
    border-radius: 20px;

    transform: scale(0);
    transform-origin: center;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}
.footer__input,
.footer__input:hover,
.footer__input:focus,
.footer__input:active {
    border: none;
    outline: none;
    box-shadow: none;
}
.footer__button:hover {
    color: var(--primary);
    background: var(--white);
}
.footer__button:hover::after {
    transform: scale(1.1);
}
/* End footer */
.scroll-top {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 99;
    text-align: center;
    color: var(--white);
    background: var(--primary);
    font-size: 25px;
    cursor: pointer;
}
.scroll-top::after {
    position: absolute;
    z-index: -1;
    content: "";
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 1;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0) 80%
    );
}
