/* ==========================================
   RESET & ESTILOS GERAIS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

/* ==========================================
   CABEÇALHO (HEADER & NAV)
   ========================================== */
.header {
    min-height: 15vh;
    width: 100%;
    background: linear-gradient(to right, #000000, rgb(58, 1, 58));
    position: sticky;
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav {
    display: flex;
    padding: 10px 5%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    width: clamp(180px, 12vw, 280px);
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links ul {
    display: flex;
    gap: 15px;
    list-style: none;
}

.nav-links ul li {
    position: relative;
    padding: 8px 12px;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #a855f7;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .bi {
    display: none;
}

/* Efeito de Brilho no Título Principal */
.text-box, .text-box2, .text-box3 {
    text-align: center;
    margin: 10px auto;
    background: linear-gradient(
        120deg, 
        #ffffff 0%, 
        #ffffff 40%, 
        rgb(168, 85, 247) 50%, 
        #ffffff 60%, 
        #ffffff 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    font-weight: 700;
    transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-box:hover, .text-box2:hover, .text-box3:hover {
    background-position: 0 0;
}

.text-box h1 {
    font-size: 28px;
}

/* ==========================================
   ESTRUTURA DE LAYOUT (ROWS & COLS)
   ========================================== */
.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Cursos / Eventos */
.course {
    width: 85%;
    margin: auto;
    text-align: center;
    padding-top: 60px;
}

.course-col {
    flex: 1 1 220px;
    background: #fff3f3;
    color: #333;
    border-radius: 10px;
    padding: 20px 15px;
    transition: 0.5s;
}

.course-col h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #111;
}

.course-col p {
    color: #555;
}

.course-col:hover {
    box-shadow: 0 0 20px 0px rgba(168, 85, 247, 0.4);
}

/* Campus / Galeria */
.campus {
    width: 85%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus-col {
    flex: 1 1 280px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    border-radius: 10px;
}

.layer:hover {
    background: rgba(56, 19, 130, 0.7);
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 22px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 45%;
    opacity: 1;
}

/* Facilities / Pilares */
.facilities {
    width: 85%;
    margin: auto;
    text-align: center;
    padding-top: 60px;
}

.facilities-col {
    flex: 1 1 220px;
    border-radius: 10px;
    text-align: left;
}

.facilities-col img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.facilities-col h3 {
    margin-top: 16px;
    margin-bottom: 10px;
    text-align: left;
    color: #fff;
}

.facilities-col p {
    padding: 0;
    color: #ccc;
}

/* Depoimentos */
.testimonials {
    width: 85%;
    margin: auto;
    padding-top: 60px;
    text-align: center;
}

.testimonial-col {
    flex: 1 1 300px;
    border-radius: 10px;
    text-align: left;
    background: #fff3f3;
    color: #333;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.testimonial-col img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-col p {
    padding: 0;
    color: #555;
}

.testimonial-col h3 {
    margin-top: 10px;
    text-align: left;
    color: #111;
}

.testimonial-col .bi, .testimonial-col .fa-star {
    color: #381382;
}

/* Call to Action (CTA) */
.cta {
    margin: 80px auto;
    width: 85%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(/images/3.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 80px 20px;
}

.cta h1 {
    color: #fff;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.5s;
}

.hero-btn:hover {
    border: 1px solid #a855f7;
    background: #a855f7;
}

/* Rodapé */
.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background: #0a0a0a;
}

.footer h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.icons .bi, .icons .fa-brands {
    color: #a855f7;
    margin: 0 10px;
    cursor: pointer;
    font-size: 20px;
}

/* Páginas Secundárias (About / Blog / Contact) */
.sub-header {
    height: 40vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/banner2.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-us, .blog-content, .location, .contact-us {
    width: 85%;
    margin: auto;
    padding: 60px 0;
}

.contact-col input, .contact-col textarea, .comment-form input, .comment-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #111;
    color: #fff;
}

/* ==========================================
   REGRAS DE RESPONSIVIDADE (MOBILE - ATÉ 700PX)
   ========================================== */
@media (max-width: 700px) {
    .header {
        height: auto;
    }

    .text-box h1, .sub-header h1 {
        font-size: 20px;
    }

    .row {
        flex-direction: column !important;
    }

    nav .bi {
        display: block;
        color: #fff;
        font-size: 26px;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        background: #381382;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        flex-direction: column;
        align-items: flex-start;
        z-index: 2000;
        transition: 0.5s;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 40px 20px;
        width: 100%;
    }

    .nav-links ul li {
        display: block;
        margin-bottom: 15px;
    }

    .cta h1 {
        font-size: 22px;
    }

    .testimonial-col {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}