@font-face {
    font-family: "SF Pro";
    src: url("../assets/font/SF-Pro.ttf") format("truetype");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "SF Pro", Arial, sans-serif;
}

body {
    background: #EFEFF9;
    color: #191A2F;
}

/* ---------- HEADER ---------- */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 28px;
    background: #f4f4fc;
}

.logo {
    font-size: 16px;
    /* letter-spacing: .5px; */
    margin-left: 120px;

}

/* search */
.search {
    position: relative;
}

.search input {
    width: 420px;
    padding: 8px 40px;
    border-radius: 30px;
    border: 1px solid #ddd;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* right */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-btn {
    background: #7c79ff;
    color: #fff;
    padding: 7px 18px;
    border-radius: 20px;
    text-decoration: none;
}

.divider {
    width: 100%;
    height: 1px;
    background: #ddd;
}

/* ---------- HERO / BACKGROUND ---------- */
.media-wrapper {
    position: relative;
    height: 91vh;
    width: 100%;
    background: url("../assets/images/backgroundTriveni.png") center/cover no-repeat;
}

.content-overlay {
    padding-top: 60px;
}

/* ---------- SIDE NAV ---------- */
.side-nav {
    position: fixed;
    top: 22%;
    left: -25px;
    width: 92px;
    height: 64%;
    border-radius: 60px;
    background: #7F7BFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.nav-item {
    position: relative;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-item.active .icon-wrap,
.nav-item:hover .icon-wrap {
    background: #191A2F;
}

.nav-label {
    color: white;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 150%;
    top: 13px;
}

.nav-item:hover .nav-label {
    opacity: 1;
    transform: translateX(3px);
}

/* ---------- INSTITUTIONS PANEL ---------- */
.institution-section {
    position: absolute;
    bottom: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.institution-title {
    width: 72%;
    text-align: center;
    background: #EFEFF9;
    padding: 14px 0;
}

.institution-cards {
    width: 72%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #EFEFF9;
}

.inst-card {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.light {
    background: transparent;
}

.purple {
    background: #7F7BFF;
    color: white;
}

.inst-card i {
    font-size: 30px;
}
