html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body { 
    background-color: #FAF9F6; 
    font-family: 'Segoe UI', Tahoma, sans-serif; 
    color: #333; 
    line-height: 1.6;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #002147;
    padding: 12px 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo img {
    height: 35px;
}

.logo span {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 50px;
    transition: 0.3s;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #CFD8DC;
    color: #002147;
}



.oval-header {
    background-color: #002147;
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-bottom-left-radius: 50% 15%;
    border-bottom-right-radius: 50% 15%;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
}



.content-wrapper {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    flex: 1;
}

.uni-card {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 25px;
    border: 3px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.4s;
}

.uni-card:hover {
    border-color: #002147;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,33,71,0.15);
}

.uni-card img {
    width: 250px;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
    margin-right: 35px;
}

.uni-info h3 {
    color: #002147;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.uni-info p {
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}


.button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #002147;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color: #CFD8DC;
    color: #002147;
}



.oval-footer {
    background-color: #002147;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px 40px;
    border-top-left-radius: 50% 15%;
    border-top-right-radius: 50% 15%;
    margin-top: auto;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    margin: 0 5px;
    transition: 0.3s;
}

.footer-link:hover {
    color: #CFD8DC;
}

.rights {
    display: block;
    margin-top: 15px;
    font-size: 0.85em;
    color: rgba(255,255,255,0.7);
}



@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .uni-card {
        flex-direction: column;
        text-align: center;
    }

    .uni-card img {
        width: 100%;
        margin: 0 0 20px 0;
    }
}
