/* reset */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* imgs */
img, video {
    max-width: 100%;
    height: auto;
}

/* header */
header {
    width: 100%;
    background: linear-gradient(270deg, #004488, #0066cc, #004488);
    background-size: 600% 600%;
    animation: gradientMove 8s ease infinite;
    color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 50px;
    transition: 0.3s;
}
nav a { 
    position: relative;
    color: white; 
    text-decoration: none; 
    margin-left: 25px; 
    font-weight: bold; 
    font-size: 0.95rem; 
    transition: 0.3s; 
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #ffcc00;
    transition: 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

nav a:hover::after {
    width: 100%;
}

nav a {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 0.5s forwards;
}

nav a:nth-child(1) { animation-delay: 0.1s; }
nav a:nth-child(2) { animation-delay: 0.2s; }
nav a:nth-child(3) { animation-delay: 0.3s; }
nav a:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* hero */
.hero {
    width: 100%;
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
        url('https://images.unsplash.com/photo-1581092160562-40aa08e78837') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero span {
    color: #ffcc00;
}

.hero p {
    max-width: 700px;
    margin-top: 15px;
}

/* buttons */
.btn-doe,
.btn-cad {
    background: #004488;
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.btn-doe {
    margin-top: 25px;
}

.btn-doe:hover,
.btn-cad:hover {
    background: #0066cc;
}

/* sections */
section {
    padding: 60px 20px;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #004488;
    font-size: 2rem;
}

/* courses */
.courses-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.course-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-top: 6px solid #004488;
    text-align: center;
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-8px);
}

/* donations */
#doacoes {
    background: #eef4f9;
    padding: 60px 20px;
}

#combo-doacao {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
}

/* footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

/* media */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav {
        margin-top: 10px;
    }

    .courses-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* anim */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* about us */
.section-sobre {
    background-color: #ffffff;
    padding: 60px 20px;
    position: relative;
}

.section-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 4px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 68, 136, 0.9),
        transparent
    );
}

.section-line.top {
    top: 0;
}

.section-line.bottom {
    bottom: 0;
}


.section-content {
    max-width: 850px;
    margin: 20px auto;
    text-align: center;
}

.section-text {
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.7;
}