:root {
    --primary: #002366; /* Royal Blue */
    --accent: #00a8e8;
    --text: #333;
    --light: #f4f7f6;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    margin: 0px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
}

.section-padding {
    margin: 0% 10% 0% 10%;
    width: 100%;
    display: block; 
            gap: 5px; 
            padding: 10px 0; 
}

.content-section {
    margin: 0% 10% 0% 10%;
    width: 100%;
    display: block; 
            gap: 5px; 
            padding: 10px 0;
}

.services-section {
    margin: 0% 10% 0% 10%;
    width: 100%;
    display: block; 
            gap: 5px; 
            padding: 10px 0;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.logo img {
    width: 64px;
}

/* --- NAVEGAÇÃO DESKTOP (Horizontal) --- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--celeste); /* Links em azul celeste */
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
}
.hero {
    padding: 100px 0;
    /* O gradiente agora funciona como uma camada (overlay) sobre a imagem */
    background: linear-gradient(135deg, rgba(0, 35, 102, 0.5), rgba(0, 168, 232, 0.5)), 
     url('https://ces.international/img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Opcional: cria um efeito parallax elegante */
    color: #fff;
    text-align: center;
}

.btn {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.nav-wrapper {
    display: block;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    margin: 0px auto;
}

/* Container do Botão */
.menu-toggle {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Os 4 Pontos */
.dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary); /* Azul Marinho definido anteriormente */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Efeito de Ativação (Classe .active via JS) */
.menu-toggle.active {
    transform: rotate(45deg);
}

.menu-toggle.active .dot {
    background-color: var(--accent); /* Muda cor ao abrir */
}

/* Responsividade do Menu */
@media (max-width: 768px) {
    .container {
    max-width: 100%;}
    .menu-toggle { display: grid; }
    .nav-wrapper {
    display: flex; width: 100%;}
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--light);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

}

.search-box {
    margin-left: 20px;
}
.search-box form {
    display: flex;
    border: 1px solid var(--celeste);
    border-radius: 20px;
    padding: 5px 15px;
}
.search-box input {
    border: none;
    outline: none;
    font-size: 0.9rem;
    padding: 5px;
}
.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

.main-footer {
    background: var(--primary); /* Azul Marinho #002366 */
    color: #ffffff;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 4px solid var(--celeste);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.institutions {
    font-weight: 300;
    color: var(--accent); /* Azul mais claro para subtítulo */
    font-size: 0.85rem !important;
}

.footer-links a {
    color: var(--celeste); /* Azul Celeste solicitado */
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links a {
        margin: 0 10px;
    }
}
