@font-face {
    font-family: 'barlow-regular';
    src: url('../assets/fonts/barlow/Barlow-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'barlow-bold';
    src: url('../assets/fonts/barlow/Barlow-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'barlow-semibold';
    src: url('../assets/fonts/barlow/Barlow-SemiBold.ttf') format('truetype');
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-brand: #4480b4;
    --color-bg-section: #cedae4;
    --color-nav-bg: #f0f6fb;
    --color-page-bg: #f9f9f9;
    --bg-color-section: -webkit-linear-gradient(180deg, #cedae4,#d9e2eb);
    --bg-color-section-1: linear-gradient(180deg, #cedae4,#d9e2eb);                                            
}

.text-barlow-regular {
    font-family: 'barlow-regular', sans-serif;
}

.text-barlow-bold {
    font-family: 'barlow-bold', sans-serif;
}

.text-barlow-semibold {
    font-family: 'barlow-semibold', sans-serif;
}

body {
    background-color: var(--color-page-bg);
}

.size-section {
    height: calc(100vh - 4rem);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-nav-bg);
    padding: 0 1.5rem;
}

.topbar__logo {
    height: 100%;
    width: auto;
}

.topbar__phone {
    border: 2px solid var(--color-brand);
    color: var(--color-brand);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
}

.section-hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.section-hero__overlay {
    height: 100%;
    width: 100%;
    background: -webkit-linear-gradient(75deg, rgb(0, 0, 0, 0.80),rgb(0, 0, 0, 0.80), rgba(88, 88, 88, 0.2));
    background: linear-gradient(75deg, rgb(0, 0, 0, 0.80), rgb(0, 0, 0, 0.80), rgba(88, 88, 88, 0.2));
    /* background-color: rgba(0, 0, 0, 0.65); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}

.section-anniversary {
    width: 100%;
    background-color: #efeff1 !important;
    background-image: url('../assets/trama.png');
    background-blend-mode: multiply;
    /* background-color: var(--color-bg-section) !important; */
}



.section-anniversary__content {
    height: 100%;
    width: 100%;
    gap: 2.5rem;
    background-color: transparent;
}

.section-anniversary__media {
    position: relative;
    width: auto;
    flex: 1;
}

.section-anniversary__tag {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background-color: var(--color-brand);
    color: #fff;
    padding: 0.35rem 0.9rem;
    font-family: 'barlow-semibold', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 9999px;
}

.section-anniversary__text {
    flex: 1;
    background-color: transparent;
}

.section-anniversary__text em {
    color: var(--color-brand);
    font-style: normal;
}

.section-anniversary__image {
    width: auto;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.section-anniversary__text h1 {
    font-weight: 700;
    font-size: clamp(1.9rem, 3.1vw, 3.85rem);
    font-family: 'barlow-bold', sans-serif;
    line-height: 1.18;
}


.section-anniversary__text p {
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-family: 'barlow-regular', sans-serif;
    margin-top: 1rem;
}

.section-video {
    width: 100%;
    background:
        radial-gradient(circle at 8% 12%, rgba(68, 128, 180, 0.22), transparent 40%),
        radial-gradient(circle at 88% 80%, rgba(13, 49, 118, 0.18), transparent 45%),
        linear-gradient(145deg, #ecf1f6 0%, #dbe4ed 55%, #d2dce8 100%);
    /* background-color: var(--color-bg-section) !important; */

}

.section-video__layout {
    width: 100%;
    border-radius: 1.8rem;
    background-color: rgba(255, 255, 255, 0.64);
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 45px rgba(11, 25, 51, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

.section-video__copy {
    padding: 2rem 1.6rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.section-video__eyebrow {
    width: fit-content;
    border-radius: 9999px;
    padding: 0.35rem 0.9rem;
    font-family: 'barlow-semibold', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f3176;
    background-color: rgba(68, 128, 180, 0.17);
}

.section-video__copy h2 {
    font-family: 'barlow-bold', sans-serif;
    font-size: clamp(1.55rem, 2.7vw, 2.7rem);
    line-height: 1.16;
    color: #0c1220;
    max-width: 20ch;
}

.section-video__copy p {
    font-family: 'barlow-regular', sans-serif;
    font-size: clamp(1.05rem, 1.4vw, 2rem);
    color: #2e3b52;
}

.section-video__player-wrap {
    padding: 1.2rem 1.2rem 1.5rem;
}

.section-video__player {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1.1rem;
    border: 2px solid rgba(15, 49, 118, 0.3);
    box-shadow: 0 18px 30px rgba(11, 25, 51, 0.24);
    background-color: #000;
}

.section-video__player::-webkit-media-controls-panel {
    background: linear-gradient(180deg, rgba(11, 17, 31, 0.12), rgba(11, 17, 31, 0.52));
}

.section-intranet {
    width: 100%;
    background-color: #efeff1 !important;
    background-image: url('../assets/trama.png');
    background-blend-mode: multiply;
}

.section-intranet__content {
    width: 100%;
    gap: 2.5rem;
}

.section-intranet__text {
    flex: 1;
    background-color: transparent;
}

.section-intranet__text h1 {
    color: #0c1220;
    font-weight: 700;
    font-family: 'barlow-bold', sans-serif;
    font-size: clamp(1.9rem, 3.1vw, 3.85rem);
    line-height: 1.18;
}

.section-intranet__text em {
    color: var(--color-brand);
    font-style: normal;
}

.section-intranet__text p {
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-family: 'barlow-regular', sans-serif;
    margin-top: 1rem;
}

.section-intranet__media {
    width: auto;
    flex: 1;
    justify-content: end;
    display: flex;
}

.section-intranet__image {
    width: auto;
    border-radius: 0.75rem; 
}

.section-events {
    width: 100%;
    background-color: #efeff1 !important;

}

.section-events__heading {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-events__heading h1 {
    font-family: 'barlow-bold', sans-serif;
    font-size: clamp(2rem, 3.6vw, 4.2rem);
    line-height: 1.1;
    color: #090b0f;
    max-width: 25ch;
    text-align: center;
}

.section-events__intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 34rem;
}

.section-events__intro p {
    font-family: 'barlow-regular', sans-serif;
    color: #7b8089;
    font-size: clamp(1.05rem, 1.5vw, 1.75rem);
    line-height: 1.45;
}

.section-events__intro button {
    width: fit-content;
    min-width: 11rem;
    border-radius: 9999px;
    border: 2px solid #707580;
    padding: 0.85rem 2rem;
    font-family: 'barlow-semibold', sans-serif;
    font-size: 1.65rem;
    color: #1f2430;
    background-color: transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.section-events__intro button:hover {
    transform: translateY(-2px);
    background-color: #f4f4f7;
}

.events-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.event-card {
    background-color: #f4f4f6;
    border-radius: 1.4rem;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 23.5rem;
}

.event-card__text {
    justify-self: start;
    display: flex;
    flex-direction: column;
    gap: 1.16rem;
}

.event-card h1 {
    font-family: 'barlow-bold', sans-serif;
    font-size: clamp(0.8rem, 2.5vw, 3.2rem);
    line-height: 1.1;
    color: #090b0f;
    max-width: 24ch;
}
.event-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.event-card__meta small {
    font-family: 'barlow-regular', sans-serif;
    color: #8b9098;
    font-size: 1.45rem;
}

.event-card__dot {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 9999px;
}

.event-card__dot--blue {
    background-color: #37a2e6;
}

.event-card__dot--orange {
    background-color: #ef7244;
}

.event-card__dot--purple {
    background-color: #5f35df;
}

.event-card h2 {
    font-family: 'barlow-bold', sans-serif;
    color: #0e1117;
    font-size: clamp(1.6rem, 2vw, 2.85rem);
    line-height: 1.18;
}

.event-card p {
    line-height: 1.45;
}

.event-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.6rem;
}

.event-card__footer video {
    width: 100%;
    aspect-ratio: 8 / 9;
    object-fit: cover;
    border-radius: 1.1rem;
    background-color: #000;
}

.event-card__footer img {
    width: 100%;
    aspect-ratio: 8 / 9;
    object-fit: cover;
    border-radius: 1.1rem;
}

.event-card__footer p {
    font-family: 'barlow-regular', sans-serif;
    color: #8d929b;
    font-size: clamp(1rem, 1.15vw, 1.5rem);
    line-height: 1.45;
    max-width: 24ch;
}

.event-card__arrow {
    border-radius: 9999px;
    width: 7.6rem;
    min-width: 7.6rem;
    height: 4.2rem;
    border: 2px solid #4f5560;
    color: #11151d;
    background-color: transparent;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.event-card__arrow:hover {
    transform: translateX(2px);
}

.event-card__arrow--filled {
    border-color: #0f3176;
    background-color: #0f3176;
    color: #ffffff;
}

.section-team__heading h1 {
    font-family: 'barlow-bold', sans-serif;
    font-size: clamp(2rem, 3.6vw, 4.2rem);
    line-height: 1.1;
    color: #090b0f;
    max-width: 25ch;
    text-align: center;
}

.team-slider {
    display: grid;
    gap: 0;
    padding: 1.5rem 0;
}

.team-slider__slide {
    border-radius: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 10px 17px rgba(16, 39, 78, 0.12);
    min-width: 0;
}

.team-slider__image {
    width: 100%;
    height: clamp(12rem, 20vw, 30rem);
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-slider__info {
    padding: 1rem;
}

.team-slider__info h2 {
    font-family: 'barlow-bold', sans-serif;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: #0f1b2f;
}

.team-slider__role {
    margin-top: 0.2rem;
    font-family: 'barlow-semibold', sans-serif;
    color: var(--color-brand);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.team-slider__info p {
    margin-top: 0.25rem;
    font-family: 'barlow-regular', sans-serif;
    color: #5b6476;
    font-size: 0.95rem;
}

.team-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.4rem;
}

.team-dots button {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    border: none;
    background-color: #c2cfe0;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s ease, width 0.25s ease;
}

.team-dots button.active {
    background-color: #0f3176;
    width: 1.5rem;
}

footer {
    background-color: #0f172a;
    background-size: 65vw;
    background-image: url('../assets/trama.png');
}

footer .section-footer__content {                                                   
    background-color: #0f172a;
    -webkit-mask-image: linear-gradient(to bottom, #0f172a 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, #0f172a 85%, transparent 100%);
}

footer .section-footer__content h2 {
    font-weight: 700;
    font-family: 'barlow-bold', sans-serif;
    line-height: 1.18;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .team-slider {
        display: block;
    }

    .team-dots {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .section-events__heading {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 5rem;
    }

    .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem;
    }

    .section-video__layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
    }

    .section-video__copy {
        padding: 3rem;
        gap: 1rem;
    }

    .section-video__player-wrap {
        padding: 1.5rem;
    }
}

@media (min-width: 2090px) {
    .events-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}