* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    font-size: 62.5%; /* Makes 1rem = 10px */
}


img {
    max-width: 100%;
}

a{
    text-decoration: none;
}

.hover-effect{
    
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: white;
    padding-top: 80px; /* Account for fixed header */
}

html{
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    max-width: 178.5rem;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 30rem;
}

.logo-graphic {
    position: relative;
    width: 60px;
    height: 40px;
}

.logo-base {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 12px;
    height: 8px;
    background: #1e3a8a;
    border-radius: 2px;
}

.logo-trapezoid {
    position: absolute;
    left: 8px;
    bottom: 0;
    width: 35px;
    height: 25px;
    background: #3b82f6;
    clip-path: polygon(0 100%, 100% 100%, 85% 0, 0 0);
}

.logo-block {
    position: absolute;
    left: 25px;
    bottom: 8px;
    width: 18px;
    height: 15px;
    background: #fbbf24;
    transform: rotate(-5deg);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
    line-height: 1.2;
}

.logo-location {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #fbbf24;
}

.nav-menu a.active{
    font-weight: bold;
    color: #193c64;
}

.hamburger-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu-btn span {
    width: 25px;
    height: 3px;
    background: #1e3a8a;
    transition: all 0.3s ease;
}

/* Banner Section */
.hero-banner {
    position: relative;
    height: 97rem;
    max-height: 100vh;
    display: block;
}

.hero-banner-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #062240 95%);
}

.hero-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 18rem;
}

.hero-banner-category{
    font-size: 2.1rem;
    color: #fff;
}

.hero-banner-title{
    font-size: 6rem;
    margin-top: 4.5rem;
    color: #fff;
    font-weight: 700;
}

.hero-banner-description{
    font-size: 2.4rem;
    margin-top: 4rem;
    color: #fff;
    max-width: 50rem;
}

/* Fabric Overlay */
.fabric-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.6) 100%);
    z-index: 6;
    pointer-events: none;
}

.fabric-folds {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 40px,
        rgba(255,255,255,0.1) 40px,
        rgba(255,255,255,0.1) 42px
    );
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        height: 70vh;
        min-height: 500px;
    }
    
    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-description {
        font-size: 16px;
    }
    
    .dancers-row {
        gap: 5px;
    }
    
    .dancer {
        width: 50px;
        height: 80px;
    }
    
    .dancer::before {
        width: 25px;
        height: 25px;
        top: 10px;
    }
    
    .dancer::after {
        width: 12px;
        height: 12px;
        top: 15px;
    }
}

/* Side Navigation Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
}

.side-menu.active {
    transform: translateX(0);
}

.side-menu-bar {
    width: 80px;
    background: #1e3a8a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
}

.side-menu-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
}

.side-menu-logo-graphic {
    position: relative;
    width: 40px;
    height: 30px;
}

.side-menu-logo-base {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 8px;
    height: 6px;
    background: #1e3a8a;
    border-radius: 2px;
}

.side-menu-logo-trapezoid {
    position: absolute;
    left: 6px;
    bottom: 0;
    width: 25px;
    height: 18px;
    background: #3b82f6;
    clip-path: polygon(0 100%, 100% 100%, 85% 0, 0 0);
}

.side-menu-logo-block {
    position: absolute;
    left: 18px;
    bottom: 6px;
    width: 12px;
    height: 10px;
    background: #fbbf24;
    transform: rotate(-5deg);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.side-menu-logo-text {
    text-align: center;
    color: white;
    font-size: 8px;
    line-height: 1.2;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #1e3a8a;
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
}

.side-menu-content {
        flex: 1;
    padding: 0 10rem;
    display: grid
;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.menu-item {
    font-size: 6rem;
    font-weight: 400;
    color: #3e6793;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-item.bold{
    font-weight: bold;
}

.menu-item:hover {
    color: #fbbf24;
}

.menu-item.small {
    font-size: 4rem;
    font-weight: 400;
    color: #3e6793;
}

.menu-item.smaller {
    font-size: 14px;
    font-weight: 400;
    color: #3e6793;
}

.menu-item.seperator{
    height: 10rem;
}

.language-selector {
    margin-top: auto;
    font-size: 12px;
    color: #94a3b8;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}



.about-us {
    position: relative;
    height: 100vh;
    background: linear-gradient(90deg, #ffffff 0%, #f6c500 100%);
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.about-us-wrapper {
    width: 100%;
    position: relative;
}

.about-us-item-button{
    color: #193c64;
    font-size: 4rem;
    font-weight: bold;
    margin-right: 10rem;
    padding-right: 10rem;
}

.about-us-content {
    padding-left: 18.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 10rem;
    white-space: nowrap;
    will-change: transform;
    transform: translateX(0);
    transition: transform 0.1s ease;
}



.about-us-item {
    flex: 0 0 auto;
    min-width: max-content;
}

.about-us-item h2 {
    font-size: 2.1rem;
    color: #193c64;
    font-weight: 500;
}

.about-us-item.main-item p {
    font-size: 6rem;
    color: #193c64;
    font-weight: 700;
    max-width: 100rem;
    margin-top: 6rem;
    margin-right: 22rem;
    text-wrap: wrap;
}

.about-us-item.other-item p {
    font-size: 2.4rem;
    color: #193c64;
    font-weight: 400;
    max-width: 55rem;
    text-wrap: wrap;
}

.about-us-item.other-item img {
    max-height: 46rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-item.other-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-us-item.main-item p {
    transition: color 0.3s ease;
}

.homepage-categories-section {
    width: 100%;
    padding-bottom: 20rem;
    padding-top: 20rem;
}

.homepage-categories-section-item-content-title{
    font-size: 6rem;
    
    padding-left: 30rem;
    display: flex;
    align-items: baseline;
    gap: 5rem;
   
}

.homepage-categories-section-item-content-title h2{
    color: #3e6793;
    font-weight: 400;
    transition: all 0.3s ease;
}

.homepage-categories-section-item.active h2{
    font-weight: 700;
    color: #193c64;
}

.homepage-categories-section-item-content-title svg{
    transition: all 0.3s ease;
}

.homepage-categories-section-item.active .homepage-categories-section-item-content-title svg {
    transform: rotate(180deg);
}

.homepage-categories-section-item-content-content{
    margin-top: 16rem;
    margin-bottom: 16rem;
    padding-left: 30rem;
    display: flex;
    align-items: flex-end;
    font-size: 2.4rem;
    color: #193c64;
    font-weight: 500;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: none;
}

.homepage-categories-section-item{
    margin-top: 5rem;
    cursor: pointer;
}

.edducation-offers-items{
    display: grid;
    grid-template-columns: repeat(3, auto);
    column-gap: 10rem;
}

.homepage-categories-section-item-content-button{
    margin-left: 30rem;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #193c64;
}

.professors-list{
    display: flex;
    gap: 5rem;
    flex: 1 0 auto;
}

.professors-list-item{
    flex: 1 0 auto;
}

.professors-list-item-image img{
    width: 18rem;
    height: 25rem;
    object-fit: cover;
    object-position: center;
}

.professors-list-item-name span{
    font-size: 1.8rem;
    color: #3e6793;
    margin-top: 2rem;
}

.social-organizations-list{
    display: flex;
    gap: 16rem;
}

.social-organizations-list-item{
    flex: 1 0 auto;
}

.social-organizations-list-item .organization-item-title{
    font-size: 6rem;
    color: #f6c500;
}

.social-organizations-list-item .organization-item-description{
    font-size: 2.4rem;
    color: #193c64;
    margin-top: 7rem;
}

.events-list{
    display: flex;
    gap: 13rem;
}

.events-list-item{
    flex: 0 0 54rem;
}

.events-list-item .organization-item-title{
    font-size: 6rem;
    color: #f6c500;
}

.organization-item-date{
    font-size: 2.4rem;
    color: #3e6793;
    margin-top: 3rem;
}

.organization-item-description{
    margin-top: 2rem;
    font-size: 2.4rem;
    color: #193c64;
}

.projects-list{
    display: flex;
    gap: 13rem;
}

.projects-list-item{
    flex: 0 0 54rem;
}

.projects-list-item .organization-item-title{
    font-size: 6rem;
    color: #f6c500;
}

.projects-list-item .organization-item-date{
    font-size: 2.4rem;
    color: #3e6793;
    margin-top: 3rem;
}

.projects-list-item .organization-item-description{
    margin-top: 2rem;
    font-size: 2.4rem;
    color: #193c64;
}

.gallery-list{
    display: flex;
    gap: 13rem;
}

.gallery-list-item{
    flex: 0 0 60rem;
}

.gallery-list-item .gallery-list-item-title{
    font-size: 6rem;
    color: #f6c500;
}

.gallery-list-item .gallery-list-item-image{
    font-size: 2.4rem;
    color: #3e6793;
    margin-top: 3rem;
}

.page-container{
    max-width: 156rem;
    margin: 0 auto;
}

.page-title{
    font-size: 10rem;
    color: #193c64;
    margin-top: 11rem;
    margin-bottom: 12rem;
}

.corpo-docente-container{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10rem 5rem;
    margin-bottom: 15rem;
}

.corpo-docente-item .corpo-docente-item-image img{
    height: 25rem;
    object-fit: cover;
    object-position: center;
}

.corpo-docente-item .corpo-docente-item-name
{
    margin-top: 2rem;
}
.corpo-docente-item .corpo-docente-item-name,
.corpo-docente-item .corpo-docente-item-discipline{
    color: #193c64;
    font-size: 1.8rem;
}

@media(max-width: 1500px){
    .page-container{
        margin: 0 5rem;
    }
    
    .corpo-docente-container{
    grid-template-columns: repeat(3, 1fr);
}
}

@media(max-width: 1024px){
    
:root {
    font-size: 50.5%; 
}

.homepage-categories-section{
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.homepage-categories-section-item-content-title{
    padding-left: 10rem;
}



}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu li:not(:last-child) {
        display: none;
    }
    
    .side-menu-content{
        padding: 0 1rem;
        gap: 4rem;
    }
    
    .side-menu-bar{
        width: 40px;
    }
    
    .menu-item{
        font-size: 3rem;
    }
    
    .menu-item.small{
        font-size: 2rem;
    }
    
    .hero-banner-content{
        padding: 6rem;
    }
    
    .homepage-categories-section-item-content-title{
        font-size: 2rem;
        gap: 3rem;
    }
    
    .homepage-categories-section-item-content-title svg{
        height: 20px;
    }
    
    .about-us-content {
        padding-left: 5rem;
        padding-bottom: 15rem;
        gap: 5rem;
    }
    
    .about-us-item.main-item p {
        font-size: 4rem;
        margin-right: 5rem;
    }
    
    .about-us-item.other-item p {
        font-size: 2rem;
        max-width: 40rem;
    }
    
    .about-us-item.other-item img {
        max-height: 30rem;
    }
    
    .about-us-progress {
        width: 150px;
        bottom: 1rem;
    }
    
    .homepage-categories-section-item-content-content{
            margin-top: 8rem;
    margin-bottom: 8rem;
    padding-left: 12rem;
    }
    
    .logo-section{
        flex-direction: column;
    }
    
    .footer-links span{
        display: none;
    }
    
    .page-title{
            font-size: 6rem;
    margin-top: 6rem;
    margin-bottom: 6rem;
    }
    
    .page-container{
        margin: 0 3rem;
    }
    
    .corpo-docente-container{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .eventos-item, .projectos-item{
        padding: 2.5rem 2rem!important;
    }
    
    .eventos-item-info, .projectos-item-info{
        gap: 3rem!important;
    }
    
    .eventos-item-arrow-image svg, .projectos-item-arrow-image svg{
        width: 20px;
    }
    
    .eventos-item-info-title, .projectos-item-info-title{
        font-size: 2rem!important;
    }
    
    .contacts-form-container{
        flex-direction: column!important;
    }
    
    .contacts-form-container::before{
            top: 10rem!important;
            left: 0!important;
    }
    
    .contacts-form-content{
        margin: 2rem!important;
    }
    
    .contacts-form-title{
        font-size: 7rem!important;
    }
    
    .hero-banner{
        height: 60rem;
    }
}

